* Package: net-misc/vmnet-0.4 * Repository: gentoo * Maintainer: robbat2@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking vmnet-0.4.tar.gz to /var/tmp/portage/net-misc/vmnet-0.4/work >>> Unpacking vmnet_0.4-1.diff.gz to /var/tmp/portage/net-misc/vmnet-0.4/work >>> Source unpacked in /var/tmp/portage/net-misc/vmnet-0.4/work >>> Preparing source in /var/tmp/portage/net-misc/vmnet-0.4/work/vmnet-0.4 ... * Applying vmnet_0.4-1.diff ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/vmnet-0.4/work/vmnet-0.4 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-misc/vmnet-0.4/work/vmnet-0.4 ... make -j1 cc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wl,-O1 -Wl,--as-needed -Wl,-z,now vmnet.c -o vmnet vmnet.c: In function 'sig_setup': vmnet.c:104:2: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 104 | memset(&sa, 0, sizeof(sa)); | ^~~~~~ vmnet.c:104:2: warning: incompatible implicit declaration of built-in function 'memset' vmnet.c:64:1: note: include '' or provide a declaration of 'memset' 63 | #include "config.h" +++ |+#include 64 | vmnet.c: In function 'readline': vmnet.c:122:7: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 122 | r = read(fd, &buf[n], 1); | ^~~~ | fread vmnet.c: In function 'getcfgbyid': vmnet.c:162:8: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 162 | if (!strcmp(username, cfg->username) | ^~~~~~ vmnet.c: In function 'login': vmnet.c:176:16: warning: implicit declaration of function 'getuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] 176 | pw = getpwuid(getuid()); | ^~~~~~ | getpwuid vmnet.c:177:2: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] 177 | strncpy(sc->username, pw->pw_name, sizeof(sc->username)-1); | ^~~~~~~ vmnet.c:177:2: warning: incompatible implicit declaration of built-in function 'strncpy' vmnet.c:177:2: note: include '' or provide a declaration of 'strncpy' vmnet.c: In function 'open_pty_pair': vmnet.c:197:11: warning: implicit declaration of function 'getpt' [-Wimplicit-function-declaration] 197 | master = getpt(); | ^~~~~ vmnet.c:203:3: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 203 | close(master); | ^~~~~ | pclose vmnet.c:207:6: warning: implicit declaration of function 'ptsname_r'; did you mean 'ptsname'? [-Wimplicit-function-declaration] 207 | if (ptsname_r(master, name, sizeof(name)) < 0) { | ^~~~~~~~~ | ptsname vmnet.c: In function 'interface_start': vmnet.c:297:15: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 297 | sprintf(buf+strlen(buf), " && %s up '%s' '%s'", | ^~~~~~ vmnet.c:297:15: warning: incompatible implicit declaration of built-in function 'strlen' vmnet.c:297:15: note: include '' or provide a declaration of 'strlen' vmnet.c: In function 'interface_stop': vmnet.c:324:15: warning: incompatible implicit declaration of built-in function 'strlen' 324 | sprintf(buf+strlen(buf), " && %s down '%s' '%s'", | ^~~~~~ vmnet.c:324:15: note: include '' or provide a declaration of 'strlen' vmnet.c: In function 'bufwrite': vmnet.c:361:6: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 361 | r = write(fd, buf->ptr, buf->len); | ^~~~~ | fwrite vmnet.c: In function 'main': vmnet.c:380:2: warning: implicit declaration of function 'setuid'; did you mean 'si_uid'? [-Wimplicit-function-declaration] 380 | setuid(0); /* set real uid to 0 for some ifconfig's */ | ^~~~~~ | si_uid /usr/lib/gcc/x86_64-gentoo-linux-musl/9.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: /var/tmp/portage/net-misc/vmnet-0.4/temp/ccIlJFnC.o: in function `open_pty_pair': vmnet.c:(.text+0x46c): undefined reference to `getpt' collect2: error: ld returned 1 exit status make: *** [: vmnet] Error 1 * ERROR: net-misc/vmnet-0.4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-misc/vmnet-0.4::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/vmnet-0.4::gentoo'`. * The complete build log is located at '/var/log/portage/net-misc:vmnet-0.4:20200314-061530.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/vmnet-0.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/vmnet-0.4/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/vmnet-0.4/work/vmnet-0.4' * S: '/var/tmp/portage/net-misc/vmnet-0.4/work/vmnet-0.4'