* Package: net-misc/getdate-1.2-r1 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux split-usr userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking getdate_rfc868-1.2.tar.gz to /var/tmp/portage/net-misc/getdate-1.2-r1/work >>> Source unpacked in /var/tmp/portage/net-misc/getdate-1.2-r1/work >>> Preparing source in /var/tmp/portage/net-misc/getdate-1.2-r1/work/getdate_rfc868-1.2 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/getdate-1.2-r1/work/getdate_rfc868-1.2 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-misc/getdate-1.2-r1/work/getdate_rfc868-1.2 ... make -j1 CC=x86_64-pc-linux-gnu-gcc x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed getdate.c -o getdate getdate.c: In function ‘copy_time’: getdate.c:193:56: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘time_t’ {aka ‘const long int’} [-Wformat=] 193 | "getdate: info - %s second sample took more than %d second(s), time not set.\n", | ~^ | | | int | %ld 194 | host, max_interval); | ~~~~~~~~~~~~ | | | time_t {aka const long int} getdate.c:204:57: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘time_t’ {aka ‘long int’} [-Wformat=] 204 | "getdate: info - %s difference is too large (abs(%+d) > %d), time not set.\n", | ~~^ | | | int | %+ld 205 | host, 206 | new_time - old_time, | ~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long int} getdate.c:204:63: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘time_t’ {aka ‘const long int’} [-Wformat=] 204 | "getdate: info - %s difference is too large (abs(%+d) > %d), time not set.\n", | ~^ | | | int | %ld ...... 207 | max_change); | ~~~~~~~~~~ | | | time_t {aka const long int} getdate.c:217:5: warning: implicit declaration of function ‘stime’; did you mean ‘ctime’? [-Wimplicit-function-declaration] 217 | stime(&new_time); | ^~~~~ | ctime getdate.c: At top level: getdate.c:252:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 252 | main (int argc, char *argv[]) | ^~~~ getdate.c: In function ‘main’: getdate.c:313:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘time_t’ {aka ‘long int’} [-Wformat=] 313 | printf("%s:\t(%+d)\t%s\n", | ~~^ | | | int | %+ld 314 | hostname, 315 | unix_time - time(NULL), | ~~~~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long int} /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/net-misc/getdate-1.2-r1/temp/ccYfkrVv.o: in function `main': getdate.c:(.text.startup+0x24b): undefined reference to `stime' collect2: error: ld returned 1 exit status make: *** [: getdate] Error 1 * ERROR: net-misc/getdate-1.2-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-misc/getdate-1.2-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/getdate-1.2-r1::gentoo'`. * The complete build log is located at '/var/log/portage/net-misc:getdate-1.2-r1:20200214-151639.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/getdate-1.2-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/getdate-1.2-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/getdate-1.2-r1/work/getdate_rfc868-1.2' * S: '/var/tmp/portage/net-misc/getdate-1.2-r1/work/getdate_rfc868-1.2'