* Package: app-misc/screen-4.0.3-r6 * Repository: gentoo * Maintainer: swegener@gentoo.org shell-tools@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux pam userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox * Applying screen-4.0.1-int-overflow-fix.patch ... [ ok ] * Applying screen-4.0.1-vsprintf.patch ... [ ok ] * Applying 4.0.2-no-utempter.patch ... [ ok ] * Applying 4.0.2-no-libelf.patch ... [ ok ] * Applying 4.0.2-64bit-time.patch ... [ ok ] * Applying 4.0.2-windowlist-multiuser-fix.patch ... [ ok ] * Applying 4.0.2-nonblock.patch ... [ ok ] * Applying screen-4.0.3-config.h-autoconf-2.62.patch ... [ ok ] * Applying screen-4.0.3-crosscompile.patch ... [ ok ] * Applying screen-4.0.3-setenv_autoconf.patch ... [ ok ] * Applying 4.0.3-extend-d_termname-ng2.patch ... [ ok ] * Applying screen-4.0.3-cppflags.patch ... [ ok ] * Running autoconf ... [ ok ] this is screen version 4.0.3 checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no checking for library containing strerror... none required checking for compiler sanity... checking if compiler sets exit status... checking for gawk... gawk checking for a BSD-compatible install... /usr/bin/install -c configure: checking for buggy tools... - sh is 'GNU bash, version 4.2.45(1)-release (x86_64-pc-linux-gnu)'. - sed is 'GNU sed version 4.2.1'. checking if a system-wide socket dir should be used... no. ~/.screen will be used instead. configure: checking for MIPS... configure: checking for Ultrix... configure: checking for butterfly... configure: checking for POSIX.1... - you have a POSIX system configure: checking for System V... configure: checking for sequent/ptx... configure: checking for Solaris 2.x... configure: checking BSD job jontrol... - you have jobcontrol configure: checking setreuid... configure: checking seteuid... configure: checking select... configure: checking fifos... checking usable fifos... yes checking broken fifo implementation... no configure: checking sockets... checking sockets are usable... yes configure: checking socket implementation... checking if sockets are not stored in the filesystem... no - both sockets and fifos usable. let's take fifos. checking for broken select return value... yes configure: checking for tgetent... configure: checking libcurses... checking for tgetent in -lncursesw... yes checking using terminfo database... yes configure: checking ospeed... configure: checking for /dev/ptc... configure: checking for SVR4 ptys... checking for getpt... yes configure: checking for ptyranges... configure: checking getutent... configure: checking ut_host... configure: checking for libutil(s)... checking for login in -lutils... no checking for login in -lutil... yes configure: checking getloadavg... assuming posix signal definition configure: checking for crypt and sec libraries... checking for crypt in -lcrypt_d... no configure: checking crypt... checking for crypt in -lcrypt... yes checking for crypt in -lsec... no checking for getspnam in -lshadow... no configure: checking IRIX sun library... configure: checking syslog... configure: checking wait union... configure: checking for termio or termios... configure: checking getspnam... configure: checking getttyent... configure: checking fdwalk... checking if bcopy handles overlap... no checking if memmove handles overlap... no checking if memcpy handles overlap... no checking long file names... yes checking for vsprintf... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for setenv... checking for nl_langinfo(CODESET)... yes checking for library containing gethostname... none required checking for rename... yes checking for fchmod... yes checking for fchown... yes checking for strerror... yes checking for lstat... yes checking for _exit... yes checking for utimes... yes checking for vsnprintf... yes checking for getcwd... yes checking for setlocale... yes checking for strftime... yes checking for PAM support... yes checking compiler sanity... checking for the global screenrc file... "/etc/screenrc" checking for the utf8-encodings location... "/usr/share/screen/utf8encodings" configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: WARNING: 'doc/Makefile.in' seems to ignore the --datarootdir setting config.status: creating config.h config.status: executing default commands Now please check the pathnames in the Makefile and in the user configuration section in config.h. Then type 'make' to make screen. Good luck. AWK=gawk srcdir=. sh ./term.sh CPP="x86_64-pc-linux-gnu-gcc -E -DMAXWIN=100 -DNONETHACK" srcdir=. sh ./osdef.sh AWK=gawk CC="x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -DMAXWIN=100 -DNONETHACK" srcdir=. sh ./comm.sh sh ./tty.sh tty.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -march=native -Wformat -Werror=format-security -g0 -O2 term.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -march=native -Wformat -Werror=format-security -g0 -O2 putenv.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -march=native -Wformat -Werror=format-security -g0 -O2 kmapdef.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -march=native -Wformat -Werror=format-security -g0 -O2 comm.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -march=native -Wformat -Werror=format-security -g0 -O2 screen.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -march=native -Wformat -Werror=format-security -g0 -O2 ansi.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -march=native -Wformat -Werror=format-security -g0 -O2 fileio.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -march=native -Wformat -Werror=format-security -g0 -O2 mark.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -march=native -Wformat -Werror=format-security -g0 -O2 misc.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -march=native -Wformat -Werror=format-security -g0 -O2 resize.c x86_64-pc-linux-gnu-gcc -c -I. -I. -DMAXWIN=100 -DNONETHACK -march=native -Wformat -Werror=format-security -g0 -O2 socket.c misc.c: In function 'SaveStr': misc.c:55:5: error: format not a string literal and no format arguments [-Werror=format-security] misc.c: In function 'SaveStrn': misc.c:69:5: error: format not a string literal and no format arguments [-Werror=format-security] cc1: some warnings being treated as errors make: *** [misc.o] Error 1 make: *** Waiting for unfinished jobs.... fileio.c: In function 'CatExtra': fileio.c:72:2: error: format not a string literal and no format arguments [-Werror=format-security] fileio.c:80:2: error: format not a string literal and no format arguments [-Werror=format-security] resize.c: In function 'CheckMaxSize': resize.c:560:5: error: format not a string literal and no format arguments [-Werror=format-security] resize.c: In function 'ChangeWindowSize': resize.c:733:8: error: format not a string literal and no format arguments [-Werror=format-security] resize.c:966:8: error: format not a string literal and no format arguments [-Werror=format-security] cc1: some warnings being treated as errors fileio.c: In function 'ReadFile': fileio.c:580:7: error: format not a string literal and no format arguments [-Werror=format-security] fileio.c: In function 'printpipe': fileio.c:782:7: warning: missing sentinel in function call [-Wformat] fileio.c: In function 'readpipe': fileio.c:830:7: error: format not a string literal and no format arguments [-Werror=format-security] make: *** [resize.o] Error 1 fileio.c: In function 'printpipe': fileio.c:775:10: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] fileio.c: In function 'WriteFile': fileio.c:442:16: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] socket.c: In function 'AskPassword': socket.c:1273:5: error: format not a string literal and no format arguments [-Werror=format-security] cc1: some warnings being treated as errors screen.c: In function 'MakeNewEnv': screen.c:1872:5: error: format not a string literal and no format arguments [-Werror=format-security] make: *** [fileio.o] Error 1 screen.c: In function 'setbacktick': screen.c:2200:4: error: format not a string literal and no format arguments [-Werror=format-security] socket.c: In function 'ReceiveMsg': socket.c:937:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] socket.c:948:20: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] socket.c:971:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] screen.c:2222:4: error: format not a string literal and no format arguments [-Werror=format-security] socket.c: In function 'SendErrorMsg': socket.c:690:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] ansi.c: In function 'WMsg': ansi.c:2891:3: error: format not a string literal and no format arguments [-Werror=format-security] cc1: some warnings being treated as errors make: *** [socket.o] Error 1 screen.c: In function 'Panic': screen.c:2002:14: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] screen.c:2003:14: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] screen.c: In function 'eexit': screen.c:1686:13: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] screen.c:1687:13: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] screen.c: In function 'main': screen.c:1065:13: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] screen.c:1066:13: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] screen.c:1089:13: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] screen.c:1090:13: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] screen.c:1129:10: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] screen.c:1130:10: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] screen.c:1168:13: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] screen.c:1169:13: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] screen.c:1215:10: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] screen.c:1216:10: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] screen.c:1221:10: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] screen.c: In function 'serv_select_fn': screen.c:2929:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] cc1: some warnings being treated as errors screen.c: In function 'CoreDump': screen.c:1502:9: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] screen.c:1503:9: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] screen.c:1520:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] cc1: some warnings being treated as errors make: *** [ansi.o] Error 1 make: *** [screen.o] Error 1 * ERROR: app-misc/screen-4.0.3-r6::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-misc/screen-4.0.3-r6::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-misc/screen-4.0.3-r6::gentoo'`. * The complete build log is located at '/var/log/log/build/app-misc/screen-4.0.3-r6:20140826-030359.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-misc/screen-4.0.3-r6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-misc/screen-4.0.3-r6/temp/environment'. * Working directory: '/var/tmp/portage/app-misc/screen-4.0.3-r6/work/screen-4.0.3' * S: '/var/tmp/portage/app-misc/screen-4.0.3-r6/work/screen-4.0.3'