Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 399622 Details for
Bug 544364
games-rpg/twclone fails to compile with format-security
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
twclone-0.14:20150324-141015.log
twclone-0.14:20150324-141015.log (text/plain), 13.84 KB, created by
Agostino Sarubbo
on 2015-03-24 16:33:17 UTC
(
hide
)
Description:
twclone-0.14:20150324-141015.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2015-03-24 16:33:17 UTC
Size:
13.84 KB
patch
obsolete
> * 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'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 544364
: 399622