* Package: games-rpg/twclone-0.14 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for mawk... no checking for gawk... gawk checking whether make sets ${MAKE}... yes checking host system type... x86_64-pc-linux-gnu checking for a BSD compatible install... /usr/bin/install -c checking for gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler (x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu) works... yes checking whether the C compiler (x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu) 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 style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for pow in -lm... yes checking for pthread_create in -lpthread... yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for ctype.h... yes checking for errno.h... yes checking for math.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for pthread.h... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for sys/ipc.h... yes checking for sys/msg.h... yes checking for sys/poll.h... yes checking for sys/socket.h... yes checking for sys/time.h... yes checking for sys/types.h... yes checking for termios.h... yes checking for time.h... yes checking for unistd.h... yes updating cache ./config.cache creating ./config.status creating Makefile creating autoconf.h cd . && /bin/sh /var/tmp/portage/games-rpg/twclone-0.14/work/twclone-source-0.14/missing --run autoheader configure.in:25: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst ../../lib/autoconf/general.m4:194: AC_FOREACH is expanded from... aclocal.m4:505: AM_CONFIG_HEADER is expanded from... configure.in:25: the top level configure.in:55: warning: do not use m4_regexp: use regexp or m4_bregexp aclocal.m4:551: _AM_DIRNAME is expanded from... ../../lib/autoconf/status.m4:1599: _AC_OUTPUT_MAIN_LOOP is expanded from... configure.in:55: the top level cd . \ && CONFIG_FILES= CONFIG_HEADERS=autoconf.h \ /bin/sh ./config.status creating autoconf.h make all-am make[1]: Entering directory '/var/tmp/portage/games-rpg/twclone-0.14/work/twclone-source-0.14' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -march=native -Wformat -Werror=format-security -g0 -O2 -c `test -f bigbang.c || echo './'`bigbang.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -march=native -Wformat -Werror=format-security -g0 -O2 -c `test -f config.c || echo './'`config.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -march=native -Wformat -Werror=format-security -g0 -O2 -c `test -f getopt.c || echo './'`getopt.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -march=native -Wformat -Werror=format-security -g0 -O2 -c `test -f namegen.c || echo './'`namegen.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -march=native -Wformat -Werror=format-security -g0 -O2 -c `test -f parse.c || echo './'`parse.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -march=native -Wformat -Werror=format-security -g0 -O2 -c `test -f planet.c || echo './'`planet.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -march=native -Wformat -Werror=format-security -g0 -O2 -c `test -f client.c || echo './'`client.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -march=native -Wformat -Werror=format-security -g0 -O2 -c `test -f common.c || echo './'`common.c config.c: In function ‘saveconfig’: planet.c: In function ‘saveplanets’: config.c:117:3: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default] strcpy(buffer, "\0"); ^ planet.c:63:3: error: format not a string literal and no format arguments [-Werror=format-security] fprintf(planetfile, stufftosave); ^ config.c:141:29: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default] for (loop=0; loop < 199 - strlen(buffer); loop++) ^ config.c:142:3: warning: incompatible implicit declaration of built-in function ‘strcat’ [enabled by default] strcat(buffer, " "); ^ config.c:145:3: error: format not a string literal and no format arguments [-Werror=format-security] fprintf(configfile, buffer); ^ config.c: In function ‘init_config’: config.c:82:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets (buffer, BUFF_SIZE, configfile); ^ cc1: some warnings being treated as errors Makefile:372: recipe for target 'config.o' failed make[1]: *** [config.o] Error 1 make[1]: *** Waiting for unfinished jobs.... planet.c: In function ‘init_planets’: planet.c:95:15: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets (buffer, BUFF_SIZE, planetfile); ^ planet.c: In function ‘init_planetinfo’: planet.c:277:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(buffer,BUFF_SIZE, planetinfo); ^ cc1: some warnings being treated as errors Makefile:372: recipe for target 'planet.o' failed make[1]: *** [planet.o] Error 1 bigbang.c: In function ‘main’: bigbang.c:534:5: error: format not a string literal and no format arguments [-Werror=format-security] fprintf (planetfile, terraInfo); ^ bigbang.c:539:5: error: format not a string literal and no format arguments [-Werror=format-security] fprintf(planetfile, ferrinfo); ^ bigbang.c:556:13: error: format not a string literal and no format arguments [-Werror=format-security] fprintf(planetfile, ferrinfo); ^ bigbang.c:622:9: error: format not a string literal and no format arguments [-Werror=format-security] fprintf (file, fileline); ^ bigbang.c:650:9: error: format not a string literal and no format arguments [-Werror=format-security] fprintf (file, fileline); ^ cc1: some warnings being treated as errors Makefile:372: recipe for target 'bigbang.o' failed make[1]: *** [bigbang.o] Error 1 client.c: In function ‘change_stuff’: client.c:1782:3: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘char *’ [-Wformat=] scanf("%d", &product); ^ client.c: In function ‘do_bank_menu’: client.c:2467:5: warning: format ‘%ld’ expects argument of type ‘long int *’, but argument 2 has type ‘int *’ [-Wformat=] scanf("%ld", &transaction); ^ client.c:2492:5: warning: format ‘%ld’ expects argument of type ‘long int *’, but argument 2 has type ‘int *’ [-Wformat=] scanf("%ld", &transaction); ^ client.c: In function ‘do_ship_upgrade’: client.c:2575:3: warning: too many arguments for format [-Wformat-extra-args] printf("\n%sWhich item do you wish to buy? %s(A,B,C,Q):",KMAG,KLTYLW,KNRM); ^ client.c: In function ‘fedcommlink’: client.c:357:11: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets (message, BUFF_SIZE, stdin); ^ client.c: In function ‘debugmode’: client.c:420:11: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets (buffer, BUFF_SIZE, stdin); ^ client.c:435:15: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets (buffer, BUFF_SIZE, stdin); ^ client.c: In function ‘do_stardock_menu’: client.c:1294:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &command); ^ client.c: In function ‘do_node_menu’: client.c:1338:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &command); ^ client.c: In function ‘do_planet_select’: client.c:1392:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &choice); ^ client.c: In function ‘do_citadel_menu’: client.c:1451:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &yesno); ^ client.c: In function ‘treasury’: client.c:1506:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &torf); ^ client.c:1512:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &amt); ^ client.c: In function ‘citadelupgrade’: client.c:1694:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &yesno); ^ client.c: In function ‘change_stuff’: client.c:1746:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &yesno); ^ client.c:1753:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &takeorleave); ^ client.c:1782:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &product); ^ client.c:1804:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &amt); ^ client.c: In function ‘do_shipyard_menu’: client.c:2144:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &command); ^ client.c: In function ‘buyship’: client.c:2219:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &yesno); ^ client.c:2327:9: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &yesno); ^ client.c: In function ‘do_bank_menu’: client.c:2450:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &command); ^ client.c:2467:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld", &transaction); ^ client.c:2492:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld", &transaction); ^ client.c: In function ‘do_ship_upgrade’: client.c:2576:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &choice); ^ client.c:2586:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &amount); ^ client.c:2593:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &amount); ^ client.c:2600:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &amount); ^ client.c: In function ‘doporting’: client.c:2739:19: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &holds); ^ client.c:2763:27: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &playerprice); ^ client.c:2818:19: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &holds); ^ client.c:2841:27: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &playerprice); ^ client.c: In function ‘prompttype’: client.c:3179:10: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read (0, input, 10); //Get 10 characters from stdin! ^ client.c: In function ‘readch’: client.c:3453:10: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read (0, &ch, 1); ^ make[1]: Leaving directory '/var/tmp/portage/games-rpg/twclone-0.14/work/twclone-source-0.14' Makefile:255: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: games-rpg/twclone-0.14::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-rpg/twclone-0.14::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-rpg/twclone-0.14::gentoo'`. * The complete build log is located at '/var/log/log/build/games-rpg/twclone-0.14:20150324-141015.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-rpg/twclone-0.14/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-rpg/twclone-0.14/temp/environment'. * Working directory: '/var/tmp/portage/games-rpg/twclone-0.14/work/twclone-source-0.14' * S: '/var/tmp/portage/games-rpg/twclone-0.14/work/twclone-source-0.14'