Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/njam.spec'], chrootPath='/var/lib/mock/f29-build-7899-1969/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/njam.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False BUILDSTDERR: warning: Macro expanded in comment on line 9: %{name}/%{name}-%{version}-src.tar.gz Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/njam-1.25-30.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/njam.spec'], chrootPath='/var/lib/mock/f29-build-7899-1969/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/njam.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False BUILDSTDERR: warning: Macro expanded in comment on line 9: %{name}/%{name}-%{version}-src.tar.gz Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ocm8q5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf njam-1.25-src + /usr/bin/gzip -dc /builddir/build/SOURCES/njam-1.25-src.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd njam-1.25-src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (njam-1.25-drop-setgid.patch):' Patch #0 (njam-1.25-drop-setgid.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .setgid --fuzz=0 patching file src/njam.cpp + echo 'Patch #1 (njam-1.25-html.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 Patch #1 (njam-1.25-html.patch): patching file html/doc-editor.html + echo 'Patch #2 (njam-1.25-leveledit.patch):' Patch #2 (njam-1.25-leveledit.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .leveledit --fuzz=0 patching file src/njamutils.h patching file src/njam.cpp Hunk #1 succeeded at 348 (offset -2 lines). Hunk #2 succeeded at 628 (offset -2 lines). patching file src/njam.h patching file src/njamedit.cpp patching file src/njamutils.cpp Patch #3 (njam-1.25-gcc45.patch): + echo 'Patch #3 (njam-1.25-gcc45.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/njamedit.cpp + echo 'Patch #4 (njam-1.25-rhbz767015.patch):' Patch #4 (njam-1.25-rhbz767015.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/njam.cpp patching file src/njam.h Patch #5 (njam-1.25-format-security.patch): + echo 'Patch #5 (njam-1.25-format-security.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/njamgame.cpp + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.UHTGHE + umask 022 + cd /builddir/build/BUILD + cd njam-1.25-src + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking for working aclocal-1.4... missing checking for working autoconf... found checking for working automake-1.4... missing checking for working autoheader... found checking for working makeinfo... missing checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for riscv64-koji-linux-gnu-g++... no checking for riscv64-koji-linux-gnu-c++... no checking for riscv64-koji-linux-gnu-gpp... no checking for riscv64-koji-linux-gnu-aCC... no checking for riscv64-koji-linux-gnu-CC... no checking for riscv64-koji-linux-gnu-cxx... no checking for riscv64-koji-linux-gnu-cc++... no checking for riscv64-koji-linux-gnu-cl... no checking for riscv64-koji-linux-gnu-FCC... no checking for riscv64-koji-linux-gnu-KCC... no checking for riscv64-koji-linux-gnu-RCC... no checking for riscv64-koji-linux-gnu-xlC_r... no checking for riscv64-koji-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for sdl-config... yes checking for SDL_Init in -lSDL... yes checking SDL/SDL.h usability... yes checking SDL/SDL.h presence... yes checking for SDL/SDL.h... yes checking for IMG_Load in -lSDL_image... yes checking for Mix_OpenAudio in -lSDL_mixer... yes checking for SDLNet_TCP_Open in -lSDL_net... yes njam version 0.1.25 configured successfully. Using '/usr' for installation. Using '/usr/share' for installation libraries. Using 'g++' for C++ compiler. Building with '-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT' for C++ compiler flags. Building with '-lSDL -lpthread -lSDL_image -lSDL_mixer -lSDL_net' for linker flags. configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing default-1 commands + make -j4 BUILDSTDERR: make: Circular aclocal.m4 <- aclocal.m4 dependency dropped. make all-recursive make[1]: Entering directory '/builddir/build/BUILD/njam-1.25-src' BUILDSTDERR: make[1]: Circular aclocal.m4 <- aclocal.m4 dependency dropped. Making all in src make[2]: Entering directory '/builddir/build/BUILD/njam-1.25-src/src' BUILDSTDERR: make[2]: Circular defaults.h <- Makefile dependency dropped. echo '// This file is generated from makefile. Do not edit!' > defaults.h echo '#define DEFAULT_PREFIX "/usr"' >> defaults.h echo '#define DEFAULT_LIBDIR "/usr/share"' >> defaults.h echo '#define PACKAGE "njam"' >> defaults.h cd .. \ && CONFIG_FILES=src/Makefile CONFIG_HEADERS= /bin/sh ./config.status config.status: creating src/Makefile config.status: executing default-1 commands BUILDSTDERR: make[2]: Circular defaults.h <- Makefile dependency dropped. g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njamgame.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njam.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njamfont.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njamedit.cpp BUILDSTDERR: njamfont.cpp: In member function 'bool NjamFont::WriteTextXY(SDL_Surface*, int, int, const char*)': BUILDSTDERR: njamfont.cpp:113:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (dest.x > Destination->w) // outside BUILDSTDERR: ^~ BUILDSTDERR: njamfont.cpp:116:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if (Text[i] == ' ' || Text[i] == 10 || Text[i] == 13) // SPACE, NL, CR BUILDSTDERR: ^~ BUILDSTDERR: njamfont.cpp:120:25: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: for (int j=0; j < (sizeof(FontMap)/sizeof(char)); j++) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: njamgame.cpp: In member function 'void NjamEngine::StartGame(GameType)': BUILDSTDERR: njamgame.cpp:104:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: else // select random map for duel BUILDSTDERR: ^~~~ BUILDSTDERR: njamgame.cpp:107:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' BUILDSTDERR: if (m_GameType != gtJoinDuel) BUILDSTDERR: ^~ BUILDSTDERR: njamgame.cpp:124:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (Winner == etLevelWon && m_CurrentMap == m_Levels - 1) // all levels passed BUILDSTDERR: ^~ BUILDSTDERR: njamgame.cpp:127:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if (Winner > -1 && (m_GameType != gtOnePlayer && m_GameType != gtTwoPlayer)) BUILDSTDERR: ^~ BUILDSTDERR: njamedit.cpp: In member function 'void NjamEngine::LevelEditor()': BUILDSTDERR: njamedit.cpp:67:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: if (key == SDLK_ESCAPE && (!changed || Query("ARE YOU SURE YOU WISH TO EXIT? (Y/N)"))) BUILDSTDERR: ^ BUILDSTDERR: njamedit.cpp:153:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: Message("LEVEL IS NOT MARKED AS PLAYABLE. PRESS P TO CHANGE."); BUILDSTDERR: ^ BUILDSTDERR: njamedit.cpp:155:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: Message("THERE MUST BE EXACTLY ONE DOOR ON LEVEL!"); BUILDSTDERR: ^ BUILDSTDERR: njamedit.cpp:157:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: Message("THERE MUST BE EXACTLY ONE PENTAGRAM ON LEVEL!"); BUILDSTDERR: ^ BUILDSTDERR: njamedit.cpp:198:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: Message("LEVELS SWAPPED"); BUILDSTDERR: ^ BUILDSTDERR: njamgame.cpp: In member function 'int NjamEngine::PlayMap(bool)': BUILDSTDERR: njamgame.cpp:282:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: for (int i=0; i 260) // map packed with cookies, add extra bonus time BUILDSTDERR: ^~ BUILDSTDERR: njamgame.cpp:320:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (m_CookiesLeft == 0) BUILDSTDERR: ^~ BUILDSTDERR: njamgame.cpp:323:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: bool FrameCounts = true; BUILDSTDERR: ^~~~ BUILDSTDERR: njamedit.cpp: In member function 'void NjamEngine::RenderEditor(bool, int, int, int)': BUILDSTDERR: njamedit.cpp:274:16: warning: embedded '\0' in format [-Wformat-contains-nul] BUILDSTDERR: sprintf(buff, "LEVEL: %02d\0", m_CurrentMap + 1); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: njamedit.cpp:306:17: warning: embedded '\0' in format [-Wformat-contains-nul] BUILDSTDERR: sprintf(buff, "%d\0", i); BUILDSTDERR: ^~~~~~ BUILDSTDERR: njamgame.cpp: In member function 'void NjamEngine::RenderGameScreen()': BUILDSTDERR: njamgame.cpp:529:31: warning: embedded '\0' in format [-Wformat-contains-nul] BUILDSTDERR: sprintf(buff, "%d\0", p->GamePoints); BUILDSTDERR: ^~~~~~ BUILDSTDERR: njamedit.cpp: In member function 'bool NjamEngine::CheckForSave()': BUILDSTDERR: njamedit.cpp:387:21: warning: embedded '\0' in format [-Wformat-contains-nul] BUILDSTDERR: sprintf(message, "THERE MUST BE EXACTLY ONE DOOR ON LEVEL %d\0", i+1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: njamgame.cpp:583:27: warning: embedded '\0' in format [-Wformat-contains-nul] BUILDSTDERR: sprintf(buff, "%d\0", p->Juice / 20); BUILDSTDERR: ^~~~~~ BUILDSTDERR: njamedit.cpp:395:21: warning: embedded '\0' in format [-Wformat-contains-nul] BUILDSTDERR: sprintf(message, "THERE MUST BE EXACTLY ONE PENTAGRAM ON LEVEL %d\0", i+1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: njamedit.cpp:402:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: return Query("ARE YOU SURE (Y/N) ?"); BUILDSTDERR: ^ BUILDSTDERR: njamgame.cpp:600:23: warning: embedded '\0' in format [-Wformat-contains-nul] BUILDSTDERR: sprintf(buff, "LEVEL: %02d\0", m_CurrentMap + 1); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: njamgame.cpp:606:23: warning: embedded '\0' in format [-Wformat-contains-nul] BUILDSTDERR: sprintf(buff, "PTS: %4d\0", m_Player[0].GamePoints); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: njamgame.cpp:610:19: warning: embedded '\0' in format [-Wformat-contains-nul] BUILDSTDERR: sprintf(buff, "%2.0f FPS\0", m_fps); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: njamgame.cpp:505:14: warning: unused variable 'src' [-Wunused-variable] BUILDSTDERR: SDL_Rect src, dest; // render background (use part of main menu image) BUILDSTDERR: ^~~ BUILDSTDERR: njamedit.cpp: In member function 'bool NjamEngine::EnterFileName(char*)': BUILDSTDERR: njamedit.cpp:463:23: warning: embedded '\0' in format [-Wformat-contains-nul] BUILDSTDERR: sprintf(file_name, "%s\0", filename); BUILDSTDERR: ^~~~~~ BUILDSTDERR: njamgame.cpp: In member function 'void NjamEngine::MoveGhosts()': BUILDSTDERR: njamgame.cpp:770:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (s->xo==0 && s->yo==0 && (i%3==gtSTUPID || i%3==gtSMART && s->special==0)) BUILDSTDERR: ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: njamgame.cpp:773:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (Paths > 1 && i%3==gtSMART || Paths > 2) BUILDSTDERR: ~~~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: njamgame.cpp: In member function 'void NjamEngine::MovePlayers()': BUILDSTDERR: njamgame.cpp:1043:20: warning: enumeration value 'ttEmpty' not handled in switch [-Wswitch] BUILDSTDERR: switch (t) BUILDSTDERR: ^ BUILDSTDERR: njamgame.cpp:1043:20: warning: enumeration value 'ttGHouse' not handled in switch [-Wswitch] BUILDSTDERR: njamgame.cpp:1043:20: warning: enumeration value 'ttDoor' not handled in switch [-Wswitch] BUILDSTDERR: njamgame.cpp:1043:20: warning: enumeration value 'ttTeleport' not handled in switch [-Wswitch] BUILDSTDERR: njamgame.cpp:1043:20: warning: enumeration value 'ttGHouseActive' not handled in switch [-Wswitch] BUILDSTDERR: njamgame.cpp: In member function 'void NjamEngine::DrawGameStats()': BUILDSTDERR: njamgame.cpp:1544:26: warning: embedded '\0' in format [-Wformat-contains-nul] BUILDSTDERR: sprintf(points, " (%3d)\0", m_Player[i].MapPoints); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: njamgame.cpp:1546:26: warning: embedded '\0' in format [-Wformat-contains-nul] BUILDSTDERR: sprintf(points, "%01d (%3d)\0", m_Player[i].GamePoints, m_Player[i].MapPoints); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: njamgame.cpp:1551:29: warning: embedded '\0' in format [-Wformat-contains-nul] BUILDSTDERR: sprintf(points, "%4d\0", m_Player[i].stats.data[j]); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: njamgame.cpp:1558:19: warning: embedded '\0' in format [-Wformat-contains-nul] BUILDSTDERR: sprintf(points, "POINTS: %d\0", m_Player[0].GamePoints); BUILDSTDERR: ^~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njammap.cpp BUILDSTDERR: njamedit.cpp: In member function 'int NjamEngine::SelectMap(char, char*, int)': BUILDSTDERR: njamedit.cpp:525:6: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 50 [-Wformat-truncation=] BUILDSTDERR: "%s", ent->d_name); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/SDL/SDL_stdinc.h:37, BUILDSTDERR: from /usr/include/SDL/SDL_main.h:26, BUILDSTDERR: from /usr/include/SDL/SDL.h:30, BUILDSTDERR: from njamedit.cpp:33: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin_snprintf' output between 1 and 256 bytes into a destination of size 50 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: njamedit.cpp:527:6: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 511 [-Wformat-truncation=] BUILDSTDERR: "%s/%s", dirname, ent->d_name); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/SDL/SDL_stdinc.h:37, BUILDSTDERR: from /usr/include/SDL/SDL_main.h:26, BUILDSTDERR: from /usr/include/SDL/SDL.h:30, BUILDSTDERR: from njamedit.cpp:33: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 2 and 768 bytes into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: njamedit.cpp: In member function 'void NjamEngine::LevelEditor()': BUILDSTDERR: njamedit.cpp:135:7: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 498 [-Wformat-truncation=] BUILDSTDERR: "%s/.njam-levels/%s.%s", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: njamedit.cpp:141:7: BUILDSTDERR: filename, types[level_type]); BUILDSTDERR: ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/SDL/SDL_stdinc.h:37, BUILDSTDERR: from /usr/include/SDL/SDL_main.h:26, BUILDSTDERR: from /usr/include/SDL/SDL.h:30, BUILDSTDERR: from njamedit.cpp:33: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output 16 or more bytes (assuming 527) into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: njammap.cpp: In member function 'void NjamMap::SetCurrentMap(int)': BUILDSTDERR: njammap.cpp:141:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: for (int i=0; iGetCharHeight(); BUILDSTDERR: ^~~ BUILDSTDERR: njam.cpp: In member function 'bool NjamEngine::Init(bool, bool)': BUILDSTDERR: njam.cpp:565:21: warning: embedded '\0' in format [-Wformat-contains-nul] BUILDSTDERR: sprintf(Filename, "skins/Back%03d.bmp\0", m_NumberOfSkins); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: njam.cpp:580:21: warning: embedded '\0' in format [-Wformat-contains-nul] BUILDSTDERR: sprintf(Filename, "skins/Back%03d.bmp\0", i); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: njam.cpp:611:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (home) BUILDSTDERR: ^~ BUILDSTDERR: njam.cpp:613:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: FILE *fp = fopen(njamconf.c_str(), "r"); BUILDSTDERR: ^~~~ BUILDSTDERR: njam.cpp:659:33: warning: embedded '\0' in format [-Wformat-contains-nul] BUILDSTDERR: sprintf(TopTenScores[i].name, "%s\0", DefaultNames[i]); BUILDSTDERR: ^~~~~~ BUILDSTDERR: njam.cpp:726:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if(!m_MainMenuMusic) BUILDSTDERR: ^~ BUILDSTDERR: njam.cpp:729:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: printf("Loading song: data/ritam.s3m...\n"); BUILDSTDERR: ^~~~~~ BUILDSTDERR: njam.cpp:731:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if(!m_GameMusic1) BUILDSTDERR: ^~ BUILDSTDERR: njam.cpp:734:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: printf("Loading song: data/dali.xm...\n"); BUILDSTDERR: ^~~~~~ BUILDSTDERR: njam.cpp: In member function 'void NjamEngine::Start()': BUILDSTDERR: njam.cpp:952:18: warning: embedded '\0' in format [-Wformat-contains-nul] BUILDSTDERR: sprintf(text, "%-11s %2d %5d\0", TopTenScores[i].name, TopTenScores[i].level, TopTenScores[i].points); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: njamnet.cpp: In member function 'bool NjamEngine::SetupNetwork()': BUILDSTDERR: njamnet.cpp:163:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (m_GameType == gtHostDuel && (m_Player[0].Playing || m_Player[1].Playing) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_UNKNOWN' not handled in switch [-Wswitch] BUILDSTDERR: switch (key) BUILDSTDERR: ^ BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_FIRST' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_BACKSPACE' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_TAB' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_CLEAR' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_RETURN' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_PAUSE' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_EXCLAIM' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_QUOTEDBL' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_HASH' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_DOLLAR' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_AMPERSAND' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_QUOTE' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_LEFTPAREN' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_RIGHTPAREN' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_ASTERISK' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_PLUS' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_COMMA' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_MINUS' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_PERIOD' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_SLASH' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_0' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_1' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_2' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_3' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_4' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_5' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_6' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_7' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_8' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_9' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_COLON' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_SEMICOLON' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_LESS' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_EQUALS' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_GREATER' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_QUESTION' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_AT' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_LEFTBRACKET' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_BACKSLASH' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_RIGHTBRACKET' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_CARET' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_UNDERSCORE' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_BACKQUOTE' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_a' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_b' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_c' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_e' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_h' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_i' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_j' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_k' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_l' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_m' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_n' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_o' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_p' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_q' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_s' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_t' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_u' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_v' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_w' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_x' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_y' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_z' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_DELETE' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_0' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_1' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_2' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_3' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_4' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_5' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_6' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_7' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_8' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_9' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_10' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_11' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_12' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_13' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_14' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_15' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_16' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_17' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_18' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_19' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_20' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_21' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_22' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_23' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_24' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_25' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_26' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_27' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_28' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_29' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_30' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_31' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_32' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_33' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_34' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_35' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_36' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_37' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_38' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_39' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_40' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_41' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_42' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_43' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_44' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_45' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_46' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_47' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_48' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_49' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_50' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_51' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_52' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_53' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_54' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_55' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_56' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_57' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_58' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_59' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_60' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_61' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_62' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_63' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_64' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_65' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_66' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_67' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_68' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_69' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_70' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_71' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_72' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_73' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_74' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_75' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_76' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_77' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_78' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_79' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_80' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_81' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_82' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_83' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_84' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_85' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_86' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_87' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_88' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_89' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_90' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_91' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_92' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_93' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_94' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_95' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP0' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP1' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP2' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP3' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP4' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP5' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP6' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP7' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP8' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP9' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP_PERIOD' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP_DIVIDE' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP_MULTIPLY' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP_MINUS' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP_PLUS' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP_ENTER' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP_EQUALS' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_INSERT' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_HOME' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_END' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_PAGEUP' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_PAGEDOWN' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_F1' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_F2' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_F3' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_F4' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_F5' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_F6' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_F7' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_F8' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_F9' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_F10' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_F11' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_F12' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_F13' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_F14' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_F15' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_NUMLOCK' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_CAPSLOCK' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_SCROLLOCK' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_RSHIFT' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_LSHIFT' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_RCTRL' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_LCTRL' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_RALT' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_LALT' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_RMETA' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_LMETA' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_LSUPER' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_RSUPER' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_MODE' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_COMPOSE' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_HELP' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_PRINT' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_SYSREQ' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_BREAK' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_MENU' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_POWER' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_EURO' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_UNDO' not handled in switch [-Wswitch] BUILDSTDERR: njamnet.cpp:140:10: warning: enumeration value 'SDLK_LAST' not handled in switch [-Wswitch] BUILDSTDERR: njam.cpp: In function 'int main(int, char**)': BUILDSTDERR: njam.cpp:113:7: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: chdir(path); BUILDSTDERR: ~~~~~^~~~~~ BUILDSTDERR: njamnet.cpp: In member function 'void NjamEngine::RenderNetworkScreen(bool)': BUILDSTDERR: njamnet.cpp:236:3: warning: statement has no effect [-Wunused-value] BUILDSTDERR: m_NetLobbyImage; BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: njamnet.cpp: In member function 'bool NjamEngine::EnterServerIP(bool)': BUILDSTDERR: njamnet.cpp:330:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (key >= '0' && key <= '9' || key == '.') BUILDSTDERR: ~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: njam.cpp: In member function 'void NjamEngine::DoScript()': BUILDSTDERR: njam.cpp:286:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(buffer, 79, script_file); BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: njam.cpp: In member function 'bool NjamEngine::Init(bool, bool)': BUILDSTDERR: njam.cpp:620:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(buff, 20, fp); BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: njam.cpp:671:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(buff, 40, highscore_fp); BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njamutils.cpp BUILDSTDERR: njamutils.cpp:88: warning: ignoring #pragma warn [-Wunknown-pragmas] BUILDSTDERR: #pragma warn -ccc BUILDSTDERR: BUILDSTDERR: njamutils.cpp:89: warning: ignoring #pragma warn [-Wunknown-pragmas] BUILDSTDERR: #pragma warn -rch BUILDSTDERR: BUILDSTDERR: njamutils.cpp:94: warning: ignoring #pragma warn [-Wunknown-pragmas] BUILDSTDERR: #pragma warn +ccc BUILDSTDERR: BUILDSTDERR: njamutils.cpp:95: warning: ignoring #pragma warn [-Wunknown-pragmas] BUILDSTDERR: #pragma warn +rch BUILDSTDERR: BUILDSTDERR: njamutils.cpp:114: warning: ignoring #pragma warn [-Wunknown-pragmas] BUILDSTDERR: #pragma warn -ccc BUILDSTDERR: BUILDSTDERR: njamutils.cpp:115: warning: ignoring #pragma warn [-Wunknown-pragmas] BUILDSTDERR: #pragma warn -rch BUILDSTDERR: BUILDSTDERR: njamutils.cpp:126: warning: ignoring #pragma warn [-Wunknown-pragmas] BUILDSTDERR: #pragma warn +ccc BUILDSTDERR: BUILDSTDERR: njamutils.cpp:127: warning: ignoring #pragma warn [-Wunknown-pragmas] BUILDSTDERR: #pragma warn +rch BUILDSTDERR: BUILDSTDERR: njamutils.cpp: In function 'bool SurfaceEffect(SDL_Surface*, SDL_Rect&, tEffect)': BUILDSTDERR: njamutils.cpp:159:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if ( SDL_MUSTLOCK(surface) ) BUILDSTDERR: ^~ BUILDSTDERR: njamutils.cpp:162:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: return true; BUILDSTDERR: ^~~~~~ BUILDSTDERR: njamutils.cpp:135:9: warning: unused variable 'x' [-Wunused-variable] BUILDSTDERR: int x, y; BUILDSTDERR: ^ BUILDSTDERR: njamutils.cpp:135:12: warning: unused variable 'y' [-Wunused-variable] BUILDSTDERR: int x, y; BUILDSTDERR: ^ BUILDSTDERR: njam.cpp:580:21: warning: '%03d' directive writing between 3 and 10 bytes into a region of size 8 [-Wformat-overflow=] BUILDSTDERR: sprintf(Filename, "skins/Back%03d.bmp\0", i); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: njam.cpp:580:21: note: directive argument in the range [0, 2147483647] BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from /usr/include/c++/8/ext/string_conversions.h:43, BUILDSTDERR: from /usr/include/c++/8/bits/basic_string.h:6361, BUILDSTDERR: from /usr/include/c++/8/string:52, BUILDSTDERR: from njam.cpp:39: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 18 and 25 bytes into a destination of size 18 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: njamutils.cpp:155:12: warning: 'color' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: PutPixel(surface, x, y, color); BUILDSTDERR: ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o njam njam.o njamgame.o njamfont.o njamedit.o njammap.o njamnet.o njamutils.o -lSDL_net -lSDL_mixer -lSDL_image -lSDL -lpthread -lSDL_image -lSDL_mixer -lSDL_net make[2]: Leaving directory '/builddir/build/BUILD/njam-1.25-src/src' make[2]: Entering directory '/builddir/build/BUILD/njam-1.25-src' BUILDSTDERR: make[2]: Circular aclocal.m4 <- aclocal.m4 dependency dropped. make[2]: Leaving directory '/builddir/build/BUILD/njam-1.25-src' make[1]: Leaving directory '/builddir/build/BUILD/njam-1.25-src' + convert -transparent black njamicon.ico njam.png + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.c27ovS + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64 + cd njam-1.25-src + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64 'INSTALL=/usr/bin/install -p' BUILDSTDERR: make: Circular aclocal.m4 <- aclocal.m4 dependency dropped. Making install in src make[1]: Entering directory '/builddir/build/BUILD/njam-1.25-src/src' BUILDSTDERR: make[1]: Circular defaults.h <- Makefile dependency dropped. make[2]: Entering directory '/builddir/build/BUILD/njam-1.25-src/src' BUILDSTDERR: make[2]: Circular defaults.h <- Makefile dependency dropped. /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/bin mkdir /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr mkdir /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/bin /usr/bin/install -p njam /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/bin/njam make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/njam-1.25-src/src' make[1]: Leaving directory '/builddir/build/BUILD/njam-1.25-src/src' make[1]: Entering directory '/builddir/build/BUILD/njam-1.25-src' BUILDSTDERR: make[1]: Circular aclocal.m4 <- aclocal.m4 dependency dropped. make[2]: Entering directory '/builddir/build/BUILD/njam-1.25-src' make[2]: Nothing to be done for 'install-exec-am'. BUILDSTDERR: make[2]: Circular aclocal.m4 <- aclocal.m4 dependency dropped. /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/njam; \ /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/njam/data; \ /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/njam/skins; \ /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/njam/html; \ /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/njam/levels; \ /usr/bin/install -p -m 644 ./njam.conf /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/njam; \ /usr/bin/install -p -m 644 ./njamicon.ico /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/njam; \ /usr/bin/install -p -m 644 ./njam.iss /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/njam; \ /usr/bin/install -p -m 644 ./njam.rc /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/njam; \ /usr/bin/install -p -m 644 ./hiscore.dat /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/njam; \ chmod 660 /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/njam/hiscore.dat; \ chgrp games /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/njam/hiscore.dat; \ /usr/bin/install -p -m 644 ./README /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/njam; \ for file in ./data/*; do \ if test -f $file; then \ /usr/bin/install -p -m 644 "$file" /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/njam/data; \ fi \ done mkdir /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share mkdir /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/njam mkdir /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/njam/data mkdir /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/njam/skins mkdir /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/njam/html mkdir /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/njam/levels BUILDSTDERR: chgrp: changing group of '/builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/njam/hiscore.dat': Operation not permitted for file in ./skins/*; do \ if test -f $file; then \ /usr/bin/install -p -m 644 "$file" /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/njam/skins; \ fi \ done for file in ./html/*; do \ if test -f $file; then \ /usr/bin/install -p -m 644 "$file" /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/njam/html; \ fi \ done for file in ./levels/*; do \ if test -f "$file"; then \ /usr/bin/install -p -m 644 "$file" /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/njam/levels; \ fi \ done make[2]: Leaving directory '/builddir/build/BUILD/njam-1.25-src' make[1]: Leaving directory '/builddir/build/BUILD/njam-1.25-src' + rm /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/njam/README + rm /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/njam/levels/readme.txt + rm -fr /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/njam/html + rm /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/njam/njam.conf /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/njam/njam.iss /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/njam/njam.rc + rm /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/njam/njamicon.ico + mkdir -p /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/var/lib/games + mv /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/njam/hiscore.dat /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/var/lib/games/njam.hs + mkdir -p /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/man/man6 + install -m 644 /builddir/build/SOURCES/njam.6 /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/man/man6 + mkdir -p /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/applications + desktop-file-install --dir /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/applications /builddir/build/SOURCES/njam.desktop + mkdir -p /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/icons/hicolor/32x32/apps + install -p -m 644 njam.png /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/icons/hicolor/32x32/apps + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.25-30.fc29 --unique-debug-suffix -1.25-30.fc29.riscv64 --unique-debug-src-base njam-1.25-30.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/njam-1.25-src extracting debug info from /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/bin/njam /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 282 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: njam-1.25-30.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.KwioLZ + umask 022 + cd /builddir/build/BUILD + cd njam-1.25-src + DOCDIR=/builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/doc/njam + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/doc/njam + cp -pr COPYING /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/doc/njam + cp -pr ChangeLog /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/doc/njam + cp -pr NEWS /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/doc/njam + cp -pr README /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/doc/njam + cp -pr TODO /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/doc/njam + cp -pr levels/readme.txt /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/doc/njam + cp -pr html /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64/usr/share/doc/njam + exit 0 Provides: application() application(njam.desktop) config(njam) = 1.25-30.fc29 njam = 1.25-30.fc29 njam(riscv-64) = 1.25-30.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libSDL-1.2.so.0()(64bit) libSDL_image-1.2.so.0()(64bit) libSDL_mixer-1.2.so.0()(64bit) libSDL_net-1.2.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: njam-debugsource-1.25-30.fc29.riscv64 Provides: njam-debugsource = 1.25-30.fc29 njam-debugsource(riscv-64) = 1.25-30.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: njam-debuginfo-1.25-30.fc29.riscv64 Provides: debuginfo(build-id) = 9fb6a3cf817ecd2c95166c9376e6d318c1d733e7 njam-debuginfo = 1.25-30.fc29 njam-debuginfo(riscv-64) = 1.25-30.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: njam-debugsource(riscv-64) = 1.25-30.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64 Wrote: /builddir/build/RPMS/njam-1.25-30.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/njam-debugsource-1.25-30.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/njam-debuginfo-1.25-30.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.jNGBT4 + umask 022 + cd /builddir/build/BUILD + cd njam-1.25-src + /usr/bin/rm -rf /builddir/build/BUILDROOT/njam-1.25-30.fc29.riscv64 + exit 0 Child return code was: 0