Diff of the two buildlogs: -- --- b1/build.log 2024-05-01 13:37:38.956803225 +0000 +++ b2/build.log 2024-05-01 13:39:35.175844592 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Jun 3 07:59:51 -12 2025 -I: pbuilder-time-stamp: 1748980791 +I: Current time: Thu May 2 03:37:42 +14 2024 +I: pbuilder-time-stamp: 1714570662 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -36,52 +36,84 @@ dpkg-source: info: applying cross-build.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1912945/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3229630/tmp/hooks/D01_modify_environment starting +debug: Running on codethink02-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 1 13:37 /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/3229630/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3229630/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='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]="21" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + 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=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='279eef5de31b4b18bda241ead3cf6add' - 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='1912945' - PS1='# ' - PS2='> ' + INVOCATION_ID=22bf2ec8d12443bcafc92cc42b377166 + 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=3229630 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.onx0y9wY/pbuilderrc_v5uL --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.onx0y9wY/b1 --logfile b1/build.log amphetamine_0.8.10-21.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4: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.onx0y9wY/pbuilderrc_Lkfd --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.onx0y9wY/b2 --logfile b2/build.log amphetamine_0.8.10-21.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink03-arm64 6.1.0-20-cloud-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-cloud-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 24 13:38 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1912945/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 21 07:15 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3229630/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -522,7 +554,7 @@ Get: 229 http://deb.debian.org/debian trixie/main arm64 libsdl1.2-dev arm64 1.2.68-2 [64.4 kB] Get: 230 http://deb.debian.org/debian trixie/main arm64 libxpm4 arm64 1:3.5.17-1+b1 [52.9 kB] Get: 231 http://deb.debian.org/debian trixie/main arm64 libxpm-dev arm64 1:3.5.17-1+b1 [128 kB] -Fetched 94.7 MB in 0s (202 MB/s) +Fetched 94.7 MB in 1s (169 MB/s) debconf: delaying package configuration, since apt-utils is not installed dpkg: libdb5.3:arm64: dependency problems, but removing anyway as you requested: libperl5.38:arm64 depends on libdb5.3. @@ -1283,8 +1315,8 @@ Setting up tzdata (2024a-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Tue Jun 3 20:00:22 UTC 2025. -Universal Time is now: Tue Jun 3 20:00:22 UTC 2025. +Local time is now: Wed May 1 13:38:52 UTC 2024. +Universal Time is now: Wed May 1 13:38:52 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libasound2-data (1.2.11-1) ... @@ -1518,7 +1550,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/amphetamine-0.8.10/ && 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 > ../amphetamine_0.8.10-21_source.changes +I: user script /srv/workspace/pbuilder/3229630/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/3229630/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/amphetamine-0.8.10/ && 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 > ../amphetamine_0.8.10-21_source.changes dpkg-buildpackage: info: source package amphetamine dpkg-buildpackage: info: source version 0.8.10-21 dpkg-buildpackage: info: source distribution unstable @@ -1567,19 +1603,6 @@ g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Creeper.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Creeper.o g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Item.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Item.o g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Level.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Level.o -src/Element.cpp: In member function 'void CBackgroundElement::OnAllocate()': -src/Element.cpp:282:34: warning: narrowing conversion of '((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::xs' from 'double' to 'short int' [-Wnarrowing] - 282 | short params[5] = {-1, xs, ys, xe - xs, ye - ys}; - | ^~ -src/Element.cpp:282:38: warning: narrowing conversion of '((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::ys' from 'double' to 'short int' [-Wnarrowing] - 282 | short params[5] = {-1, xs, ys, xe - xs, ye - ys}; - | ^~ -src/Element.cpp:282:45: warning: narrowing conversion of '(((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::xe - ((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::xs)' from 'double' to 'short int' [-Wnarrowing] - 282 | short params[5] = {-1, xs, ys, xe - xs, ye - ys}; - | ~~~^~~~ -src/Element.cpp:282:54: warning: narrowing conversion of '(((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::ye - ((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::ys)' from 'double' to 'short int' [-Wnarrowing] - 282 | short params[5] = {-1, xs, ys, xe - xs, ye - ys}; - | ~~~^~~~ src/Appl.cpp: In member function 'void CApplication::RunLevel()': src/Appl.cpp:247:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 247 | sprintf(fps, "%02d", saveFrameCount); @@ -1593,6 +1616,20 @@ | | | | int long int | %02ld +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Main.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Main.o +src/Element.cpp: In member function 'void CBackgroundElement::OnAllocate()': +src/Element.cpp:282:34: warning: narrowing conversion of '((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::xs' from 'double' to 'short int' [-Wnarrowing] + 282 | short params[5] = {-1, xs, ys, xe - xs, ye - ys}; + | ^~ +src/Element.cpp:282:38: warning: narrowing conversion of '((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::ys' from 'double' to 'short int' [-Wnarrowing] + 282 | short params[5] = {-1, xs, ys, xe - xs, ye - ys}; + | ^~ +src/Element.cpp:282:45: warning: narrowing conversion of '(((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::xe - ((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::xs)' from 'double' to 'short int' [-Wnarrowing] + 282 | short params[5] = {-1, xs, ys, xe - xs, ye - ys}; + | ~~~^~~~ +src/Element.cpp:282:54: warning: narrowing conversion of '(((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::ye - ((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::ys)' from 'double' to 'short int' [-Wnarrowing] + 282 | short params[5] = {-1, xs, ys, xe - xs, ye - ys}; + | ~~~^~~~ src/Gifload.cpp: In function 'Graphic_file* LoadGIF(FILE*, char*)': src/Gifload.cpp:152:33: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 152 | register unsigned char ch, ch1; @@ -1609,6 +1646,16 @@ src/Gifload.cpp:154:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 154 | register int i; | ^ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Monster.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Monster.o +In file included from src/Element.hpp:4, + from src/Element.cpp:1: +src/Element.cpp: In member function 'virtual void CElement::Read(FILE*)': +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Element.cpp:344:9: note: in expansion of macro 'READDATA' + 344 | READDATA(size); + | ^~~~~~~~ In file included from src/Thing.hpp:4, from src/Item.hpp:4, from src/Item.cpp:1: @@ -1656,20 +1703,23 @@ src/Item.cpp:305:9: note: in expansion of macro 'READDATA' 305 | READDATA(typeID); | ^~~~~~~~ -In file included from src/Element.hpp:4, - from src/Element.cpp:1: -src/Element.cpp: In member function 'virtual void CElement::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:344:9: note: in expansion of macro 'READDATA' - 344 | READDATA(size); +src/Item.cpp:306:9: note: in expansion of macro 'READDATA' + 306 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Item.cpp:306:9: note: in expansion of macro 'READDATA' - 306 | READDATA(thingNumber); +src/Item.cpp:310:9: note: in expansion of macro 'READDATA' + 310 | READDATA(pickedUp); + | ^~~~~~~~ +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Item.cpp:311:9: note: in expansion of macro 'READDATA' + 311 | READDATA(type); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); @@ -1692,12 +1742,6 @@ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Item.cpp:310:9: note: in expansion of macro 'READDATA' - 310 | READDATA(pickedUp); - | ^~~~~~~~ -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:351:9: note: in expansion of macro 'READDATA' 351 | READDATA(iconID); | ^~~~~~~~ @@ -1716,12 +1760,6 @@ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Item.cpp:311:9: note: in expansion of macro 'READDATA' - 311 | READDATA(type); - | ^~~~~~~~ -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/Element.cpp:354:9: note: in expansion of macro 'READDATA' 354 | READDATA(key); | ^~~~~~~~ @@ -1767,55 +1805,6 @@ src/Element.cpp:365:17: note: in expansion of macro 'READDATA' 365 | READDATA(elementThings->passiveHasChanged); | ^~~~~~~~ -src/Level.cpp: In member function 'void CLevel::GetSavedGameTitle(char*, char*)': -src/Level.cpp:273:21: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 273 | if (f) fread(&versionNumber, sizeof(versionNumber), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Level.cpp:274:21: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 274 | if (f) fread(&key, sizeof(key), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -src/Level.cpp:279:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 279 | fread(&time, sizeof(time), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Level.cpp: In member function 'short int CLevel::ReadLevel(char*)': -src/Level.cpp:302:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 302 | fread(&versionNumber, sizeof(versionNumber), 1, f); if (versionNumber != kVersionNumber) return 0; - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Level.cpp:303:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 303 | fread(&key, sizeof(key), 1, f); if (key != kVersionKey) return 0; - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -src/Level.cpp:304:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 304 | fread(&theTime, sizeof(theTime), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Level.cpp:305:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 305 | fread(&ticks, sizeof(ticks), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Level.cpp:306:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 306 | fread(&gApplication->difficulty, sizeof(gApplication->difficulty), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Level.cpp:307:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 307 | fread(&fileSize, sizeof(fileSize), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Level.cpp:308:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 308 | fread(&gApplication->levelNumber, sizeof(gApplication->levelNumber), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Level.cpp:315:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 315 | fread(&size, sizeof(size), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Level.cpp:316:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 316 | fread(&typeID, sizeof(typeID), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Level.cpp:333:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 333 | fread(&size, sizeof(size), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Level.cpp:334:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 334 | fread(&typeID, sizeof(typeID), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Level.cpp:335:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 335 | fread(&thingNumber, sizeof(thingNumber), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Main.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Main.o -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Monster.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Monster.o In file included from src/Thing.hpp:4, from src/Bullet.hpp:4, from src/Bullet.cpp:1: @@ -1917,6 +1906,7 @@ src/Bullet.cpp:549:9: note: in expansion of macro 'READDATA' 549 | READDATA(numBounces); | ^~~~~~~~ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Monstrxx.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Monstrxx.o src/Bullet.cpp: In member function 'virtual void CBombBullet::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); @@ -2022,10 +2012,55 @@ src/Bullet.cpp:649:9: note: in expansion of macro 'READDATA' 649 | READDATA(lastf); | ^~~~~~~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Monstrxx.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Monstrxx.o +src/Level.cpp: In member function 'void CLevel::GetSavedGameTitle(char*, char*)': +src/Level.cpp:273:21: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 273 | if (f) fread(&versionNumber, sizeof(versionNumber), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Level.cpp:274:21: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 274 | if (f) fread(&key, sizeof(key), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +src/Level.cpp:279:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 279 | fread(&time, sizeof(time), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Level.cpp: In member function 'short int CLevel::ReadLevel(char*)': +src/Level.cpp:302:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 302 | fread(&versionNumber, sizeof(versionNumber), 1, f); if (versionNumber != kVersionNumber) return 0; + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Level.cpp:303:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 303 | fread(&key, sizeof(key), 1, f); if (key != kVersionKey) return 0; + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +src/Level.cpp:304:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 304 | fread(&theTime, sizeof(theTime), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Level.cpp:305:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 305 | fread(&ticks, sizeof(ticks), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Level.cpp:306:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 306 | fread(&gApplication->difficulty, sizeof(gApplication->difficulty), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Level.cpp:307:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 307 | fread(&fileSize, sizeof(fileSize), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Level.cpp:308:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 308 | fread(&gApplication->levelNumber, sizeof(gApplication->levelNumber), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Level.cpp:315:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 315 | fread(&size, sizeof(size), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Level.cpp:316:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 316 | fread(&typeID, sizeof(typeID), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Level.cpp:333:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 333 | fread(&size, sizeof(size), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Level.cpp:334:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 334 | fread(&typeID, sizeof(typeID), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Level.cpp:335:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 335 | fread(&thingNumber, sizeof(thingNumber), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Object.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Object.o g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/ObjInfo.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/ObjInfo.o -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Player.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Player.o In file included from src/Thing.hpp:4, from src/Monster.hpp:4, from src/Monster.cpp:1: @@ -2036,6 +2071,7 @@ src/Monster.cpp:349:9: note: in expansion of macro 'READDATA' 349 | READDATA(size); | ^~~~~~~~ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Player.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Player.o src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2132,6 +2168,112 @@ src/Monster.cpp:372:9: note: in expansion of macro 'READDATA' 372 | READDATA(health); | ^~~~~~~~ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Pltform.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Pltform.o +In file included from src/Object.cpp:1: +src/Object.cpp: In member function 'virtual void CObject::Read(FILE*)': +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Object.cpp:317:9: note: in expansion of macro 'READDATA' + 317 | READDATA(size); + | ^~~~~~~~ +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Object.cpp:318:9: note: in expansion of macro 'READDATA' + 318 | READDATA(typeID); + | ^~~~~~~~ +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Object.cpp:320:9: note: in expansion of macro 'READDATA' + 320 | READDATA(xs); + | ^~~~~~~~ +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Object.cpp:321:9: note: in expansion of macro 'READDATA' + 321 | READDATA(ys); + | ^~~~~~~~ +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Object.cpp:322:9: note: in expansion of macro 'READDATA' + 322 | READDATA(xe); + | ^~~~~~~~ +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Object.cpp:323:9: note: in expansion of macro 'READDATA' + 323 | READDATA(ye); + | ^~~~~~~~ +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Object.cpp:324:9: note: in expansion of macro 'READDATA' + 324 | READDATA(xm); + | ^~~~~~~~ +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Object.cpp:325:9: note: in expansion of macro 'READDATA' + 325 | READDATA(ym); + | ^~~~~~~~ +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Object.cpp:326:9: note: in expansion of macro 'READDATA' + 326 | READDATA(weight); + | ^~~~~~~~ +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Object.cpp:327:9: note: in expansion of macro 'READDATA' + 327 | READDATA(forceVectorX); + | ^~~~~~~~ +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Object.cpp:328:9: note: in expansion of macro 'READDATA' + 328 | READDATA(forceVectorY); + | ^~~~~~~~ +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Object.cpp:329:9: note: in expansion of macro 'READDATA' + 329 | READDATA(environmentForceX); + | ^~~~~~~~ +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Object.cpp:330:9: note: in expansion of macro 'READDATA' + 330 | READDATA(environmentForceY); + | ^~~~~~~~ +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Object.cpp:331:9: note: in expansion of macro 'READDATA' + 331 | READDATA(gravitation); + | ^~~~~~~~ +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Object.cpp:332:9: note: in expansion of macro 'READDATA' + 332 | READDATA(resForceX); + | ^~~~~~~~ +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Object.cpp:333:9: note: in expansion of macro 'READDATA' + 333 | READDATA(resForceY); + | ^~~~~~~~ +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Object.cpp:334:9: note: in expansion of macro 'READDATA' + 334 | READDATA(background); + | ^~~~~~~~ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Shape.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Shape.o In file included from src/Thing.hpp:4, from src/Monster.hpp:4, from src/Monstrxx.hpp:4, @@ -2186,6 +2328,21 @@ src/Monstrxx.cpp:484:9: note: in expansion of macro 'READDATA' 484 | READDATA(typeID); | ^~~~~~~~ +In file included from src/ObjInfo.hpp:4, + from src/ObjInfo.cpp:1: +src/ObjInfo.cpp: In member function 'void CObjInfo::LoadMonsters(short int)': +src/ObjInfo.cpp:55:71: warning: iteration 2 invokes undefined behavior [-Waggressive-loop-optimizations] + 55 | TRANS_PUT_NUM(monsterInfo[n]->additionalData[m]); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +src/File.hpp:25:41: note: in definition of macro 'SWAP_PUT_SHORT' + 25 | #define SWAP_PUT_SHORT(x) ((x) = (x << 8) | (((unsigned short)x) >> 8)) + | ^ +src/ObjInfo.cpp:55:25: note: in expansion of macro 'TRANS_PUT_NUM' + 55 | TRANS_PUT_NUM(monsterInfo[n]->additionalData[m]); + | ^~~~~~~~~~~~~ +src/ObjInfo.cpp:53:37: note: within this loop + 53 | for (short m = 0; m < 3; m ++) { + | ~~^~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2314,132 +2471,10 @@ src/Monstrxx.cpp:575:9: note: in expansion of macro 'READDATA' 575 | READDATA(speedup); | ^~~~~~~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Pltform.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Pltform.o -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Shape.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Shape.o g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/ShapeLd.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/ShapeLd.o g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Surface.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Surface.o g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Thing.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Thing.o -In file included from src/Object.cpp:1: -src/Object.cpp: In member function 'virtual void CObject::Read(FILE*)': -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:317:9: note: in expansion of macro 'READDATA' - 317 | READDATA(size); - | ^~~~~~~~ -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:318:9: note: in expansion of macro 'READDATA' - 318 | READDATA(typeID); - | ^~~~~~~~ -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:320:9: note: in expansion of macro 'READDATA' - 320 | READDATA(xs); - | ^~~~~~~~ -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:321:9: note: in expansion of macro 'READDATA' - 321 | READDATA(ys); - | ^~~~~~~~ -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:322:9: note: in expansion of macro 'READDATA' - 322 | READDATA(xe); - | ^~~~~~~~ -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:323:9: note: in expansion of macro 'READDATA' - 323 | READDATA(ye); - | ^~~~~~~~ -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:324:9: note: in expansion of macro 'READDATA' - 324 | READDATA(xm); - | ^~~~~~~~ -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:325:9: note: in expansion of macro 'READDATA' - 325 | READDATA(ym); - | ^~~~~~~~ -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:326:9: note: in expansion of macro 'READDATA' - 326 | READDATA(weight); - | ^~~~~~~~ -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:327:9: note: in expansion of macro 'READDATA' - 327 | READDATA(forceVectorX); - | ^~~~~~~~ -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:328:9: note: in expansion of macro 'READDATA' - 328 | READDATA(forceVectorY); - | ^~~~~~~~ -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:329:9: note: in expansion of macro 'READDATA' - 329 | READDATA(environmentForceX); - | ^~~~~~~~ -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:330:9: note: in expansion of macro 'READDATA' - 330 | READDATA(environmentForceY); - | ^~~~~~~~ -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:331:9: note: in expansion of macro 'READDATA' - 331 | READDATA(gravitation); - | ^~~~~~~~ -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:332:9: note: in expansion of macro 'READDATA' - 332 | READDATA(resForceX); - | ^~~~~~~~ -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:333:9: note: in expansion of macro 'READDATA' - 333 | READDATA(resForceY); - | ^~~~~~~~ -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:334:9: note: in expansion of macro 'READDATA' - 334 | READDATA(background); - | ^~~~~~~~ -In file included from src/ObjInfo.hpp:4, - from src/ObjInfo.cpp:1: -src/ObjInfo.cpp: In member function 'void CObjInfo::LoadMonsters(short int)': -src/ObjInfo.cpp:55:71: warning: iteration 2 invokes undefined behavior [-Waggressive-loop-optimizations] - 55 | TRANS_PUT_NUM(monsterInfo[n]->additionalData[m]); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -src/File.hpp:25:41: note: in definition of macro 'SWAP_PUT_SHORT' - 25 | #define SWAP_PUT_SHORT(x) ((x) = (x << 8) | (((unsigned short)x) >> 8)) - | ^ -src/ObjInfo.cpp:55:25: note: in expansion of macro 'TRANS_PUT_NUM' - 55 | TRANS_PUT_NUM(monsterInfo[n]->additionalData[m]); - | ^~~~~~~~~~~~~ -src/ObjInfo.cpp:53:37: note: within this loop - 53 | for (short m = 0; m < 3; m ++) { - | ~~^~~ g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Weapon.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Weapon.o -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/System.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/System.o In file included from src/Thing.hpp:4, from src/Monster.hpp:4, from src/Player.hpp:4, @@ -2517,7 +2552,9 @@ src/Player.cpp:529:9: note: in expansion of macro 'READDATA' 529 | READDATA(lastOxygenDecTime); | ^~~~~~~~ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/System.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/System.o g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/SndSys.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/SndSys.o +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/SoundList.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/SoundList.o In file included from src/Thing.hpp:4, from src/Pltform.hpp:4, from src/Pltform.cpp:1: @@ -2591,7 +2628,6 @@ src/Pltform.cpp:276:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 276 | fread(info, sizeof(tPlatformInfo), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/SoundList.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/SoundList.o In file included from src/Thing.hpp:4, from src/Thing.cpp:1: src/Thing.cpp: In member function 'virtual void CThing::Read(FILE*)': @@ -2866,10 +2902,10 @@ chmod 0644 -- debian/.debhelper/amphetamine/dbgsym-root/DEBIAN/md5sums chown 0:0 -- debian/.debhelper/amphetamine/dbgsym-root/DEBIAN/md5sums dh_builddeb - dpkg-deb --build debian/amphetamine .. dpkg-deb --root-owner-group --build debian/.debhelper/amphetamine/dbgsym-root .. -dpkg-deb: building package 'amphetamine' in '../amphetamine_0.8.10-21_arm64.deb'. + dpkg-deb --build debian/amphetamine .. dpkg-deb: building package 'amphetamine-dbgsym' in '../amphetamine-dbgsym_0.8.10-21_arm64.deb'. +dpkg-deb: building package 'amphetamine' in '../amphetamine_0.8.10-21_arm64.deb'. dpkg-genbuildinfo --build=binary -O../amphetamine_0.8.10-21_arm64.buildinfo dpkg-genchanges --build=binary -O../amphetamine_0.8.10-21_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2877,12 +2913,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/3229630/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3229630/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/1912945 and its subdirectories -I: Current time: Tue Jun 3 08:00:37 -12 2025 -I: pbuilder-time-stamp: 1748980837 +I: removing directory /srv/workspace/pbuilder/3229630 and its subdirectories +I: Current time: Thu May 2 03:39:33 +14 2024 +I: pbuilder-time-stamp: 1714570773