* Package: games-arcade/syobon-1.0.1-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/6cc3daa23a56348f72badbe106568a8e285ed977 (Wed Aug 26 11:35:22 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, 18950984 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Wed, 26 Aug 2020 11:35:22 +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-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: 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/syobon-1.0.1-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 syobon_1.0.1_src.tar.gz to /var/tmp/portage/games-arcade/syobon-1.0.1-r1/work >>> Source unpacked in /var/tmp/portage/games-arcade/syobon-1.0.1-r1/work >>> Preparing source in /var/tmp/portage/games-arcade/syobon-1.0.1-r1/work/syobon ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-arcade/syobon-1.0.1-r1/work/syobon ... >>> Source configured. >>> Compiling source in /var/tmp/portage/games-arcade/syobon-1.0.1-r1/work/syobon ... make -j16 V=1 GAMEDATA=/usr/share/syobon x86_64-pc-linux-gnu-clang++ -o DxLib.o -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DGAMEDATA=\"/usr/share/syobon\" -c DxLib.cpp x86_64-pc-linux-gnu-clang++ -o loadg.o -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DGAMEDATA=\"/usr/share/syobon\" -c loadg.cpp x86_64-pc-linux-gnu-clang++ -o main.o -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DGAMEDATA=\"/usr/share/syobon\" -c main.cpp DxLib.cpp:136:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] ...scale_screen = SDL_SetVideoMode(scale_w, scale_h, 32, SDL_HWSURFACE | SDL_FULLSCREEN)) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DxLib.cpp:136:21: note: place parentheses around the assignment to silence this warning ...scale_screen = SDL_SetVideoMode(scale_w, scale_h, 32, SDL_HWSURFACE | SDL_FULLSCREEN)) ^ ( ) DxLib.cpp:136:21: note: use '==' to turn this assignment into an equality comparison if (scale_screen = SDL_SetVideoMode(scale_w, sca... ^ == DxLib.cpp:154:9: warning: comparison of array 'font' equal to a null pointer is always false [-Wtautological-pointer-compare] if (font == NULL) { ^~~~ ~~~~ DxLib.cpp:216:25: error: non-constant-expression cannot be narrowed from type 'Uint32' (aka 'unsigned int') to 'Uint8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] SDL_Color color = { c >> 16, c >> 8, c }; ^~~~~~~ DxLib.cpp:216:25: note: insert an explicit cast to silence this issue SDL_Color color = { c >> 16, c >> 8, c }; ^~~~~~~ static_cast( ) DxLib.cpp:216:34: error: non-constant-expression cannot be narrowed from type 'Uint32' (aka 'unsigned int') to 'Uint8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] SDL_Color color = { c >> 16, c >> 8, c }; ^~~~~~ DxLib.cpp:216:34: note: insert an explicit cast to silence this issue SDL_Color color = { c >> 16, c >> 8, c }; ^~~~~~ static_cast( ) DxLib.cpp:216:42: error: non-constant-expression cannot be narrowed from type 'Uint32' (aka 'unsigned int') to 'Uint8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] SDL_Color color = { c >> 16, c >> 8, c }; ^ DxLib.cpp:216:42: note: insert an explicit cast to silence this issue SDL_Color color = { c >> 16, c >> 8, c }; ^ static_cast( ) DxLib.cpp:243:5: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete newstr; ^ [] DxLib.cpp:238:20: note: allocated with 'new[]' here char *newstr = new char[strlen(str) + 16]; ^ 3 warnings and 3 errors generated. make: *** [Makefile:21: DxLib.o] Error 1 make: *** Waiting for unfinished jobs.... main.cpp:3286:7: warning: taking the absolute value of unsigned type 'bool' has no effect [-Wabsolute-value] && abs(ma < ^ main.cpp:3286:7: note: remove the call to 'abs' since unsigned values cannot be negative && abs(ma < ^~~ main.cpp:10762:24: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if (xtype == 7 && CheckSoundMem(oto[10]) == 0) { ^ ~~ ./DxLib.h:48:26: note: expanded from macro 'CheckSoundMem' #define CheckSoundMem(s) !s ^ main.cpp:10762:24: note: add parentheses after the '!' to evaluate the comparison first if (xtype == 7 && CheckSoundMem(oto[10]) == 0) { ^ ( ) ./DxLib.h:48:26: note: expanded from macro 'CheckSoundMem' #define CheckSoundMem(s) !s ^ main.cpp:10762:24: note: add parentheses around left hand side expression to silence this warning if (xtype == 7 && CheckSoundMem(oto[10]) == 0) { ^ ( ) ./DxLib.h:48:26: note: expanded from macro 'CheckSoundMem' #define CheckSoundMem(s) !s ^ main.cpp:10766:25: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if (xtype == 10 && CheckSoundMem(oto[18]) == 0) { ^ ~~ ./DxLib.h:48:26: note: expanded from macro 'CheckSoundMem' #define CheckSoundMem(s) !s ^ main.cpp:10766:25: note: add parentheses after the '!' to evaluate the comparison first if (xtype == 10 && CheckSoundMem(oto[18]) == 0) { ^ ( ) ./DxLib.h:48:26: note: expanded from macro 'CheckSoundMem' #define CheckSoundMem(s) !s ^ main.cpp:10766:25: note: add parentheses around left hand side expression to silence this warning if (xtype == 10 && CheckSoundMem(oto[18]) == 0) { ^ ( ) ./DxLib.h:48:26: note: expanded from macro 'CheckSoundMem' #define CheckSoundMem(s) !s ^ 3 warnings generated. * ERROR: games-arcade/syobon-1.0.1-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-arcade/syobon-1.0.1-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-arcade/syobon-1.0.1-r1::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/games-arcade/syobon-1.0.1-r1:20200826-122755.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-arcade/syobon-1.0.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-arcade/syobon-1.0.1-r1/temp/environment'. * Working directory: '/var/tmp/portage/games-arcade/syobon-1.0.1-r1/work/syobon' * S: '/var/tmp/portage/games-arcade/syobon-1.0.1-r1/work/syobon'