<86>Dec 16 00:32:05 userdel[3922878]: delete user 'rooter' <86>Dec 16 00:32:05 userdel[3922878]: removed group 'rooter' owned by 'rooter' <86>Dec 16 00:32:05 userdel[3922878]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 16 00:32:05 groupadd[3922886]: group added to /etc/group: name=rooter, GID=990 <86>Dec 16 00:32:05 groupadd[3922886]: group added to /etc/gshadow: name=rooter <86>Dec 16 00:32:05 groupadd[3922886]: new group: name=rooter, GID=990 <86>Dec 16 00:32:05 useradd[3922891]: new user: name=rooter, UID=990, GID=990, home=/root, shell=/bin/bash <86>Dec 16 00:32:05 userdel[3922902]: delete user 'builder' <86>Dec 16 00:32:05 userdel[3922902]: removed group 'builder' owned by 'builder' <86>Dec 16 00:32:05 groupadd[3922910]: group added to /etc/group: name=builder, GID=991 <86>Dec 16 00:32:05 groupadd[3922910]: group added to /etc/gshadow: name=builder <86>Dec 16 00:32:05 groupadd[3922910]: new group: name=builder, GID=991 <86>Dec 16 00:32:05 useradd[3922914]: new user: name=builder, UID=991, GID=991, home=/usr/src, shell=/bin/bash <13>Dec 16 00:32:07 rpmi: libglvnd-7:1.3.4-alt1 sisyphus+286013.100.1.1 1632749263 installed <13>Dec 16 00:32:07 rpmi: libogg-1.3.5-alt1 sisyphus+278100.3400.1.1 1626058929 installed <13>Dec 16 00:32:07 rpmi: libflac8-1.3.3.0.79.37d1-alt2 sisyphus+278100.1400.1.1 1626058195 installed <13>Dec 16 00:32:07 rpmi: libvorbis-1.3.7-alt1 sisyphus+275738.100.1.1 1624751601 installed <13>Dec 16 00:32:07 rpmi: libjpeg-2:2.0.6-alt4 sisyphus+284191.100.1.1 1630330711 installed <13>Dec 16 00:32:07 rpmi: xorg-proto-devel-2021.5-alt1 sisyphus+285490.100.1.1 1632124129 installed <13>Dec 16 00:32:07 rpmi: libexpat-2.4.1-alt2 sisyphus+291954.100.1.1 1639496332 installed <13>Dec 16 00:32:07 rpmi: libwayland-server-1.20.0-alt1 sisyphus+290473.40.2.1 1639117744 installed <13>Dec 16 00:32:07 rpmi: libGLES-7:1.3.4-alt1 sisyphus+286013.100.1.1 1632749263 installed <13>Dec 16 00:32:07 rpmi: libOpenGL-7:1.3.4-alt1 sisyphus+286013.100.1.1 1632749263 installed <13>Dec 16 00:32:07 rpmi: libmpg123-1.29.3-alt1 sisyphus+291857.100.1.1 1639310456 installed <13>Dec 16 00:32:07 rpmi: libmad-0.15.1b-alt9 sisyphus+278239.100.1.1 1626080123 installed <13>Dec 16 00:32:07 rpmi: timidity-instruments-1:1.0-alt1 sisyphus+276870.100.1.1 1625246545 installed <13>Dec 16 00:32:08 rpmi: libwebp7-1.2.1-alt1 sisyphus+282658.100.1.1 1628955702 installed <13>Dec 16 00:32:08 rpmi: libjbig-2.1-alt1 sisyphus+276068.100.1.1 1624815400 installed <13>Dec 16 00:32:08 rpmi: libdeflate-1.8-alt1 sisyphus+290923.240.4.1 1638162729 installed <13>Dec 16 00:32:08 rpmi: libtiff5-4.3.0-alt2 sisyphus+290923.300.4.1 1638162792 installed <13>Dec 16 00:32:08 rpmi: libpng16-1.6.37-alt1 sisyphus+275734.100.2.1 1624788826 installed <13>Dec 16 00:32:08 rpmi: libopus-1.3.1-alt3 sisyphus+278010.100.1.2 1625975522 installed <13>Dec 16 00:32:08 rpmi: libgsm-1.0.17-alt1 sisyphus+275359.100.2.1 1624907612 installed <13>Dec 16 00:32:08 rpmi: libsndfile-1.0.31-alt1 sisyphus+279495.100.1.1 1626550760 installed <13>Dec 16 00:32:08 rpmi: liblz4-1:1.9.3-alt1 sisyphus+278100.4000.1.1 1626059441 installed <13>Dec 16 00:32:08 rpmi: libsystemd-1:249.7-alt5 sisyphus+292025.100.1.1 1639597691 installed <13>Dec 16 00:32:08 rpmi: libdbus-1.12.20-alt1 sisyphus+281278.100.1.1 1627484261 installed <13>Dec 16 00:32:08 rpmi: libasyncns-0.8-alt2.qa1 sisyphus+275091.100.1.1 1624402241 installed <13>Dec 16 00:32:08 rpmi: libxshmfence-1.3-alt1 sisyphus+278248.100.1.1 1626080762 installed <13>Dec 16 00:32:08 rpmi: libX11-locales-3:1.7.3-alt1 sisyphus+291550.100.1.1 1638859750 installed <13>Dec 16 00:32:08 rpmi: libXdmcp-1.1.3-alt1 sisyphus+278816.100.1.1 1626219231 installed <13>Dec 16 00:32:08 rpmi: libXau-1.0.9-alt1 sisyphus+278247.100.1.1 1626080736 installed <13>Dec 16 00:32:08 rpmi: libxcb-1.14-alt1 sisyphus+277968.100.1.3 1625952322 installed <13>Dec 16 00:32:08 rpmi: libX11-3:1.7.3-alt1 sisyphus+291550.100.1.1 1638859750 installed <13>Dec 16 00:32:08 rpmi: libXext-1.3.4-alt1 sisyphus+278817.100.1.3 1626262596 installed <13>Dec 16 00:32:08 rpmi: libpulseaudio-15.0-alt1 sisyphus+281243.100.1.2 1627477159 installed <13>Dec 16 00:32:08 rpmi: libmikmod-3.3.11.1-alt2 sisyphus+278211.100.1.1 1626077581 installed <13>Dec 16 00:32:08 rpmi: libXxf86vm-1.1.4-alt2 sisyphus+275334.100.2.2 1624577011 installed <13>Dec 16 00:32:08 rpmi: libXfixes-6.0.0-alt1 sisyphus+284644.300.1.1 1630910331 installed <13>Dec 16 00:32:08 rpmi: libXrender-0.9.10-alt1 sisyphus+278480.100.1.2 1626227740 installed <13>Dec 16 00:32:08 rpmi: libXrandr-1.5.2-alt1 sisyphus+275330.100.2.2 1624575558 installed <13>Dec 16 00:32:09 rpmi: libxcb-devel-1.14-alt1 sisyphus+277968.100.1.3 1625952322 installed <13>Dec 16 00:32:09 rpmi: libX11-devel-3:1.7.3-alt1 sisyphus+291550.100.1.1 1638859750 installed <13>Dec 16 00:32:09 rpmi: libwayland-client-1.20.0-alt1 sisyphus+290473.40.2.1 1639117744 installed <13>Dec 16 00:32:09 rpmi: libpciaccess-1:0.16-alt1 sisyphus+278288.100.1.1 1626084210 installed <13>Dec 16 00:32:09 rpmi: libdrm-1:2.4.109-alt1 sisyphus+291482.100.1.1 1638787694 installed <13>Dec 16 00:32:09 rpmi: libGLX-mesa-4:21.3.1-alt1 sisyphus+291482.200.1.1 1638787956 installed <13>Dec 16 00:32:09 rpmi: libGLX-7:1.3.4-alt1 sisyphus+286013.100.1.1 1632749263 installed <13>Dec 16 00:32:09 rpmi: libGL-7:1.3.4-alt1 sisyphus+286013.100.1.1 1632749263 installed <13>Dec 16 00:32:09 rpmi: libGLU-4:9.0.1-alt1 sisyphus+278350.100.1.2 1626174382 installed <13>Dec 16 00:32:09 rpmi: libgbm-4:21.3.1-alt1 sisyphus+291482.200.1.1 1638787956 installed <13>Dec 16 00:32:09 rpmi: libEGL-mesa-4:21.3.1-alt1 sisyphus+291482.200.1.1 1638787956 installed <13>Dec 16 00:32:09 rpmi: libEGL-7:1.3.4-alt1 sisyphus+286013.100.1.1 1632749263 installed <13>Dec 16 00:32:09 rpmi: libglvnd-devel-7:1.3.4-alt1 sisyphus+286013.100.1.1 1632749263 installed <13>Dec 16 00:32:09 rpmi: libGLU-devel-4:9.0.1-alt1 sisyphus+278350.100.1.2 1626174382 installed <13>Dec 16 00:32:09 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Dec 16 00:32:09 rpmi: libstdc++11-devel-11.2.1-alt2 sisyphus+291192.100.1.1 1638461683 installed <13>Dec 16 00:32:09 rpmi: gcc11-c++-11.2.1-alt2 sisyphus+291192.100.1.1 1638461683 installed <13>Dec 16 00:32:09 rpmi: alsa-ucm-conf-1.2.6.2-alt1 sisyphus+291831.200.1.1 1639213787 installed <13>Dec 16 00:32:09 rpmi: alsa-topology-conf-1.2.5.1-alt1 sisyphus+274777.100.1.1 1624089141 installed <13>Dec 16 00:32:10 rpmi: libalsa-1:1.2.6.1-alt1 sisyphus+291831.100.1.1 1639213772 installed <13>Dec 16 00:32:10 rpmi: libSDL-1.2.14-alt10 sisyphus+284852.100.1.1 1631107838 installed <13>Dec 16 00:32:10 rpmi: libSDL-devel-1.2.14-alt10 sisyphus+284852.100.1.1 1631107838 installed <13>Dec 16 00:32:10 rpmi: libSDL_image-1.2.12-alt3.gitd0ea78d sisyphus+278696.40.4.1 1626250409 installed <13>Dec 16 00:32:10 rpmi: libSDL_mixer-1.2.12-alt2.git40a7e1a sisyphus+278696.140.4.1 1626250504 installed <13>Dec 16 00:32:10 rpmi: libSDL_net-1.2.8-alt3.git9a629d6 sisyphus+284017.100.1.1 1630068458 installed <13>Dec 16 00:32:10 rpmi: libSDL_net-devel-1.2.8-alt3.git9a629d6 sisyphus+284017.100.1.1 1630068458 installed <13>Dec 16 00:32:10 rpmi: libSDL_mixer-devel-1.2.12-alt2.git40a7e1a sisyphus+278696.140.4.1 1626250504 installed <13>Dec 16 00:32:10 rpmi: libSDL_image-devel-1.2.12-alt3.gitd0ea78d sisyphus+278696.40.4.1 1626250409 installed <13>Dec 16 00:32:10 rpmi: gcc-c++-11-alt1 sisyphus+285602.400.1.1 1632238564 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/bloboats-1.0.2-alt3.nosrc.rpm (w1.gzdio) Installing bloboats-1.0.2-alt3.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.11359 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf bloboats-1.0.2 + echo 'Source #0 (bloboats-1.0.2.tar.gz):' Source #0 (bloboats-1.0.2.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/bloboats-1.0.2.tar.gz + /bin/tar -xf - + cd bloboats-1.0.2 + /bin/chmod -c -Rf u+rwX,go-w . + sed -i s/ghostfile=false/ghostfile=NULL/ src/menu.cpp + cat + echo 'Patch #1 (alt-bloboats-1.0.2-gcc8-fix.patch):' Patch #1 (alt-bloboats-1.0.2-gcc8-fix.patch): + /usr/bin/patch -p2 patching file src/models/hirvio.cpp patching file src/models/hirvio.h patching file src/sound.cpp + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.11359 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd bloboats-1.0.2 + make -j16 PREFIX= DATADIR=/usr/share/bloboats make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' echo "datadir /usr/share/bloboats" >bloboats.dirs echo "privatedir ~/.bloboats" >>bloboats.dirs chmod 644 bloboats.dirs echo "#define DEFAULT_CONFIGFILE \"/etc/bloboats.dirs\"" >src/compiling_settings.h echo "#define SOUND 1" >> src/compiling_settings.h echo "#define MUSIC 1" >> src/compiling_settings.h echo "#define DEBUG 0" >> src/compiling_settings.h make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/mouse.o src/mouse.cpp make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/compat.o src/compat.cpp make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/vec.o src/vec.cpp src/vec.cpp: In member function 'void vec::display()': src/vec.cpp:62:29: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'vec*' [-Wformat=] 62 | printf ("Vector at %s: x:%f y:%f\n", this, x, y); | ~^ ~~~~ | | | | char* vec* make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/config.o src/config.cpp src/config.cpp: In member function 'void config::load()': src/config.cpp:71:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 71 | FILE *fp = fopen( Path->priv("config.dat"), "r"); | ^~~~~~~~~~~~ src/config.cpp: In member function 'void config::save()': src/config.cpp:166:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 166 | FILE *fp = fopen( Path->priv("config.dat"), "w+"); | ^~~~~~~~~~~~ src/config.cpp: In member function 'void config::load()': src/config.cpp:74:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 74 | fscanf(fp, "resolution %d\n", &temp); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/window.o src/window.cpp In file included from src/window.h:24, from src/window.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from src/window.h:24, from src/window.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/player.o src/player.cpp make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/sound.o src/sound.cpp make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/font.o src/font.cpp In file included from src/font.h:26, from src/font.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from src/font.h:26, from src/font.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | src/font.cpp: In member function 'void font::Initialize(int)': src/font.cpp:49:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 49 | texID = Graphics.maketexture( Path->data("fonts/font.png") ); | ^~~~~~~~~~~~~~~~ src/font.cpp:52:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 52 | texID = Graphics.maketexture( Path->data("fonts/font2.png") ); | ^~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/spring.o src/spring.cpp In file included from src/graphics.h:28, from src/spring.h:23, from src/spring.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from src/graphics.h:28, from src/spring.h:23, from src/spring.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/model_tex.o src/model_tex.cpp In file included from src/model_tex.h:23, from src/model_tex.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from src/model_tex.h:23, from src/model_tex.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/media.o src/media.cpp src/media.cpp: In member function 'void media::LoadStuff()': src/media.cpp:65:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 65 | vroom = sound::LoadWAV( Path->data("sounds/vroom.wav") ); | ^~~~~~~~~~~~~~~~~~ src/media.cpp:66:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 66 | finish = sound::LoadWAV( Path->data("sounds/finish.wav") ); | ^~~~~~~~~~~~~~~~~~~ src/media.cpp:67:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 67 | splash = sound::LoadWAV( Path->data("sounds/splash.wav") ); | ^~~~~~~~~~~~~~~~~~~ src/media.cpp:68:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 68 | menuselect = sound::LoadWAV( Path->data("sounds/menuselect.wav") ); | ^~~~~~~~~~~~~~~~~~~~~~~ src/media.cpp:69:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 69 | menuenter = sound::LoadWAV( Path->data("sounds/menuenter.wav") ); | ^~~~~~~~~~~~~~~~~~~~~~ src/media.cpp:70:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 70 | clonk = sound::LoadWAV( Path->data("sounds/clonk.wav") ); | ^~~~~~~~~~~~~~~~~~ src/media.cpp:71:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 71 | roarr = sound::LoadWAV( Path->data("sounds/roarr.wav") ); | ^~~~~~~~~~~~~~~~~~ src/media.cpp:72:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 72 | explosion = sound::LoadWAV( Path->data("sounds/explosion.wav") ); | ^~~~~~~~~~~~~~~~~~~~~~ src/media.cpp:73:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 73 | bump = sound::LoadWAV( Path->data("sounds/bump.wav") ); | ^~~~~~~~~~~~~~~~~ src/media.cpp:76:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 76 | music[0] = sound::LoadMusic( Path->data("sounds/music0.ogg") ); | ^~~~~~~~~~~~~~~~~~~ src/media.cpp:77:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 77 | music[1] = sound::LoadMusic( Path->data("sounds/music1.ogg") ); | ^~~~~~~~~~~~~~~~~~~ src/media.cpp:78:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 78 | music[2] = sound::LoadMusic( Path->data("sounds/music2.ogg") ); | ^~~~~~~~~~~~~~~~~~~ src/media.cpp:79:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 79 | music[3] = sound::LoadMusic( Path->data("sounds/music3.ogg") ); | ^~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/particle.o src/particle.cpp In file included from src/wall.h:24, from src/particle.h:24, from src/particle.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from src/wall.h:24, from src/particle.h:24, from src/particle.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/wall.o src/wall.cpp In file included from src/wall.h:24, from src/wall.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from src/wall.h:24, from src/wall.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/model.o src/model.cpp In file included from src/graphics.h:28, from src/model.h:27, from src/model.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from src/graphics.h:28, from src/model.h:27, from src/model.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/level.o src/level.cpp In file included from src/level.h:24, from src/level.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from src/level.h:24, from src/level.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/main.o src/main.cpp In file included from src/main.cpp:21: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from src/main.cpp:21: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | src/main.cpp: In function 'int main(int, char**)': src/main.cpp:200:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 200 | SDL_Surface *icon = Graphics.LoadPicture( Path->data("images/icon.png") ); | ^~~~~~~~~~~~~~~~~ src/main.cpp:224:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 224 | Window.SetTitle("Bloboats", "Bloboats"); | ^~~~~~~~~~ src/main.cpp:224:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 224 | Window.SetTitle("Bloboats", "Bloboats"); | ^~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/element.o src/element.cpp make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/keyboard.o src/keyboard.cpp In file included from src/window.h:24, from src/keyboard.h:26, from src/keyboard.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from src/window.h:24, from src/keyboard.h:26, from src/keyboard.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/condition.o src/condition.cpp make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/menu.o src/menu.cpp In file included from src/game.h:24, from src/menu.h:24, from src/menu.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from src/game.h:24, from src/menu.h:24, from src/menu.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | src/menu.cpp: In member function 'void menu::mainmenu()': src/menu.cpp:76:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 76 | blobcanvas = new canvas( vec(-10.0, 25.0), 30.0, 30.0*0.43, 15, 15, "images/bloboats.png" ); | ^~~~~~~~~~~~~~~~~~~~~ src/menu.cpp:99:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 99 | if (! Path->copydir( Path->data("defaults/private"), Path->privdir, 0) ) { | ^~~~~~~~~~~~~~~~~~ src/menu.cpp:111:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 111 | FILE *fp = fopen( Path->priv("players.dat") , "r"); | ^~~~~~~~~~~~~ src/menu.cpp:131:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 131 | Player[i].setnick(""); | ^~ src/menu.cpp:137:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 137 | Player[i].setnick(""); | ^~ src/menu.cpp:207:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 207 | menutext item[6]={ menutext("PLAY GAME"), menutext("SELECT PLAYER"), menutext("VIEW RECORDS"), menutext("SCOREBOARD"), | ^~~~~~~~~~~ src/menu.cpp:207:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 207 | menutext item[6]={ menutext("PLAY GAME"), menutext("SELECT PLAYER"), menutext("VIEW RECORDS"), menutext("SCOREBOARD"), | ^~~~~~~~~~~~~~~ src/menu.cpp:207:87: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 207 | menutext item[6]={ menutext("PLAY GAME"), menutext("SELECT PLAYER"), menutext("VIEW RECORDS"), menutext("SCOREBOARD"), | ^~~~~~~~~~~~~~ src/menu.cpp:207:113: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 207 | menutext item[6]={ menutext("PLAY GAME"), menutext("SELECT PLAYER"), menutext("VIEW RECORDS"), menutext("SCOREBOARD"), | ^~~~~~~~~~~~ src/menu.cpp:208:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 208 | menutext("OPTIONS"),menutext("QUIT") }; | ^~~~~~~~~ src/menu.cpp:208:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 208 | menutext("OPTIONS"),menutext("QUIT") }; | ^~~~~~ src/menu.cpp: In member function 'void menu::options()': src/menu.cpp:366:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 366 | menutext item[items]={ menutext("*OPTIONS"), menutext("RESOLUTION"), menutext("SHOW GHOST"), | ^~~~~~~~~~ src/menu.cpp:366:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 366 | menutext item[items]={ menutext("*OPTIONS"), menutext("RESOLUTION"), menutext("SHOW GHOST"), | ^~~~~~~~~~~~ src/menu.cpp:366:87: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 366 | menutext item[items]={ menutext("*OPTIONS"), menutext("RESOLUTION"), menutext("SHOW GHOST"), | ^~~~~~~~~~~~ src/menu.cpp:367:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 367 | menutext("DECORATION"), menutext("CONTROLS"), menutext("SOUND OPTIONS"),/* menutext("UPLOAD SCORES"), */menutext("BACK") }; | ^~~~~~~~~~~~ src/menu.cpp:367:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 367 | menutext("DECORATION"), menutext("CONTROLS"), menutext("SOUND OPTIONS"),/* menutext("UPLOAD SCORES"), */menutext("BACK") }; | ^~~~~~~~~~ src/menu.cpp:367:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 367 | menutext("DECORATION"), menutext("CONTROLS"), menutext("SOUND OPTIONS"),/* menutext("UPLOAD SCORES"), */menutext("BACK") }; | ^~~~~~~~~~~~~~~ src/menu.cpp:367:130: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 367 | menutext("DECORATION"), menutext("CONTROLS"), menutext("SOUND OPTIONS"),/* menutext("UPLOAD SCORES"), */menutext("BACK") }; | ^~~~~~ src/menu.cpp:420:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 420 | s = state("*SHOW GHOST?", Config.showghost); | ^~~~~~~~~~~~~~ src/menu.cpp: In member function 'bool menu::quit(bool)': src/menu.cpp:491:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 491 | menutext item[3]={ menutext("*QUIT?"), menutext("YES"), menutext("NO") }; | ^~~~~~~~ src/menu.cpp:491:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 491 | menutext item[3]={ menutext("*QUIT?"), menutext("YES"), menutext("NO") }; | ^~~~~ src/menu.cpp:491:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 491 | menutext item[3]={ menutext("*QUIT?"), menutext("YES"), menutext("NO") }; | ^~~~ src/menu.cpp: In member function 'int menu::state(char*, int)': src/menu.cpp:588:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 588 | menutext item[3]={ menutext(text), menutext("YES"), menutext("NO") }; | ^~~~~ src/menu.cpp:588:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 588 | menutext item[3]={ menutext(text), menutext("YES"), menutext("NO") }; | ^~~~ src/menu.cpp: In member function 'void menu::playgame()': src/menu.cpp:690:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 690 | item[0].settext("*SELECT LEVEL"); | ^~~~~~~~~~~~~~~ src/menu.cpp:696:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 696 | item[levelcount+1].settext("BACK"); | ^~~~~~ src/menu.cpp: In member function 'void menu::simulate(Uint32, char*)': src/menu.cpp:1060:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1060 | recfile = fopen( Path->priv("records/last.brc"), "wb"); | ^~~~~~~~~~~~~~~~~~ src/menu.cpp:1073:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1073 | sprintf (tpath, "%s%d%s", Path->data("levels/meri"), level, ".tdt"); | ^~~~~~~~~~~~~ src/menu.cpp:1298:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1298 | copylevel( Path->priv("records/last.brc"), ghostpath); | ^~~~~~~~~~~~~~~~~~ src/menu.cpp: In member function 'void menu::levelstats(Uint32)': src/menu.cpp:1321:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1321 | menutext item[items]={ menutext( title ), menutext("PLAY"), menutext("PLAY NEXT"), | ^~~~~~ src/menu.cpp:1321:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1321 | menutext item[items]={ menutext( title ), menutext("PLAY"), menutext("PLAY NEXT"), | ^~~~~~~~~~~ src/menu.cpp:1322:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1322 | menutext("REPLAY LAST"), menutext("SAVE REPLAY"), menutext("SCOREBOARD"), | ^~~~~~~~~~~~~ src/menu.cpp:1322:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1322 | menutext("REPLAY LAST"), menutext("SAVE REPLAY"), menutext("SCOREBOARD"), | ^~~~~~~~~~~~~ src/menu.cpp:1322:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1322 | menutext("REPLAY LAST"), menutext("SAVE REPLAY"), menutext("SCOREBOARD"), | ^~~~~~~~~~~~ src/menu.cpp:1323:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1323 | menutext("BACK") }; | ^~~~~~ src/menu.cpp: In member function 'void menu::resolution()': src/menu.cpp:1570:18: error: ordered comparison of pointer with integer zero ('SDL_Rect**' and 'int') 1570 | if(modes > 0) { | ~~~~~~^~~ src/menu.cpp:1587:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1587 | item.push_back(menutext("*RESOLUTION:")); | ^~~~~~~~~~~~~~ src/menu.cpp:1591:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1591 | item.push_back(menutext("")); | ^~ src/menu.cpp:1592:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1592 | item.push_back("BACK"); | ^~~~~~ src/menu.cpp:1689:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1689 | if (Config.fullscreen) item[items-2].settext("WINDOWED"); | ^~~~~~~~~~ src/menu.cpp:1690:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1690 | else item[items-2].settext("FULLSCREEN"); | ^~~~~~~~~~~~ src/menu.cpp: In member function 'void menu::decoration()': src/menu.cpp:1710:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1710 | menutext("*DECORATION?"), | ^~~~~~~~~~~~~~ src/menu.cpp:1711:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1711 | menutext("YES"), | ^~~~~ src/menu.cpp:1712:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1712 | menutext("NO"), | ^~~~ src/menu.cpp:1713:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1713 | menutext("NEGATIVE") }; | ^~~~~~~~~~ src/menu.cpp: In member function 'void menu::showghost()': src/menu.cpp:1804:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1804 | menutext("*SHOW GHOST?"), | ^~~~~~~~~~~~~~ src/menu.cpp:1805:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1805 | menutext("YES"), | ^~~~~ src/menu.cpp:1806:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1806 | menutext("NO") }; | ^~~~ src/menu.cpp: In member function 'bool menu::selectplayer()': src/menu.cpp:1896:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1896 | item[0].settext("*SELECT PLAYER:"); | ^~~~~~~~~~~~~~~~~ src/menu.cpp:1899:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1899 | else item[i+1].settext("ENTER NAME"); | ^~~~~~~~~~~~ src/menu.cpp:1901:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1901 | item[7].settext("BACK"); | ^~~~~~ src/menu.cpp:1981:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1981 | item[selection].settext("ENTER NAME"); | ^~~~~~~~~~~~ src/menu.cpp: In member function 'bool menu::entername(int)': src/menu.cpp:2027:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2027 | item[0].settext("*ENTER NAME:"); | ^~~~~~~~~~~~~~ src/menu.cpp:2028:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2028 | item[1].settext(""); | ^~ src/menu.cpp: In member function 'bool menu::eraseplayer(int)': src/menu.cpp:2156:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2156 | menutext(""), | ^~ src/menu.cpp:2157:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2157 | menutext("YES"), | ^~~~~ src/menu.cpp:2158:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2158 | menutext("NO") }; | ^~~~ src/menu.cpp: In member function 'void menu::scoreboard(Uint32)': src/menu.cpp:2307:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2307 | menutext item[2]={menutext( (char*)levelname[level].c_str() ), menutext("BACK") }; | ^~~~~~ src/menu.cpp: In member function 'bool menu::saverecord(Uint32)': src/menu.cpp:2435:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2435 | item[0].settext("*FILE NAME:"); | ^~~~~~~~~~~~~ src/menu.cpp:2436:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2436 | item[1].settext(""); | ^~ src/menu.cpp:2499:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2499 | sprintf (to, Path->priv("records/%s.brc"), path); | ^~~~~~~~~~~~~~~~ src/menu.cpp:2503:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2503 | ok = state("*OVERWRITE?", 1); | ^~~~~~~~~~~~~ src/menu.cpp:2506:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2506 | copylevel( Path->priv("records/last.brc"), to); | ^~~~~~~~~~~~~~~~~~ src/menu.cpp: In member function 'void menu::loadrecord()': src/menu.cpp:2550:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2550 | item[0].settext("*FILE NAME:"); | ^~~~~~~~~~~~~ src/menu.cpp:2551:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2551 | item[1].settext(""); | ^~ src/menu.cpp: In member function 'void menu::savetimes_player()': src/menu.cpp:2659:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2659 | FILE *fp = fopen( Path->priv("players.dat"), "w"); | ^~~~~~~~~~~~~ src/menu.cpp: In member function 'void menu::savetimes_public()': src/menu.cpp:2697:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2697 | FILE *fp = fopen( Path->priv("levels.dat"), "w"); | ^~~~~~~~~~~~ src/menu.cpp:2711:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2711 | fprintf (stderr, "Couldn't save \"%s\"\n", Path->priv("levels.dat") ); | ^~~~~~~~~~~~ src/menu.cpp: In member function 'void menu::allhigh()': src/menu.cpp:2725:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2725 | item[0].settext("*SCOREBOARD"); | ^~~~~~~~~~~~~ src/menu.cpp:2751:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2751 | item[levelcount+1].settext("BACK"); | ^~~~~~ src/menu.cpp: In member function 'void menu::viewrecordlist()': src/menu.cpp:2935:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2935 | item.push_back( menutext("*SELECT RECORD") ); | ^~~~~~~~~~~~~~~~ src/menu.cpp:2939:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2939 | DIR *dir = opendir( Path->priv("records/") ); | ^~~~~~~~~~ src/menu.cpp:2957:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2957 | if (compat::Str_CheckLastChars(p->d_name, ".brc")) { | ^~~~~~ src/menu.cpp:2978:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2978 | item.push_back(menutext("BACK")); | ^~~~~~ src/menu.cpp:3081:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3081 | int i = state("*DELETE RECORD?", 0); | ^~~~~~~~~~~~~~~~~ src/menu.cpp: In member function 'void menu::drawcanvas()': src/menu.cpp:3248:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3248 | Font.WriteString("-", Window.width - 40, 10.0, 30); | ^~~ src/menu.cpp:3249:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3249 | Font.WriteString("-", Window.width - 40, 40.0, 30); | ^~~ src/menu.cpp: In member function 'void menu::loadtimes_public()': src/menu.cpp:3267:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3267 | FILE *fp = fopen(Path->priv("levels.dat"), "r"); | ^~~~~~~~~~~~ src/menu.cpp:3270:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3270 | string origpath = Path->data("defaults/private/levels.dat"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/menu.cpp:3271:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3271 | string newpath = Path->priv("levels.dat"); | ^~~~~~~~~~~~ src/menu.cpp:3278:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3278 | fp = fopen(Path->priv("levels.dat"), "r"); | ^~~~~~~~~~~~ src/menu.cpp:3309:109: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3309 | fprintf (stderr, "Error in \"%s\". Critical!\n", Path->priv("levels.dat") ); | ^~~~~~~~~~~~ src/menu.cpp: In member function 'void menu::controls()': src/menu.cpp:3332:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3332 | menutext item[items]={ menutext("*CONTROLS"), menutext("THRUST"), menutext("REVERSE"), | ^~~~~~~~~~~ src/menu.cpp:3332:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3332 | menutext item[items]={ menutext("*CONTROLS"), menutext("THRUST"), menutext("REVERSE"), | ^~~~~~~~ src/menu.cpp:3332:84: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3332 | menutext item[items]={ menutext("*CONTROLS"), menutext("THRUST"), menutext("REVERSE"), | ^~~~~~~~~ src/menu.cpp:3333:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3333 | menutext("C-CWISE"), menutext("CWISE"), menutext("JUMP"), menutext("TURN"), | ^~~~~~~~~ src/menu.cpp:3333:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3333 | menutext("C-CWISE"), menutext("CWISE"), menutext("JUMP"), menutext("TURN"), | ^~~~~~~ src/menu.cpp:3333:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3333 | menutext("C-CWISE"), menutext("CWISE"), menutext("JUMP"), menutext("TURN"), | ^~~~~~ src/menu.cpp:3333:84: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3333 | menutext("C-CWISE"), menutext("CWISE"), menutext("JUMP"), menutext("TURN"), | ^~~~~~ src/menu.cpp:3334:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3334 | menutext("ZOOM IN"), menutext("ZOOM OUT"), menutext("PAUSE"), menutext("BACK") }; | ^~~~~~~~~ src/menu.cpp:3334:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3334 | menutext("ZOOM IN"), menutext("ZOOM OUT"), menutext("PAUSE"), menutext("BACK") }; | ^~~~~~~~~~ src/menu.cpp:3334:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3334 | menutext("ZOOM IN"), menutext("ZOOM OUT"), menutext("PAUSE"), menutext("BACK") }; | ^~~~~~~ src/menu.cpp:3334:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3334 | menutext("ZOOM IN"), menutext("ZOOM OUT"), menutext("PAUSE"), menutext("BACK") }; | ^~~~~~ src/menu.cpp:3378:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3378 | setkey( KEY_THRUST, "*THRUST KEY?" ); | ^~~~~~~~~~~~~~ src/menu.cpp:3381:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3381 | setkey( KEY_REVERSE, "*REVERSE KEY?" ); | ^~~~~~~~~~~~~~~ src/menu.cpp:3384:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3384 | setkey( KEY_CCW, "*C-CWISE KEY?" ); | ^~~~~~~~~~~~~~~ src/menu.cpp:3387:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3387 | setkey( KEY_CW, "*CWISE KEY?" ); | ^~~~~~~~~~~~~ src/menu.cpp:3390:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3390 | setkey( KEY_JUMP, "*JUMP KEY?" ); | ^~~~~~~~~~~~ src/menu.cpp:3393:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3393 | setkey( KEY_TURN, "*TURN KEY?" ); | ^~~~~~~~~~~~ src/menu.cpp:3396:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3396 | setkey( KEY_ZOOMIN, "*ZOOM IN KEY?" ); | ^~~~~~~~~~~~~~~ src/menu.cpp:3399:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3399 | setkey( KEY_ZOOMOUT, "*ZOOM OUT KEY?" ); | ^~~~~~~~~~~~~~~~ src/menu.cpp:3402:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3402 | setkey( KEY_PAUSE, "*PAUSE KEY?" ); | ^~~~~~~~~~~~~ src/menu.cpp: In member function 'void menu::soundoptions()': src/menu.cpp:3623:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3623 | menutext item[items]={ menutext("*SOUND OPTIONS:"), menutext(""), menutext(""), menutext("BACK") }; | ^~~~~~~~~~~~~~~~~ src/menu.cpp:3623:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3623 | menutext item[items]={ menutext("*SOUND OPTIONS:"), menutext(""), menutext(""), menutext("BACK") }; | ^~ src/menu.cpp:3623:84: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3623 | menutext item[items]={ menutext("*SOUND OPTIONS:"), menutext(""), menutext(""), menutext("BACK") }; | ^~ src/menu.cpp:3623:98: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3623 | menutext item[items]={ menutext("*SOUND OPTIONS:"), menutext(""), menutext(""), menutext("BACK") }; | ^~~~~~ make: *** [: src/menu.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: *** Waiting for unfinished jobs.... make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/graphics.o src/graphics.cpp In file included from src/graphics.h:28, from src/graphics.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from src/graphics.h:28, from src/graphics.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/handler.o src/handler.cpp make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/menutext.o src/menutext.cpp In file included from src/window.h:24, from src/menutext.h:39, from src/menutext.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from src/window.h:24, from src/menutext.h:39, from src/menutext.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/water.o src/water.cpp make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/connection.o src/connection.cpp make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/models/paatti.o src/models/paatti.cpp In file included from src/models/../graphics.h:28, from src/models/../model.h:27, from src/models/paatti.h:23, from src/models/paatti.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from src/models/../graphics.h:28, from src/models/../model.h:27, from src/models/paatti.h:23, from src/models/paatti.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | src/models/paatti.cpp: In constructor 'paatti::paatti(double, double, double, double, char*)': src/models/paatti.cpp:53:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 53 | if (!loadmodel( "models/paatti.mdl" , cx, cy, angle, scale, hardness, -400.0) ) { | ^~~~~~~~~~~~~~~~~~~ src/models/paatti.cpp:54:87: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 54 | fprintf (stderr, "Couldn't interpret \"%s\"! Critical!\n", Path->data("models/paatti.mdl") ); | ^~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/text.o src/text.cpp make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/path.o src/path.cpp make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/models/canvas.o src/models/canvas.cpp In file included from src/models/../graphics.h:28, from src/models/../model.h:27, from src/models/canvas.h:24, from src/models/canvas.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from src/models/../graphics.h:28, from src/models/../model.h:27, from src/models/canvas.h:24, from src/models/canvas.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/models/hirvio.o src/models/hirvio.cpp In file included from src/models/../graphics.h:28, from src/models/../model.h:27, from src/models/hirvio.h:23, from src/models/hirvio.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from src/models/../graphics.h:28, from src/models/../model.h:27, from src/models/hirvio.h:23, from src/models/hirvio.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | src/models/hirvio.cpp: In constructor 'hirvio::hirvio(double, double, double, double, char*)': src/models/hirvio.cpp:56:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 56 | if (!loadmodel( "models/hirvio.mdl" , cx, cy, angle, scale, hardness, -40.0) ) { | ^~~~~~~~~~~~~~~~~~~ src/models/hirvio.cpp:57:87: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 57 | fprintf (stderr, "Couldn't interpret \"%s\"! Critical!\n", Path->data("models/hirvio.mdl") ); | ^~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/models/invader.o src/models/invader.cpp In file included from src/models/../graphics.h:28, from src/models/../model.h:27, from src/models/invader.h:23, from src/models/invader.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from src/models/../graphics.h:28, from src/models/../model.h:27, from src/models/invader.h:23, from src/models/invader.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | src/models/invader.cpp: In constructor 'invader::invader(double, double, double, double, char*)': src/models/invader.cpp:42:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 42 | if (!loadmodel( "models/invader.mdl" , cx, cy, 0.0, 0.6, hardness, -40.0) ) { | ^~~~~~~~~~~~~~~~~~~~ src/models/invader.cpp:43:87: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 43 | fprintf (stderr, "Couldn't interpret \"%s\"! Critical!\n", Path->data("models/invader.mdl") ); | ^~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/models/broken.o src/models/broken.cpp In file included from src/models/../graphics.h:28, from src/models/../model.h:27, from src/models/broken.h:23, from src/models/broken.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from src/models/../graphics.h:28, from src/models/../model.h:27, from src/models/broken.h:23, from src/models/broken.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | src/models/broken.cpp: In constructor 'broken::broken(model*)': src/models/broken.cpp:105:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 105 | if (!loadmodel( "models/broken.mdl" , 0.0, 0.0, 0.0, 1.0, 100.0, -400.0) ) { | ^~~~~~~~~~~~~~~~~~~ src/models/broken.cpp:106:87: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 106 | fprintf (stderr, "Couldn't interpret \"%s\"! Critical!\n", Path->data("models/broken.mdl") ); | ^~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/game.o src/game.cpp In file included from src/game.h:24, from src/game.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from src/game.h:24, from src/game.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/models/boulder.o src/models/boulder.cpp In file included from src/models/../graphics.h:28, from src/models/../model.h:27, from src/models/boulder.h:23, from src/models/boulder.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from src/models/../graphics.h:28, from src/models/../model.h:27, from src/models/boulder.h:23, from src/models/boulder.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | src/models/boulder.cpp: In constructor 'boulder::boulder(double, double, double, double, char*)': src/models/boulder.cpp:50:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 50 | if (!loadmodel( "models/boulder.mdl" , cx, cy, angle, scale, hardness, -40.0) ) { | ^~~~~~~~~~~~~~~~~~~~ src/models/boulder.cpp:51:87: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 51 | fprintf (stderr, "Couldn't interpret \"%s\"! Critical!\n", Path->data("models/boulder.mdl") ); | ^~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/models/tux.o src/models/tux.cpp In file included from src/models/../graphics.h:28, from src/models/../model.h:27, from src/models/tux.h:23, from src/models/tux.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from src/models/../graphics.h:28, from src/models/../model.h:27, from src/models/tux.h:23, from src/models/tux.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190805 | src/models/tux.cpp: In constructor 'tux::tux(double, double, double, double, char*)': src/models/tux.cpp:44:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 44 | if (!loadmodel( "models/tux.mdl" , cx, cy, angle, scale, hardness, -40.0) ) { | ^~~~~~~~~~~~~~~~ src/models/tux.cpp:45:87: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 45 | fprintf (stderr, "Couldn't interpret \"%s\"! Critical!\n", Path->data("models/tux.mdl") ); | ^~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' error: Bad exit status from /usr/src/tmp/rpm-tmp.11359 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.11359 (%build) Command exited with non-zero status 1 13.53user 1.41system 0:01.72elapsed 866%CPU (0avgtext+0avgdata 126168maxresident)k 0inputs+0outputs (0major+506088minor)pagefaults 0swaps hsh-rebuild: rebuild of `bloboats-1.0.2-alt3.src.rpm' failed. Command exited with non-zero status 1 18.47user 3.70system 0:08.38elapsed 264%CPU (0avgtext+0avgdata 126168maxresident)k 13880inputs+0outputs (30454major+724731minor)pagefaults 0swaps