Diff of the two buildlogs: -- --- b1/build.log 2024-11-15 19:29:31.007960188 +0000 +++ b2/build.log 2024-11-15 19:30:08.686248095 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Nov 15 07:28:54 -12 2024 -I: pbuilder-time-stamp: 1731698934 +I: Current time: Fri Dec 19 15:52:31 +14 2025 +I: pbuilder-time-stamp: 1766109151 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -26,53 +26,85 @@ dpkg-source: info: unpacking unmass_0.9-8.debian.tar.xz I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/7262/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/31642/tmp/hooks/D01_modify_environment starting +debug: Running on infom08-i386. +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 Dec 19 01:52 /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/31642/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/31642/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=6 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='i386' + 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]="i686-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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=5 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='8e281c09c96648b9959d8f9fe6cda5cd' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='7262' - PS1='# ' - PS2='> ' + INVOCATION_ID=c54cd0cdf23d4e2a83bd027db9951757 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-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=31642 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.89XuoAgd/pbuilderrc_aycg --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.89XuoAgd/b1 --logfile b1/build.log unmass_0.9-8.dsc' - SUDO_GID='111' - 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.89XuoAgd/pbuilderrc_Bftr --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.89XuoAgd/b2 --logfile b2/build.log unmass_0.9-8.dsc' + SUDO_GID=111 + 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 infom07-i386 6.1.0-27-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.115-1 (2024-11-01) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.10.11+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.11-1~bpo12+1 (2024-10-03) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/7262/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/31642/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -137,7 +169,7 @@ Get: 27 http://deb.debian.org/debian trixie/main i386 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian trixie/main i386 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian trixie/main i386 debhelper all 13.20 [915 kB] -Fetched 20.1 MB in 2s (9698 kB/s) +Fetched 20.1 MB in 0s (67.2 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 19957 files and directories currently installed.) @@ -273,7 +305,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/unmass-0.9/ && 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 > ../unmass_0.9-8_source.changes +I: user script /srv/workspace/pbuilder/31642/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/31642/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/unmass-0.9/ && 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 > ../unmass_0.9-8_source.changes dpkg-buildpackage: info: source package unmass dpkg-buildpackage: info: source version 0.9-8 dpkg-buildpackage: info: source distribution unstable @@ -427,7 +463,7 @@ config.status: executing depfiles commands config.status: executing libtool commands dh_auto_build -O--sourcedirectory=kdev - cd kdev && make -j6 + cd kdev && make -j5 make[1]: Entering directory '/build/reproducible-path/unmass-0.9/kdev' make all-recursive make[2]: Entering directory '/build/reproducible-path/unmass-0.9/kdev' @@ -438,61 +474,46 @@ g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_crism.o ma_crism.cpp g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_dune2.o ma_dune2.cpp g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_ecou.o ma_ecou.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_eth2.o ma_eth2.cpp -ma_dune2.cpp: In member function 'virtual int CMassDune2::CheckFileType()': -ma_dune2.cpp:25:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 25 | fread( &ul, 4, 1, massf ); - | ~~~~~^~~~~~~~~~~~~~~~~~~~ -ma_dune2.cpp: In member function 'virtual void CMassDune2::GetFileMainInfo()': -ma_dune2.cpp:53:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 53 | fread( &ul, 4, 1, massf ); - | ~~~~~^~~~~~~~~~~~~~~~~~~~ -ma_dune2.cpp:57:38: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 57 | fread( &uc, 1, 1, massf ); - | ~~~~~^~~~~~~~~~~~~~~~~~~~ -ma_dune2.cpp: In member function 'virtual int CMassDune2::ReadRec(long int)': -ma_dune2.cpp:101:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 101 | fread( &c, 1, 1, massf ); - | ~~~~~^~~~~~~~~~~~~~~~~~~ ma_bif.cpp: In member function 'virtual int CMassBif::CheckFileType()': ma_bif.cpp:23:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 23 | fread( buf, 8, 1, massf ); | ~~~~~^~~~~~~~~~~~~~~~~~~~ -ma_crism.cpp: In member function 'virtual int CMassCrismon::CheckFileType()': -ma_crism.cpp:23:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 23 | fread( buf, 4, 1, massf ); - | ~~~~~^~~~~~~~~~~~~~~~~~~~ ma_bif.cpp: In member function 'virtual void CMassBif::GetFileMainInfo()': ma_bif.cpp:42:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 42 | fread( &files_count, 4, 1, massf ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ma_crism.cpp: In member function 'virtual void CMassCrismon::GetFileMainInfo()': -ma_crism.cpp:48:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 48 | fread( &uc, 1, 1, massf ); - | ~~~~~^~~~~~~~~~~~~~~~~~~~ ma_bif.cpp: In member function 'virtual int CMassBif::ReadRec(long int)': ma_bif.cpp:92:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 92 | fread( buf, 1, 10, massf ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~ +ma_crism.cpp: In member function 'virtual int CMassCrismon::CheckFileType()': +ma_crism.cpp:23:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 23 | fread( buf, 4, 1, massf ); + | ~~~~~^~~~~~~~~~~~~~~~~~~~ +ma_crism.cpp: In member function 'virtual void CMassCrismon::GetFileMainInfo()': +ma_crism.cpp:48:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 48 | fread( &uc, 1, 1, massf ); + | ~~~~~^~~~~~~~~~~~~~~~~~~~ ma_crism.cpp: In member function 'virtual int CMassCrismon::ReadRec(long int)': ma_crism.cpp:95:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 95 | fread( &uc, 1, 1, massf ); | ~~~~~^~~~~~~~~~~~~~~~~~~~ -ma_eth2.cpp: In member function 'virtual int CMassEth2::CheckFileType()': -ma_eth2.cpp:23:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 23 | fread( buf, 4, 1, massf ); - | ~~~~~^~~~~~~~~~~~~~~~~~~~ -ma_eth2.cpp: In member function 'virtual void CMassEth2::GetFileMainInfo()': -ma_eth2.cpp:39:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 39 | fread( &files_count, 4, 1, massf ); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ma_eth2.cpp:40:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 40 | fread( &lib_start, 4, 1, massf ); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -ma_eth2.cpp: In member function 'virtual int CMassEth2::ReadRec(long int)': -ma_eth2.cpp:92:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 92 | fread( FileRec.name, 1, Eth2Rec.namelen, massf ); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ma_dune2.cpp: In member function 'virtual int CMassDune2::CheckFileType()': +ma_dune2.cpp:25:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 25 | fread( &ul, 4, 1, massf ); + | ~~~~~^~~~~~~~~~~~~~~~~~~~ +ma_dune2.cpp: In member function 'virtual void CMassDune2::GetFileMainInfo()': +ma_dune2.cpp:53:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 53 | fread( &ul, 4, 1, massf ); + | ~~~~~^~~~~~~~~~~~~~~~~~~~ +ma_dune2.cpp:57:38: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 57 | fread( &uc, 1, 1, massf ); + | ~~~~~^~~~~~~~~~~~~~~~~~~~ +ma_dune2.cpp: In member function 'virtual int CMassDune2::ReadRec(long int)': +ma_dune2.cpp:101:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 101 | fread( &c, 1, 1, massf ); + | ~~~~~^~~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_eth2.o ma_eth2.cpp ma_ecou.cpp: In member function 'virtual int CMassEcou::CheckFileType()': ma_ecou.cpp:25:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 25 | fread( buf, 18, 1, massf ); @@ -527,9 +548,56 @@ 98 | fread( &EcouRec.size_c, EcouRec.size_c_len, 1, massf ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_ff8.o ma_ff8.cpp +ma_eth2.cpp: In member function 'virtual int CMassEth2::CheckFileType()': +ma_eth2.cpp:23:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 23 | fread( buf, 4, 1, massf ); + | ~~~~~^~~~~~~~~~~~~~~~~~~~ +ma_eth2.cpp: In member function 'virtual void CMassEth2::GetFileMainInfo()': +ma_eth2.cpp:39:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 39 | fread( &files_count, 4, 1, massf ); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ma_eth2.cpp:40:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 40 | fread( &lib_start, 4, 1, massf ); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +ma_eth2.cpp: In member function 'virtual int CMassEth2::ReadRec(long int)': +ma_eth2.cpp:92:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 92 | fread( FileRec.name, 1, Eth2Rec.namelen, massf ); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ma_ff8.cpp: In member function 'virtual int CMassFF8::ReadRec(long int)': +ma_ff8.cpp:112:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 112 | fread( &c, 1, 1, fl ); + | ~~~~~^~~~~~~~~~~~~~~~ +ma_ff8.cpp: In member function 'virtual int CMassFF8::ExtractWholeFile(FILE*)': +ma_ff8.cpp:321:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 321 | fread( buf, 4, 1, fs ); + | ~~~~~^~~~~~~~~~~~~~~~~ +ma_ff8.cpp:331:38: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 331 | fread( &control, 1, 1, fs ); pos ++; + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ +ma_ff8.cpp:336:38: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 336 | fread( &ch, 1, 1, fs ); pos++; + | ~~~~~^~~~~~~~~~~~~~~~~ +ma_ff8.cpp:340:38: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 340 | fread( cha, 2, 1, fs ); pos += 2; + | ~~~~~^~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_fpk.o ma_fpk.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_grp.o ma_grp.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_gunme.o ma_gunme.cpp +ma_ff8.cpp: In member function 'virtual int CMassFF8::CheckFileType()': +ma_ff8.cpp:28:26: warning: '%s' directive writing up to 255 bytes into a region of size between 1 and 256 [-Wformat-overflow=] + 28 | sprintf( str, "%s%s", MassFilePath, MassFileName ); + | ^~ +In file included from /usr/include/stdio.h:970, + from ma.h:24, + from ma_ff8.h:4, + from ma_ff8.cpp:1: +In function 'int sprintf(char*, const char*, ...)', + inlined from 'virtual int CMassFF8::CheckFileType()' at ma_ff8.cpp:28:9: +/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 1 and 511 bytes into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ ma_fpk.cpp: In member function 'virtual int CMassFpk::CheckFileType()': ma_fpk.cpp:23:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 23 | fread( buf, 4, 1, massf ); @@ -551,24 +619,8 @@ ma_fpk.cpp:118:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 118 | fread( &FpkRec.offset, 4, 1, massf ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ma_ff8.cpp: In member function 'virtual int CMassFF8::ReadRec(long int)': -ma_ff8.cpp:112:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 112 | fread( &c, 1, 1, fl ); - | ~~~~~^~~~~~~~~~~~~~~~ -ma_ff8.cpp: In member function 'virtual int CMassFF8::ExtractWholeFile(FILE*)': -ma_ff8.cpp:321:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 321 | fread( buf, 4, 1, fs ); - | ~~~~~^~~~~~~~~~~~~~~~~ -ma_ff8.cpp:331:38: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 331 | fread( &control, 1, 1, fs ); pos ++; - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ -ma_ff8.cpp:336:38: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 336 | fread( &ch, 1, 1, fs ); pos++; - | ~~~~~^~~~~~~~~~~~~~~~~ -ma_ff8.cpp:340:38: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 340 | fread( cha, 2, 1, fs ); pos += 2; - | ~~~~~^~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_ipwad.o ma_ipwad.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_grp.o ma_grp.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_gunme.o ma_gunme.cpp ma_grp.cpp: In member function 'virtual int CMassGrp::CheckFileType()': ma_grp.cpp:23:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 23 | fread( buf, 12, 1, massf ); @@ -581,6 +633,7 @@ ma_grp.cpp:98:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 98 | fread( &grpRec, SizeOfGrpRec, 1, massf ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_ipwad.o ma_ipwad.cpp ma_gunme.cpp: In member function 'virtual int CMassGunMetal::CheckFileType()': ma_gunme.cpp:23:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 23 | fread( buf, 4, 1, massf ); @@ -596,6 +649,7 @@ ma_gunme.cpp:103:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 103 | fread( buf, 4, 1, massf ); | ~~~~~^~~~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_lbx.o ma_lbx.cpp ma_ipwad.cpp: In member function 'virtual int CMassIPwad::CheckFileType()': ma_ipwad.cpp:23:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 23 | fread( buf, 4, 1, massf ); @@ -607,26 +661,7 @@ ma_ipwad.cpp:44:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 44 | fread( &lib_start, 4, 1, massf ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -ma_ff8.cpp: In member function 'virtual int CMassFF8::CheckFileType()': -ma_ff8.cpp:28:26: warning: '%s' directive writing up to 255 bytes into a region of size between 1 and 256 [-Wformat-overflow=] - 28 | sprintf( str, "%s%s", MassFilePath, MassFileName ); - | ^~ -In file included from /usr/include/stdio.h:970, - from ma.h:24, - from ma_ff8.h:4, - from ma_ff8.cpp:1: -In function 'int sprintf(char*, const char*, ...)', - inlined from 'virtual int CMassFF8::CheckFileType()' at ma_ff8.cpp:28:9: -/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 1 and 511 bytes into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_lbx.o ma_lbx.cpp g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_lgp.o ma_lgp.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_mea.o ma_mea.cpp ma_lbx.cpp: In member function 'virtual void CMassLbx::GetFileMainInfo()': ma_lbx.cpp:40:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 40 | fread( &s, 2, 1, massf ); @@ -634,7 +669,7 @@ ma_lbx.cpp:42:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 42 | fread( &lib_start, 4, 1, massf ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_mgmnl.o ma_mgmnl.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_mea.o ma_mea.cpp ma_lgp.cpp: In member function 'virtual int CMassLgp::CheckFileType()': ma_lgp.cpp:23:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 23 | fread( buf, 12, 1, massf ); @@ -643,6 +678,8 @@ ma_lgp.cpp:42:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 42 | fread( &files_count, 4, 1, massf ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_mgmnl.o ma_mgmnl.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_mgs.o ma_mgs.cpp ma_mgmnl.cpp: In member function 'virtual int CMassMegamanLegends::CheckFileType()': ma_mgmnl.cpp:24:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 24 | fread( &ul, 4, 1, massf ); @@ -654,7 +691,6 @@ ma_mgmnl.cpp:47:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | fread( &ul, 4, 1, massf ); | ~~~~~^~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_mgs.o ma_mgs.cpp g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_moor3.o ma_moor3.cpp g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_oni_d.o ma_oni_d.cpp ma_moor3.cpp: In member function 'virtual int CMassMoor3::CheckFileType()': @@ -667,6 +703,20 @@ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_pak.o ma_pak.cpp g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_pbo.o ma_pbo.cpp +ma_mgs.cpp: In member function 'virtual void CMassMgs::GetFileMainInfo()': +ma_mgs.cpp:39:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 39 | fread( &files_count, 4, 1, massf ); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ma_mgs.cpp: In member function 'virtual int CMassMgs::ReadRec(long int)': +ma_mgs.cpp:75:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 75 | fread( &uc, 1, 1, massf ); + | ~~~~~^~~~~~~~~~~~~~~~~~~~ +ma_mgs.cpp:84:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 84 | fread( &uc, 1, 1, massf ); + | ~~~~~^~~~~~~~~~~~~~~~~~~~ +ma_mgs.cpp:89:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 89 | fread( &MgsRec.size, 4, 1, massf ); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ma_pak.cpp: In member function 'virtual int CMassPak::CheckFileType()': ma_pak.cpp:23:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 23 | fread( buf, 4, 1, massf ); @@ -693,7 +743,6 @@ ma_pbo.cpp:106:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 106 | fread( &uc, 1, 1, massf ); | ~~~~~^~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_roll.o ma_roll.cpp ma_mea.cpp: In member function 'virtual int CMassMea::CheckFileType()': ma_mea.cpp:31:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 31 | fread( &ul, 4, 1, massf ); @@ -711,39 +760,26 @@ ma_mea.cpp:65:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 65 | fread( &files_count, 4, 1, massf ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_roll.o ma_roll.cpp g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_swine.o ma_swine.cpp -ma_roll.cpp: In member function 'virtual int CMassRoll::CheckFileType()': -ma_roll.cpp:29:42: warning: '%s' directive writing up to 255 bytes into a region of size between 1 and 256 [-Wformat-overflow=] - 29 | sprintf( ImgFileName, "%s%s", MassFilePath, MassFileName ); - | ^~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_umod.o ma_umod.cpp +ma_mea.cpp: In member function 'virtual int CMassMea::ReadRec(long int)': +ma_mea.cpp:91:43: warning: '.exe' directive writing 4 bytes into a region of size between 1 and 256 [-Wformat-overflow=] + 91 | sprintf( FileRec.name, "%s.exe", MassFileName ); + | ^~~~ In file included from /usr/include/stdio.h:970, from ma.h:24, - from ma_roll.h:4, - from ma_roll.cpp:1: + from ma_mea.h:6, + from ma_mea.cpp:1: In function 'int sprintf(char*, const char*, ...)', - inlined from 'virtual int CMassRoll::CheckFileType()' at ma_roll.cpp:29:10: -/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 1 and 511 bytes into a destination of size 256 + inlined from 'virtual int CMassMea::ReadRec(long int)' at ma_mea.cpp:91:10: +/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 5 and 260 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -ma_mgs.cpp: In member function 'virtual void CMassMgs::GetFileMainInfo()': -ma_mgs.cpp:39:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 39 | fread( &files_count, 4, 1, massf ); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ma_mgs.cpp: In member function 'virtual int CMassMgs::ReadRec(long int)': -ma_mgs.cpp:75:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 75 | fread( &uc, 1, 1, massf ); - | ~~~~~^~~~~~~~~~~~~~~~~~~~ -ma_mgs.cpp:84:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 84 | fread( &uc, 1, 1, massf ); - | ~~~~~^~~~~~~~~~~~~~~~~~~~ -ma_mgs.cpp:89:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 89 | fread( &MgsRec.size, 4, 1, massf ); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_umod.o ma_umod.cpp ma_swine.cpp: In member function 'virtual int CMassSwine::CheckFileType()': ma_swine.cpp:23:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 23 | fread( buf, 12, 1, massf ); @@ -765,17 +801,32 @@ ma_swine.cpp:91:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 91 | fread( &swineRec.offset, 13, 1, massf ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ma_mea.cpp: In member function 'virtual int CMassMea::ReadRec(long int)': -ma_mea.cpp:91:43: warning: '.exe' directive writing 4 bytes into a region of size between 1 and 256 [-Wformat-overflow=] - 91 | sprintf( FileRec.name, "%s.exe", MassFileName ); - | ^~~~ +ma_roll.cpp: In member function 'virtual int CMassRoll::CheckFileType()': +ma_roll.cpp:29:42: warning: '%s' directive writing up to 255 bytes into a region of size between 1 and 256 [-Wformat-overflow=] + 29 | sprintf( ImgFileName, "%s%s", MassFilePath, MassFileName ); + | ^~ +ma_umod.cpp: In member function 'virtual int CMassUmod::CheckFileType()': +ma_umod.cpp:28:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 28 | fread( &ul2, 4, 1, massf ); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~ +ma_umod.cpp: In member function 'virtual void CMassUmod::GetFileMainInfo()': +ma_umod.cpp:48:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 48 | fread( &lib_start, 4, 1, massf ); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +ma_umod.cpp:50:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 50 | fread( &uc, 1, 1, massf ); + | ~~~~~^~~~~~~~~~~~~~~~~~~~ +ma_umod.cpp: In member function 'virtual int CMassUmod::ReadRec(long int)': +ma_umod.cpp:82:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 82 | fread( &umodRec.namelen, 1, 1, massf ); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from ma.h:24, - from ma_mea.h:6, - from ma_mea.cpp:1: + from ma_roll.h:4, + from ma_roll.cpp:1: In function 'int sprintf(char*, const char*, ...)', - inlined from 'virtual int CMassMea::ReadRec(long int)' at ma_mea.cpp:91:10: -/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 5 and 260 bytes into a destination of size 256 + inlined from 'virtual int CMassRoll::CheckFileType()' at ma_roll.cpp:29:10: +/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 1 and 511 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, @@ -800,21 +851,6 @@ ma_oni_d.cpp:165:38: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 165 | fread( &TXMP_structure, 1, sizeof( TXMP_structure ), massf ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ma_umod.cpp: In member function 'virtual int CMassUmod::CheckFileType()': -ma_umod.cpp:28:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 28 | fread( &ul2, 4, 1, massf ); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~ -ma_umod.cpp: In member function 'virtual void CMassUmod::GetFileMainInfo()': -ma_umod.cpp:48:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 48 | fread( &lib_start, 4, 1, massf ); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -ma_umod.cpp:50:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 50 | fread( &uc, 1, 1, massf ); - | ~~~~~^~~~~~~~~~~~~~~~~~~~ -ma_umod.cpp: In member function 'virtual int CMassUmod::ReadRec(long int)': -ma_umod.cpp:82:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 82 | fread( &umodRec.namelen, 1, 1, massf ); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_vf1bi.o ma_vf1bi.cpp ma_oni_d.cpp: In member function 'virtual int CMassOniDat::CheckFileType()': ma_oni_d.cpp:31:34: warning: '%s' directive writing up to 255 bytes into a region of size between 1 and 256 [-Wformat-overflow=] @@ -833,12 +869,10 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_vol.o ma_vol.cpp ma_vf1bi.cpp: In member function 'virtual int CMassVF1bin::CheckFileType()': ma_vf1bi.cpp:23:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 23 | fread( buf, 12, 1, massf ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_wad2.o ma_wad2.cpp ma_vf1bi.cpp: In member function 'virtual void CMassVF1bin::GetFileMainInfo()': ma_vf1bi.cpp:52:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 52 | fread( &buffer[ i ], s, 1, massf ); @@ -847,11 +881,24 @@ ma_vf1bi.cpp:106:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 106 | fread( &buffer[ i ], s, 1, massf ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_vol.o ma_vol.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_wad2.o ma_wad2.cpp g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o ma_wtn.o ma_wtn.cpp ma_wad2.cpp: In member function 'virtual int CMassWad2::CheckFileType()': ma_wad2.cpp:23:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 23 | fread( buf, 4, 1, massf ); | ~~~~~^~~~~~~~~~~~~~~~~~~~ +ma_vol.cpp: In member function 'virtual void CMassVol::GetFileMainInfo()': +ma_vol.cpp:38:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 38 | fread( &ofs, 4, 1, massf ); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~ +ma_vol.cpp:46:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 46 | fread( &ofs2, 4, 1, massf ); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ +ma_vol.cpp: In member function 'virtual int CMassVol::ReadRec(long int)': +ma_vol.cpp:107:38: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 107 | fread( &ofs2, 4, 1, massf ); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ ma_wad2.cpp: In member function 'virtual void CMassWad2::GetFileMainInfo()': ma_wad2.cpp:42:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 42 | fread( &files_count, 4, 1, massf ); @@ -859,6 +906,7 @@ ma_wad2.cpp:43:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 43 | fread( &lib_start, 4, 1, massf ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o massfs.o massfs.cpp ma_wtn.cpp: In member function 'virtual int CMassWtn::CheckFileType()': ma_wtn.cpp:23:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 23 | fread( buf, 60, 1, massf ); @@ -889,18 +937,6 @@ ma_wtn.cpp:98:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 98 | fread( &wtnRec.subfiles_count, 16, 1, massf ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ma_vol.cpp: In member function 'virtual void CMassVol::GetFileMainInfo()': -ma_vol.cpp:38:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 38 | fread( &ofs, 4, 1, massf ); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~ -ma_vol.cpp:46:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 46 | fread( &ofs2, 4, 1, massf ); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ -ma_vol.cpp: In member function 'virtual int CMassVol::ReadRec(long int)': -ma_vol.cpp:107:38: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 107 | fread( &ofs2, 4, 1, massf ); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o massfs.o massfs.cpp g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o unmassc.o unmassc.cpp g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -c -o utools.o utools.cpp utools.cpp:435:27: warning: missing terminating ' character @@ -927,7 +963,7 @@ utools.cpp:235:21: warning: control reaches end of non-void function [-Wreturn-type] 235 | massfs.Close(); | ~~~~~~~~~~~~^~ -/bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -Wl,-z,relro -Wl,-z,now -o unmass_kdev ma.o ma_bif.o ma_crism.o ma_dune2.o ma_ecou.o ma_eth2.o ma_ff8.o ma_fpk.o ma_grp.o ma_gunme.o ma_ipwad.o ma_lbx.o ma_lgp.o ma_mea.o ma_mgmnl.o ma_mgs.o ma_moor3.o ma_oni_d.o ma_pak.o ma_pbo.o ma_roll.o ma_swine.o ma_umod.o ma_vf1bi.o ma_vol.o ma_wad2.o ma_wtn.o massfs.o unmassc.o utools.o +/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -Wl,-z,relro -Wl,-z,now -o unmass_kdev ma.o ma_bif.o ma_crism.o ma_dune2.o ma_ecou.o ma_eth2.o ma_ff8.o ma_fpk.o ma_grp.o ma_gunme.o ma_ipwad.o ma_lbx.o ma_lgp.o ma_mea.o ma_mgmnl.o ma_mgs.o ma_moor3.o ma_oni_d.o ma_pak.o ma_pbo.o ma_roll.o ma_swine.o ma_umod.o ma_vf1bi.o ma_vol.o ma_wad2.o ma_wtn.o massfs.o unmassc.o utools.o libtool: link: g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/unmass-0.9=. -fstack-protector-strong -Wformat -Werror=format-security -D_UNIX -Wl,-z -Wl,relro -Wl,-z -Wl,now -o unmass_kdev ma.o ma_bif.o ma_crism.o ma_dune2.o ma_ecou.o ma_eth2.o ma_ff8.o ma_fpk.o ma_grp.o ma_gunme.o ma_ipwad.o ma_lbx.o ma_lgp.o ma_mea.o ma_mgmnl.o ma_mgs.o ma_moor3.o ma_oni_d.o ma_pak.o ma_pbo.o ma_roll.o ma_swine.o ma_umod.o ma_vf1bi.o ma_vol.o ma_wad2.o ma_wtn.o massfs.o unmassc.o utools.o make[3]: Leaving directory '/build/reproducible-path/unmass-0.9/kdev/src' make[3]: Entering directory '/build/reproducible-path/unmass-0.9/kdev' @@ -935,7 +971,7 @@ make[2]: Leaving directory '/build/reproducible-path/unmass-0.9/kdev' make[1]: Leaving directory '/build/reproducible-path/unmass-0.9/kdev' dh_auto_test -O--sourcedirectory=kdev - cd kdev && make -j6 check "TESTSUITEFLAGS=-j6 --verbose" VERBOSE=1 + cd kdev && make -j5 check "TESTSUITEFLAGS=-j5 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/unmass-0.9/kdev' Making check in src make[2]: Entering directory '/build/reproducible-path/unmass-0.9/kdev/src' @@ -982,12 +1018,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/31642/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/31642/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/7262 and its subdirectories -I: Current time: Fri Nov 15 07:29:30 -12 2024 -I: pbuilder-time-stamp: 1731698970 +I: removing directory /srv/workspace/pbuilder/31642 and its subdirectories +I: Current time: Fri Dec 19 15:53:05 +14 2025 +I: pbuilder-time-stamp: 1766109185