* Package: app-misc/cw-1.0.16-r3 * Repository: gentoo * Maintainer: shell-tools@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking cw-1.0.16.tar.bz2 to /var/tmp/portage/app-misc/cw-1.0.16-r3/work >>> Source unpacked in /var/tmp/portage/app-misc/cw-1.0.16-r3/work >>> Preparing source in /var/tmp/portage/app-misc/cw-1.0.16-r3/work/cw-1.0.16 ... * Applying 1.0.16-ldflags.patch ... [ ok ] * Applying 1.0.16-path.patch ... [ ok ] * Applying 1.0.16-collision.patch ... [ ok ] * Applying 1.0.16-format-security.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-misc/cw-1.0.16-r3/work/cw-1.0.16 ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 creating cache ./config.cache checking for gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler (x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed) works... yes checking whether the C compiler (x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed) is a cross-compiler... no checking whether we are using GNU C... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for a BSD compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether make sets ${MAKE}... yes checking for -pedantic (gcc) compiler flag... yes checking for -Wall (gcc) compiler flag... yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for openpty in -lutil... yes checking for /dev/ptmx... yes checking for getpt... yes checking for isatty... yes checking for isxdigit... yes checking for openpty... yes checking for putenv... yes checking for regcomp... yes checking for setenv... yes checking for setproctitle... no checking for setsid... yes checking for sigaction... yes checking for sscanf... yes checking for uname... yes checking for unsetenv... yes checking for vsnprintf... yes checking for waitpid... yes checking for ctype.h... yes checking for fcntl.h... yes checking for libgen.h... yes checking for libutil.h... no checking for pty.h... yes checking for regex.h... yes checking for signal.h... yes checking for string.h... yes checking for strings.h... yes checking for stropts.h... no checking for unix.h... no checking for util.h... no checking for sys/ioctl.h... yes checking for sys/stat.h... yes checking for sys/time.h... yes checking for sys/types.h... yes checking for sys/utsname.h... yes checking for sys/wait.h... yes updating cache ./config.cache creating ./config.status creating Makefile creating config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/app-misc/cw-1.0.16-r3/work/cw-1.0.16 ... make -j1 local * Compiling cw(color wrapper)... x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed src/cw.c -o bin/cw -pedantic -Wall -lutil -DHAVE_CONFIG_H src/cw.c: In function ‘make_ptypair’: src/cw.c:1164:5: warning: implicit declaration of function ‘grantpt’; did you mean ‘getpt’? [-Wimplicit-function-declaration] 1164 | if(grantpt(master)<0||unlockpt(master)<0){ | ^~~~~~~ | getpt src/cw.c:1164:24: warning: implicit declaration of function ‘unlockpt’ [-Wimplicit-function-declaration] 1164 | if(grantpt(master)<0||unlockpt(master)<0){ | ^~~~~~~~ src/cw.c:1168:12: warning: implicit declaration of function ‘ptsname’; did you mean ‘ttyname’? [-Wimplicit-function-declaration] 1168 | if(!(name=ptsname(master))){ | ^~~~~~~ | ttyname src/cw.c:1168:11: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 1168 | if(!(name=ptsname(master))){ | ^ src/cw.c:1176:5: warning: implicit declaration of function ‘isastream’ [-Wimplicit-function-declaration] 1176 | if(isastream(slave)){ | ^~~~~~~~~ src/cw.c: In function ‘cwprintf’: src/cw.c:1281:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1281 | &&(p=(unsigned int)strchr(str+i+4,']'))){ | ^ src/cw.c:1282:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1282 | p-=((unsigned int)str+i+3); | ^ src/cw.c: In function ‘is_cwfile’: src/cw.c:1334:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 1334 | fgets(buf,BUFSIZE,fs); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:494, from src/cw.c:52: In function ‘strncpy’, inlined from ‘setproctitle’ at src/cw.c:1703:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 1024 bytes from a string of length 1028 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘main’ at src/cw.c:496:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cw.c: In function ‘main’: src/cw.c:496:29: note: length computed here 496 | strncpy(catname,scrname,strlen(scrname)-1); | ^~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/app-misc/cw-1.0.16-r3/temp/cc7Bfu8B.o: in function `make_ptypair': cw.c:(.text+0x42d): undefined reference to `isastream' collect2: error: ld returned 1 exit status make: *** [Makefile:23: cw] Error 1 * ERROR: app-misc/cw-1.0.16-r3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-misc/cw-1.0.16-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-misc/cw-1.0.16-r3::gentoo'`. * The complete build log is located at '/var/log/portage/app-misc:cw-1.0.16-r3:20190817-233231.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-misc/cw-1.0.16-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-misc/cw-1.0.16-r3/temp/environment'. * Working directory: '/var/tmp/portage/app-misc/cw-1.0.16-r3/work/cw-1.0.16' * S: '/var/tmp/portage/app-misc/cw-1.0.16-r3/work/cw-1.0.16'