* Package: net-misc/utelnetd-0.1.11-r2 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking utelnetd-0.1.11.tar.gz to /var/tmp/portage/net-misc/utelnetd-0.1.11-r2/work >>> Source unpacked in /var/tmp/portage/net-misc/utelnetd-0.1.11-r2/work >>> Preparing source in /var/tmp/portage/net-misc/utelnetd-0.1.11-r2/work/utelnetd-0.1.11 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/utelnetd-0.1.11-r2/work/utelnetd-0.1.11 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-misc/utelnetd-0.1.11-r2/work/utelnetd-0.1.11 ... make -j1 x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -I. -pipe -DSHELLPATH=\"/bin/login\" -Wall -c -o utelnetd.o utelnetd.c utelnetd.c: In function ‘perror_msg_and_die’: utelnetd.c:160:2: error: format not a string literal and no format arguments [-Werror=format-security] 160 | fprintf(stderr,text); | ^~~~~~~ utelnetd.c: In function ‘getpty’: utelnetd.c:232:13: warning: implicit declaration of function ‘grantpt’; did you mean ‘getpt’? [-Wimplicit-function-declaration] 232 | if (grantpt(p)<0 || unlockpt(p)<0) { | ^~~~~~~ | getpt utelnetd.c:232:29: warning: implicit declaration of function ‘unlockpt’ [-Wimplicit-function-declaration] 232 | if (grantpt(p)<0 || unlockpt(p)<0) { | ^~~~~~~~ utelnetd.c:238:35: warning: implicit declaration of function ‘ptsname’; did you mean ‘ptsname_r’? [-Wimplicit-function-declaration] 238 | strcpy(line, (const char*)ptsname(p)); | ^~~~~~~ | ptsname_r utelnetd.c:238:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 238 | strcpy(line, (const char*)ptsname(p)); | ^ utelnetd.c: In function ‘make_new_session’: utelnetd.c:264:10: warning: variable ‘t2’ set but not used [-Wunused-but-set-variable] 264 | int t1, t2; | ^~ utelnetd.c:264:6: warning: variable ‘t1’ set but not used [-Wunused-but-set-variable] 264 | int t1, t2; | ^~ utelnetd.c: In function ‘main’: utelnetd.c:561:7: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness [-Wpointer-sign] 561 | &salen)) < 0) { | ^~~~~~ | | | int * In file included from utelnetd.c:45: /usr/include/sys/socket.h:233:28: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 233 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ utelnetd.c:597:32: warning: pointer targets in passing argument 1 of ‘remove_iacs’ differ in signedness [-Wpointer-sign] 597 | ptr = remove_iacs(ts->buf1 + ts->wridx1, maxlen, | ~~~~~~~~~^~~~~~~~~~~~ | | | char * utelnetd.c:190:28: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 190 | remove_iacs(unsigned char *bf, int len, int *processed, int *num_totty) { | ~~~~~~~~~~~~~~~^~ cc1: some warnings being treated as errors make: *** [: utelnetd.o] Error 1 * ERROR: net-misc/utelnetd-0.1.11-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-misc/utelnetd-0.1.11-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/utelnetd-0.1.11-r2::gentoo'`. * The complete build log is located at '/var/log/portage/net-misc:utelnetd-0.1.11-r2:20200326-005926.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/utelnetd-0.1.11-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/utelnetd-0.1.11-r2/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/utelnetd-0.1.11-r2/work/utelnetd-0.1.11' * S: '/var/tmp/portage/net-misc/utelnetd-0.1.11-r2/work/utelnetd-0.1.11'