* Package: games-arcade/stardork-0.7-r1:0 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking stardork-0.7.tar.gz to /var/tmp/portage/games-arcade/stardork-0.7-r1/work >>> Source unpacked in /var/tmp/portage/games-arcade/stardork-0.7-r1/work >>> Preparing source in /var/tmp/portage/games-arcade/stardork-0.7-r1/work/stardork-0.7 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-arcade/stardork-0.7-r1/work/stardork-0.7 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/games-arcade/stardork-0.7-r1/work/stardork-0.7 ... make -j4 CC=clang 'LDLIBS=-lncurses -ltinfo ' stardork clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 stardork.c -lncurses -ltinfo -o stardork stardork.c:110:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] mvprintw(y, x, aircraft.ship); ^~~~~~~~~~~~~ stardork.c:110:20: note: treat the string as an argument to avoid this mvprintw(y, x, aircraft.ship); ^ "%s", stardork.c:143:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security] mvprintw(--*y, *x, aircraft.ship); ^~~~~~~~~~~~~ stardork.c:143:32: note: treat the string as an argument to avoid this mvprintw(--*y, *x, aircraft.ship); ^ "%s", stardork.c:150:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security] mvprintw(++*y, *x, aircraft.ship); ^~~~~~~~~~~~~ stardork.c:150:32: note: treat the string as an argument to avoid this mvprintw(++*y, *x, aircraft.ship); ^ "%s", stardork.c:157:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security] mvprintw(*y, ++*x, aircraft.ship); ^~~~~~~~~~~~~ stardork.c:157:32: note: treat the string as an argument to avoid this mvprintw(*y, ++*x, aircraft.ship); ^ "%s", stardork.c:164:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security] mvprintw(*y, --*x, aircraft.ship); ^~~~~~~~~~~~~ stardork.c:164:32: note: treat the string as an argument to avoid this mvprintw(*y, --*x, aircraft.ship); ^ "%s", stardork.c:172:34: warning: format string is not a string literal (potentially insecure) [-Wformat-security] mvprintw(--*y, --*x, aircraft.ship); ^~~~~~~~~~~~~ stardork.c:172:34: note: treat the string as an argument to avoid this mvprintw(--*y, --*x, aircraft.ship); ^ "%s", stardork.c:179:34: warning: format string is not a string literal (potentially insecure) [-Wformat-security] mvprintw(--*y, ++*x, aircraft.ship); ^~~~~~~~~~~~~ stardork.c:179:34: note: treat the string as an argument to avoid this mvprintw(--*y, ++*x, aircraft.ship); ^ "%s", stardork.c:187:34: warning: format string is not a string literal (potentially insecure) [-Wformat-security] mvprintw(++*y, --*x, aircraft.ship); ^~~~~~~~~~~~~ stardork.c:187:34: note: treat the string as an argument to avoid this mvprintw(++*y, --*x, aircraft.ship); ^ "%s", stardork.c:194:34: warning: format string is not a string literal (potentially insecure) [-Wformat-security] mvprintw(++*y, ++*x, aircraft.ship); ^~~~~~~~~~~~~ stardork.c:194:34: note: treat the string as an argument to avoid this mvprintw(++*y, ++*x, aircraft.ship); ^ "%s", stardork.c:243:50: warning: format string is not a string literal (potentially insecure) [-Wformat-security] mvprintw(space.wormhole_y, space.wormhole_x, space.wormhole); ^~~~~~~~~~~~~~ stardork.c:243:50: note: treat the string as an argument to avoid this mvprintw(space.wormhole_y, space.wormhole_x, space.wormhole); ^ "%s", stardork.c:255:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] mvprintw(y, ++x, fire.probe); ^~~~~~~~~~ stardork.c:255:26: note: treat the string as an argument to avoid this mvprintw(y, ++x, fire.probe); ^ "%s", stardork.c:267:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] mvprintw(--y, x, fire.probe); ^~~~~~~~~~ stardork.c:267:26: note: treat the string as an argument to avoid this mvprintw(--y, x, fire.probe); ^ "%s", stardork.c:279:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] mvprintw(++y, x, fire.probe); ^~~~~~~~~~ stardork.c:279:26: note: treat the string as an argument to avoid this mvprintw(++y, x, fire.probe); ^ "%s", stardork.c:291:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] mvprintw(y, --x, fire.probe); ^~~~~~~~~~ stardork.c:291:26: note: treat the string as an argument to avoid this mvprintw(y, --x, fire.probe); ^ "%s", stardork.c:305:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] mvprintw(--y, x, fire.probe); ^~~~~~~~~~ stardork.c:305:26: note: treat the string as an argument to avoid this mvprintw(--y, x, fire.probe); ^ "%s", stardork.c:319:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] mvprintw(--y, x, fire.probe); ^~~~~~~~~~ stardork.c:319:26: note: treat the string as an argument to avoid this mvprintw(--y, x, fire.probe); ^ "%s", stardork.c:333:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] mvprintw(++y, x, fire.probe); ^~~~~~~~~~ stardork.c:333:26: note: treat the string as an argument to avoid this mvprintw(++y, x, fire.probe); ^ "%s", stardork.c:347:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] mvprintw(++y, x, fire.probe); ^~~~~~~~~~ stardork.c:347:26: note: treat the string as an argument to avoid this mvprintw(++y, x, fire.probe); ^ "%s", stardork.c:357:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] mvprintw(y, x, fire.blank); ^~~~~~~~~~ stardork.c:357:20: note: treat the string as an argument to avoid this mvprintw(y, x, fire.blank); ^ "%s", stardork.c:377:23: error: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] void plot_wormhole(y, x) { ^ stardork.c:377:20: error: parameter 'y' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] void plot_wormhole(y, x) { ^ stardork.c:377:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void plot_wormhole(y, x) { ^ stardork.c:417:70: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ...mvprintw(store[plant].plant1[i], store[plant].plant2[i], space.star); ^~~~~~~~~~ stardork.c:417:70: note: treat the string as an argument to avoid this ...mvprintw(store[plant].plant1[i], store[plant].plant2[i], space.star); ^ "%s", stardork.c:460:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] mvprintw(y, x, aircraft.ship); ^~~~~~~~~~~~~ stardork.c:460:20: note: treat the string as an argument to avoid this mvprintw(y, x, aircraft.ship); ^ "%s", stardork.c:462:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] mvprintw(y, x, space.blank); ^~~~~~~~~~~ stardork.c:462:20: note: treat the string as an argument to avoid this mvprintw(y, x, space.blank); ^ "%s", stardork.c:470:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security] mvprintw(i, (COLS / 2 - 30), space.blank); ^~~~~~~~~~~ stardork.c:470:38: note: treat the string as an argument to avoid this mvprintw(i, (COLS / 2 - 30), space.blank); ^ "%s", stardork.c:472:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security] mvprintw(i, (COLS / 2 - 20), space.blank); ^~~~~~~~~~~ stardork.c:472:38: note: treat the string as an argument to avoid this mvprintw(i, (COLS / 2 - 20), space.blank); ^ "%s", stardork.c:474:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security] mvprintw(i, (COLS / 2 - 10), space.blank); ^~~~~~~~~~~ stardork.c:474:38: note: treat the string as an argument to avoid this mvprintw(i, (COLS / 2 - 10), space.blank); ^ "%s", stardork.c:476:33: warning: format string is not a string literal (potentially insecure) [-Wformat-security] mvprintw(i, (COLS / 2), space.blank); ^~~~~~~~~~~ stardork.c:476:33: note: treat the string as an argument to avoid this mvprintw(i, (COLS / 2), space.blank); ^ "%s", stardork.c:479:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security] mvprintw(j, (COLS / 2 - 30), space.blank); ^~~~~~~~~~~ stardork.c:479:38: note: treat the string as an argument to avoid this mvprintw(j, (COLS / 2 - 30), space.blank); ^ "%s", stardork.c:481:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security] mvprintw(j, (COLS / 2 - 20), space.blank); ^~~~~~~~~~~ stardork.c:481:38: note: treat the string as an argument to avoid this mvprintw(j, (COLS / 2 - 20), space.blank); ^ "%s", stardork.c:483:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security] mvprintw(j, (COLS / 2 - 10), space.blank); ^~~~~~~~~~~ stardork.c:483:38: note: treat the string as an argument to avoid this mvprintw(j, (COLS / 2 - 10), space.blank); ^ "%s", stardork.c:485:33: warning: format string is not a string literal (potentially insecure) [-Wformat-security] mvprintw(j, (COLS / 2), space.blank); ^~~~~~~~~~~ stardork.c:485:33: note: treat the string as an argument to avoid this mvprintw(j, (COLS / 2), space.blank); ^ "%s", stardork.c:562:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] mvprintw(y, x, aircraft.blank); ^~~~~~~~~~~~~~ stardork.c:562:20: note: treat the string as an argument to avoid this mvprintw(y, x, aircraft.blank); ^ "%s", stardork.c:565:20: error: parameter 'color' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] void change_colors(color) { ^ stardork.c:565:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void change_colors(color) { ^ stardork.c:583:35: warning: data argument not used by format string [-Wformat-extra-args] mvprintw(5, 10, "Bye Bye!\n", 11); ~~~~~~~~~~~~ ^ 34 warnings and 3 errors generated. make: *** [: stardork] Error 1 * ERROR: games-arcade/stardork-0.7-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-arcade/stardork-0.7-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-arcade/stardork-0.7-r1::gentoo'`. * The complete build log is located at '/var/log/portage/games-arcade:stardork-0.7-r1:20220918-164427.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-arcade/stardork-0.7-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-arcade/stardork-0.7-r1/temp/environment'. * Working directory: '/var/tmp/portage/games-arcade/stardork-0.7-r1/work/stardork-0.7' * S: '/var/tmp/portage/games-arcade/stardork-0.7-r1/work/stardork-0.7'