Diff of the two buildlogs: -- --- b1/build.log 2024-05-23 10:43:59.976238506 +0000 +++ b2/build.log 2024-05-23 10:48:10.113608994 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed May 22 22:39:22 -12 2024 -I: pbuilder-time-stamp: 1716460762 +I: Current time: Fri May 24 00:44:16 +14 2024 +I: pbuilder-time-stamp: 1716461056 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -27,52 +27,84 @@ dpkg-source: info: applying hardening.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/22088/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/30173/tmp/hooks/D01_modify_environment starting +debug: Running on virt32a. +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 10:44 /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/30173/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/30173/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='armhf' + 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]="21" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='be2a719311c442f59b76a30ecc11027b' - 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='22088' - PS1='# ' - PS2='> ' + INVOCATION_ID=30ec7c38ad71427da1362f85e48f43cd + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=30173 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.2fGsgEkB/pbuilderrc_wIB5 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.2fGsgEkB/b1 --logfile b1/build.log gl-117_1.3.2-4.dsc' - SUDO_GID='110' - SUDO_UID='103' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.2fGsgEkB/pbuilderrc_OKYw --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.2fGsgEkB/b2 --logfile b2/build.log gl-117_1.3.2-4.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt64z 6.1.0-21-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-armmp-lpae #1 SMP Debian 6.1.90-1 (2024-05-03) armv7l GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 20 11:25 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/22088/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 22 11:25 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/30173/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -345,7 +377,7 @@ Get: 225 http://deb.debian.org/debian trixie/main armhf libsdl1.2-dev armhf 1.2.68-2 [64.4 kB] Get: 226 http://deb.debian.org/debian trixie/main armhf libvorbis-dev armhf 1.3.7-2 [312 kB] Get: 227 http://deb.debian.org/debian trixie/main armhf libsdl-mixer1.2-dev armhf 1.2.12-18 [89.8 kB] -Fetched 91.1 MB in 1s (62.5 MB/s) +Fetched 91.1 MB in 3s (35.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:armhf. (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 ... 19446 files and directories currently installed.) @@ -1073,8 +1105,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu May 23 10:41:16 UTC 2024. -Universal Time is now: Thu May 23 10:41:16 UTC 2024. +Local time is now: Thu May 23 10:46:10 UTC 2024. +Universal Time is now: Thu May 23 10:46:10 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libsysprof-capture-4-dev:armhf (46.0-1) ... @@ -1291,7 +1323,11 @@ fakeroot is already the newest version (1.33-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/gl-117-1.3.2/ && 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 > ../gl-117_1.3.2-4_source.changes +I: user script /srv/workspace/pbuilder/30173/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/30173/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/gl-117-1.3.2/ && 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 > ../gl-117_1.3.2-4_source.changes dpkg-buildpackage: info: source package gl-117 dpkg-buildpackage: info: source version 1.3.2-4 dpkg-buildpackage: info: source distribution unstable @@ -1414,7 +1450,7 @@ config.status: executing depfiles commands make[1]: Leaving directory '/build/reproducible-path/gl-117-1.3.2' dh_auto_build - make -j3 + make -j4 make[1]: Entering directory '/build/reproducible-path/gl-117-1.3.2' make all-recursive make[2]: Entering directory '/build/reproducible-path/gl-117-1.3.2' @@ -1423,6 +1459,22 @@ g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o main.o main.cpp g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o gl.o gl.cpp g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o model.o model.cpp +g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o 3ds.o 3ds.cpp +model.cpp: In member function 'void CModel::addMaterial(CMaterial*)': +model.cpp:573:32: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class CMaterial'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] + 573 | if (material != NULL) memcpy (this->material [numMaterials], material, sizeof (CMaterial)); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from model.cpp:32: +model.h:170:7: note: 'class CMaterial' declared here + 170 | class CMaterial + | ^~~~~~~~~ +model.cpp: In member function 'void CModel::addObject(CObject*)': +model.cpp:581:30: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class CObject'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] + 581 | if (object != NULL) memcpy (this->object [numObjects], object, sizeof (CObject)); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +model.h:188:7: note: 'class CObject' declared here + 188 | class CObject + | ^~~~~~~ In file included from effects.h:28, from aiobject.h:29, from main.h:41, @@ -1433,6 +1485,26 @@ effects.h:164:8: note: by 'void HighClouds::drawGL(CVector3*, CVector3*)' 164 | void drawGL (CVector3 *tl, CVector3 *textl); | ^~~~~~ +3ds.cpp: In constructor 'BinaryFile::BinaryFile(char*)': +3ds.cpp:59:9: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] + 59 | int tmp; + | ^~~ +3ds.cpp: In member function 'void CLoad3DS::ProcessNextChunk(CModel*, Chunk*)': +3ds.cpp:274:16: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class CObject'; use assignment or value-initialization instead [-Wclass-memaccess] + 274 | memset (&newObject, 0, sizeof (CObject)); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from 3ds.h:27, + from 3ds.cpp:32: +model.h:188:7: note: 'class CObject' declared here + 188 | class CObject + | ^~~~~~~ +3ds.cpp: In member function 'void CLoad3DS::ReadVertices(CObject*, Chunk*)': +3ds.cpp:516:10: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class CVertex'; use assignment or value-initialization instead [-Wclass-memaccess] + 516 | memset (object->vertex, 0, sizeof (CVertex) * object->numVertices); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +model.h:113:7: note: 'class CVertex' declared here + 113 | class CVertex + | ^~~~~~~ main.cpp: In function 'int game_levelInit()': main.cpp:669:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 669 | display ("Could not startup mission", LOG_ERROR); @@ -1441,21 +1513,6 @@ main.cpp:1188:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1188 | display ("Could not init mission", LOG_ERROR); | ^~~~~~~~~~~~~~~~~~~~~~~~ -model.cpp: In member function 'void CModel::addMaterial(CMaterial*)': -model.cpp:573:32: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class CMaterial'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] - 573 | if (material != NULL) memcpy (this->material [numMaterials], material, sizeof (CMaterial)); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from model.cpp:32: -model.h:170:7: note: 'class CMaterial' declared here - 170 | class CMaterial - | ^~~~~~~~~ -model.cpp: In member function 'void CModel::addObject(CObject*)': -model.cpp:581:30: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class CObject'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] - 581 | if (object != NULL) memcpy (this->object [numObjects], object, sizeof (CObject)); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -model.h:188:7: note: 'class CObject' declared here - 188 | class CObject - | ^~~~~~~ main.cpp: In function 'void drawQuads(CColor*)': main.cpp:1864:18: warning: variable 'yf' set but not used [-Wunused-but-set-variable] 1864 | float zf = -3, yf; @@ -2680,38 +2737,11 @@ main.cpp:7592:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7592 | display ("Entering SDL main loop (GLUT emulation)", LOG_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o audio.o audio.cpp main.cpp: At global scope: main.cpp:5153:13: warning: 'void myIdleFunc()' defined but not used [-Wunused-function] 5153 | static void myIdleFunc () | ^~~~~~~~~~ -g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o 3ds.o 3ds.cpp -main.cpp: In function 'void proceedFire()': -main.cpp:4762:17: warning: iteration 256 invokes undefined behavior [-Waggressive-loop-optimizations] - 4762 | int h = heat [yind] [i2]; - | ^ -main.cpp:4757:21: note: within this loop - 4757 | for (i2 = 0; i2 < maxfx + 1; i2 ++) - | ~~~^~~~~~~~~~~ -3ds.cpp: In constructor 'BinaryFile::BinaryFile(char*)': -3ds.cpp:59:9: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] - 59 | int tmp; - | ^~~ -3ds.cpp: In member function 'void CLoad3DS::ProcessNextChunk(CModel*, Chunk*)': -3ds.cpp:274:16: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class CObject'; use assignment or value-initialization instead [-Wclass-memaccess] - 274 | memset (&newObject, 0, sizeof (CObject)); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from 3ds.h:27, - from 3ds.cpp:32: -model.h:188:7: note: 'class CObject' declared here - 188 | class CObject - | ^~~~~~~ -3ds.cpp: In member function 'void CLoad3DS::ReadVertices(CObject*, Chunk*)': -3ds.cpp:516:10: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class CVertex'; use assignment or value-initialization instead [-Wclass-memaccess] - 516 | memset (object->vertex, 0, sizeof (CVertex) * object->numVertices); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -model.h:113:7: note: 'class CVertex' declared here - 113 | class CVertex - | ^~~~~~~ 3ds.cpp: In member function 'void CLoad3DS::ReadUVCoordinates(CObject*, Chunk*)': 3ds.cpp:506:10: warning: 'void operator delete(void*, unsigned int)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 506 | delete p; @@ -2726,34 +2756,6 @@ 3ds.cpp:518:50: note: returned from 'void* operator new [](unsigned int)' 518 | CVector3 *p = new CVector3 [object->numVertices]; | ^ -model.cpp: In member function 'void CSphere::init(float, int, float, float, float, int)': -model.cpp:1398:89: warning: 'p[1]' may be used uninitialized [-Wmaybe-uninitialized] - 1398 | co->quad [co->numQuads ++].setVertices (&co->vertex [p [0]], &co->vertex [p [1]], &co->vertex [p [2]], &co->vertex [p [3]]); - | ~~~~^ -model.cpp:1358:7: note: 'p[1]' was declared here - 1358 | int p [4]; - | ^ -model.cpp:1398:110: warning: 'p[2]' may be used uninitialized [-Wmaybe-uninitialized] - 1398 | co->quad [co->numQuads ++].setVertices (&co->vertex [p [0]], &co->vertex [p [1]], &co->vertex [p [2]], &co->vertex [p [3]]); - | ~~~~^ -model.cpp:1358:7: note: 'p[2]' was declared here - 1358 | int p [4]; - | ^ -model.cpp: In member function 'void CSpherePart::init(float, int, float)': -model.cpp:1532:100: warning: 'p[1]' may be used uninitialized [-Wmaybe-uninitialized] - 1532 | else co->triangle [co->numTriangles ++].setVertices (&co->vertex [p [0]], &co->vertex [p [1]], &co->vertex [p [3]]); - | ~~~~^ -model.cpp:1501:7: note: 'p[1]' was declared here - 1501 | int p [4]; - | ^ -model.cpp:1536:108: warning: 'p[2]' may be used uninitialized [-Wmaybe-uninitialized] - 1536 | co->quad [co->numQuads ++].setVertices (&co->vertex [p [0]], &co->vertex [p [1]], &co->vertex [p [2]], &co->vertex [p [3]]); - | ~~~~^ -model.cpp:1501:7: note: 'p[2]' was declared here - 1501 | int p [4]; - | ^ -g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o audio.o audio.cpp -g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o land.o land.cpp audio.cpp: In constructor 'SoundSystem::SoundSystem()': audio.cpp:229:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 229 | display ("Using SDL_mixer", LOG_MOST); @@ -2837,6 +2839,38 @@ audio.cpp:463:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 463 | music1 = Mix_LoadMUS (dirs->getMusic ("ambient.s3m")); | ^~~~~~~~~~~~~ +main.cpp: In function 'void proceedFire()': +main.cpp:4762:17: warning: iteration 256 invokes undefined behavior [-Waggressive-loop-optimizations] + 4762 | int h = heat [yind] [i2]; + | ^ +main.cpp:4757:21: note: within this loop + 4757 | for (i2 = 0; i2 < maxfx + 1; i2 ++) + | ~~~^~~~~~~~~~~ +g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o land.o land.cpp +g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o glland.o glland.cpp +model.cpp: In member function 'void CSphere::init(float, int, float, float, float, int)': +model.cpp:1398:89: warning: 'p[1]' may be used uninitialized [-Wmaybe-uninitialized] + 1398 | co->quad [co->numQuads ++].setVertices (&co->vertex [p [0]], &co->vertex [p [1]], &co->vertex [p [2]], &co->vertex [p [3]]); + | ~~~~^ +model.cpp:1358:7: note: 'p[1]' was declared here + 1358 | int p [4]; + | ^ +model.cpp:1398:110: warning: 'p[2]' may be used uninitialized [-Wmaybe-uninitialized] + 1398 | co->quad [co->numQuads ++].setVertices (&co->vertex [p [0]], &co->vertex [p [1]], &co->vertex [p [2]], &co->vertex [p [3]]); + | ~~~~^ +model.cpp:1358:7: note: 'p[2]' was declared here + 1358 | int p [4]; + | ^ +In file included from effects.h:28, + from aiobject.h:29, + from glland.h:30, + from glland.cpp:26: +object.h:58:16: warning: 'virtual void CSpaceObj::drawGL(CVector3*, CVector3*, CVector3*, float, float, bool, bool)' was hidden [-Woverloaded-virtual=] + 58 | virtual void drawGL (CVector3 *z1, CVector3 *z2, CVector3 *tl, float alpha2, float lum2, bool drawlight2, bool istextured2); + | ^~~~~~ +effects.h:164:8: note: by 'void HighClouds::drawGL(CVector3*, CVector3*)' + 164 | void drawGL (CVector3 *tl, CVector3 *textl); + | ^~~~~~ In file included from land.cpp:31: land.cpp: In member function 'void Landscape::convolveGauss(int, int, int)': land.cpp:95:39: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] @@ -2875,17 +2909,19 @@ land.cpp:1384:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1384 | if (isWoods (f [i - 1] [i2]) && isWoods (f [i + 1] [i2]) || | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o glland.o glland.cpp -In file included from effects.h:28, - from aiobject.h:29, - from glland.h:30, - from glland.cpp:26: -object.h:58:16: warning: 'virtual void CSpaceObj::drawGL(CVector3*, CVector3*, CVector3*, float, float, bool, bool)' was hidden [-Woverloaded-virtual=] - 58 | virtual void drawGL (CVector3 *z1, CVector3 *z2, CVector3 *tl, float alpha2, float lum2, bool drawlight2, bool istextured2); - | ^~~~~~ -effects.h:164:8: note: by 'void HighClouds::drawGL(CVector3*, CVector3*)' - 164 | void drawGL (CVector3 *tl, CVector3 *textl); - | ^~~~~~ +model.cpp: In member function 'void CSpherePart::init(float, int, float)': +model.cpp:1532:100: warning: 'p[1]' may be used uninitialized [-Wmaybe-uninitialized] + 1532 | else co->triangle [co->numTriangles ++].setVertices (&co->vertex [p [0]], &co->vertex [p [1]], &co->vertex [p [3]]); + | ~~~~^ +model.cpp:1501:7: note: 'p[1]' was declared here + 1501 | int p [4]; + | ^ +model.cpp:1536:108: warning: 'p[2]' may be used uninitialized [-Wmaybe-uninitialized] + 1536 | co->quad [co->numQuads ++].setVertices (&co->vertex [p [0]], &co->vertex [p [1]], &co->vertex [p [2]], &co->vertex [p [3]]); + | ~~~~^ +model.cpp:1501:7: note: 'p[2]' was declared here + 1501 | int p [4]; + | ^ In file included from glland.h:32: glland.cpp: In member function 'void GLLandscape::precalculate()': glland.cpp:299:28: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] @@ -3081,12 +3117,6 @@ 2741 | display ("Manoever: Height change", LOG_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~~~ g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o effects.o effects.cpp -g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o vertexarray.o vertexarray.cpp -vertexarray.cpp: In member function 'void VertexArray::reallocData()': -vertexarray.cpp:160:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 160 | display ("Out of memory", LOG_FATAL); - | ^~~~~~~~~~~~~~~ -g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o net.o net.cpp In file included from effects.h:28, from effects.cpp:29: object.h:58:16: warning: 'virtual void CSpaceObj::drawGL(CVector3*, CVector3*, CVector3*, float, float, bool, bool)' was hidden [-Woverloaded-virtual=] @@ -3095,19 +3125,14 @@ effects.h:164:8: note: by 'void HighClouds::drawGL(CVector3*, CVector3*)' 164 | void drawGL (CVector3 *tl, CVector3 *textl); | ^~~~~~ -In file included from effects.h:28, - from aiobject.h:29, - from main.h:41, - from net.cpp:27: -object.h:58:16: warning: 'virtual void CSpaceObj::drawGL(CVector3*, CVector3*, CVector3*, float, float, bool, bool)' was hidden [-Woverloaded-virtual=] - 58 | virtual void drawGL (CVector3 *z1, CVector3 *z2, CVector3 *tl, float alpha2, float lum2, bool drawlight2, bool istextured2); - | ^~~~~~ -effects.h:164:8: note: by 'void HighClouds::drawGL(CVector3*, CVector3*)' - 164 | void drawGL (CVector3 *tl, CVector3 *textl); - | ^~~~~~ +g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o vertexarray.o vertexarray.cpp +vertexarray.cpp: In member function 'void VertexArray::reallocData()': +vertexarray.cpp:160:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 160 | display ("Out of memory", LOG_FATAL); + | ^~~~~~~~~~~~~~~ +g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o net.o net.cpp g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o mathtab.o mathtab.cpp g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o dirs.o dirs.cpp -g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o objload.o objload.cpp dirs.cpp: In constructor 'Dirs::Dirs(char*)': dirs.cpp:141:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 141 | p = mystrtok (p, (int) (path + pathlen - p), ":"); @@ -3143,6 +3168,17 @@ dirs.cpp:131:12: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 131 | getcwd (cwd, 4096); // get current working directory | ~~~~~~~^~~~~~~~~~~ +In file included from effects.h:28, + from aiobject.h:29, + from main.h:41, + from net.cpp:27: +object.h:58:16: warning: 'virtual void CSpaceObj::drawGL(CVector3*, CVector3*, CVector3*, float, float, bool, bool)' was hidden [-Woverloaded-virtual=] + 58 | virtual void drawGL (CVector3 *z1, CVector3 *z2, CVector3 *tl, float alpha2, float lum2, bool drawlight2, bool istextured2); + | ^~~~~~ +effects.h:164:8: note: by 'void HighClouds::drawGL(CVector3*, CVector3*)' + 164 | void drawGL (CVector3 *tl, CVector3 *textl); + | ^~~~~~ +g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o objload.o objload.cpp g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o pilots.o pilots.cpp g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o loader_tga.o loader_tga.cpp loader_tga.cpp:42:1: warning: multi-line comment [-Wcomment] @@ -3393,13 +3429,12 @@ loader_tga.cpp:438:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 438 | display ("Out of memory", LOG_FATAL); | ^~~~~~~~~~~~~~~ +g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o object.o object.cpp +g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o conf.o conf.cpp objload.cpp: In constructor 'CFile::CFile(char*)': objload.cpp:48:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 48 | fread (&data [z], 4096, sizeof (char), in); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o object.o object.cpp -g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o conf.o conf.cpp -g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o mission.o mission.cpp conf.cpp: In member function 'int ConfigFile::getValue(char*)': conf.cpp:153:11: warning: the address of 'res' will never be NULL [-Waddress] 153 | if (res == NULL) return -1; @@ -3923,7 +3958,9 @@ conf.cpp:747:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 747 | str = cf->getString (ret, "joystick_decthrust"); | ^~~~~~~~~~~~~~~~~~~~ +g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o mission.o mission.cpp g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o cockpit.o cockpit.cpp +g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o common.o common.cpp In file included from effects.h:28, from aiobject.h:29, from mission.h:28, @@ -3934,6 +3971,16 @@ effects.h:164:8: note: by 'void HighClouds::drawGL(CVector3*, CVector3*)' 164 | void drawGL (CVector3 *tl, CVector3 *textl); | ^~~~~~ +common.cpp: In function 'void display(char*, int)': +common.cpp:47:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 47 | if ((display_out = fopen (dirs->getSaves ("logfile.txt"), "wt")) != NULL) + | ^~~~~~~~~~~~~ +common.cpp: In function 'void error_outofmemory()': +common.cpp:62:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 62 | display ("Out of memory", LOG_FATAL); + | ^~~~~~~~~~~~~~~ +g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o menu.o menu.cpp +g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o fileloader.o fileloader.cpp mission.cpp: In member function 'virtual void MissionTutorial1::draw()': mission.cpp:385:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 385 | font1->drawTextCentered (0, 7, -2.5, "LEAVE THE JOYSTICK CENTERED.", &textcolor); @@ -4118,6 +4165,16 @@ mission.cpp:554:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 554 | font1->drawTextCentered (0, 6, -2.5, "THIS TUTORIAL SUCCESSFULLY", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from effects.h:28, + from aiobject.h:29, + from main.h:41, + from cockpit.cpp:29: +object.h:58:16: warning: 'virtual void CSpaceObj::drawGL(CVector3*, CVector3*, CVector3*, float, float, bool, bool)' was hidden [-Woverloaded-virtual=] + 58 | virtual void drawGL (CVector3 *z1, CVector3 *z2, CVector3 *tl, float alpha2, float lum2, bool drawlight2, bool istextured2); + | ^~~~~~ +effects.h:164:8: note: by 'void HighClouds::drawGL(CVector3*, CVector3*)' + 164 | void drawGL (CVector3 *tl, CVector3 *textl); + | ^~~~~~ mission.cpp: In member function 'virtual void MissionTutorial2::draw()': mission.cpp:649:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 649 | font1->drawTextCentered (0, 7, -2.5, "FIRSTLY, HAVE A LOOK AT YOUR MISSILES:", &textcolor); @@ -4244,6 +4301,19 @@ mission.cpp:907:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 907 | font1->drawTextCentered (0, 7, -2.5, "THAT WAS EASY", &textcolor); | ^~~~~~~~~~~~~~~ +cockpit.cpp: In member function 'void Cockpit::drawHeading()': +cockpit.cpp:463:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 463 | font1->drawText (xf - 0.5, yf - 2.0, zf, "S", &color); + | ^~~ +cockpit.cpp:465:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 465 | font1->drawText (xf - 0.5, yf - 2.0, zf, "E", &color); + | ^~~ +cockpit.cpp:467:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 467 | font1->drawText (xf - 0.5, yf - 2.0, zf, "N", &color); + | ^~~ +cockpit.cpp:469:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 469 | font1->drawText (xf - 0.5, yf - 2.0, zf, "W", &color); + | ^~~ mission.cpp:908:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 908 | font1->drawTextCentered (0, 6, -2.5, "BUT CAN YOU HANDLE TWO ENEMIES?", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4335,41 +4405,6 @@ In file included from effects.h:28, from aiobject.h:29, from main.h:41, - from cockpit.cpp:29: -object.h:58:16: warning: 'virtual void CSpaceObj::drawGL(CVector3*, CVector3*, CVector3*, float, float, bool, bool)' was hidden [-Woverloaded-virtual=] - 58 | virtual void drawGL (CVector3 *z1, CVector3 *z2, CVector3 *tl, float alpha2, float lum2, bool drawlight2, bool istextured2); - | ^~~~~~ -effects.h:164:8: note: by 'void HighClouds::drawGL(CVector3*, CVector3*)' - 164 | void drawGL (CVector3 *tl, CVector3 *textl); - | ^~~~~~ -cockpit.cpp: In member function 'void Cockpit::drawHeading()': -cockpit.cpp:463:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 463 | font1->drawText (xf - 0.5, yf - 2.0, zf, "S", &color); - | ^~~ -cockpit.cpp:465:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 465 | font1->drawText (xf - 0.5, yf - 2.0, zf, "E", &color); - | ^~~ -cockpit.cpp:467:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 467 | font1->drawText (xf - 0.5, yf - 2.0, zf, "N", &color); - | ^~~ -cockpit.cpp:469:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 469 | font1->drawText (xf - 0.5, yf - 2.0, zf, "W", &color); - | ^~~ -g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o common.o common.cpp -common.cpp: In function 'void display(char*, int)': -common.cpp:47:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 47 | if ((display_out = fopen (dirs->getSaves ("logfile.txt"), "wt")) != NULL) - | ^~~~~~~~~~~~~ -common.cpp: In function 'void error_outofmemory()': -common.cpp:62:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 62 | display ("Out of memory", LOG_FATAL); - | ^~~~~~~~~~~~~~~ -g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o menu.o menu.cpp -g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o fileloader.o fileloader.cpp -g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o maploader.o maploader.cpp -In file included from effects.h:28, - from aiobject.h:29, - from main.h:41, from menu.cpp:27: object.h:58:16: warning: 'virtual void CSpaceObj::drawGL(CVector3*, CVector3*, CVector3*, float, float, bool, bool)' was hidden [-Woverloaded-virtual=] 58 | virtual void drawGL (CVector3 *z1, CVector3 *z2, CVector3 *tl, float alpha2, float lum2, bool drawlight2, bool istextured2); @@ -4377,6 +4412,7 @@ effects.h:164:8: note: by 'void HighClouds::drawGL(CVector3*, CVector3*)' 164 | void drawGL (CVector3 *tl, CVector3 *textl); | ^~~~~~ +g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/gl-117-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o maploader.o maploader.cpp In file included from effects.h:28, from aiobject.h:29, from maploader.h:27, @@ -4693,7 +4729,7 @@ make[2]: Leaving directory '/build/reproducible-path/gl-117-1.3.2' make[1]: Leaving directory '/build/reproducible-path/gl-117-1.3.2' dh_auto_test - make -j3 check "TESTSUITEFLAGS=-j3 --verbose" VERBOSE=1 + make -j4 check "TESTSUITEFLAGS=-j4 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/gl-117-1.3.2' Making check in src make[2]: Entering directory '/build/reproducible-path/gl-117-1.3.2/src' @@ -4708,7 +4744,7 @@ dh_testroot dh_prep dh_auto_install - make -j3 install DESTDIR=/build/reproducible-path/gl-117-1.3.2/debian/tmp AM_UPDATE_INFO_DIR=no + make -j4 install DESTDIR=/build/reproducible-path/gl-117-1.3.2/debian/tmp AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/reproducible-path/gl-117-1.3.2' Making install in src make[2]: Entering directory '/build/reproducible-path/gl-117-1.3.2/src' @@ -4725,10 +4761,10 @@ /usr/bin/mkdir -p '/build/reproducible-path/gl-117-1.3.2/debian/tmp/usr/share/games/gl-117/music' /usr/bin/install -c -m 644 models/aster1.3ds models/barrier.3ds models/base1.3ds models/cannon1.3ds models/cannon1b.3ds models/cannon2.3ds models/cannon2b.3ds models/chaff1.3ds models/container1.3ds models/depot1.3ds models/egg.3ds models/flak2.3ds models/flarak1.3ds models/flare1.3ds models/gl-117.3ds models/gl-14.3ds models/gl-14b.3ds models/gl-14c.3ds models/gl-14d.3ds models/gl-15.3ds models/gl-16.3ds models/gl-21.3ds models/gl-21b.3ds models/gl-29.3ds models/gl-50.3ds models/hall1.3ds models/hall2.3ds models/house1.3ds models/mine1.3ds models/missile1.3ds models/missile2.3ds models/missile3.3ds models/missile4.3ds models/missile5.3ds models/missile6.3ds models/missile7.3ds models/missile8.3ds models/oilrig.3ds models/pickup1.3ds models/pickup2.3ds '/build/reproducible-path/gl-117-1.3.2/debian/tmp/usr/share/games/gl-117/models' /usr/bin/mkdir -p '/build/reproducible-path/gl-117-1.3.2/debian/tmp/usr/share/games/gl-117/sounds' - /usr/bin/install -c -m 644 sounds/beep1.wav sounds/beep2.wav sounds/cannon1.wav sounds/chaff1.wav sounds/click1.wav sounds/explode1.wav sounds/hit1.wav sounds/missile1.wav sounds/plane1.wav sounds/thunder1.wav '/build/reproducible-path/gl-117-1.3.2/debian/tmp/usr/share/games/gl-117/sounds' /usr/bin/install -c -m 644 music/ambient.s3m music/dark.s3m music/electro.s3m music/loser.s3m music/softtec.s3m music/standby.s3m music/stars.s3m music/winner.s3m '/build/reproducible-path/gl-117-1.3.2/debian/tmp/usr/share/games/gl-117/music' - /usr/bin/install -c -m 644 models/radar.3ds models/rubble.3ds models/ship1.3ds models/ship2.3ds models/tank1.3ds models/tank2.3ds models/tent1.3ds models/tent4.3ds models/transp1.3ds models/transp2.3ds models/transp4.3ds models/trsam.3ds models/truck1.3ds models/truck2.3ds models/wall.3ds '/build/reproducible-path/gl-117-1.3.2/debian/tmp/usr/share/games/gl-117/models' + /usr/bin/install -c -m 644 sounds/beep1.wav sounds/beep2.wav sounds/cannon1.wav sounds/chaff1.wav sounds/click1.wav sounds/explode1.wav sounds/hit1.wav sounds/missile1.wav sounds/plane1.wav sounds/thunder1.wav '/build/reproducible-path/gl-117-1.3.2/debian/tmp/usr/share/games/gl-117/sounds' /usr/bin/mkdir -p '/build/reproducible-path/gl-117-1.3.2/debian/tmp/usr/share/games/gl-117/textures' + /usr/bin/install -c -m 644 models/radar.3ds models/rubble.3ds models/ship1.3ds models/ship2.3ds models/tank1.3ds models/tank2.3ds models/tent1.3ds models/tent4.3ds models/transp1.3ds models/transp2.3ds models/transp4.3ds models/trsam.3ds models/truck1.3ds models/truck2.3ds models/wall.3ds '/build/reproducible-path/gl-117-1.3.2/debian/tmp/usr/share/games/gl-117/models' /usr/bin/install -c -m 644 textures/arrow.tga textures/aster1_n.tga textures/barrier_.tga textures/base1_no.tga textures/cactus1.tga textures/cactusu1.tga textures/camoufl.tga textures/chaff_ch.tga textures/clouds1.tga textures/clouds2.tga textures/clouds3.tga textures/cross.tga textures/cross2.tga textures/depot_fr.tga textures/eagle_gr.tga textures/earth.tga textures/egg_chec.tga textures/flare1.tga textures/flare2.tga textures/flare3.tga textures/flare4.tga textures/flare_ch.tga textures/font1.tga textures/font2.tga textures/gl-14_c2.tga textures/gl-14_ch.tga textures/gl-14b_c.tga textures/gl-14b_d.tga textures/gl-14c_c.tga textures/gl-14c_d.tga textures/gl-14d_c.tga textures/gl-14d_d.tga textures/gl-15_c2.tga textures/gl-15_ch.tga textures/gl-16_c2.tga textures/gl-16_ch.tga textures/gl-21_c2.tga textures/gl-21_ch.tga textures/gl-21b_c.tga textures/gl-21b_d.tga '/build/reproducible-path/gl-117-1.3.2/debian/tmp/usr/share/games/gl-117/textures' /usr/bin/install -c -m 644 textures/gl-29_ch.tga textures/gl-50_c2.tga textures/gl-50_ch.tga textures/glitter.tga textures/grass1.tga textures/gravel1.tga textures/greendrk.tga textures/greenlit.tga textures/greygrid.tga textures/hall1b_g.tga textures/hall2b_c.tga textures/house_s1.tga textures/medals.tga textures/moon1.tga textures/oilrig_c.tga textures/oilrig_c2.tga textures/panzer1_.tga textures/panzer2_.tga textures/patents.tga textures/radar1.tga textures/radar2.tga textures/ranks.tga textures/redsand1.tga textures/redstone2.tga textures/rocks1.tga textures/roof.tga textures/sand1.tga textures/ship2_fr.tga textures/ship_fra.tga textures/smoke1.tga textures/smoke2.tga textures/smoke3.tga textures/sun2.tga textures/tent1_no.tga textures/tent4_fr.tga textures/title.tga textures/transp2_.tga textures/transp4_.tga textures/tree1.tga textures/tree2.tga '/build/reproducible-path/gl-117-1.3.2/debian/tmp/usr/share/games/gl-117/textures' /usr/bin/install -c -m 644 textures/tree3.tga textures/tree4.tga textures/tree5.tga textures/treeu1.tga textures/treeu2.tga textures/treeu3.tga textures/treeu4.tga textures/treeu5.tga textures/water1.tga textures/wheel.tga '/build/reproducible-path/gl-117-1.3.2/debian/tmp/usr/share/games/gl-117/textures' @@ -4754,9 +4790,9 @@ dh_gencontrol dh_md5sums dh_builddeb +dpkg-deb: building package 'gl-117' in '../gl-117_1.3.2-4_armhf.deb'. dpkg-deb: building package 'gl-117-data' in '../gl-117-data_1.3.2-4_all.deb'. dpkg-deb: building package 'gl-117-dbgsym' in '../gl-117-dbgsym_1.3.2-4_armhf.deb'. -dpkg-deb: building package 'gl-117' in '../gl-117_1.3.2-4_armhf.deb'. dpkg-genbuildinfo --build=binary -O../gl-117_1.3.2-4_armhf.buildinfo dpkg-genchanges --build=binary -O../gl-117_1.3.2-4_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -4764,12 +4800,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/30173/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/30173/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/22088 and its subdirectories -I: Current time: Wed May 22 22:43:55 -12 2024 -I: pbuilder-time-stamp: 1716461035 +I: removing directory /srv/workspace/pbuilder/30173 and its subdirectories +I: Current time: Fri May 24 00:48:05 +14 2024 +I: pbuilder-time-stamp: 1716461285