* Package: games-arcade/ri-li-2.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 userpriv usersandbox >>> Unpacking source... >>> Unpacking Ri-li-2.0.1.tar.bz2 to /var/tmp/portage/games-arcade/ri-li-2.0.1-r1/work >>> Source unpacked in /var/tmp/portage/games-arcade/ri-li-2.0.1-r1/work >>> Preparing source in /var/tmp/portage/games-arcade/ri-li-2.0.1-r1/work/Ri-li-2.0.1 ... * Applying ri-li-2.0.1-gcc43.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/games-arcade/ri-li-2.0.1-r1/work/Ri-li-2.0.1' ... * Running 'aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running 'automake --add-missing --copy --force-missing' ... [ ok ] * Running elibtoolize in: Ri-li-2.0.1/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-arcade/ri-li-2.0.1-r1/work/Ri-li-2.0.1 ... * econf: updating Ri-li-2.0.1/config.sub with /usr/share/gnuconfig/config.sub * econf: updating Ri-li-2.0.1/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/ri-li-2.0.1-r1 --htmldir=/usr/share/doc/ri-li-2.0.1-r1/html --libdir=/usr/lib64 checking for a BSD-compatible install... /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C++... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking for x86_64-pc-linux-gnu-g++ option to enable C++11 features... none needed checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-pc-linux-gnu-g++... none checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the compiler supports GNU C... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for SDL_Init in -lSDL... yes checking for Mix_OpenAudio in -lSDL_mixer... yes checking for pthread_create in -lpthread... yes checking for sqrt in -lm... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for math.h... yes checking for SDL/SDL.h... yes checking for pthread.h... yes checking for SDL/SDL_mixer.h... yes checking for sqrt... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating data/Makefile config.status: creating Sounds/Makefile config.status: creating gentoo/Makefile config.status: creating config.h config.status: executing depfiles commands >>> Source configured. >>> Compiling source in /var/tmp/portage/games-arcade/ri-li-2.0.1-r1/work/Ri-li-2.0.1 ... make -j4 make all-recursive make[1]: Entering directory '/var/tmp/portage/games-arcade/ri-li-2.0.1-r1/work/Ri-li-2.0.1' Making all in src make[2]: Entering directory '/var/tmp/portage/games-arcade/ri-li-2.0.1-r1/work/Ri-li-2.0.1/src' x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -DDATA_DIR="\"/usr/share/Ri-li\"" -Wno-deprecated -DLINUX -pipe -march=native -fno-diagnostics-color -O2 -c -o audio.o audio.cc x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -DDATA_DIR="\"/usr/share/Ri-li\"" -Wno-deprecated -DLINUX -pipe -march=native -fno-diagnostics-color -O2 -c -o ecran.o ecran.cc x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -DDATA_DIR="\"/usr/share/Ri-li\"" -Wno-deprecated -DLINUX -pipe -march=native -fno-diagnostics-color -O2 -c -o editeur.o editeur.cc x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -DDATA_DIR="\"/usr/share/Ri-li\"" -Wno-deprecated -DLINUX -pipe -march=native -fno-diagnostics-color -O2 -c -o jeux.o jeux.cc x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -DDATA_DIR="\"/usr/share/Ri-li\"" -Wno-deprecated -DLINUX -pipe -march=native -fno-diagnostics-color -O2 -c -o loco.o loco.cc x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -DDATA_DIR="\"/usr/share/Ri-li\"" -Wno-deprecated -DLINUX -pipe -march=native -fno-diagnostics-color -O2 -c -o main.o main.cc x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -DDATA_DIR="\"/usr/share/Ri-li\"" -Wno-deprecated -DLINUX -pipe -march=native -fno-diagnostics-color -O2 -c -o menu.o menu.cc x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -DDATA_DIR="\"/usr/share/Ri-li\"" -Wno-deprecated -DLINUX -pipe -march=native -fno-diagnostics-color -O2 -c -o mouse.o mouse.cc x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -DDATA_DIR="\"/usr/share/Ri-li\"" -Wno-deprecated -DLINUX -pipe -march=native -fno-diagnostics-color -O2 -c -o sprite.o sprite.cc x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -DDATA_DIR="\"/usr/share/Ri-li\"" -Wno-deprecated -DLINUX -pipe -march=native -fno-diagnostics-color -O2 -c -o tableau.o tableau.cc x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -DDATA_DIR="\"/usr/share/Ri-li\"" -Wno-deprecated -DLINUX -pipe -march=native -fno-diagnostics-color -O2 -c -o utils.o utils.cc tableau.cc: In member function ‘bool Tableau::Save()’: tableau.cc:90:9: error: ordered comparison of pointer with integer zero (‘unsigned char*’ and ‘int’) 90 | if(Buf<=0) return false; | ~~~^~~ make[2]: *** [Makefile:385: tableau.o] Error 1 make[2]: *** Waiting for unfinished jobs.... utils.cc: In function ‘long int ChargeFichier(const char*, unsigned char*&)’: utils.cc:118:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 118 | fread(Po,1,(unsigned int)Compt,file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sprite.cc:42:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 42 | static char* OrdreTexte="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-!?*+<>%$()&;"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sprite.cc:43:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 43 | static char* OrdreTexte2="abcdefghijklmnopqrstuvwxyz0123456789,_|?*+<>%$[]&;"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sprite.cc: In member function ‘bool Sprite::Load(unsigned char*, long int&)’: sprite.cc:354:16: error: ordered comparison of pointer with integer zero (‘SDL_Surface*’ and ‘long int’) 354 | if(Image[i]<=NULL) { | ^ sprite.cc: In member function ‘bool Sprite::Nouveau(int, int)’: sprite.cc:488:14: error: ordered comparison of pointer with integer zero (‘SDL_Surface*’ and ‘long int’) 488 | if(Image[0]<=NULL) { | ^ make[2]: *** [Makefile:385: sprite.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/games-arcade/ri-li-2.0.1-r1/work/Ri-li-2.0.1/src' make[1]: *** [Makefile:410: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/games-arcade/ri-li-2.0.1-r1/work/Ri-li-2.0.1' make: *** [Makefile:330: all] Error 2 * ERROR: games-arcade/ri-li-2.0.1-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-arcade/ri-li-2.0.1-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-arcade/ri-li-2.0.1-r1::gentoo'`. * The complete build log is located at '/var/log/portage/games-arcade:ri-li-2.0.1-r1:20210903-175226.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-arcade/ri-li-2.0.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-arcade/ri-li-2.0.1-r1/temp/environment'. * Working directory: '/var/tmp/portage/games-arcade/ri-li-2.0.1-r1/work/Ri-li-2.0.1' * S: '/var/tmp/portage/games-arcade/ri-li-2.0.1-r1/work/Ri-li-2.0.1'