<86>Jun 17 03:10:54 userdel[1390735]: delete user 'rooter' <86>Jun 17 03:10:54 groupadd[1390752]: group added to /etc/group: name=rooter, GID=657 <86>Jun 17 03:10:54 groupadd[1390752]: new group: name=rooter, GID=657 <86>Jun 17 03:10:54 useradd[1390762]: new user: name=rooter, UID=657, GID=657, home=/root, shell=/bin/bash <86>Jun 17 03:10:54 userdel[1390771]: delete user 'builder' <86>Jun 17 03:10:54 userdel[1390771]: removed group 'builder' owned by 'builder' <86>Jun 17 03:10:54 userdel[1390771]: removed shadow group 'builder' owned by 'builder' <86>Jun 17 03:10:54 groupadd[1390777]: group added to /etc/group: name=builder, GID=658 <86>Jun 17 03:10:54 groupadd[1390777]: group added to /etc/gshadow: name=builder <86>Jun 17 03:10:54 groupadd[1390777]: new group: name=builder, GID=658 <86>Jun 17 03:10:54 useradd[1390782]: new user: name=builder, UID=658, GID=658, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/njam-1.25-alt1.qa1.src.rpm: The use of such a license name is ambiguous: GPL <13>Jun 17 03:10:59 rpmi: libglvnd-7:1.3.3-alt1 sisyphus+271643.100.1.1 1620829886 installed <13>Jun 17 03:10:59 rpmi: libogg-1.3.4-alt1 sisyphus+247109.100.1.1 1582849991 installed <13>Jun 17 03:10:59 rpmi: libflac8-1.3.3.0.62.ce6d-alt1 sisyphus+262142.100.1.1 1605801575 installed <13>Jun 17 03:10:59 rpmi: libvorbis-1.3.7-alt1 sisyphus+256535.100.1.1 1597965499 installed <13>Jun 17 03:10:59 rpmi: libjpeg-2:2.0.6-alt2.1 sisyphus+269879.11640.52.1 1622229636 installed <13>Jun 17 03:10:59 rpmi: xorg-proto-devel-2021.4-alt1 sisyphus+272146.100.1.1 1621424691 installed <13>Jun 17 03:10:59 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824514 installed <13>Jun 17 03:10:59 rpmi: libwayland-server-1.19.0-alt1 sisyphus+265427.100.1.1 1611852852 installed <13>Jun 17 03:10:59 rpmi: libGLES-7:1.3.3-alt1 sisyphus+271643.100.1.1 1620829886 installed <13>Jun 17 03:10:59 rpmi: libOpenGL-7:1.3.3-alt1 sisyphus+271643.100.1.1 1620829886 installed <13>Jun 17 03:10:59 rpmi: libmad-0.15.1b-alt9 sisyphus+222614.100.1.1 1550890148 installed <13>Jun 17 03:10:59 rpmi: timidity-instruments-1:1.0-alt1 1166705614 installed <13>Jun 17 03:10:59 rpmi: libwebp7-1.2.0-alt2 sisyphus+273452.100.1.1 1622693713 installed <13>Jun 17 03:10:59 rpmi: libjbig-2.1-alt1 1401380921 installed <13>Jun 17 03:10:59 rpmi: libtiff5-4.2.0-alt1 sisyphus+266365.100.2.1 1613478686 installed <13>Jun 17 03:10:59 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917982 installed <13>Jun 17 03:10:59 rpmi: libopus-1.3.1-alt3 sisyphus+248017.100.1.1 1584520346 installed <13>Jun 17 03:10:59 rpmi: libgsm-1.0.17-alt1 1523356157 installed <13>Jun 17 03:11:00 rpmi: libsndfile-1.0.31-alt1 sisyphus+272065.100.1.1 1621321692 installed <13>Jun 17 03:11:00 rpmi: liblz4-1:1.9.3-alt1 sisyphus+262305.100.1.1 1606099128 installed <13>Jun 17 03:11:00 rpmi: libgpg-error-1.41-alt4 sisyphus+264254.200.1.1 1609440105 installed <13>Jun 17 03:11:00 rpmi: libgcrypt20-1.9.2-alt1 sisyphus+266496.100.1.1 1613559130 installed <13>Jun 17 03:11:00 rpmi: libsystemd-1:248.3-alt1 sisyphus+272702.500.6.1 1622206882 installed <13>Jun 17 03:11:00 rpmi: libdbus-1.12.18-alt1 sisyphus+252758.100.1.1 1591203684 installed <13>Jun 17 03:11:00 rpmi: libasyncns-0.8-alt2.qa1 1365949819 installed <13>Jun 17 03:11:00 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268594 installed <13>Jun 17 03:11:00 rpmi: libX11-locales-3:1.7.2-alt1 sisyphus+273971.100.1.1 1623132019 installed <13>Jun 17 03:11:00 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed <13>Jun 17 03:11:00 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Jun 17 03:11:00 rpmi: libxcb-1.14-alt1 sisyphus+247358.200.1.3 1583854223 installed <13>Jun 17 03:11:00 rpmi: libX11-3:1.7.2-alt1 sisyphus+273971.100.1.1 1623132019 installed <13>Jun 17 03:11:00 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Jun 17 03:11:00 rpmi: libpulseaudio-14.2-alt4 sisyphus+271440.100.1.1 1620729324 installed <13>Jun 17 03:11:00 rpmi: libmikmod-3.3.11.1-alt2 1502706813 installed <13>Jun 17 03:11:00 rpmi: libXxf86vm-1.1.4-alt2 1527672159 installed <13>Jun 17 03:11:00 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614842 installed <13>Jun 17 03:11:00 rpmi: libXrender-0.9.10-alt1 sisyphus+261890.100.1.1 1605595144 installed <13>Jun 17 03:11:00 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949698 installed <13>Jun 17 03:11:03 rpmi: libxcb-devel-1.14-alt1 sisyphus+247358.200.1.3 1583854223 installed <13>Jun 17 03:11:03 rpmi: libX11-devel-3:1.7.2-alt1 sisyphus+273971.100.1.1 1623132019 installed <13>Jun 17 03:11:03 rpmi: libwayland-client-1.19.0-alt1 sisyphus+265427.100.1.1 1611852852 installed <13>Jun 17 03:11:03 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438297 installed <13>Jun 17 03:11:03 rpmi: libdrm-1:2.4.106-alt1 sisyphus+272066.100.1.1 1621322255 installed <13>Jun 17 03:11:03 rpmi: libGLX-mesa-4:21.1.2-alt1 sisyphus+273577.100.1.1 1622799676 installed <13>Jun 17 03:11:03 rpmi: libGLX-7:1.3.3-alt1 sisyphus+271643.100.1.1 1620829886 installed <13>Jun 17 03:11:03 rpmi: libGL-7:1.3.3-alt1 sisyphus+271643.100.1.1 1620829886 installed <13>Jun 17 03:11:03 rpmi: libGLU-4:9.0.1-alt1 sisyphus+248864.100.1.1 1585556464 installed <13>Jun 17 03:11:03 rpmi: libgbm-4:21.1.2-alt1 sisyphus+273577.100.1.1 1622799676 installed <13>Jun 17 03:11:03 rpmi: libEGL-mesa-4:21.1.2-alt1 sisyphus+273577.100.1.1 1622799676 installed <13>Jun 17 03:11:03 rpmi: libEGL-7:1.3.3-alt1 sisyphus+271643.100.1.1 1620829886 installed <13>Jun 17 03:11:03 rpmi: libglvnd-devel-7:1.3.3-alt1 sisyphus+271643.100.1.1 1620829886 installed <13>Jun 17 03:11:03 rpmi: libGLU-devel-4:9.0.1-alt1 sisyphus+248864.100.1.1 1585556464 installed <13>Jun 17 03:11:03 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+262033.600.7.2 1607340230 installed <13>Jun 17 03:11:03 rpmi: libstdc++10-devel-10.2.1-alt3 sisyphus+267829.100.1.1 1615807924 installed <13>Jun 17 03:11:04 rpmi: gcc10-c++-10.2.1-alt3 sisyphus+267829.100.1.1 1615807924 installed <13>Jun 17 03:11:04 rpmi: alsa-ucm-conf-1.2.5-alt1.1 sisyphus+273714.300.1.1 1622917179 installed <13>Jun 17 03:11:04 rpmi: alsa-topology-conf-1.2.5-alt1 sisyphus+273323.100.1.1 1622572925 installed <13>Jun 17 03:11:04 rpmi: libalsa-1:1.2.5-alt1.1 sisyphus+273714.100.1.1 1622917099 installed <13>Jun 17 03:11:04 rpmi: libSDL-1.2.14-alt9 sisyphus+261262.100.1.1 1604829349 installed <13>Jun 17 03:11:05 rpmi: libSDL-devel-1.2.14-alt9 sisyphus+261262.100.1.1 1604829349 installed <13>Jun 17 03:11:05 rpmi: libSDL_image-1.2.12-alt2 sisyphus+223384.100.1.1 1551514520 installed <13>Jun 17 03:11:05 rpmi: libSDL_mixer-1.2.12-alt1 1421435872 installed <13>Jun 17 03:11:05 rpmi: libSDL_net-1.2.8-alt1 1333963621 installed <13>Jun 17 03:11:05 rpmi: libSDL_net-devel-1.2.8-alt1 1333963621 installed <13>Jun 17 03:11:05 rpmi: libSDL_mixer-devel-1.2.12-alt1 1421435872 installed <13>Jun 17 03:11:05 rpmi: libSDL_image-devel-1.2.12-alt2 sisyphus+223384.100.1.1 1551514520 installed <13>Jun 17 03:11:05 rpmi: gcc-c++-10-alt1 sisyphus+263054.200.3.1 1607517515 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/njam-1.25-alt1.qa1.nosrc.rpm (w1.gzdio) Installing njam-1.25-alt1.qa1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.14776 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf njam-1.25-src + echo 'Source #0 (njam-1.25-src.tar):' Source #0 (njam-1.25-src.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/njam-1.25-src.tar + cd njam-1.25-src + /bin/chmod -c -Rf u+rwX,go-w . + /usr/bin/subst 's|LogFile::LogFile|LogFile|g' src/njamedit.cpp + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.14776 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd njam-1.25-src + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FCFLAGS + '[' -n '' ']' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + xargs -ri dirname -- '{}' + readlink -e -- ./configure + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext checking for a BSD-compatible install... /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 x86_64-alt-linux-gcc... x86_64-alt-linux-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 x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ANSI C... none needed checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for x86_64-alt-linux-g++... x86_64-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-alt-linux-g++ accepts -g... yes checking for a BSD-compatible install... /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 'x86_64-alt-linux-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 -j8 make: Circular aclocal.m4 <- aclocal.m4 dependency dropped. make all-recursive make[1]: Circular aclocal.m4 <- aclocal.m4 dependency dropped. Making all in src make[2]: Circular defaults.h <- Makefile dependency dropped. make[2]: Entering directory '/usr/src/RPM/BUILD/njam-1.25-src/src' 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 make[2]: Leaving directory '/usr/src/RPM/BUILD/njam-1.25-src/src' make[2]: Entering directory '/usr/src/RPM/BUILD/njam-1.25-src/src' cd .. \ && CONFIG_FILES=src/Makefile CONFIG_HEADERS= /bin/sh ./config.status config.status: creating src/Makefile config.status: executing default-1 commands make[2]: Leaving directory '/usr/src/RPM/BUILD/njam-1.25-src/src' make[2]: Circular defaults.h <- Makefile dependency dropped. make[2]: Entering directory '/usr/src/RPM/BUILD/njam-1.25-src/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njamfont.cpp njamfont.cpp: In member function 'bool NjamFont::WriteTextXY(SDL_Surface*, int, int, const char*)': njamfont.cpp:113:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 113 | if (dest.x > Destination->w) // outside | ^~ njamfont.cpp:116:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 116 | if (Text[i] == ' ' || Text[i] == 10 || Text[i] == 13) // SPACE, NL, CR | ^~ njamfont.cpp:120:25: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 120 | for (int j=0; j < (sizeof(FontMap)/sizeof(char)); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/njam-1.25-src/src' make[2]: Entering directory '/usr/src/RPM/BUILD/njam-1.25-src/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njammap.cpp njammap.cpp: In member function 'void NjamMap::SetCurrentMap(int)': njammap.cpp:141:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 141 | for (int i=0; iitem_text); | ^~ njamedit.cpp:521:25: warning: embedded '\0' in format [-Wformat-contains-nul] 521 | sprintf(filename, "%s\0", file_name); | ^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/njam-1.25-src/src' make[2]: Entering directory '/usr/src/RPM/BUILD/njam-1.25-src/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njamnet.cpp njamnet.cpp: In member function 'bool NjamEngine::SetupNetwork()': njamnet.cpp:163:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 163 | if (m_GameType == gtHostDuel && (m_Player[0].Playing || m_Player[1].Playing) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ njamnet.cpp:140:10: warning: enumeration value 'SDLK_UNKNOWN' not handled in switch [-Wswitch] 140 | switch (key) | ^ njamnet.cpp:140:10: warning: enumeration value 'SDLK_FIRST' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_BACKSPACE' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_TAB' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_CLEAR' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_RETURN' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_PAUSE' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_EXCLAIM' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_QUOTEDBL' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_HASH' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_DOLLAR' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_AMPERSAND' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_QUOTE' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_LEFTPAREN' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_RIGHTPAREN' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_ASTERISK' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_PLUS' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_COMMA' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_MINUS' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_PERIOD' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_SLASH' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_0' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_1' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_2' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_3' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_4' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_5' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_6' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_7' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_8' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_9' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_COLON' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_SEMICOLON' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_LESS' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_EQUALS' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_GREATER' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_QUESTION' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_AT' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_LEFTBRACKET' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_BACKSLASH' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_RIGHTBRACKET' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_CARET' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_UNDERSCORE' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_BACKQUOTE' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_a' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_b' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_c' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_e' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_h' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_i' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_j' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_k' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_l' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_m' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_n' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_o' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_p' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_q' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_s' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_t' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_u' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_v' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_w' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_x' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_y' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_z' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_DELETE' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_0' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_1' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_2' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_3' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_4' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_5' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_6' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_7' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_8' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_9' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_10' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_11' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_12' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_13' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_14' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_15' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_16' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_17' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_18' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_19' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_20' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_21' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_22' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_23' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_24' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_25' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_26' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_27' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_28' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_29' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_30' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_31' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_32' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_33' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_34' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_35' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_36' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_37' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_38' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_39' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_40' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_41' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_42' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_43' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_44' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_45' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_46' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_47' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_48' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_49' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_50' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_51' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_52' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_53' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_54' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_55' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_56' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_57' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_58' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_59' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_60' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_61' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_62' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_63' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_64' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_65' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_66' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_67' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_68' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_69' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_70' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_71' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_72' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_73' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_74' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_75' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_76' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_77' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_78' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_79' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_80' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_81' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_82' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_83' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_84' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_85' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_86' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_87' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_88' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_89' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_90' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_91' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_92' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_93' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_94' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_WORLD_95' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP0' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP1' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP2' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP3' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP4' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP5' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP6' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP7' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP8' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP9' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP_PERIOD' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP_DIVIDE' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP_MULTIPLY' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP_MINUS' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP_PLUS' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP_ENTER' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_KP_EQUALS' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_INSERT' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_HOME' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_END' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_PAGEUP' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_PAGEDOWN' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_F1' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_F2' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_F3' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_F4' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_F5' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_F6' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_F7' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_F8' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_F9' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_F10' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_F11' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_F12' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_F13' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_F14' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_F15' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_NUMLOCK' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_CAPSLOCK' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_SCROLLOCK' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_RSHIFT' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_LSHIFT' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_RCTRL' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_LCTRL' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_RALT' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_LALT' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_RMETA' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_LMETA' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_LSUPER' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_RSUPER' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_MODE' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_COMPOSE' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_HELP' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_PRINT' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_SYSREQ' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_BREAK' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_MENU' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_POWER' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_EURO' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_UNDO' not handled in switch [-Wswitch] njamnet.cpp:140:10: warning: enumeration value 'SDLK_LAST' not handled in switch [-Wswitch] njamnet.cpp: In member function 'void NjamEngine::RenderNetworkScreen(bool)': njamnet.cpp:236:3: warning: statement has no effect [-Wunused-value] 236 | m_NetLobbyImage; | ^~~~~~~~~~~~~~~ njamnet.cpp: In member function 'bool NjamEngine::EnterServerIP(bool)': njamnet.cpp:330:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 330 | if (key >= '0' && key <= '9' || key == '.') | ~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/njam-1.25-src/src' make[2]: Entering directory '/usr/src/RPM/BUILD/njam-1.25-src/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njam.cpp njam.cpp: In destructor 'NjamEngine::~NjamEngine()': njam.cpp:227:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 227 | if (home) | ^~ njam.cpp:229:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 229 | FILE *fp = fopen(njamconf.c_str(), "w+"); | ^~~~ njam.cpp: In member function 'void NjamEngine::DoScript()': njam.cpp:275:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 275 | for (int i=0; i<80; i++) // empty buffer | ^~~ njam.cpp:279:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 279 | int Row = 175 / m_FontBlue->GetCharHeight(); | ^~~ njam.cpp: In member function 'bool NjamEngine::Init(bool, bool, bool)': njam.cpp:339:32: warning: embedded '\0' in format [-Wformat-contains-nul] 339 | sprintf(linux_sdl_driver, "x11\0"); | ^~ njam.cpp:342:32: warning: embedded '\0' in format [-Wformat-contains-nul] 342 | sprintf(linux_sdl_driver, "%s\0", driver_name); | ^~ njam.cpp:347:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 347 | putenv("SDL_VIDEODRIVER=dga"); | ^~~~~~~~~~~~~~~~~~~~~ njam.cpp:571:40: warning: embedded '\0' in format [-Wformat-contains-nul] 571 | sprintf(Filename, "skins/Back%03d.bmp\0", m_NumberOfSkins); | ^~ njam.cpp:586:40: warning: embedded '\0' in format [-Wformat-contains-nul] 586 | sprintf(Filename, "skins/Back%03d.bmp\0", i); | ^~ njam.cpp:615:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 615 | if (home) | ^~ njam.cpp:617:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 617 | FILE *fp = fopen(njamconf.c_str(), "r"); | ^~~~ njam.cpp:663:36: warning: embedded '\0' in format [-Wformat-contains-nul] 663 | sprintf(TopTenScores[i].name, "%s\0", DefaultNames[i]); | ^~ njam.cpp:733:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 733 | if(!m_MainMenuMusic) | ^~ njam.cpp:736:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 736 | printf("Loading song: data/ritam.s3m...\n"); | ^~~~~~ njam.cpp:738:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 738 | if(!m_GameMusic1) | ^~ njam.cpp:741:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 741 | printf("Loading song: data/dali.xm...\n"); | ^~~~~~ njam.cpp: In member function 'void NjamEngine::Start()': njam.cpp:959:32: warning: embedded '\0' in format [-Wformat-contains-nul] 959 | sprintf(text, "%-11s %2d %5d\0", TopTenScores[i].name, TopTenScores[i].level, TopTenScores[i].points); | ^~ njam.cpp: In function 'int main(int, char**)': njam.cpp:105:7: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 105 | chdir(path); | ~~~~~^~~~~~ njam.cpp: In member function 'void NjamEngine::DoScript()': njam.cpp:284:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 284 | fgets(buffer, 79, script_file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ njam.cpp: In member function 'bool NjamEngine::Init(bool, bool, bool)': njam.cpp:624:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 624 | fgets(buff, 20, fp); | ~~~~~^~~~~~~~~~~~~~ njam.cpp:676:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 676 | fgets(buff, 40, fp); | ~~~~~^~~~~~~~~~~~~~ njam.cpp:586:32: warning: '%03d' directive writing between 3 and 10 bytes into a region of size 8 [-Wformat-overflow=] 586 | sprintf(Filename, "skins/Back%03d.bmp\0", i); | ^~~~ njam.cpp:586:21: note: directive argument in the range [0, 2147483647] 586 | sprintf(Filename, "skins/Back%03d.bmp\0", i); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from njam.cpp:39: /usr/include/bits/stdio2.h:38:34: note: '__builtin___sprintf_chk' output between 18 and 25 bytes into a destination of size 18 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ njam.cpp:663:34: warning: '%s' directive writing up to 99 bytes into a region of size 10 [-Wformat-overflow=] 663 | sprintf(TopTenScores[i].name, "%s\0", DefaultNames[i]); | ^~ In file included from /usr/include/stdio.h:866, from /usr/include/c++/10/cstdio:42, from /usr/include/c++/10/ext/string_conversions.h:43, from /usr/include/c++/10/bits/basic_string.h:6545, from /usr/include/c++/10/string:55, from njam.cpp:39: /usr/include/bits/stdio2.h:38:34: note: '__builtin___sprintf_chk' output between 1 and 100 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/njam-1.25-src/src' make[2]: Entering directory '/usr/src/RPM/BUILD/njam-1.25-src/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njamgame.cpp njamgame.cpp: In member function 'void NjamEngine::StartGame(GameType)': njamgame.cpp:104:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 104 | else // select random map for duel | ^~~~ njamgame.cpp:107:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 107 | if (m_GameType != gtJoinDuel) | ^~ njamgame.cpp:124:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 124 | if (Winner == etLevelWon && m_CurrentMap == m_Levels - 1) // all levels passed | ^~ njamgame.cpp:127:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 127 | if (Winner > -1 && (m_GameType != gtOnePlayer && m_GameType != gtTwoPlayer)) | ^~ njamgame.cpp: In member function 'int NjamEngine::PlayMap(bool)': njamgame.cpp:283:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 283 | for (int i=0; i 260) // map packed with cookies, add extra bonus time | ^~ njamgame.cpp:321:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 321 | if (m_CookiesLeft == 0) | ^~ njamgame.cpp:324:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 324 | bool FrameCounts = true; | ^~~~ njamgame.cpp: In member function 'void NjamEngine::RenderGameScreen()': njamgame.cpp:530:34: warning: embedded '\0' in format [-Wformat-contains-nul] 530 | sprintf(buff, "%d\0", p->GamePoints); | ^~ njamgame.cpp:584:30: warning: embedded '\0' in format [-Wformat-contains-nul] 584 | sprintf(buff, "%d\0", p->Juice / 20); | ^~ njamgame.cpp:601:35: warning: embedded '\0' in format [-Wformat-contains-nul] 601 | sprintf(buff, "LEVEL: %02d\0", m_CurrentMap + 1); | ^~ njamgame.cpp:607:32: warning: embedded '\0' in format [-Wformat-contains-nul] 607 | sprintf(buff, "PTS: %4d\0", m_Player[0].GamePoints); | ^~ njamgame.cpp:611:29: warning: embedded '\0' in format [-Wformat-contains-nul] 611 | sprintf(buff, "%2.0f FPS\0", m_fps); | ^~ njamgame.cpp:506:14: warning: unused variable 'src' [-Wunused-variable] 506 | SDL_Rect src, dest; // render background (use part of main menu image) | ^~~ njamgame.cpp: In member function 'void NjamEngine::MoveGhosts()': njamgame.cpp:771:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 771 | if (s->xo==0 && s->yo==0 && (i%3==gtSTUPID || i%3==gtSMART && s->special==0)) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ njamgame.cpp:774:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 774 | if (Paths > 1 && i%3==gtSMART || Paths > 2) | ~~~~~~~~~~^~~~~~~~~~~~~~~ njamgame.cpp: In member function 'void NjamEngine::MovePlayers()': njamgame.cpp:1044:20: warning: enumeration value 'ttEmpty' not handled in switch [-Wswitch] 1044 | switch (t) | ^ njamgame.cpp:1044:20: warning: enumeration value 'ttGHouse' not handled in switch [-Wswitch] njamgame.cpp:1044:20: warning: enumeration value 'ttDoor' not handled in switch [-Wswitch] njamgame.cpp:1044:20: warning: enumeration value 'ttTeleport' not handled in switch [-Wswitch] njamgame.cpp:1044:20: warning: enumeration value 'ttGHouseActive' not handled in switch [-Wswitch] njamgame.cpp: In member function 'void NjamEngine::DrawGameStats()': njamgame.cpp:1545:34: warning: embedded '\0' in format [-Wformat-contains-nul] 1545 | sprintf(points, " (%3d)\0", m_Player[i].MapPoints); | ^~ njamgame.cpp:1547:37: warning: embedded '\0' in format [-Wformat-contains-nul] 1547 | sprintf(points, "%01d (%3d)\0", m_Player[i].GamePoints, m_Player[i].MapPoints); | ^~ njamgame.cpp:1552:33: warning: embedded '\0' in format [-Wformat-contains-nul] 1552 | sprintf(points, "%4d\0", m_Player[i].stats.data[j]); | ^~ njamgame.cpp:1559:30: warning: embedded '\0' in format [-Wformat-contains-nul] 1559 | sprintf(points, "POINTS: %d\0", m_Player[0].GamePoints); | ^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/njam-1.25-src/src' make[2]: Entering directory '/usr/src/RPM/BUILD/njam-1.25-src/src' x86_64-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -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 '/usr/src/RPM/BUILD/njam-1.25-src/src' make[2]: Circular aclocal.m4 <- aclocal.m4 dependency dropped. + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.52209 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/njam-buildroot + : + /bin/rm -rf -- /usr/src/tmp/njam-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd njam-1.25-src + make 'INSTALL=/usr/libexec/rpm-build/install -p' install DESTDIR=/usr/src/tmp/njam-buildroot make: Entering directory '/usr/src/RPM/BUILD/njam-1.25-src' make: Circular aclocal.m4 <- aclocal.m4 dependency dropped. Making install in src make[1]: Entering directory '/usr/src/RPM/BUILD/njam-1.25-src/src' make[1]: Circular defaults.h <- Makefile dependency dropped. make[2]: Entering directory '/usr/src/RPM/BUILD/njam-1.25-src/src' make[2]: Circular defaults.h <- Makefile dependency dropped. /bin/sh ../mkinstalldirs /usr/src/tmp/njam-buildroot/usr/bin mkdir /usr/src/tmp/njam-buildroot mkdir /usr/src/tmp/njam-buildroot/usr mkdir /usr/src/tmp/njam-buildroot/usr/bin /usr/libexec/rpm-build/install -p njam /usr/src/tmp/njam-buildroot/usr/bin/njam make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/njam-1.25-src/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/njam-1.25-src/src' make[1]: Entering directory '/usr/src/RPM/BUILD/njam-1.25-src' make[1]: Circular aclocal.m4 <- aclocal.m4 dependency dropped. make[2]: Entering directory '/usr/src/RPM/BUILD/njam-1.25-src' make[2]: Circular aclocal.m4 <- aclocal.m4 dependency dropped. make[2]: Nothing to be done for 'install-exec-am'. /bin/sh ./mkinstalldirs /usr/src/tmp/njam-buildroot/usr/share/njam; \ /bin/sh ./mkinstalldirs /usr/src/tmp/njam-buildroot/usr/share/njam/data; \ /bin/sh ./mkinstalldirs /usr/src/tmp/njam-buildroot/usr/share/njam/skins; \ /bin/sh ./mkinstalldirs /usr/src/tmp/njam-buildroot/usr/share/njam/html; \ /bin/sh ./mkinstalldirs /usr/src/tmp/njam-buildroot/usr/share/njam/levels; \ /usr/libexec/rpm-build/install -p -m 644 ./njam.conf /usr/src/tmp/njam-buildroot/usr/share/njam; \ /usr/libexec/rpm-build/install -p -m 644 ./njamicon.ico /usr/src/tmp/njam-buildroot/usr/share/njam; \ /usr/libexec/rpm-build/install -p -m 644 ./njam.iss /usr/src/tmp/njam-buildroot/usr/share/njam; \ /usr/libexec/rpm-build/install -p -m 644 ./njam.rc /usr/src/tmp/njam-buildroot/usr/share/njam; \ /usr/libexec/rpm-build/install -p -m 644 ./hiscore.dat /usr/src/tmp/njam-buildroot/usr/share/njam; \ chmod 660 /usr/src/tmp/njam-buildroot/usr/share/njam/hiscore.dat; \ chgrp games /usr/src/tmp/njam-buildroot/usr/share/njam/hiscore.dat; \ /usr/libexec/rpm-build/install -p -m 644 ./README /usr/src/tmp/njam-buildroot/usr/share/njam; \ for file in ./data/*; do \ if test -f $file; then \ /usr/libexec/rpm-build/install -p -m 644 "$file" /usr/src/tmp/njam-buildroot/usr/share/njam/data; \ fi \ done mkdir /usr/src/tmp/njam-buildroot/usr/share mkdir /usr/src/tmp/njam-buildroot/usr/share/njam mkdir /usr/src/tmp/njam-buildroot/usr/share/njam/data mkdir /usr/src/tmp/njam-buildroot/usr/share/njam/skins mkdir /usr/src/tmp/njam-buildroot/usr/share/njam/html mkdir /usr/src/tmp/njam-buildroot/usr/share/njam/levels chgrp: changing group of '/usr/src/tmp/njam-buildroot/usr/share/njam/hiscore.dat': Operation not permitted for file in ./skins/*; do \ if test -f $file; then \ /usr/libexec/rpm-build/install -p -m 644 "$file" /usr/src/tmp/njam-buildroot/usr/share/njam/skins; \ fi \ done for file in ./html/*; do \ if test -f $file; then \ /usr/libexec/rpm-build/install -p -m 644 "$file" /usr/src/tmp/njam-buildroot/usr/share/njam/html; \ fi \ done for file in ./levels/*; do \ if test -f "$file"; then \ /usr/libexec/rpm-build/install -p -m 644 "$file" /usr/src/tmp/njam-buildroot/usr/share/njam/levels; \ fi \ done make[2]: Leaving directory '/usr/src/RPM/BUILD/njam-1.25-src' make[1]: Leaving directory '/usr/src/RPM/BUILD/njam-1.25-src' make: Leaving directory '/usr/src/RPM/BUILD/njam-1.25-src' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/njam-buildroot (auto) mode of 'usr/share/njam/hiscore.dat' changed from 0660 (rw-rw----) to 0664 (rw-rw-r--) mode of 'usr/share/njam/hiscore.dat' changed from 0664 (rw-rw-r--) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/njam-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/njam-buildroot/ (default) Compressing files in /usr/src/tmp/njam-buildroot (auto) Verifying ELF objects in /usr/src/tmp/njam-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Processing files: njam-1.25-alt1.qa1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.jI9UgP find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.WTZ21P find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /lib64/ld-linux-x86-64.so.2, libSDL-1.2.so.0()(64bit) >= set:lgUOpc4YBeCl6OI9Rbbb9uNNVkKJYZ15jBfMQxrtI3UoB3ue2fl8lgQTDRNku2, libSDL_image-1.2.so.0()(64bit) >= set:jifK3, libSDL_mixer-1.2.so.0()(64bit) >= set:kgaFaDZf3xZ4opQY3ktW8amebY2T8NWvkNm0p, libSDL_net-1.2.so.0()(64bit) >= set:jfOufy7EqNuKKpe2wZneNcu2, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(CXXABI_1.3.9)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), libstdc++.so.6(GLIBCXX_3.4.21)(64bit), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.wKq7hO Creating njam-debuginfo package Processing files: njam-debuginfo-1.25-alt1.qa1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.7uMq9Q find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.hJmH2O find-requires: running scripts (debuginfo) Requires: njam = 1.25-alt1.qa1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libSDL-1.2.so.0), debug64(libSDL_image-1.2.so.0), debug64(libSDL_mixer-1.2.so.0), debug64(libSDL_net-1.2.so.0), debug64(libc.so.6), debug64(libgcc_s.so.1), debug64(libstdc++.so.6) Wrote: /usr/src/RPM/RPMS/x86_64/njam-1.25-alt1.qa1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/njam-debuginfo-1.25-alt1.qa1.x86_64.rpm (w2.lzdio) 6.00user 1.43system 0:17.95elapsed 41%CPU (0avgtext+0avgdata 67404maxresident)k 0inputs+0outputs (0major+688822minor)pagefaults 0swaps /.out/njam-1.25-alt1.qa1.x86_64.rpm: The use of such a license name is ambiguous: GPL /.out/njam-debuginfo-1.25-alt1.qa1.x86_64.rpm: The use of such a license name is ambiguous: GPL 13.01user 4.21system 0:38.29elapsed 44%CPU (0avgtext+0avgdata 106492maxresident)k 56inputs+0outputs (0major+1014112minor)pagefaults 0swaps --- njam-1.25-alt1.qa1.x86_64.rpm.repo 2013-04-17 03:25:40.000000000 +0000 +++ njam-1.25-alt1.qa1.x86_64.rpm.hasher 2021-06-17 03:11:29.288019417 +0000 @@ -109,4 +109,5 @@ Requires: libSDL_image-1.2.so.0()(64bit) >= set:jifK3 -Requires: libSDL_mixer-1.2.so.0()(64bit) >= set:lhBkZ672oMXOnNOEOfgRF7hNOp3LMdiJZnkNC0O0 +Requires: libSDL_mixer-1.2.so.0()(64bit) >= set:kgaFaDZf3xZ4opQY3ktW8amebY2T8NWvkNm0p Requires: libSDL_net-1.2.so.0()(64bit) >= set:jfOufy7EqNuKKpe2wZneNcu2 +Requires: libc.so.6(GLIBC_2.14)(64bit) Requires: libc.so.6(GLIBC_2.2.5)(64bit) @@ -115,7 +116,7 @@ Requires: libgcc_s.so.1(GCC_3.0)(64bit) -Requires: libpthread.so.0(GLIBC_2.2.5)(64bit) Requires: libstdc++.so.6(CXXABI_1.3)(64bit) +Requires: libstdc++.so.6(CXXABI_1.3.9)(64bit) Requires: libstdc++.so.6(GLIBCXX_3.4)(64bit) +Requires: libstdc++.so.6(GLIBCXX_3.4.21)(64bit) Requires: rtld(GNU_HASH) -Requires: rtld(GNU_UNIQUE) Requires: rpmlib(PayloadIsLzma) --- njam-debuginfo-1.25-alt1.qa1.x86_64.rpm.repo 2013-04-17 03:25:40.000000000 +0000 +++ njam-debuginfo-1.25-alt1.qa1.x86_64.rpm.hasher 2021-06-17 03:11:29.351019616 +0000 @@ -22,3 +22,2 @@ Requires: debug64(libgcc_s.so.1) -Requires: debug64(libpthread.so.0) Requires: debug64(libstdc++.so.6)