* Package: games-simulation/pmars-sdl-0.9.2e-r1:0 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking pmars-0.9.2-5.tar.gz to /var/tmp/portage/games-simulation/pmars-sdl-0.9.2e-r1/work >>> Source unpacked in /var/tmp/portage/games-simulation/pmars-sdl-0.9.2e-r1/work >>> Preparing source in /var/tmp/portage/games-simulation/pmars-sdl-0.9.2e-r1/work/pmars-0.9.2-5 ... * Applying pmars-sdl-0.9.2e-format.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-simulation/pmars-sdl-0.9.2e-r1/work/pmars-0.9.2-5 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/games-simulation/pmars-sdl-0.9.2e-r1/work/pmars-0.9.2-5 ... * Compiling asm.c * Compiling cdb.c In file included from cdb.c:30: sim.h:104:12: warning: built-in function ‘round’ declared as non-function [-Wbuiltin-declaration-mismatch] 104 | extern int round; | ^~~~~ cdb.c: In function ‘cdb’: cdb.c:897:7: warning: format not a string literal and no format arguments [-Wformat-security] 897 | printf(pressAnyKeyToContinue); | ^~~~~~ cdb.c: In function ‘subst_eval’: cdb.c:1649:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] 1649 | sprintf(outs, "%d", (targetID == QUEUE || targetID == PSP ? | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int | %ld 1650 | 0 : (targetID == WARRIOR ? | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long int 1651 | W - warrior : progCnt))); | ~~~~~~~~~~~~~~~~~~~~~~~ cdb.c:1657:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] 1657 | sprintf(outs, "%d", (targetID == QUEUE || targetID == PSP ? | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int | %ld 1658 | 0 : (targetID == WARRIOR ? | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long int 1659 | W - warrior : progCnt))); | ~~~~~~~~~~~~~~~~~~~~~~~ cdb.c:1662:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] 1662 | sprintf(outs, "%d", (cycle + (warriorsLeft ? warriorsLeft : 1) - 1) / | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld 1663 | (warriorsLeft ? warriorsLeft : 1)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cdb.c: In function ‘cdb’: cdb.c:878:7: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 878 | system(argStr); | ^~~~~~~~~~~~~~ * Compiling clparse.c clparse.c: In function ‘next_input’: clparse.c:227:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 227 | fscanf(filep, "%s", inputs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ clparse.c:234:9: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 234 | fscanf(filep, "%[^\"]%*[\"]", inputs + i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clparse.c:237:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 237 | fgets(inputs, 100, filep); | ^~~~~~~~~~~~~~~~~~~~~~~~~ clparse.c:239:7: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 239 | fscanf(filep, "%s", inputs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ * Compiling disasm.c In file included from disasm.c:26: sim.h:104:12: warning: built-in function ‘round’ declared as non-function [-Wbuiltin-declaration-mismatch] 104 | extern int round; | ^~~~~ * Compiling eval.c * Compiling global.c * Compiling pmars.c * Compiling sim.c In file included from sim.c:29: sim.h:104:12: warning: built-in function ‘round’ declared as non-function [-Wbuiltin-declaration-mismatch] 104 | extern int round; | ^~~~~ In file included from sim.c:56: curdisp.c: In function ‘cur_display_init’: curdisp.c:250:34: warning: '0' flag used with ‘%s’ gnu_printf format [-Wformat=] 250 | sprintf(preStatusLine, "%0.20s [0]: %%-5d Cycle: %%-6d", warrior[0].name); | ^ curdisp.c: In function ‘agets5’: curdisp.c:431:26: error: invalid use of incomplete typedef ‘WINDOW’ {aka ‘struct _win_st’} 431 | if (ox = curwin->_curx) { | ^~ In file included from global.h:376, from sim.c:28: curdisp.c:439:36: error: invalid use of incomplete typedef ‘WINDOW’ {aka ‘struct _win_st’} 439 | mvwaddch(curwin, curwin->_cury, --ox, ' '); | ^~ curdisp.c:440:33: error: invalid use of incomplete typedef ‘WINDOW’ {aka ‘struct _win_st’} 440 | wmove(curwin, curwin->_cury, ox); | ^~ curdisp.c:442:24: error: invalid use of incomplete typedef ‘WINDOW’ {aka ‘struct _win_st’} 442 | oy = curwin->_cury - 1; | ^~ curdisp.c:478:34: error: invalid use of incomplete typedef ‘WINDOW’ {aka ‘struct _win_st’} 478 | mvwaddch(curwin, curwin->_cury, ox, ' '); | ^~ * ERROR: games-simulation/pmars-sdl-0.9.2e-r1::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 1770: Called die * The specific snippet of code: * $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${program} -c || die; * * If you need support, post the output of `emerge --info '=games-simulation/pmars-sdl-0.9.2e-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-simulation/pmars-sdl-0.9.2e-r1::gentoo'`. * The complete build log is located at '/var/log/portage/games-simulation:pmars-sdl-0.9.2e-r1:20240517-205622.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-simulation/pmars-sdl-0.9.2e-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-simulation/pmars-sdl-0.9.2e-r1/temp/environment'. * Working directory: '/var/tmp/portage/games-simulation/pmars-sdl-0.9.2e-r1/work/pmars-0.9.2-5/src' * S: '/var/tmp/portage/games-simulation/pmars-sdl-0.9.2e-r1/work/pmars-0.9.2-5'