* Package: net-misc/tn5250-0.17.4-r1 * Repository: gentoo * USE: X abi_x86_64 amd64 elibc_glibc kernel_linux ssl userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox checking for a BSD-compatible install... /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for a BSD-compatible install... /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking dependency style of x86_64-pc-linux-gnu-g++... none checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E checking for x86_64-pc-linux-gnu-g77... no checking for x86_64-pc-linux-gnu-xlf... no checking for x86_64-pc-linux-gnu-f77... no checking for x86_64-pc-linux-gnu-frt... no checking for x86_64-pc-linux-gnu-pgf77... no checking for x86_64-pc-linux-gnu-cf77... no checking for x86_64-pc-linux-gnu-fort77... no checking for x86_64-pc-linux-gnu-fl32... no checking for x86_64-pc-linux-gnu-af77... no checking for x86_64-pc-linux-gnu-xlf90... no checking for x86_64-pc-linux-gnu-f90... no checking for x86_64-pc-linux-gnu-pgf90... no checking for x86_64-pc-linux-gnu-pghpf... no checking for x86_64-pc-linux-gnu-epcf90... no checking for x86_64-pc-linux-gnu-gfortran... x86_64-pc-linux-gnu-gfortran checking whether we are using the GNU Fortran 77 compiler... yes checking whether x86_64-pc-linux-gnu-gfortran accepts -g... yes checking the maximum length of command line arguments... 1572864 checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for objdir... .libs checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for x86_64-pc-linux-gnu-ranlib... (cached) x86_64-pc-linux-gnu-ranlib checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for x86_64-pc-linux-gnu-gfortran option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-gfortran PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-gfortran static flag -static works... yes checking if x86_64-pc-linux-gnu-gfortran supports -c -o file.o... yes checking whether the x86_64-pc-linux-gnu-gfortran linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for vprintf... yes checking for _doprnt... no checking for gethostbyname... yes checking for memset... yes checking for putenv... yes checking for select... yes checking for socket... yes checking for strcasecmp... yes checking for strchr... yes checking for strerror... yes checking for strrchr... yes checking for strstr... yes checking for short... yes checking size of short... 2 checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 8 checking whether to build curses terminal... (cached) yes checking whether to use old key handler... (cached) no checking for initscr in -lncurses... yes checking whether to build python terminal... (cached) no checking whether to build with OpenSSL support... (cached) yes checking for OpenSSL headers... -I/usr/include checking for CRYPTO_num_locks in -lcrypto... yes checking for SSL_library_init in -lssl... yes checking if OpenSSL needs krb5.h... no configure: creating ./config.status config.status: creating Makefile config.status: creating curses/Makefile config.status: creating doc/Makefile config.status: creating lib5250/Makefile config.status: creating lp5250d/Makefile config.status: creating python/Makefile config.status: creating slang/Makefile config.status: creating freebsd/Makefile config.status: creating linux/Makefile config.status: creating sun/Makefile config.status: creating win32/Makefile config.status: creating xt5250 config.status: WARNING: xt5250.in seems to ignore the --datarootdir setting config.status: creating config.h config.status: executing depfiles commands make all-recursive make[1]: Entering directory '/var/tmp/portage/net-misc/tn5250-0.17.4-r1/work/tn5250-0.17.4' Making all in lib5250 make[2]: Entering directory '/var/tmp/portage/net-misc/tn5250-0.17.4-r1/work/tn5250-0.17.4/lib5250' /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c -o buffer.lo buffer.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c -o conf.lo conf.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c -o dbuffer.lo dbuffer.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c -o debug.lo debug.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c -o display.lo display.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c -o field.lo field.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c -o macro.lo macro.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c -o menu.lo menu.c mkdir .libs x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c macro.c -fPIC -DPIC -o .libs/macro.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c dbuffer.c -fPIC -DPIC -o .libs/dbuffer.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c field.c -fPIC -DPIC -o .libs/field.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c conf.c -fPIC -DPIC -o .libs/conf.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c debug.c -fPIC -DPIC -o .libs/debug.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c menu.c -fPIC -DPIC -o .libs/menu.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c buffer.c -fPIC -DPIC -o .libs/buffer.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c display.c -fPIC -DPIC -o .libs/display.o conf.c: In function 'tn5250_config_load': conf.c:258:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (buf, sizeof (buf) - 1, f); ^ /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c -o printsession.lo printsession.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c -o record.lo record.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c -o scrollbar.lo scrollbar.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c -o scs.lo scs.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c -o session.lo session.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c -o sslstream.lo sslstream.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c -o stream.lo stream.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c printsession.c -fPIC -DPIC -o .libs/printsession.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c scs.c -fPIC -DPIC -o .libs/scs.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c scrollbar.c -fPIC -DPIC -o .libs/scrollbar.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c record.c -fPIC -DPIC -o .libs/record.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c session.c -fPIC -DPIC -o .libs/session.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c sslstream.c -fPIC -DPIC -o .libs/sslstream.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c -o telnetstr.lo telnetstr.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c stream.c -fPIC -DPIC -o .libs/stream.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c -o terminal.lo terminal.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c -o utility.lo utility.c sslstream.c: In function 'ssl_log_SB_buf': sslstream.c:310:4: error: format not a string literal and no format arguments [-Werror=format-security] fprintf(tn5250_logfile,ssl_getTelOpt(type=*buf++)); ^ sslstream.c: In function 'tn5250_ssl_stream_init': sslstream.c:372:14: warning: assignment discards 'const' qualifier from pointer target type meth = SSLv2_client_method(); ^ sslstream.c:375:14: warning: assignment discards 'const' qualifier from pointer target type meth = SSLv3_client_method(); ^ sslstream.c:378:14: warning: assignment discards 'const' qualifier from pointer target type meth = SSLv23_client_method(); ^ /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c -o version.lo version.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c -o window.lo window.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c telnetstr.c -fPIC -DPIC -o .libs/telnetstr.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c -o wtd.lo wtd.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c terminal.c -fPIC -DPIC -o .libs/terminal.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c utility.c -fPIC -DPIC -o .libs/utility.o telnetstr.c: In function 'log_SB_buf': telnetstr.c:285:4: error: format not a string literal and no format arguments [-Werror=format-security] fprintf(tn5250_logfile,getTelOpt(type=*buf++)); ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c version.c -fPIC -DPIC -o .libs/version.o cc1: some warnings being treated as errors Makefile:352: recipe for target 'sslstream.lo' failed make[2]: *** [sslstream.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c wtd.c -fPIC -DPIC -o .libs/wtd.o utility.c: In function 'tn5250_daemon': utility.c:105:7: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^ utility.c:111:9: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(0); dup(0); ^ utility.c:111:17: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(0); dup(0); ^ utility.c: In function 'tn5250_run_cmd': utility.c:607:12: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd); ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/etc\" -I/usr/include -march=native -Wformat -Werror=format-security -g0 -O2 -c window.c -fPIC -DPIC -o .libs/window.o cc1: some warnings being treated as errors Makefile:352: recipe for target 'telnetstr.lo' failed make[2]: *** [telnetstr.lo] Error 1 make[2]: Leaving directory '/var/tmp/portage/net-misc/tn5250-0.17.4-r1/work/tn5250-0.17.4/lib5250' Makefile:335: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-misc/tn5250-0.17.4-r1/work/tn5250-0.17.4' Makefile:226: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: net-misc/tn5250-0.17.4-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-misc/tn5250-0.17.4-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/tn5250-0.17.4-r1::gentoo'`. * The complete build log is located at '/var/log/log/build/net-misc/tn5250-0.17.4-r1:20160926-074753.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/tn5250-0.17.4-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/tn5250-0.17.4-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/tn5250-0.17.4-r1/work/tn5250-0.17.4' * S: '/var/tmp/portage/net-misc/tn5250-0.17.4-r1/work/tn5250-0.17.4'