* Package: net-misc/termpkg-3.3.9.1-r2 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux policykit 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-pc-linux-gnu-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-pc-linux-gnu-gcc" CFLAGS="-O2 -pipe -march=native -fno-common -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-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -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-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -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-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I../libtn -DLINUX -Wall -DUUCP_LOCKING -c -o tnlSocket.o tnlSocket.c tnlSocket.c: In function ‘outputNet’: tnlSocket.c:94:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 94 | write(fileno(nfp), pBuf, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tnlSocket.c:97:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 97 | write(fileno(nfp), pBuf, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tnlSocket.c: In function ‘spputc’: tnlSocket.c:119:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 119 | write(fileno(aplout), &c, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -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-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I../libtn -DLINUX -Wall -DUUCP_LOCKING -c -o tnlSubOptions.o tnlSubOptions.c In file included from /usr/include/string.h:494, from tnlSubOptions.c:25: In function ‘strncpy’, inlined from ‘doSubOption’ at tnlSubOptions.c:124:4: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 127 bytes from a string of length 255 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I../libtn -DLINUX -Wall -DUUCP_LOCKING -c -o tnlVars.o tnlVars.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I../libtn -DLINUX -Wall -DUUCP_LOCKING -c -o SocketIO.o SocketIO.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I../libtn -DLINUX -Wall -DUUCP_LOCKING -c -o tnlCallBack.o tnlCallBack.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I../libtn -DLINUX -Wall -DUUCP_LOCKING -c -o tnlMisc.o tnlMisc.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I../libtn -DLINUX -Wall -DUUCP_LOCKING -c -o fsminit.o fsminit.c ar -rc libtn.a tnlInit.o tnlSelect.o tnlSocket.o tnlOptions.o tnlSubOptions.o tnlVars.o SocketIO.o tnlCallBack.o tnlMisc.o fsminit.o make[1]: Leaving directory '/var/tmp/portage/net-misc/termpkg-3.3.9.1-r2/work/termpkg-3.3/linux/libtn' make[1]: Entering directory '/var/tmp/portage/net-misc/termpkg-3.3.9.1-r2/work/termpkg-3.3/linux/termnet' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I../libtn -DLINUX -Wall -DUUCP_LOCKING -c -o termnet.o termnet.c termnet.c: In function ‘handleTelNetErrors’: termnet.c:149:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 149 | strcpy(buf, strerror((int)pArg1)); | ^ termnet.c: In function ‘handleDoOptions’: termnet.c:245:70: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 245 | if (dbg) fprintf(stderr, "handleDoOpts::BaudRate = %d\n\r", (int)pArg1); | ^ termnet.c:247:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 247 | if ((int)pArg1) | ^ termnet.c:255:69: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 255 | if (dbg) fprintf(stderr, "handleDoOpts::PortSet = %d\n\r", (int)pArg1); | ^ termnet.c:258:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 258 | if ((int)pArg1) | ^ termnet.c:266:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 266 | if (dbg) fprintf(stderr, "handleDoOpts::Device = %d\n\r", (int)pArg1); | ^ termnet.c:269:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 269 | if ((int)pArg1) | ^ termnet.c:285:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 285 | else if ((int)pArg1 && (iVal == TELOPT_BAUDRATE || | ^ termnet.c: In function ‘doTermServ’: termnet.c:368:13: warning: ignoring return value of ‘getdomainname’, declared with attribute warn_unused_result [-Wunused-result] 368 | getdomainname(domainname, sizeof(domainname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ termnet.c:492:19: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 492 | write(fileno(userOut), commbuf, cnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I../libtn -DLINUX -Wall -DUUCP_LOCKING -c -o trnVars.o trnVars.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I../libtn -DLINUX -Wall -DUUCP_LOCKING -c -o trnParse.o trnParse.c trnParse.c: In function ‘nextItem’: trnParse.c:105:10: warning: ‘ch’ may be used uninitialized in this function [-Wmaybe-uninitialized] 105 | while (ch != 0) | ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I../libtn -DLINUX -Wall -DUUCP_LOCKING -c -o trnTerminal.o trnTerminal.c trnTerminal.c: In function ‘doCommands’: trnTerminal.c:469:68: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 469 | if (dbg) fprintf(stderr, "doComands():command line length = %d\n\r", | ~^ | | | int | %ld 470 | strlen(cmdBuffer)); | ~~~~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} trnTerminal.c: In function ‘procCommand’: trnTerminal.c:541:67: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 541 | if (dbg) fprintf(stderr, "procComands():command line length = %d\n\r", | ~^ | | | int | %ld 542 | strlen(cmdBuffer)); | ~~~~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} trnTerminal.c: In function ‘inputBuffer’: trnTerminal.c:613:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 613 | write(fileno(tnlout), &ch, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -o termnet termnet.o trnVars.o trnParse.o trnTerminal.o -L../libtn -ltn -Wl,-O1 -Wl,--as-needed /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../libtn/libtn.a(tnlVars.o):(.bss+0x0): multiple definition of `OrgTermios'; trnVars.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../libtn/libtn.a(tnlVars.o):(.bss+0x40): multiple definition of `RunTermios'; trnVars.o:(.bss+0x40): first defined here collect2: error: ld returned 1 exit status make[1]: *** [termnet.mk:36: termnet] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-misc/termpkg-3.3.9.1-r2/work/termpkg-3.3/linux/termnet' 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:20200201-182428.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'