* Package: games-arcade/sdb-1.0.2-r1 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox >>> Unpacking source... >>> Unpacking sdb-1.0.2.tar.gz to /var/tmp/portage/games-arcade/sdb-1.0.2-r1/work >>> Source unpacked in /var/tmp/portage/games-arcade/sdb-1.0.2-r1/work >>> Preparing source in /var/tmp/portage/games-arcade/sdb-1.0.2-r1/work/sdb-1.0.2 ... * Applying sdb-1.0.2-endian.patch ... [ ok ] * Applying sdb-1.0.2-gcc43.patch ... [ ok ] * Applying sdb-1.0.2-ldflags.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-arcade/sdb-1.0.2-r1/work/sdb-1.0.2 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/games-arcade/sdb-1.0.2-r1/work/sdb-1.0.2 ... make -j 1 -C src 'CXXFLAGS=-pipe -march=native -fno-diagnostics-color -Og -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT' make: Entering directory '/var/tmp/portage/games-arcade/sdb-1.0.2-r1/work/sdb-1.0.2/src' g++ -c bitmapfont.cpp -o bitmapfont.o -pipe -march=native -fno-diagnostics-color -Og -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT In file included from bitmapfont.h:29, from bitmapfont.cpp:26: sdb.h: In member function ‘Vector2D Vector2D::operator=(Vector2D)’: sdb.h:373:70: warning: no return statement in function returning non-void [-Wreturn-type] 373 | Vector2D operator = (Vector2D v) { c[X] = v.c[X]; c[Y] = v.c[Y]; } | ^ In file included from sdb.h:555, from bitmapfont.h:29, from bitmapfont.cpp:26: md2.h: At global scope: md2.h:71:3: error: reference to ‘byte’ is ambiguous 71 | byte color[3]; | ^~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/cmath:42, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/math.h:36, from sdb.h:32, from bitmapfont.h:29, from bitmapfont.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: ‘enum class std::byte’ 404 | enum class byte : unsigned char; | ^~~~ In file included from bitmapfont.h:29, from bitmapfont.cpp:26: sdb.h:178:23: note: ‘typedef unsigned char byte’ 178 | typedef unsigned char byte; | ^~~~ In file included from sdb.h:555, from bitmapfont.h:29, from bitmapfont.cpp:26: md2.h:154:3: error: reference to ‘byte’ is ambiguous 154 | byte vertex[3]; | ^~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/cmath:42, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/math.h:36, from sdb.h:32, from bitmapfont.h:29, from bitmapfont.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: ‘enum class std::byte’ 404 | enum class byte : unsigned char; | ^~~~ In file included from bitmapfont.h:29, from bitmapfont.cpp:26: sdb.h:178:23: note: ‘typedef unsigned char byte’ 178 | typedef unsigned char byte; | ^~~~ In file included from sdb.h:555, from bitmapfont.h:29, from bitmapfont.cpp:26: md2.h:155:3: error: reference to ‘byte’ is ambiguous 155 | byte lightNormalIndex; | ^~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/cmath:42, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/math.h:36, from sdb.h:32, from bitmapfont.h:29, from bitmapfont.cpp:26: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: ‘enum class std::byte’ 404 | enum class byte : unsigned char; | ^~~~ In file included from bitmapfont.h:29, from bitmapfont.cpp:26: sdb.h:178:23: note: ‘typedef unsigned char byte’ 178 | typedef unsigned char byte; | ^~~~ In file included from sdb.h:557, from bitmapfont.h:29, from bitmapfont.cpp:26: objects.h: In member function ‘virtual Weapon* Object::Wpn()’: objects.h:548:28: warning: no return statement in function returning non-void [-Wreturn-type] 548 | virtual Weapon* Wpn() {} | ^ objects.h: In member function ‘virtual int Object::CurrWeapon()’: objects.h:549:31: warning: no return statement in function returning non-void [-Wreturn-type] 549 | virtual int CurrWeapon() {} | ^ objects.h: In member function ‘virtual char Object::weaponState(int)’: objects.h:551:39: warning: no return statement in function returning non-void [-Wreturn-type] 551 | virtual char weaponState(int wp) {} | ^ objects.h: In member function ‘virtual char Object::keyState(int)’: objects.h:552:36: warning: no return statement in function returning non-void [-Wreturn-type] 552 | virtual char keyState(int wp) {} | ^ objects.h: In member function ‘virtual Vector2D* Object::WeaponPoint()’: objects.h:553:38: warning: no return statement in function returning non-void [-Wreturn-type] 553 | virtual Vector2D* WeaponPoint() {} | ^ make: *** [Makefile:55: bitmapfont.o] Error 1 make: Leaving directory '/var/tmp/portage/games-arcade/sdb-1.0.2-r1/work/sdb-1.0.2/src' * ERROR: games-arcade/sdb-1.0.2-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-arcade/sdb-1.0.2-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-arcade/sdb-1.0.2-r1::gentoo'`. * The complete build log is located at '/var/log/portage/games-arcade:sdb-1.0.2-r1:20210502-144337.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-arcade/sdb-1.0.2-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-arcade/sdb-1.0.2-r1/temp/environment'. * Working directory: '/var/tmp/portage/games-arcade/sdb-1.0.2-r1/work/sdb-1.0.2' * S: '/var/tmp/portage/games-arcade/sdb-1.0.2-r1/work/sdb-1.0.2'