* Package: app-misc/ttysnoop-0.12d * Repository: gentoo * Maintainer: pinkbyte@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux pie split-usr ssp userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking ttysnoop-0.12d.k26.tar.gz to /var/tmp/portage/app-misc/ttysnoop-0.12d/work >>> Source unpacked in /var/tmp/portage/app-misc/ttysnoop-0.12d/work >>> Preparing source in /var/tmp/portage/app-misc/ttysnoop-0.12d/work/ttysnoop-0.12d.k26 ... * Applying pinkbyte_masking.patch ... [ ok ] * Applying ttysnoop-makefile.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-misc/ttysnoop-0.12d/work/ttysnoop-0.12d.k26 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-misc/ttysnoop-0.12d/work/ttysnoop-0.12d.k26 ... make -j1 CC=x86_64-gentoo-linux-musl-gcc x86_64-gentoo-linux-musl-gcc -DSHADOW_PWD -O2 -pipe -march=native -c -o ttysnoops.o ttysnoops.c ttysnoops.c: In function ‘find_ptyxx’: ttysnoops.c:236:11: warning: implicit declaration of function ‘getpt’; did you mean ‘getopt’? [-Wimplicit-function-declaration] 236 | master = getpt(); | ^~~~~ | getopt ttysnoops.c: In function ‘sigchld’: ttysnoops.c:477:13: warning: implicit declaration of function ‘wait’ [-Wimplicit-function-declaration] 477 | if ((pid = wait(&status)) == authpid) | ^~~~ ttysnoops.c: In function ‘main’: ttysnoops.c:536:19: warning: implicit declaration of function ‘time’ [-Wimplicit-function-declaration] 536 | utmp.ut_time = time(NULL); | ^~~~ x86_64-gentoo-linux-musl-gcc -DSHADOW_PWD -O2 -pipe -march=native -c -o common.o common.c common.c: In function ‘errorf’: common.c:24:2: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] 24 | exit (1); | ^~~~ common.c:24:2: warning: incompatible implicit declaration of built-in function ‘exit’ common.c:12:1: note: include ‘’ or provide a declaration of ‘exit’ 11 | #include "common.h" +++ |+#include 12 | common.c: In function ‘fdprintf’: common.c:35:2: warning: implicit declaration of function ‘write’; did you mean ‘fwrite’? [-Wimplicit-function-declaration] 35 | write (fd, str, r); | ^~~~~ | fwrite x86_64-gentoo-linux-musl-gcc ttysnoops.o common.o -o ttysnoops -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lcrypt /usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: ttysnoops.o: in function `find_ptyxx': ttysnoops.c:(.text+0x66d): undefined reference to `getpt' collect2: error: ld returned 1 exit status make: *** [Makefile:27: ttysnoops] Error 1 * ERROR: app-misc/ttysnoop-0.12d::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-misc/ttysnoop-0.12d::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-misc/ttysnoop-0.12d::gentoo'`. * The complete build log is located at '/var/log/portage/app-misc:ttysnoop-0.12d:20200401-062337.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-misc/ttysnoop-0.12d/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-misc/ttysnoop-0.12d/temp/environment'. * Working directory: '/var/tmp/portage/app-misc/ttysnoop-0.12d/work/ttysnoop-0.12d.k26' * S: '/var/tmp/portage/app-misc/ttysnoop-0.12d/work/ttysnoop-0.12d.k26'