Diff of the two buildlogs: -- --- b1/build.log 2024-10-30 07:25:49.148470103 +0000 +++ b2/build.log 2024-10-30 07:27:11.709542371 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Dec 2 01:46:09 -12 2025 -I: pbuilder-time-stamp: 1764683169 +I: Current time: Wed Oct 30 21:25:51 +14 2024 +I: pbuilder-time-stamp: 1730273151 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -36,51 +36,83 @@ dpkg-source: info: applying cross-build.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2200891/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1257252/tmp/hooks/D01_modify_environment starting +debug: Running on infom01-amd64. +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 Oct 30 07:25 /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/1257252/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1257252/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='amd64' - 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]="32" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='6127aced25ff42c3b2ee7c7ff347ebaa' - 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='2200891' - PS1='# ' - PS2='> ' + INVOCATION_ID=6b1e477da2d843fd819fb7a48431a36d + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-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=1257252 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.ZsJESGUO/pbuilderrc_jJKF --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ZsJESGUO/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' + 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.ZsJESGUO/pbuilderrc_e7Ul --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ZsJESGUO/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' I: uname -a - Linux infom02-amd64 6.10.11+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.11-1~bpo12+1 (2024-10-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2200891/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1257252/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -362,7 +394,7 @@ Get: 238 http://deb.debian.org/debian unstable/main amd64 libsdl1.2-dev amd64 1.2.68-2+b1 [64.6 kB] Get: 239 http://deb.debian.org/debian unstable/main amd64 libxpm4 amd64 1:3.5.17-1+b2 [56.3 kB] Get: 240 http://deb.debian.org/debian unstable/main amd64 libxpm-dev amd64 1:3.5.17-1+b2 [130 kB] -Fetched 108 MB in 4s (24.2 MB/s) +Fetched 108 MB in 1s (103 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libfftw3-double3:amd64. (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 ... 19969 files and directories currently installed.) @@ -1146,8 +1178,8 @@ Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Tue Dec 2 13:48:20 UTC 2025. -Universal Time is now: Tue Dec 2 13:48:20 UTC 2025. +Local time is now: Wed Oct 30 07:26:50 UTC 2024. +Universal Time is now: Wed Oct 30 07:26:50 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libxcb-present0:amd64 (1.17.0-2+b1) ... @@ -1390,7 +1422,11 @@ fakeroot is already the newest version (1.36-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/1257252/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1257252/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 @@ -1545,100 +1581,6 @@ src/Element.cpp:365:17: note: in expansion of macro 'READDATA' 365 | READDATA(elementThings->passiveHasChanged); | ^~~~~~~~ -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); - | ~~~^ ~~~~~~~~~~~~~~ - | | | - | int long int - | %02ld -src/Appl.cpp:250:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] - 250 | sprintf(fps, "%02d", frameCount); - | ~~~^ ~~~~~~~~~~ - | | | - | int long int - | %02ld -In file included from src/Thing.hpp:4, - from src/Item.hpp:4, - from src/Item.cpp:1: -src/Item.cpp: In member function 'virtual void CItem::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/Item.cpp:271:9: note: in expansion of macro 'READDATA' - 271 | 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/Item.cpp:272:9: note: in expansion of macro 'READDATA' - 272 | 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/Item.cpp:273:9: note: in expansion of macro 'READDATA' - 273 | 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:277:9: note: in expansion of macro 'READDATA' - 277 | READDATA(isCorona); - | ^~~~~~~~ -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:278:9: note: in expansion of macro 'READDATA' - 278 | READDATA(detonationStartTime); - | ^~~~~~~~ -src/Item.cpp: In member function 'virtual void CPortableItem::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/Item.cpp:304:9: note: in expansion of macro 'READDATA' - 304 | 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/Item.cpp:305:9: note: in expansion of macro 'READDATA' - 305 | 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/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: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/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; - | ^~ -src/Gifload.cpp:152:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 152 | register unsigned char ch, ch1; - | ^~~ -src/Gifload.cpp:153:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 153 | register byte *ptr, *ptr1; - | ^~~ -src/Gifload.cpp:153:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 153 | register byte *ptr, *ptr1; - | ^~~~ -src/Gifload.cpp:154:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 154 | register int i; - | ^ In file included from src/Thing.hpp:4, from src/Bullet.hpp:4, from src/Bullet.cpp:1: @@ -1845,8 +1787,102 @@ src/Bullet.cpp:649:9: note: in expansion of macro 'READDATA' 649 | READDATA(lastf); | ^~~~~~~~ +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; + | ^~ +src/Gifload.cpp:152:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 152 | register unsigned char ch, ch1; + | ^~~ +src/Gifload.cpp:153:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 153 | register byte *ptr, *ptr1; + | ^~~ +src/Gifload.cpp:153:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 153 | register byte *ptr, *ptr1; + | ^~~~ +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/Main.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fcf-protection -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 +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); + | ~~~^ ~~~~~~~~~~~~~~ + | | | + | int long int + | %02ld +src/Appl.cpp:250:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] + 250 | sprintf(fps, "%02d", frameCount); + | ~~~^ ~~~~~~~~~~ + | | | + | int long int + | %02ld +In file included from src/Thing.hpp:4, + from src/Item.hpp:4, + from src/Item.cpp:1: +src/Item.cpp: In member function 'virtual void CItem::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/Item.cpp:271:9: note: in expansion of macro 'READDATA' + 271 | 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/Item.cpp:272:9: note: in expansion of macro 'READDATA' + 272 | 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/Item.cpp:273:9: note: in expansion of macro 'READDATA' + 273 | 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:277:9: note: in expansion of macro 'READDATA' + 277 | READDATA(isCorona); + | ^~~~~~~~ +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:278:9: note: in expansion of macro 'READDATA' + 278 | READDATA(detonationStartTime); + | ^~~~~~~~ +src/Item.cpp: In member function 'virtual void CPortableItem::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/Item.cpp:304:9: note: in expansion of macro 'READDATA' + 304 | 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/Item.cpp:305:9: note: in expansion of macro 'READDATA' + 305 | 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/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: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); + | ^~~~~~~~ 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 -fcf-protection -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] @@ -1900,297 +1936,298 @@ 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 -fcf-protection -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: -src/Monster.cpp: In member function 'virtual void CMonster::Read(FILE*)': + from src/Monstrxx.hpp:4, + from src/Monstrxx.cpp:1: +src/Monstrxx.cpp: In member function 'virtual void CWalker::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/Monster.cpp:349:9: note: in expansion of macro 'READDATA' - 349 | READDATA(size); +src/Monstrxx.cpp:447:9: note: in expansion of macro 'READDATA' + 447 | 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/Monster.cpp:350:9: note: in expansion of macro 'READDATA' - 350 | READDATA(typeID); +src/Monstrxx.cpp:448:9: note: in expansion of macro 'READDATA' + 448 | 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/Monster.cpp:351:9: note: in expansion of macro 'READDATA' - 351 | READDATA(thingNumber); +src/Monstrxx.cpp:449:9: note: in expansion of macro 'READDATA' + 449 | 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/Monster.cpp:359:9: note: in expansion of macro 'READDATA' - 359 | READDATA(speed); +src/Monstrxx.cpp:453:9: note: in expansion of macro 'READDATA' + 453 | READDATA(nextShootTime); | ^~~~~~~~ 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/Monster.cpp:360:9: note: in expansion of macro 'READDATA' - 360 | READDATA(lastWalkTime); +src/Monstrxx.cpp:454:9: note: in expansion of macro 'READDATA' + 454 | READDATA(currentShootDelay); | ^~~~~~~~ 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/Monster.cpp:361:9: note: in expansion of macro 'READDATA' - 361 | READDATA(lastShootTime); +src/Monstrxx.cpp:455:9: note: in expansion of macro 'READDATA' + 455 | READDATA(lastShoot); | ^~~~~~~~ +src/Monstrxx.cpp: In member function 'virtual void CJumper::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/Monster.cpp:362:9: note: in expansion of macro 'READDATA' - 362 | READDATA(walkFrame); +src/Monstrxx.cpp:483:9: note: in expansion of macro 'READDATA' + 483 | 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/Monster.cpp:363:9: note: in expansion of macro 'READDATA' - 363 | READDATA(status); +src/Monstrxx.cpp:484:9: note: in expansion of macro 'READDATA' + 484 | 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/Monster.cpp:364:9: note: in expansion of macro 'READDATA' - 364 | READDATA(lastCollisionCode); +src/Monstrxx.cpp:485:9: note: in expansion of macro 'READDATA' + 485 | 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/Monster.cpp:365:9: note: in expansion of macro 'READDATA' - 365 | READDATA(flying); +src/Monstrxx.cpp:489:9: note: in expansion of macro 'READDATA' + 489 | READDATA(nextShootTime); | ^~~~~~~~ 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/Monster.cpp:366:9: note: in expansion of macro 'READDATA' - 366 | READDATA(teleportDeltaTime); +src/Monstrxx.cpp:490:9: note: in expansion of macro 'READDATA' + 490 | READDATA(currentShootDelay); | ^~~~~~~~ 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/Monster.cpp:367:9: note: in expansion of macro 'READDATA' - 367 | READDATA(teleportCounter); +src/Monstrxx.cpp:491:9: note: in expansion of macro 'READDATA' + 491 | READDATA(lastShoot); | ^~~~~~~~ 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/Monster.cpp:368:9: note: in expansion of macro 'READDATA' - 368 | READDATA(lastBlessureTime); +src/Monstrxx.cpp:492:9: note: in expansion of macro 'READDATA' + 492 | READDATA(inJump); | ^~~~~~~~ +src/Monstrxx.cpp: In member function 'virtual void CFlyer::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/Monster.cpp:369:9: note: in expansion of macro 'READDATA' - 369 | READDATA(dieFrameTime); +src/Monstrxx.cpp:520:9: note: in expansion of macro 'READDATA' + 520 | 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/Monster.cpp:370:9: note: in expansion of macro 'READDATA' - 370 | READDATA(dieFrame); +src/Monstrxx.cpp:521:9: note: in expansion of macro 'READDATA' + 521 | 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/Monster.cpp:371:9: note: in expansion of macro 'READDATA' - 371 | READDATA(doDarken); +src/Monstrxx.cpp:522:9: note: in expansion of macro 'READDATA' + 522 | 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/Monster.cpp:372:9: note: in expansion of macro 'READDATA' - 372 | READDATA(health); +src/Monstrxx.cpp:526:9: note: in expansion of macro 'READDATA' + 526 | READDATA(nextShootTime); | ^~~~~~~~ -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -In file included from src/Thing.hpp:4, - from src/Monster.hpp:4, - from src/Monstrxx.hpp:4, - from src/Monstrxx.cpp:1: -src/Monstrxx.cpp: In member function 'virtual void CWalker::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/Monstrxx.cpp:447:9: note: in expansion of macro 'READDATA' - 447 | READDATA(size); +src/Monstrxx.cpp:527:9: note: in expansion of macro 'READDATA' + 527 | READDATA(currentShootDelay); | ^~~~~~~~ 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/Monstrxx.cpp:448:9: note: in expansion of macro 'READDATA' - 448 | READDATA(typeID); +src/Monstrxx.cpp:528:9: note: in expansion of macro 'READDATA' + 528 | READDATA(lastShoot); | ^~~~~~~~ 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/Monstrxx.cpp:449:9: note: in expansion of macro 'READDATA' - 449 | READDATA(thingNumber); +src/Monstrxx.cpp:529:9: note: in expansion of macro 'READDATA' + 529 | READDATA(rescueMeX); | ^~~~~~~~ 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/Monstrxx.cpp:453:9: note: in expansion of macro 'READDATA' - 453 | READDATA(nextShootTime); +src/Monstrxx.cpp:530:9: note: in expansion of macro 'READDATA' + 530 | READDATA(rescueMeY); | ^~~~~~~~ +src/Monstrxx.cpp: In member function 'virtual void CWarg::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/Monstrxx.cpp:454:9: note: in expansion of macro 'READDATA' - 454 | READDATA(currentShootDelay); +src/Monstrxx.cpp:561:9: note: in expansion of macro 'READDATA' + 561 | 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/Monstrxx.cpp:455:9: note: in expansion of macro 'READDATA' - 455 | READDATA(lastShoot); +src/Monstrxx.cpp:562:9: note: in expansion of macro 'READDATA' + 562 | READDATA(typeID); | ^~~~~~~~ -src/Monstrxx.cpp: In member function 'virtual void CJumper::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/Monstrxx.cpp:483:9: note: in expansion of macro 'READDATA' - 483 | READDATA(size); +src/Monstrxx.cpp:563:9: note: in expansion of macro 'READDATA' + 563 | 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/Monstrxx.cpp:484:9: note: in expansion of macro 'READDATA' - 484 | READDATA(typeID); +src/Monstrxx.cpp:571:9: note: in expansion of macro 'READDATA' + 571 | READDATA(nextShootTime); | ^~~~~~~~ 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/Monstrxx.cpp:485:9: note: in expansion of macro 'READDATA' - 485 | READDATA(thingNumber); +src/Monstrxx.cpp:572:9: note: in expansion of macro 'READDATA' + 572 | READDATA(currentShootDelay); | ^~~~~~~~ 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/Monstrxx.cpp:489:9: note: in expansion of macro 'READDATA' - 489 | READDATA(nextShootTime); +src/Monstrxx.cpp:573:9: note: in expansion of macro 'READDATA' + 573 | READDATA(lastShoot); | ^~~~~~~~ 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/Monstrxx.cpp:490:9: note: in expansion of macro 'READDATA' - 490 | READDATA(currentShootDelay); +src/Monstrxx.cpp:574:9: note: in expansion of macro 'READDATA' + 574 | READDATA(inJump); | ^~~~~~~~ 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/Monstrxx.cpp:491:9: note: in expansion of macro 'READDATA' - 491 | READDATA(lastShoot); +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 -fcf-protection -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 -fcf-protection -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/Monster.cpp:1: +src/Monster.cpp: In member function 'virtual void CMonster::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/Monstrxx.cpp:492:9: note: in expansion of macro 'READDATA' - 492 | READDATA(inJump); +src/Monster.cpp:349:9: note: in expansion of macro 'READDATA' + 349 | READDATA(size); | ^~~~~~~~ -src/Monstrxx.cpp: In member function 'virtual void CFlyer::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/Monstrxx.cpp:520:9: note: in expansion of macro 'READDATA' - 520 | READDATA(size); +src/Monster.cpp:350:9: note: in expansion of macro 'READDATA' + 350 | 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/Monstrxx.cpp:521:9: note: in expansion of macro 'READDATA' - 521 | READDATA(typeID); +src/Monster.cpp:351:9: note: in expansion of macro 'READDATA' + 351 | 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/Monstrxx.cpp:522:9: note: in expansion of macro 'READDATA' - 522 | READDATA(thingNumber); +src/Monster.cpp:359:9: note: in expansion of macro 'READDATA' + 359 | READDATA(speed); | ^~~~~~~~ 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/Monstrxx.cpp:526:9: note: in expansion of macro 'READDATA' - 526 | READDATA(nextShootTime); +src/Monster.cpp:360:9: note: in expansion of macro 'READDATA' + 360 | READDATA(lastWalkTime); | ^~~~~~~~ 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/Monstrxx.cpp:527:9: note: in expansion of macro 'READDATA' - 527 | READDATA(currentShootDelay); +src/Monster.cpp:361:9: note: in expansion of macro 'READDATA' + 361 | READDATA(lastShootTime); | ^~~~~~~~ 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/Monstrxx.cpp:528:9: note: in expansion of macro 'READDATA' - 528 | READDATA(lastShoot); +src/Monster.cpp:362:9: note: in expansion of macro 'READDATA' + 362 | READDATA(walkFrame); | ^~~~~~~~ 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/Monstrxx.cpp:529:9: note: in expansion of macro 'READDATA' - 529 | READDATA(rescueMeX); +src/Monster.cpp:363:9: note: in expansion of macro 'READDATA' + 363 | READDATA(status); | ^~~~~~~~ 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/Monstrxx.cpp:530:9: note: in expansion of macro 'READDATA' - 530 | READDATA(rescueMeY); +src/Monster.cpp:364:9: note: in expansion of macro 'READDATA' + 364 | READDATA(lastCollisionCode); | ^~~~~~~~ -src/Monstrxx.cpp: In member function 'virtual void CWarg::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/Monstrxx.cpp:561:9: note: in expansion of macro 'READDATA' - 561 | READDATA(size); +src/Monster.cpp:365:9: note: in expansion of macro 'READDATA' + 365 | READDATA(flying); | ^~~~~~~~ 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/Monstrxx.cpp:562:9: note: in expansion of macro 'READDATA' - 562 | READDATA(typeID); +src/Monster.cpp:366:9: note: in expansion of macro 'READDATA' + 366 | READDATA(teleportDeltaTime); | ^~~~~~~~ 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/Monstrxx.cpp:563:9: note: in expansion of macro 'READDATA' - 563 | READDATA(thingNumber); +src/Monster.cpp:367:9: note: in expansion of macro 'READDATA' + 367 | READDATA(teleportCounter); | ^~~~~~~~ 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/Monstrxx.cpp:571:9: note: in expansion of macro 'READDATA' - 571 | READDATA(nextShootTime); +src/Monster.cpp:368:9: note: in expansion of macro 'READDATA' + 368 | READDATA(lastBlessureTime); | ^~~~~~~~ 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/Monstrxx.cpp:572:9: note: in expansion of macro 'READDATA' - 572 | READDATA(currentShootDelay); +src/Monster.cpp:369:9: note: in expansion of macro 'READDATA' + 369 | READDATA(dieFrameTime); | ^~~~~~~~ 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/Monstrxx.cpp:573:9: note: in expansion of macro 'READDATA' - 573 | READDATA(lastShoot); +src/Monster.cpp:370:9: note: in expansion of macro 'READDATA' + 370 | READDATA(dieFrame); | ^~~~~~~~ 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/Monstrxx.cpp:574:9: note: in expansion of macro 'READDATA' - 574 | READDATA(inJump); +src/Monster.cpp:371:9: note: in expansion of macro 'READDATA' + 371 | READDATA(doDarken); | ^~~~~~~~ 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/Monstrxx.cpp:575:9: note: in expansion of macro 'READDATA' - 575 | READDATA(speedup); +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/ShapeLd.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 +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 -fcf-protection -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 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] @@ -2295,9 +2332,22 @@ 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/Weapon.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 +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/System.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fcf-protection -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 In file included from src/Thing.hpp:4, from src/Pltform.hpp:4, from src/Pltform.cpp:1: @@ -2371,21 +2421,7 @@ 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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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/SndSys.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 In file included from src/Thing.hpp:4, from src/Monster.hpp:4, from src/Player.hpp:4, @@ -2463,7 +2499,6 @@ 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/SoundList.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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*)': @@ -2631,6 +2666,7 @@ src/Weapon.cpp:468:9: note: in expansion of macro 'READDATA' 468 | READDATA(dy); | ^~~~~~~~ +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 -fcf-protection -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 g++ -Wl,-z,relro -Wl,-z,now -L/usr/lib -L/usr/local/lib -L/usr/X11R6/lib -o amph src/Element.o src/File.o src/Gifload.o src/Graphfil.o src/Gui.o src/Appl.o src/Bullet.o src/Clut.o src/ConstVal.o src/Creeper.o src/Item.o src/Level.o src/Main.o src/Monster.o src/Monstrxx.o src/Object.o src/ObjInfo.o src/Player.o src/Pltform.o src/Shape.o src/ShapeLd.o src/Surface.o src/Thing.o src/Weapon.o src/System.o src/SndSys.o src/SoundList.o -lm -lSDL -lXpm make[1]: Leaving directory '/build/reproducible-path/amphetamine-0.8.10' dh_auto_test @@ -2740,8 +2776,8 @@ 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_amd64.deb'. dpkg-deb: building package 'amphetamine-dbgsym' in '../amphetamine-dbgsym_0.8.10-21_amd64.deb'. +dpkg-deb: building package 'amphetamine' in '../amphetamine_0.8.10-21_amd64.deb'. dpkg-genbuildinfo --build=binary -O../amphetamine_0.8.10-21_amd64.buildinfo dpkg-genchanges --build=binary -O../amphetamine_0.8.10-21_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2749,12 +2785,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/1257252/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1257252/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/2200891 and its subdirectories -I: Current time: Tue Dec 2 01:48:48 -12 2025 -I: pbuilder-time-stamp: 1764683328 +I: removing directory /srv/workspace/pbuilder/1257252 and its subdirectories +I: Current time: Wed Oct 30 21:27:10 +14 2024 +I: pbuilder-time-stamp: 1730273230