* Package: net-misc/termpkg-3.3.9.1-r2 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_musl kernel_linux split-usr userland_GNU uucp * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking termpkg_3.3.orig.tar.gz to /var/tmp/portage/net-misc/termpkg-3.3.9.1-r2/work >>> Unpacking termpkg_3.3-9.1.diff.gz to /var/tmp/portage/net-misc/termpkg-3.3.9.1-r2/work >>> Source unpacked in /var/tmp/portage/net-misc/termpkg-3.3.9.1-r2/work >>> Preparing source in /var/tmp/portage/net-misc/termpkg-3.3.9.1-r2/work/termpkg-3.3 ... * Applying termpkg_3.3-9.1.diff ... [ ok ] * Applying termpkg-3.3.9.1-gcc43.diff ... [ ok ] * Applying termpkg-3.3-ttydforfax.diff ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/termpkg-3.3.9.1-r2/work/termpkg-3.3 ... Building with the following options: LINUX Uucp Locking >>> Source configured. >>> Compiling source in /var/tmp/portage/net-misc/termpkg-3.3.9.1-r2/work/termpkg-3.3 ... make -j1 -C linux CC=x86_64-gentoo-linux-musl-gcc 'LIBS=-Wl,-O1 -Wl,--as-needed' make: Entering directory '/var/tmp/portage/net-misc/termpkg-3.3.9.1-r2/work/termpkg-3.3/linux' set -e; for i in libtn termnet termnetd; do cd $i; make LEX="flex" CC="x86_64-gentoo-linux-musl-gcc" CFLAGS="-O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -I../libtn -DLINUX -Wall -DUUCP_LOCKING" LIBS="-Wl,-O1 -Wl,--as-needed" -f $i.mk; cd ..; done make[1]: Entering directory '/var/tmp/portage/net-misc/termpkg-3.3.9.1-r2/work/termpkg-3.3/linux/libtn' x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -I../libtn -DLINUX -Wall -DUUCP_LOCKING -c -o tnlInit.o tnlInit.c tnlInit.c:42:13: warning: ‘iotHandler’ defined but not used [-Wunused-function] 42 | static void iotHandler(int sig) | ^~~~~~~~~~ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -I../libtn -DLINUX -Wall -DUUCP_LOCKING -c -o tnlSelect.o tnlSelect.c tnlSelect.c: In function ‘tnlSelect’: tnlSelect.c:84:58: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 84 | doCallBack(TNL_ERROR_CB, TNL_SOCKETREAD_ERR, (void *)errno, NULL); | ^ tnlSelect.c:92:56: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 92 | doCallBack(TNL_ERROR_CB, TNL_PIPEREAD_ERR, (void *)errno, NULL); | ^ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -I../libtn -DLINUX -Wall -DUUCP_LOCKING -c -o tnlSocket.o tnlSocket.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -I../libtn -DLINUX -Wall -DUUCP_LOCKING -c -o tnlOptions.o tnlOptions.c tnlOptions.c: In function ‘doOption’: tnlOptions.c:63:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 63 | doCallBack(TNL_WILLOPTION_CB, opt, (void *)Options[opt], NULL); | ^ tnlOptions.c: In function ‘willOption’: tnlOptions.c:99:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 99 | doCallBack(TNL_DOOPTION_CB, opt, (void *)Options[opt], NULL); | ^ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -I../libtn -DLINUX -Wall -DUUCP_LOCKING -c -o tnlSubOptions.o tnlSubOptions.c tnlSubOptions.c: In function ‘doSubOption’: tnlSubOptions.c:124:4: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 255 [-Wstringop-truncation] 124 | strncpy(pSubOptions[option], optionBuffer, 127); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -I../libtn -DLINUX -Wall -DUUCP_LOCKING -c -o tnlVars.o tnlVars.c x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -I../libtn -DLINUX -Wall -DUUCP_LOCKING -c -o SocketIO.o SocketIO.c SocketIO.c: In function ‘connectSocket’: SocketIO.c:86:36: error: ‘u_short’ undeclared (first use in this function); did you mean ‘qsort’? 86 | else if ((sin.sin_port = htons((u_short)atoi(pService))) == 0) | ^~~~~~~ | qsort SocketIO.c:86:36: note: each undeclared identifier is reported only once for each function it appears in SocketIO.c:86:44: error: expected ‘)’ before ‘atoi’ 86 | else if ((sin.sin_port = htons((u_short)atoi(pService))) == 0) | ^~~~ | ) make[1]: *** [: SocketIO.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-misc/termpkg-3.3.9.1-r2/work/termpkg-3.3/linux/libtn' make: *** [Makefile:12: all] Error 2 make: Leaving directory '/var/tmp/portage/net-misc/termpkg-3.3.9.1-r2/work/termpkg-3.3/linux' * ERROR: net-misc/termpkg-3.3.9.1-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-misc/termpkg-3.3.9.1-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/termpkg-3.3.9.1-r2::gentoo'`. * The complete build log is located at '/var/log/portage/net-misc:termpkg-3.3.9.1-r2:20200316-124307.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/termpkg-3.3.9.1-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/termpkg-3.3.9.1-r2/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/termpkg-3.3.9.1-r2/work/termpkg-3.3' * S: '/var/tmp/portage/net-misc/termpkg-3.3.9.1-r2/work/termpkg-3.3'