* Package: net-misc/vrrpd-1.9-r1:0 * Repository: gentoo * Maintainer: robbat2@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking vrrpd-1.9.tar.gz to /var/tmp/portage/net-misc/vrrpd-1.9-r1/work >>> Source unpacked in /var/tmp/portage/net-misc/vrrpd-1.9-r1/work >>> Preparing source in /var/tmp/portage/net-misc/vrrpd-1.9-r1/work/Vrrpd-1.9 ... * Applying vrrpd-1.9-rollup.patch ... [ ok ] make -j4 mrproper Begin to clean rm -f *.[ao] *~ core Clean is completed Begin to mrproper rm -f -fr .depend .protect/ vrrpd atropos Mrproper is completed >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/vrrpd-1.9-r1/work/Vrrpd-1.9 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-misc/vrrpd-1.9-r1/work/Vrrpd-1.9 ... make -j4 DBG_OPT= 'MACHINEOPT=-pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int' 'PROF_OPT=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' clang -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o vrrpd.o vrrpd.c clang -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o libnetlink.o libnetlink.c clang -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o ipaddr.o ipaddr.c clang -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o atropos.o atropos.c clang-15clang-15: : warning: warning: -Wl,-O1: 'linker' input unused [-Wunused-command-line-argument]-Wl,-O1: 'linker' input unused [-Wunused-command-line-argument] clang-15clang-15: : warning: warning: -Wl,--as-needed: 'linker' input unused [-Wunused-command-line-argument]-Wl,--as-needed: 'linker' input unused [-Wunused-command-line-argument] clang-15clang-15: : warning: warning: -Wl,--defsym=__gentoo_check_ldflags__=0: 'linker' input unused [-Wunused-command-line-argument]-Wl,--defsym=__gentoo_check_ldflags__=0: 'linker' input unused [-Wunused-command-line-argument] clang-15: warning: -Wl,-O1: 'linker' input unused [-Wunused-command-line-argument] clang-15: warning: -Wl,--as-needed: 'linker' input unused [-Wunused-command-line-argument] clang-15: warning: -Wl,--defsym=__gentoo_check_ldflags__=0: 'linker' input unused [-Wunused-command-line-argument] clang-15: warning: -Wl,-O1: 'linker' input unused [-Wunused-command-line-argument] clang-15: warning: -Wl,--as-needed: 'linker' input unused [-Wunused-command-line-argument] clang-15: warning: -Wl,--defsym=__gentoo_check_ldflags__=0: 'linker' input unused [-Wunused-command-line-argument] In file included from atropos.c:24: ./vrrpd.h:130:9: error: call to undeclared function 'gettimeofday'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] gettimeofday(&tv, NULL ); ^ ipaddr.c:109:29: warning: incompatible function pointer types passing 'int (struct sockaddr_nl *, struct nlmsghdr *, void *)' to parameter of type 'rtnl_filter_t' (aka 'int (*)(const struct sockaddr_nl *, struct nlmsghdr *, void *)') [-Wincompatible-function-pointer-types] if (rtnl_dump_filter(&rth, get_addrinfo, &ctx, NULL, NULL) < 0) { ^~~~~~~~~~~~ ./libnetlink.h:41:68: note: passing argument to parameter 'filter' here extern int rtnl_dump_filter(struct rtnl_handle *rth, rtnl_filter_t filter, ^ atropos.c:193: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 atropos.c:210:3: error: non-void function 'main' should return a value [-Wreturn-type] return; ^ atropos.c:215:3: error: non-void function 'main' should return a value [-Wreturn-type] return; ^ atropos.c:244:17: error: non-void function 'main' should return a value [-Wreturn-type] return; ^ atropos.c:272:17: error: non-void function 'main' should return a value [-Wreturn-type] return; ^ libnetlink.c:496:17: warning: variable 'type' set but not used [-Wunused-but-set-variable] int err, len, type; ^ atropos.c:335:3: error: non-void function 'main' should return a value [-Wreturn-type] return; ^ atropos.c:196:9: warning: variable 'errflag' set but not used [-Wunused-but-set-variable] int c, errflag = 0; ^ 1 warning and 7 errors generated. make: *** [: atropos.o] Error 1 make: *** Waiting for unfinished jobs.... 1 warning generated. 1 warning generated. * ERROR: net-misc/vrrpd-1.9-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-misc/vrrpd-1.9-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/vrrpd-1.9-r1::gentoo'`. * The complete build log is located at '/var/log/portage/net-misc:vrrpd-1.9-r1:20221002-233741.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/vrrpd-1.9-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/vrrpd-1.9-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/vrrpd-1.9-r1/work/Vrrpd-1.9' * S: '/var/tmp/portage/net-misc/vrrpd-1.9-r1/work/Vrrpd-1.9'