Diff of the two buildlogs: -- --- b1/build.log 2023-04-20 08:49:55.052657912 +0000 +++ b2/build.log 2023-04-20 08:51:12.405226126 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Apr 19 20:47:37 -12 2023 -I: pbuilder-time-stamp: 1681980457 +I: Current time: Thu May 23 05:12:58 +14 2024 +I: pbuilder-time-stamp: 1716390778 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./bloboats_1.0.2+dfsg.orig.tar.xz] I: copying [./bloboats_1.0.2+dfsg-4.debian.tar.xz] I: Extracting source -gpgv: Signature made Mon Sep 6 02:00:54 2021 -12 +gpgv: Signature made Tue Sep 7 04:00:54 2021 +14 gpgv: using RSA key 3E99A526F5DCC0CBBF1CEEA600BAE74B343369F1 gpgv: issuer "npatra974@gmail.com" gpgv: Can't check signature: No public key @@ -34,52 +34,84 @@ dpkg-source: info: applying gcc11.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/19790/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/15129/tmp/hooks/D01_modify_environment starting +debug: Running on codethink9-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 23 05:13 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/15129/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/15129/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='19790' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=15129 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.uJzfQHUe/pbuilderrc_gxeA --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.uJzfQHUe/b1 --logfile b1/build.log bloboats_1.0.2+dfsg-4.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.uJzfQHUe/pbuilderrc_blW0 --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.uJzfQHUe/b2 --logfile b2/build.log --extrapackages usrmerge bloboats_1.0.2+dfsg-4.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink12-arm64 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 17 22:25 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/19790/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 21 06:48 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/15129/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -278,7 +310,7 @@ Get: 157 http://deb.debian.org/debian bookworm/main arm64 libsdl-image1.2-dev arm64 1.2.12-13+b2 [36.8 kB] Get: 158 http://deb.debian.org/debian bookworm/main arm64 libsdl-net1.2 arm64 1.2.8-6+b1 [15.6 kB] Get: 159 http://deb.debian.org/debian bookworm/main arm64 libsdl-net1.2-dev arm64 1.2.8-6+b1 [26.5 kB] -Fetched 79.2 MB in 4s (20.4 MB/s) +Fetched 79.2 MB in 4s (19.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:arm64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19616 files and directories currently installed.) @@ -934,10 +966,15 @@ Reading package lists... Building dependency tree... Reading state information... +usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/bloboats-1.0.2+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../bloboats_1.0.2+dfsg-4_source.changes +I: user script /srv/workspace/pbuilder/15129/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/15129/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/bloboats-1.0.2+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../bloboats_1.0.2+dfsg-4_source.changes dpkg-buildpackage: info: source package bloboats dpkg-buildpackage: info: source version 1.0.2+dfsg-4 dpkg-buildpackage: info: source distribution unstable @@ -967,22 +1004,29 @@ make -j8 DATADIR=/usr/share/games/bloboats make[2]: Entering directory '/build/bloboats-1.0.2+dfsg' echo "datadir /usr/share/games/bloboats" >bloboats.dirs -echo "privatedir ~/.bloboats" >>bloboats.dirs g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/main.o src/main.cpp -chmod 644 bloboats.dirs -echo "#define DEFAULT_CONFIGFILE \"//etc/bloboats.dirs\"" >src/compiling_settings.h -echo "#define SOUND 0" >> src/compiling_settings.h -echo "#define MUSIC 1" >> src/compiling_settings.h -echo "#define DEBUG 0" >> src/compiling_settings.h -touch config-stamp g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/vec.o src/vec.cpp g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/particle.o src/particle.cpp +echo "privatedir ~/.bloboats" >>bloboats.dirs g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/keyboard.o src/keyboard.cpp g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/window.o src/window.cpp g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/mouse.o src/mouse.cpp +chmod 644 bloboats.dirs g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/graphics.o src/graphics.cpp +echo "#define DEFAULT_CONFIGFILE \"//etc/bloboats.dirs\"" >src/compiling_settings.h +echo "#define SOUND 0" >> src/compiling_settings.h +echo "#define MUSIC 1" >> src/compiling_settings.h +echo "#define DEBUG 0" >> src/compiling_settings.h +touch config-stamp g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/wall.o src/wall.cpp -In file included from src/main.cpp:21: +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 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 | @@ -991,19 +1035,17 @@ /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | -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: /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | -In file included from src/window.h:24, - from src/keyboard.h:26, - from src/keyboard.cpp:20: +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 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 | @@ -1012,20 +1054,13 @@ /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | -g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -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: /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | -In file included from src/graphics.h:28, - from src/graphics.cpp:20: +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 | @@ -1034,8 +1069,9 @@ /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | -In file included from src/window.h:24, - from src/window.cpp:20: +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 | @@ -1044,9 +1080,10 @@ /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | -In file included from src/wall.h:24, - from src/particle.h:24, - from src/particle.cpp:20: +g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -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 | @@ -1063,17 +1100,6 @@ | char* vec* g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/model.o src/model.cpp g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/font.o src/font.cpp -g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/compat.o src/compat.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: -/usr/include/GL/glext.h:35: note: this is the location of the previous definition - 35 | #define GL_GLEXT_VERSION 20220530 - | In file included from src/graphics.h:28, from src/model.h:27, from src/model.cpp:20: @@ -1085,9 +1111,8 @@ /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | -g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/level.o src/level.cpp -In file included from src/level.h:24, - from src/level.cpp:20: +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 | @@ -1096,8 +1121,19 @@ /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | +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"); + | ^~~~~~~~~~ +g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/compat.o src/compat.cpp +g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/level.o src/level.cpp g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/model_tex.o src/model_tex.cpp -g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/game.o src/game.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 @@ -1108,8 +1144,8 @@ /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | -In file included from src/game.h:24, - from src/game.cpp:20: +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 | @@ -1118,11 +1154,19 @@ /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | +g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/game.o src/game.cpp g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/menu.o src/menu.cpp g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/menutext.o src/menutext.cpp +g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/config.o src/config.cpp +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") ); + | ^~~~~~~~~~~~~~~~~ In file included from src/game.h:24, - from src/menu.h:24, - from src/menu.cpp:20: + from src/game.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | @@ -1131,9 +1175,9 @@ /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | -In file included from src/window.h:24, - from src/menutext.h:39, - from src/menutext.cpp:20: +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 | @@ -1142,25 +1186,6 @@ /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | -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") ); - | ^~~~~~~~~~~~~~~~~ -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"); - | ^~~~~~~~~~ -g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/config.o src/config.cpp -g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/player.o src/player.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"); @@ -1173,8 +1198,96 @@ 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); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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: +/usr/include/GL/glext.h:35: note: this is the location of the previous definition + 35 | #define GL_GLEXT_VERSION 20220530 + | +g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/player.o src/player.cpp g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/models/paatti.o src/models/paatti.cpp g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/models/canvas.o src/models/canvas.cpp +g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/sound.o src/sound.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: +/usr/include/GL/glext.h:35: note: this is the location of the previous definition + 35 | #define GL_GLEXT_VERSION 20220530 + | +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: +/usr/include/GL/glext.h:35: note: this is the location of the previous definition + 35 | #define GL_GLEXT_VERSION 20220530 + | +g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -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") ); + | ^~~~~~~~~~~~~~~~~~~ +g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/path.o src/path.cpp +g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/text.o src/text.cpp +g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/models/hirvio.o src/models/hirvio.cpp +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") ); + | ^~~~~~~~~~~~~~~~~~~ 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" ); @@ -1209,7 +1322,6 @@ src/menu.cpp:208:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 208 | menutext("OPTIONS"),menutext("QUIT") }; | ^~~~~~ -g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/sound.o src/sound.cpp 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"), @@ -1259,7 +1371,6 @@ src/menu.cpp:696:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 696 | item[levelcount+1].settext("BACK"); | ^~~~~~ -g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/media.o src/media.cpp 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"); @@ -1338,13 +1449,10 @@ 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"); - | ^~~~~~~~~~~~ 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: + 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 | @@ -1353,6 +1461,9 @@ /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | +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:"); @@ -1370,7 +1481,6 @@ src/menu.cpp:2158:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2158 | menutext("NO") }; | ^~~~ -g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/path.o src/path.cpp 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") }; @@ -1382,18 +1492,6 @@ src/menu.cpp:2436:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2436 | item[1].settext(""); | ^~ -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: -/usr/include/GL/glext.h:35: note: this is the location of the previous definition - 35 | #define GL_GLEXT_VERSION 20220530 - | 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); | ^~~~~~~~~~~~~~~~ @@ -1428,46 +1526,6 @@ src/menu.cpp:2751:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2751 | item[levelcount+1].settext("BACK"); | ^~~~~~ -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") ); - | ^~~~~~~~~~~~~~~~~~~ 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") ); @@ -1581,12 +1639,12 @@ 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") }; | ^~~~~~ -g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/text.o src/text.cpp -g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/models/hirvio.o src/models/hirvio.cpp +g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/models/invader.o src/models/invader.cpp +g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/water.o src/water.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: + 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 | @@ -1595,18 +1653,11 @@ /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | -g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/models/invader.o src/models/invader.cpp -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") ); - | ^~~~~~~~~~~~~~~~~~~ +g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -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/invader.h:23, - from src/models/invader.cpp:20: + 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 | @@ -1615,7 +1666,8 @@ /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | -g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/water.o src/water.cpp +g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/models/boulder.o src/models/boulder.cpp +g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/element.o src/element.cpp 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) ) { @@ -1627,28 +1679,7 @@ src/models/hirvio.cpp:262:1: warning: no return statement in function returning non-void [-Wreturn-type] 262 | } | ^ -g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -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: -/usr/include/GL/glext.h:35: note: this is the location of the previous definition - 35 | #define GL_GLEXT_VERSION 20220530 - | -g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/models/boulder.o src/models/boulder.cpp -g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/element.o src/element.cpp -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") ); - | ^~~~~~~~~~~~~~~~~~~~ +g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -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/boulder.h:23, @@ -1661,7 +1692,6 @@ /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | -g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/models/tux.o src/models/tux.cpp g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/connection.o src/connection.cpp In file included from src/models/../graphics.h:28, from src/models/../model.h:27, @@ -1678,6 +1708,13 @@ g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/condition.o src/condition.cpp g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/handler.o src/handler.cpp g++ -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/texfile.o src/texfile.cpp +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") ); + | ^~~~~~~~~~~~~~~~~~~~ In file included from src/texfile.h:24, from src/texfile.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined @@ -1695,13 +1732,6 @@ 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") ); | ^~~~~~~~~~~~~~~~~~~ -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") ); - | ^~~~~~~~~~~~~~~~ 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) ) { @@ -1709,6 +1739,13 @@ 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") ); | ^~~~~~~~~~~~~~~~~~~~ +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") ); + | ^~~~~~~~~~~~~~~~ mkdir -p bin g++ -Wl,-z,relro src/main.o src/vec.o src/particle.o src/keyboard.o src/window.o src/mouse.o src/graphics.o src/wall.o src/spring.o src/model.o src/font.o src/compat.o src/level.o src/model_tex.o src/game.o src/menu.o src/menutext.o src/config.o src/player.o src/models/paatti.o src/models/canvas.o src/sound.o src/media.o src/path.o src/text.o src/models/hirvio.o src/models/invader.o src/water.o src/models/broken.o src/models/boulder.o src/element.o src/models/tux.o src/connection.o src/condition.o src/handler.o src/texfile.o `sdl-config --libs` -lSDL_image -lGL -lGLU -g -O2 -ffile-prefix-map=/build/bloboats-1.0.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -g `sdl-config --cflags` -o bin/bloboats -O2 touch build-stamp @@ -1764,12 +1801,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/15129/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/15129/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/19790 and its subdirectories -I: Current time: Wed Apr 19 20:49:52 -12 2023 -I: pbuilder-time-stamp: 1681980592 +I: removing directory /srv/workspace/pbuilder/15129 and its subdirectories +I: Current time: Thu May 23 05:14:10 +14 2024 +I: pbuilder-time-stamp: 1716390850