Diff of the two buildlogs: -- --- b1/build.log 2024-01-07 15:00:00.751241836 +0000 +++ b2/build.log 2024-01-07 15:04:47.824179072 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Jan 7 02:57:44 -12 2024 -I: pbuilder-time-stamp: 1704639464 +I: Current time: Mon Jan 8 05:00:11 +14 2024 +I: pbuilder-time-stamp: 1704639611 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -36,49 +36,81 @@ dpkg-source: info: applying cross-build.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/17992/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/10305/tmp/hooks/D01_modify_environment starting +debug: Running on ff4a. +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 Jan 7 15:00 /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/10305/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/10305/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='fefc0cb492d4413cacfaf788967b1462' - 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='17992' - PS1='# ' - PS2='> ' + INVOCATION_ID=274cf19f6392422cada821485508e85d + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=10305 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.cdn7p1m7/pbuilderrc_SMIY --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.cdn7p1m7/b1 --logfile b1/build.log amphetamine_0.8.10-21.dsc' - SUDO_GID='114' - SUDO_UID='108' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.cdn7p1m7/pbuilderrc_36LU --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.cdn7p1m7/b2 --logfile b2/build.log amphetamine_0.8.10-21.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt64a 6.1.0-17-arm64 #1 SMP Debian 6.1.69-1 (2023-12-30) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-17-armmp-lpae #1 SMP Debian 6.1.69-1 (2023-12-30) armv7l GNU/Linux I: ls -l /bin total 4964 -rwxr-xr-x 1 root root 838488 Apr 23 2023 bash @@ -138,7 +170,7 @@ -rwxr-xr-x 1 root root 67600 Sep 20 2022 rmdir -rwxr-xr-x 1 root root 14152 Jul 28 23:46 run-parts -rwxr-xr-x 1 root root 133372 Jan 5 2023 sed - lrwxrwxrwx 1 root root 4 Jan 5 2023 sh -> dash + lrwxrwxrwx 1 root root 9 Jan 7 15:00 sh -> /bin/bash -rwxr-xr-x 1 root root 67584 Sep 20 2022 sleep -rwxr-xr-x 1 root root 67644 Sep 20 2022 stty -rwsr-xr-x 1 root root 50800 Mar 23 2023 su @@ -164,7 +196,7 @@ -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew -I: user script /srv/workspace/pbuilder/17992/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/10305/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -374,7 +406,7 @@ Get: 166 http://deb.debian.org/debian bookworm/main armhf libsdl1.2-dev armhf 1.2.15+dfsg2-8 [706 kB] Get: 167 http://deb.debian.org/debian bookworm/main armhf libxpm4 armhf 1:3.5.12-1.1+deb12u1 [42.4 kB] Get: 168 http://deb.debian.org/debian bookworm/main armhf libxpm-dev armhf 1:3.5.12-1.1+deb12u1 [98.3 kB] -Fetched 83.7 MB in 2s (38.5 MB/s) +Fetched 83.7 MB in 8s (10.7 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libfftw3-double3:armhf. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 17881 files and directories currently installed.) @@ -1091,7 +1123,11 @@ fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/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/10305/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bookworm +I: user script /srv/workspace/pbuilder/10305/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 @@ -1101,7 +1137,7 @@ fakeroot debian/rules clean dh clean dh_auto_clean - make -j3 clean + make -j4 clean make[1]: Entering directory '/build/reproducible-path/amphetamine-0.8.10' make[1]: Leaving directory '/build/reproducible-path/amphetamine-0.8.10' debian/rules override_dh_clean @@ -1126,24 +1162,12 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j3 "INSTALL=install --strip-program=true" + make -j4 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/amphetamine-0.8.10' g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Element.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Element.o g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/File.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/File.o g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Gifload.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Gifload.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}; - | ~~~^~~~ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Graphfil.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Graphfil.o 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; @@ -1160,7 +1184,20 @@ 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/Graphfil.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Graphfil.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}; + | ~~~^~~~ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Gui.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Gui.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*)': @@ -1254,9 +1291,9 @@ src/Element.cpp:365:17: note: in expansion of macro 'READDATA' 365 | READDATA(elementThings->passiveHasChanged); | ^~~~~~~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Gui.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Gui.o g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Appl.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Appl.o g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Bullet.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Bullet.o +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Clut.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Clut.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); @@ -1511,10 +1548,42 @@ 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/Clut.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Clut.o g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/ConstVal.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/ConstVal.o 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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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/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); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/Thing.hpp:4, from src/Item.hpp:4, from src/Item.cpp:1: @@ -1549,6 +1618,21 @@ src/Item.cpp:278:9: note: in expansion of macro 'READDATA' 278 | READDATA(detonationStartTime); | ^~~~~~~~ +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); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); @@ -1580,56 +1664,8 @@ 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/Level.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -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 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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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/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/Monstrxx.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -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 In file included from src/Thing.hpp:4, from src/Monster.hpp:4, @@ -1921,6 +1957,7 @@ 575 | READDATA(speedup); | ^~~~~~~~ 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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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/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] @@ -2025,7 +2062,8 @@ 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/Player.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -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 +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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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/ObjInfo.hpp:4, from src/ObjInfo.cpp:1: src/ObjInfo.cpp: In member function 'void CObjInfo::LoadMonsters(short int)': @@ -2041,7 +2079,6 @@ 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/Pltform.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -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/Thing.hpp:4, from src/Monster.hpp:4, from src/Player.hpp:4, @@ -2119,7 +2156,19 @@ 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/Shape.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -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 +src/Shape.cpp: In member function 'void CMaskedShape::Encode(unsigned char*, unsigned char*, short int*, long int)': +src/Shape.cpp:103:10: warning: cast from 'unsigned char*' to 'short int*' increases required alignment of target type [-Wcast-align] + 103 | ((short *)destPtr)[0] = 0; + | ^~~~~~~~~~~~~~~~ +src/Shape.cpp:104:10: warning: cast from 'unsigned char*' to 'short int*' increases required alignment of target type [-Wcast-align] + 104 | ((short *)destPtr)[1] = 0; + | ^~~~~~~~~~~~~~~~ +src/Shape.cpp:105:10: warning: cast from 'unsigned char*' to 'short int*' increases required alignment of target type [-Wcast-align] + 105 | ((short *)destPtr)[2] = dx; + | ^~~~~~~~~~~~~~~~ +src/Shape.cpp:106:10: warning: cast from 'unsigned char*' to 'short int*' increases required alignment of target type [-Wcast-align] + 106 | ((short *)destPtr)[3] = dy; + | ^~~~~~~~~~~~~~~~ In file included from src/Thing.hpp:4, from src/Pltform.hpp:4, from src/Pltform.cpp:1: @@ -2193,19 +2242,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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Shape.cpp: In member function 'void CMaskedShape::Encode(unsigned char*, unsigned char*, short int*, long int)': -src/Shape.cpp:103:10: warning: cast from 'unsigned char*' to 'short int*' increases required alignment of target type [-Wcast-align] - 103 | ((short *)destPtr)[0] = 0; - | ^~~~~~~~~~~~~~~~ -src/Shape.cpp:104:10: warning: cast from 'unsigned char*' to 'short int*' increases required alignment of target type [-Wcast-align] - 104 | ((short *)destPtr)[1] = 0; - | ^~~~~~~~~~~~~~~~ -src/Shape.cpp:105:10: warning: cast from 'unsigned char*' to 'short int*' increases required alignment of target type [-Wcast-align] - 105 | ((short *)destPtr)[2] = dx; - | ^~~~~~~~~~~~~~~~ -src/Shape.cpp:106:10: warning: cast from 'unsigned char*' to 'short int*' increases required alignment of target type [-Wcast-align] - 106 | ((short *)destPtr)[3] = dy; - | ^~~~~~~~~~~~~~~~ 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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 @@ -2498,12 +2534,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/10305/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/10305/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/17992 and its subdirectories -I: Current time: Sun Jan 7 02:59:55 -12 2024 -I: pbuilder-time-stamp: 1704639595 +I: removing directory /srv/workspace/pbuilder/10305 and its subdirectories +I: Current time: Mon Jan 8 05:04:37 +14 2024 +I: pbuilder-time-stamp: 1704639877