* Package: games-arcade/kajaani-kombat-0.7-r1 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox @@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; This ebuild was merged at the following commit: https://github.com/gentoo-mirror/gentoo/commit/8ba771ec572b093c0eefba8c1998c6fd9b635ff0 (Wed Aug 26 10:35:28 UTC 2020) @@@@@ END @@@@@ emerge --info: Portage 3.0.4 (python 3.7.9-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32, 5.4.0-1021-aws x86_64) ================================================================= System uname: Linux-5.4.0-1021-aws-x86_64-Intel-R-_Xeon-R-_Platinum_8175M_CPU_@_2.50GHz-with-gentoo-2.7 KiB Mem: 64359960 total, 19279684 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Wed, 26 Aug 2020 10:35:27 +0000 sh bash 5.0_p18 ld GNU ld (Gentoo 2.34 p6) 2.34.0 app-shells/bash: 5.0_p18::gentoo dev-lang/perl: 5.30.3-r1::gentoo dev-lang/python: 2.7.18-r1::gentoo, 3.7.9::gentoo, 3.8.5::gentoo, 3.9.0_rc1::gentoo dev-util/cmake: 3.18.1::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34-r2::gentoo sys-devel/gcc: 10.2.0-r1::gentoo sys-devel/gcc-config: 2.3.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.8::gentoo (virtual/os-headers) sys-libs/glibc: 2.32::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* GPL-2" CBUILD="x86_64-pc-linux-gnu" CC="x86_64-pc-linux-gnu-clang" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXX="x86_64-pc-linux-gnu-clang++" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" DISTDIR="/var/tmp/portage/games-arcade/kajaani-kombat-0.7-r1/distdir" EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -b -k" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld" MAKEOPTS="-j16 V=1" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd test unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS >>> Unpacking source... >>> Unpacking kajaani-kombat-0.7.tar.gz to /var/tmp/portage/games-arcade/kajaani-kombat-0.7-r1/work >>> Source unpacked in /var/tmp/portage/games-arcade/kajaani-kombat-0.7-r1/work >>> Preparing source in /var/tmp/portage/games-arcade/kajaani-kombat-0.7-r1/work/kajaani-kombat-0.7 ... * Applying 0.7-makefile.patch ... [ ok ] * Applying kajaani-kombat-0.7-ldflags.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-arcade/kajaani-kombat-0.7-r1/work/kajaani-kombat-0.7 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/games-arcade/kajaani-kombat-0.7-r1/work/kajaani-kombat-0.7 ... make -j16 V=1 x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color `sdl-config --cflags` -D MEDIA_PATH=\"/usr/share/kajaani-kombat/\" -c -o game_obj.o game_obj.cpp x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color `sdl-config --cflags` -D MEDIA_PATH=\"/usr/share/kajaani-kombat/\" -c -o terrain.o terrain.cpp x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color `sdl-config --cflags` -D MEDIA_PATH=\"/usr/share/kajaani-kombat/\" -c -o msg.o msg.cpp x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color `sdl-config --cflags` -D MEDIA_PATH=\"/usr/share/kajaani-kombat/\" -c -o rotozoom.o rotozoom.cpp x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color `sdl-config --cflags` -D MEDIA_PATH=\"/usr/share/kajaani-kombat/\" -c -o gfx.o gfx.cpp x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color `sdl-config --cflags` -D MEDIA_PATH=\"/usr/share/kajaani-kombat/\" -c -o game_client.o game_client.cpp x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color `sdl-config --cflags` -D MEDIA_PATH=\"/usr/share/kajaani-kombat/\" -c -o main.o main.cpp x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color `sdl-config --cflags` -D MEDIA_PATH=\"/usr/share/kajaani-kombat/\" -c -o coord.o coord.cpp x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color `sdl-config --cflags` -D MEDIA_PATH=\"/usr/share/kajaani-kombat/\" -c -o block.o block.cpp x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color `sdl-config --cflags` -D MEDIA_PATH=\"/usr/share/kajaani-kombat/\" -c -o particle_efects.o particle_efects.cpp x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color `sdl-config --cflags` -D MEDIA_PATH=\"/usr/share/kajaani-kombat/\" -c -o animation.o animation.cpp x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color `sdl-config --cflags` -D MEDIA_PATH=\"/usr/share/kajaani-kombat/\" -c -o gfx_functions.o gfx_functions.cpp x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color `sdl-config --cflags` -D MEDIA_PATH=\"/usr/share/kajaani-kombat/\" -c -o gui.o gui.cpp x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color `sdl-config --cflags` -D MEDIA_PATH=\"/usr/share/kajaani-kombat/\" -c -o gui_screens.o gui_screens.cpp x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color `sdl-config --cflags` -D MEDIA_PATH=\"/usr/share/kajaani-kombat/\" -c -o game_server.o game_server.cpp x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color `sdl-config --cflags` -D MEDIA_PATH=\"/usr/share/kajaani-kombat/\" -c -o audio.o audio.cpp x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color `sdl-config --cflags` -D MEDIA_PATH=\"/usr/share/kajaani-kombat/\" -c -o game_statistic.o game_statistic.cpp In file included from block.cpp:21: ./block.h:39:3: warning: typedef requires a name [-Wmissing-declarations] typedef enum block_type { ^~~~~~~ In file included from terrain.cpp:21: In file included from ./terrain.h:34: ./block.h:39:3: warning: typedef requires a name [-Wmissing-declarations] typedef enum block_type { ^~~~~~~ In file included from rotozoom.cpp:21: In file included from ./rotozoom.h:25: In file included from ./terrain.h:34: ./block.h:39:3: warning: typedef requires a name [-Wmissing-declarations] typedef enum block_type { ^~~~~~~ In file included from particle_efects.cpp:21: In file included from ./particle_efects.h:24: In file included from ./msg.h:25: In file included from ./terrain.h:34: ./block.h:39:3: warning: typedef requires a name [-Wmissing-declarations] typedef enum block_type { ^~~~~~~ In file included from msg.cpp:21: In file included from ./msg.h:25: In file included from ./terrain.h:34: ./block.h:39:3: warning: typedef requires a name [-Wmissing-declarations] typedef enum block_type { ^~~~~~~ In file included from main.cpp:26: In file included from ./msg.h:25: In file included from ./terrain.h:34: ./block.h:39:3: warning: typedef requires a name [-Wmissing-declarations] typedef enum block_type { ^~~~~~~ In file included from animation.cpp:21: In file included from ./animation.h:25: In file included from ./particle_efects.h:24: In file included from ./msg.h:25: In file included from ./terrain.h:34: ./block.h:39:3: warning: typedef requires a name [-Wmissing-declarations] typedef enum block_type { ^~~~~~~ In file included from game_server.cpp:21: In file included from ./game_server.h:28: In file included from ./msg.h:25: In file included from ./terrain.h:34: ./block.h:39:3: warning: typedef requires a name [-Wmissing-declarations] typedef enum block_type { ^~~~~~~ 1 warning generated. x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color `sdl-config --cflags` -D MEDIA_PATH=\"/usr/share/kajaani-kombat/\" -c -o mosaic.o mosaic.cpp In file included from game_client.cpp:21: In file included from ./game_client.h:33: In file included from ./msg.h:25: In file included from ./terrain.h:34: ./block.h:39:3: warning: typedef requires a name [-Wmissing-declarations] typedef enum block_type { ^~~~~~~ In file included from gui_screens.cpp:21: In file included from ./gui_screens.h:25: In file included from ./gui.h:34: In file included from ./gfx.h:29: In file included from ./terrain.h:34: ./block.h:39:3: warning: typedef requires a name [-Wmissing-declarations] typedef enum block_type { ^~~~~~~ In file included from gfx.cpp:21: In file included from ./gfx.h:29: In file included from ./terrain.h:34: ./block.h:39:3: warning: typedef requires a name [-Wmissing-declarations] typedef enum block_type { ^~~~~~~ In file included from gui.cpp:21: In file included from ./gui.h:34: In file included from ./gfx.h:29: In file included from ./terrain.h:34: ./block.h:39:3: warning: typedef requires a name [-Wmissing-declarations] typedef enum block_type { ^~~~~~~ msg.cpp:377:7: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete tbuf; ^ [] msg.cpp:373:16: note: allocated with 'new[]' here char *tbuf = new char[slen+1]; ^ msg.cpp:382:3: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete tbuf; ^ [] msg.cpp:373:16: note: allocated with 'new[]' here char *tbuf = new char[slen+1]; ^ 1 warning generated. x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color `sdl-config --cflags` -D MEDIA_PATH=\"/usr/share/kajaani-kombat/\" -c -o interpolation.o interpolation.cpp x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color `sdl-config --cflags` -D MEDIA_PATH=\"/usr/share/kajaani-kombat/\" -c -o connects.o connects.cpp x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color `sdl-config --cflags` -D MEDIA_PATH=\"/usr/share/kajaani-kombat/\" -c -o player.o player.cpp x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color `sdl-config --cflags` -D MEDIA_PATH=\"/usr/share/kajaani-kombat/\" -c -o client_net.o client_net.cpp game_server.cpp:30:5: warning: delete called on 'msg' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor] delete output_queue.pop(); ^ game_server.cpp:67:14: error: ordered comparison between pointer and zero ('SDL_Thread *' and 'int') if (con_th < 0) ~~~~~~ ^ ~ game_server.cpp:500:29: warning: variable 't' is uninitialized when used within its own initialization [-Wuninitialized] tile t (tile::TYPE_WALL, t.owner); ~ ^ game_server.cpp:508:29: warning: variable 't' is uninitialized when used within its own initialization [-Wuninitialized] tile t (tile::TYPE_WALL, t.owner); ~ ^ game_server.cpp:516:29: warning: variable 't' is uninitialized when used within its own initialization [-Wuninitialized] tile t (tile::TYPE_WALL, t.owner); ~ ^ game_server.cpp:524:29: warning: variable 't' is uninitialized when used within its own initialization [-Wuninitialized] tile t (tile::TYPE_WALL, t.owner); ~ ^ gui.cpp:283:17: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] if (typeid (*objs[i]) != typeid(starfield_efect)) ^ gui.cpp:284:7: warning: delete called on 'game_obj' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor] delete objs[i]; ^ gui_screens.cpp:23:1: warning: typedef requires a name [-Wmissing-declarations] typedef struct server_numpl { ^~~~~~~ game_client.cpp:87:7: warning: delete called on 'msg' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor] delete m; ^ game_client.cpp:98:7: warning: delete called on 'client_net' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor] delete serv_conn; ^ game_client.cpp:137:14: warning: delete called on 'msg' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor] if (m) { delete m; m = 0; } ^ game_client.cpp:141:5: warning: delete called on 'client_net' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor] delete serv_conn; ^ game_client.cpp:145:12: warning: delete called on 'msg' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor] if (m) { delete m; m = 0;} ^ game_server.cpp:707:4: warning: delete called on 'msg' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor] delete m; ^ game_server.cpp:806:7: warning: delete called on 'msg' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor] delete sm; ^ game_server.cpp:881:12: warning: delete called on 'msg' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor] if (m) {delete m; m=0; } ^ game_client.cpp:532:7: warning: delete called on 'msg' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor] delete m; ^ game_client.cpp:540:7: warning: delete called on 'msg' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor] delete sm; ^ gui.cpp:667:7: warning: delete called on 'game_obj' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor] delete o; ^ gui.cpp:702:4: warning: delete called on 'game_obj' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor] delete o; ^ x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color `sdl-config --cflags` -D MEDIA_PATH=\"/usr/share/kajaani-kombat/\" -c -o config.o config.cpp game_client.cpp:839:16: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] if (typeid(*(objs[i])) == typeid(starfield_efect)) return; ^ 9 warnings and 1 error generated. make: *** [: game_server.o] Error 1 make: *** Waiting for unfinished jobs.... 1 warning generated. 1 warning generated. game_client.cpp:2868:7: warning: delete called on 'game_obj' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor] delete o; ^ 1 warning generated. In file included from connects.cpp:1: In file included from ./connects.h:10: In file included from ./msg.h:25: In file included from ./terrain.h:34: ./block.h:39:3: warning: typedef requires a name [-Wmissing-declarations] typedef enum block_type { ^~~~~~~ config.cpp:231:89: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] ...Unknown key/value pair (%s/%s) on line %u\n", key.c_str(), v, linenum ); ~~ ^~~~~~~ %zu 1 warning generated. In file included from player.cpp:1: In file included from ./player.h:27: In file included from ./connects.h:10: In file included from ./msg.h:25: In file included from ./terrain.h:34: ./block.h:39:3: warning: typedef requires a name [-Wmissing-declarations] typedef enum block_type { ^~~~~~~ In file included from client_net.cpp:21: In file included from ./client_net.h:29: In file included from ./msg.h:25: In file included from ./terrain.h:34: ./block.h:39:3: warning: typedef requires a name [-Wmissing-declarations] typedef enum block_type { ^~~~~~~ 1 warning generated. client_net.cpp:34:12: error: ordered comparison between pointer and zero ('SDL_cond *' and 'int') if (cond <0) ~~~~ ^~ client_net.cpp:40:13: error: ordered comparison between pointer and zero ('SDL_mutex *' and 'int') if (mutex < 0) ~~~~~ ^ ~ client_net.cpp:48:16: error: ordered comparison between pointer and zero ('SDL_Thread *' and 'int') if (trans_th < 0) ~~~~~~~~ ^ ~ client_net.cpp:54:16: error: ordered comparison between pointer and zero ('SDL_Thread *' and 'int') if (input_th < 0) ~~~~~~~~ ^ ~ client_net.cpp:171:15: warning: delete called on 'msg' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor] if (m) delete m; ^ client_net.cpp:177:11: warning: delete called on 'msg' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor] if (m) delete m; ^ client_net.cpp:200:15: warning: delete called on 'msg' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor] if (m) delete m; ^ client_net.cpp:205:11: warning: delete called on 'msg' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor] if (m) delete m; ^ 5 warnings generated. 5 warnings and 4 errors generated. make: *** [: client_net.o] Error 1 1 warning generated. 1 warning generated. 1 warning generated. 3 warnings generated. 2 warnings generated. 10 warnings generated. * ERROR: games-arcade/kajaani-kombat-0.7-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-arcade/kajaani-kombat-0.7-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-arcade/kajaani-kombat-0.7-r1::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/games-arcade/kajaani-kombat-0.7-r1:20200826-110643.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-arcade/kajaani-kombat-0.7-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-arcade/kajaani-kombat-0.7-r1/temp/environment'. * Working directory: '/var/tmp/portage/games-arcade/kajaani-kombat-0.7-r1/work/kajaani-kombat-0.7' * S: '/var/tmp/portage/games-arcade/kajaani-kombat-0.7-r1/work/kajaani-kombat-0.7'