* Package: net-misc/getdate-1.2-r2:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux 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-r2/work >>> Source unpacked in /var/tmp/portage/net-misc/getdate-1.2-r2/work >>> Preparing source in /var/tmp/portage/net-misc/getdate-1.2-r2/work/getdate_rfc868-1.2 ... * Applying getdate-glibc-2.31.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/getdate-1.2-r2/work/getdate_rfc868-1.2 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-misc/getdate-1.2-r2/work/getdate_rfc868-1.2 ... make -j4 CC=clang clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 getdate.c -o getdate getdate.c:194:12: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] host, max_interval); ^~~~~~~~~~~~ getdate.c:201:7: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] if (abs(new_time - old_time) > max_change) { /* Diff is too ridical. */ ^ getdate.c:201:7: note: use function 'labs' instead if (abs(new_time - old_time) > max_change) { /* Diff is too ridical. */ ^~~ labs getdate.c:206:6: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] new_time - old_time, ^~~~~~~~~~~~~~~~~~~ getdate.c:207:6: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] max_change); ^~~~~~~~~~ getdate.c:254:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] main (int argc, char *argv[]) ^ int getdate.c:282:3: warning: data argument not used by format string [-Wformat-extra-args] argv[0]); ^ getdate.c:317:9: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] unix_time - time(NULL), ^~~~~~~~~~~~~~~~~~~~~~ 6 warnings and 1 error generated. make: *** [: getdate] Error 1 * ERROR: net-misc/getdate-1.2-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-misc/getdate-1.2-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/getdate-1.2-r2::gentoo'`. * The complete build log is located at '/var/log/portage/net-misc:getdate-1.2-r2:20221003-020122.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/getdate-1.2-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/getdate-1.2-r2/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/getdate-1.2-r2/work/getdate_rfc868-1.2' * S: '/var/tmp/portage/net-misc/getdate-1.2-r2/work/getdate_rfc868-1.2'