Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Automated report: NetBSD-current/i386 build failure



On 05.04.2020 01:14, NetBSD Test Fixture wrote:
> This is an automatically generated notice of a NetBSD-current/i386
> build failure.
>
> The failure occurred on babylon5.netbsd.org, a NetBSD/amd64 host,
> using sources from CVS date 2020.04.04.21.36.15.
>
> An extract from the build.sh output follows:
>
>     #   compile  lib/parsewhoisline.o
>     /tmp/bracket/build/2020.04.04.21.36.15-i386/tools/bin/i486--netbsdelf-gcc -O2   -std=gnu99    -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare  -Wsystem-headers   -Wno-traditional   -Wa,--fatal-warnings  -Werror   -fPIE  -Wno-stringop-truncation    --sysroot=/tmp/bracket/build/2020.04.04.21.36.15-i386/destdir -I/tmp/bracket/build/2020.04.04.21.36.15-i386/src/external/bsd/ipf/dist -I/tmp/bracket/build/2020.04.04.21.36.15-i386/src/external/bsd/ipf/dist/tools -I/tmp/bracket/build/2020.04.04.21.36.15-i386/src/sys/external/bsd/ipf -I/tmp/bracket/build/2020.04.04.21.36.15-i386/src/sys/external/bsd/ipf/netinet -DSTATETOP -D__UIO_EXPOSE -DINET -DINET6  -c    /tmp/bracket/build/2020.04.04.21.36.15-i386/src/external/bsd/ipf/dist/lib/parsewhoisline.c -o parsewhoisline.o
>     --- dependall-sys ---
>     --- dependall-examples ---
>     /tmp/bracket/build/2020.04.04.21.36.15-i386/src/sys/modules/examples/current_time/current_time.c: In function 'print_current_time':
>     /tmp/bracket/build/2020.04.04.21.36.15-i386/src/sys/modules/examples/current_time/current_time.c:58:32: error: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Werror=format=]
>       printf("Current Time: %s, %04lu/%02u/%02u %02u:%02u:%02u UTC\n",
>                                 ~~~~^
>                                 %04llu
>           w_day[dt.dt_wday], dt.dt_year, dt.dt_mon, dt.dt_day, dt.dt_hour,
>                              ~~~~~~~~~~
>     cc1: all warnings being treated as errors
>     *** [current_time.o] Error code 1
>     nbmake[9]: stopped in /tmp/bracket/build/2020.04.04.21.36.15-i386/src/sys/modules/examples/current_time
>     1 error
>
> Between the last successful build and the failed build, a total of 481
> revisions were committed, by the following developers:
>
>     ad
>     christos
>     dholland
>     fox
>     is
>     jdolecek
>     kamil
>     thorpej
>
> The first of these commits was made on CVS date 2020.04.04.19.46.01,
> and the last on 2020.04.04.21.36.15.
>
> Logs can be found at:
>
>     http://releng.NetBSD.org/b5reports/i386/commits-2020.04.html#2020.04.04.21.36.15
>

Fixed in current_time.c r. 1.2.


Home | Main Index | Thread Index | Old Index