* Package: net-misc/vmpsd-1.4: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 vmpsd-1.4.tar.gz to /var/tmp/portage/net-misc/vmpsd-1.4/work >>> Source unpacked in /var/tmp/portage/net-misc/vmpsd-1.4/work >>> Preparing source in /var/tmp/portage/net-misc/vmpsd-1.4/work/vmpsd ... * Applying vmpsd-1.4-snmp-support.patch ... [ ok ] * Applying vmpsd-1.3-64bit.patch ... [ ok ] * Applying vmpsd-1.4-Wreturn-type.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-misc/vmpsd-1.4/work/vmpsd' ... * Running 'aclocal --system-acdir=/var/tmp/portage/net-misc/vmpsd-1.4/temp/aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running 'automake --add-missing --copy --force-missing' ... [ ok ] * Running elibtoolize in: vmpsd/ >>> Source prepared. * Clang 16 testing: this build is using a /etc/portage/bashrc hook (2022-11-24T21:47)! * Clang 16 testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>> Configuring source in /var/tmp/portage/net-misc/vmpsd-1.4/work/vmpsd ... * econf: updating vmpsd/config.sub with /usr/share/gnuconfig/config.sub * econf: updating vmpsd/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/vmpsd-1.4 --htmldir=/usr/share/doc/vmpsd-1.4/html --libdir=/usr/lib64 --sysconfdir=/etc/vmpsd --enable-snmp LIBS=-lssl checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-pc-linux-gnu-gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether clang understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of clang... none checking for library containing inet_ntoa... none required checking for library containing inet_aton... none required checking for library containing socket... none required checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/file.h... yes checking for sys/ioctl.h... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking return type of signal handlers... void checking how to run the C preprocessor... clang -E checking whether clang needs -traditional... no checking for working memcmp... yes checking whether setpgrp requires zero arguments... yes checking return type of signal handlers... (cached) void checking for wait3 that fills in rusage... yes checking for socket... yes checking for vsprintf... yes checking for sigaction... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands >>> Source configured. '/var/tmp/portage/net-misc/vmpsd-1.4/temp/clang16-errors.log' -> '/var/tmp/clang/net-misc/vmpsd-1.4/clang16-errors.log' '/var/tmp/portage/net-misc/vmpsd-1.4/temp/clang16-safe.log' -> '/var/tmp/clang/net-misc/vmpsd-1.4/clang16-safe.log' >>> Compiling source in /var/tmp/portage/net-misc/vmpsd-1.4/work/vmpsd ... make -j4 make all-am make[1]: Entering directory '/var/tmp/portage/net-misc/vmpsd-1.4/work/vmpsd' clang -DHAVE_CONFIG_H -I. -DSYSCONFDIR="\"/etc/vmpsd\"" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o vmpsd-vmpsd.o `test -f 'vmpsd.c' || echo './'`vmpsd.c clang -DHAVE_CONFIG_H -I. -DSYSCONFDIR="\"/etc/vmpsd\"" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o vmpsd-daemon.o `test -f 'daemon.c' || echo './'`daemon.c clang -DHAVE_CONFIG_H -I. -DSYSCONFDIR="\"/etc/vmpsd\"" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o vmpsd-data.o `test -f 'data.c' || echo './'`data.c clang -DHAVE_CONFIG_H -I. -DSYSCONFDIR="\"/etc/vmpsd\"" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o vmpsd-log.o `test -f 'log.c' || echo './'`log.c daemon.c:41:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] daemon_start(ignsigcld) ^ int daemon.c:62:13: error: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] childpid = fork(); ^ daemon.c:65:3: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] exit(1); ^ daemon.c:65:3: note: include the header or explicitly provide a declaration for 'exit' daemon.c:84:7: error: call to undeclared function 'setpgrp'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if ( setpgrp() == -1 ) { ^ daemon.c:100:2: error: call to undeclared function 'umask'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] umask(0); ^ daemon.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] daemon_start(ignsigcld) ^ daemon.c:113:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ 2 warnings and 5 errors generated. data.c:48:9: error: call to undeclared library function 'memcmp' with type 'int (const void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] return memcmp( ((MAC_ENTRY *)pa)->mac, ((MAC_ENTRY *)pb)->mac, 6 ); ^ data.c:48:9: note: include the header or explicitly provide a declaration for 'memcmp' data.c:62:4: error: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] memcpy(x, m->mac, 6); ^ data.c:62:4: note: include the header or explicitly provide a declaration for 'memcpy' data.c:95:30: error: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later dovmpsd.c :not45 :support5 :implicit error: callfunction todeclarations undeclared[-Werror,-Wimplicit-function-declaration] library function 'strncpy' with type 'char *(char ptr->vlan = (char *)xmalloc(strlen(vlan)+1); *, ^ const chardata.c :*,95: 30unsigned: long)';note: include ISOthe C99header and lateror explicitlydo providenot a declarationsupport forimplicit 'strlen'function declarations [-Werror,-Wimplicit-function-declaration] strncpy(external_prog, optarg, 255); ^ data.cvmpsd.c::9645::25:: error: note: callinclude tothe undeclaredheader library functionor 'strcpy'explicitly withprovide typea 'char declaration *(charfor *,'strncpy' const char *)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] strcpy(ptr->vlan, vlan); ^ data.c:96:2: note: include the header or explicitly provide a declaration for 'strcpy' vmpsd.c:56:10: error: call to undeclared library function 'sscanf' with type 'int (const char *restrict, const char *restrict, ...)';data.c :ISO98 :C997 :and error: latercall todo undeclarednot librarysupport functionimplicit 'strcasecmp'function withdeclarations type [-Werror,-Wimplicit-function-declaration] 'int (const char *, const char *)'; ISO C99 and later do not support implicit function if ( sscanf(optarg,"%x",&log_level) != 1... declarations ^ [-Werror,-Wimplicit-function-declaration] vmpsd.c:56:10 if ( strcasecmp(vlan,"--NONE--") ) : ^note: includedata.c :the98 :header7: note: include orthe explicitlyheader provide or aexplicitly provide adeclaration fordeclaration 'sscanf'for 'strcasecmp' make[1]: *** [Makefile:486: vmpsd-daemon.o] Error 1 make[1]: *** Waiting for unfinished jobs.... vmpsd.c:75:2: error: call to undeclared library function 'printf' with type 'int (const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] printf("\n"); ^ vmpsd.c:75:2: note: include the header or explicitly provide a declaration for 'printf' data.c:168:9: error: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] return strcmp( ((VLAN_ENTRY *)pa)->name, ((VLAN_ENTRY *)pb)->name ); ^ data.c:168:9: note: include the header or explicitly provide a declaration for 'strcmp' vmpsd.c:101:2: error: call to undeclared function 'parse_db_file'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] parse_db_file(db_fname); ^ vmpsd.c:113:2: error: call to undeclared library function 'strcat' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] strcat(db_fname,"/vlan.db"); ^ vmpsd.c:113:2: note: include the header or explicitly provide a declaration for 'strcat' vmpsd.c:120:16: error: call to undeclared function 'daemon_start'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if ( !debug ) daemon_start(1); ^ vmpsd.c:123:3: error: call to undeclared function 'spawn_external'; ISO C99 and later do notdata.c support: 507implicit: 1function: declarationswarning: non-void [-Werror,-Wimplicit-function-declaration]function does not return a spawn_external(); value ^ [-Wreturn-type] } ^ vmpsd.c:125:3: error: call to undeclared function 'parse_db_file'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] parse_db_file(db_fname); ^ data.c:517:1: warning: non-void function does not return a value [-Wreturn-type] } ^ vmpsd.c:133:2: error: call to undeclared library function 'bzero' with type 'void (void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] bzero( (char *) &serv_addr, sizeof(serv_addr) ); ^ vmpsd.c:133:2: note: include the header or explicitly provide a declaration for 'bzero' 9 errors generated. data.c:611:3: error: call to undeclared function 'parse_error'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] parse_error(device); ^ 2 warnings and 7 errors generated. make[1]: *** [Makefile:472: vmpsd-vmpsd.o] Error 1 make[1]: *** [Makefile:500: vmpsd-data.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-misc/vmpsd-1.4/work/vmpsd' make: *** [Makefile:333: all] Error 2 * ERROR: net-misc/vmpsd-1.4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-misc/vmpsd-1.4::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/vmpsd-1.4::gentoo'`. * The complete build log is located at '/var/log/portage/net-misc:vmpsd-1.4:20221126-065621.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/vmpsd-1.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/vmpsd-1.4/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/vmpsd-1.4/work/vmpsd' * S: '/var/tmp/portage/net-misc/vmpsd-1.4/work/vmpsd'