Diff of the two buildlogs: -- --- b1/build.log 2025-08-29 06:12:37.944157206 +0000 +++ b2/build.log 2025-08-29 06:14:02.944257956 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Oct 1 00:34:55 -12 2026 -I: pbuilder-time-stamp: 1790858095 +I: Current time: Fri Aug 29 20:12:40 +14 2025 +I: pbuilder-time-stamp: 1756447960 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/forky-reproducible-base.tgz] I: copying local configuration @@ -29,53 +29,85 @@ dpkg-source: info: applying gcc10_fix-1.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1385453/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3049332/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Aug 29 06:12 /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/3049332/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3049332/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='forky' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=forky + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='b31eb998a6ed48159f6a12e64c4acb9d' - 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='1385453' - PS1='# ' - PS2='> ' + INVOCATION_ID=8d389c197fe841ef86d90a11111f7e53 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=3049332 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.4N1rWgG1/pbuilderrc_rCeT --distribution forky --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.4N1rWgG1/b1 --logfile b1/build.log jfsutils_1.1.15-7.dsc' - SUDO_GID='109' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.4N1rWgG1/pbuilderrc_0npc --distribution forky --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.4N1rWgG1/b2 --logfile b2/build.log jfsutils_1.1.15-7.dsc' + SUDO_GID=109 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink03-arm64 6.12.41+deb13-cloud-arm64 #1 SMP Debian 6.12.41-1 (2025-08-12) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.12.41+deb13-cloud-arm64 #1 SMP Debian 6.12.41-1 (2025-08-12) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1385453/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3049332/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -143,7 +175,7 @@ Get: 28 http://deb.debian.org/debian forky/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian forky/main arm64 debhelper all 13.26 [939 kB] Get: 30 http://deb.debian.org/debian forky/main arm64 uuid-dev arm64 2.41.1-1 [49.6 kB] -Fetched 11.0 MB in 0s (105 MB/s) +Fetched 11.0 MB in 0s (44.6 MB/s) Preconfiguring packages ... 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 ... 19969 files and directories currently installed.) @@ -278,7 +310,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/jfsutils-1.1.15/ && 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 > ../jfsutils_1.1.15-7_source.changes +I: user script /srv/workspace/pbuilder/3049332/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for forky +I: user script /srv/workspace/pbuilder/3049332/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/jfsutils-1.1.15/ && 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 > ../jfsutils_1.1.15-7_source.changes dpkg-buildpackage: info: source package jfsutils dpkg-buildpackage: info: source version 1.1.15-7 dpkg-buildpackage: info: source distribution unstable @@ -436,15 +472,13 @@ utilsubs.c:76:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 76 | fgets(cmd, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jfsutils-1.1.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o logform.o logform.c -gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jfsutils-1.1.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o logredo.o logredo.c -gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jfsutils-1.1.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o log_work.o log_work.c open_by_label.c: In function 'open_check_label': open_by_label.c:72:46: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 72 | if (!strncmp(uuid, logsup.label, 16)) | ^~~~ | | | unsigned char * +gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jfsutils-1.1.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o logform.o logform.c In file included from open_by_label.c:21: /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) @@ -457,19 +491,6 @@ /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ -log_dump.c: In function 'jfs_logdump': -log_dump.c:333:58: warning: pointer targets in passing argument 3 of 'logRead' differ in signedness [-Wpointer-sign] - 333 | nextaddr = logRead(logaddr, &ld, afterdata); - | ^~~~~~~~~ - | | - | uint8_t * {aka unsigned char *} -log_dump.c:167:43: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 167 | extern int logRead(int32_t, struct lrd *, char *); - | ^~~~~~ -log_dump.c: In function 'ldmp_xdump': -log_dump.c:652:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 652 | i = (int) saddr % 4; - | ^ devices.c: In function 'ujfs_rw_diskblocks': devices.c:443:86: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'int64_t' {aka 'long int'} [-Wformat=] 443 | "ujfs_rw_diskblocks: %s %zd of %d bytes at offset %lld\n", @@ -482,22 +503,24 @@ | ~~~~~~~~~~~ | | | int64_t {aka long int} +gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jfsutils-1.1.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o logredo.o logredo.c +gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jfsutils-1.1.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o log_work.o log_work.c +log_dump.c: In function 'jfs_logdump': +log_dump.c:333:58: warning: pointer targets in passing argument 3 of 'logRead' differ in signedness [-Wpointer-sign] + 333 | nextaddr = logRead(logaddr, &ld, afterdata); + | ^~~~~~~~~ + | | + | uint8_t * {aka unsigned char *} +log_dump.c:167:43: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} + 167 | extern int logRead(int32_t, struct lrd *, char *); + | ^~~~~~ +log_dump.c: In function 'ldmp_xdump': gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jfsutils-1.1.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o log_read.o log_read.c +log_dump.c:652:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 652 | i = (int) saddr % 4; + | ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jfsutils-1.1.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o log_map.o log_map.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jfsutils-1.1.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o fsckmsgdef.o fsckmsgdef.c -logredo.c: In function 'jfs_logredo': -logredo.c:618:50: warning: pointer targets in passing argument 3 of 'logRead' differ in signedness [-Wpointer-sign] - 618 | nextaddr = logRead(logaddr, &ld, afterdata); - | ^~~~~~~~~ - | | - | uint8_t * {aka unsigned char *} -logredo.c:174:43: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 174 | extern int logRead(int32_t, struct lrd *, char *); - | ^~~~~~ -logredo.c: At top level: -logredo.c:159:16: warning: 'prog' defined but not used [-Wunused-variable] - 159 | static caddr_t prog; /* Program name */ - | ^~~~ open_by_label.c: In function 'open_by_label': open_by_label.c:276:60: warning: '%s' directive writing up to 255 bytes into a region of size 86 [-Wformat-overflow=] 276 | sprintf(lv_dirname, "/proc/lvm/VGs/%s/LVs", vg_ent->d_name); @@ -526,6 +549,19 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +logredo.c: In function 'jfs_logredo': +logredo.c:618:50: warning: pointer targets in passing argument 3 of 'logRead' differ in signedness [-Wpointer-sign] + 618 | nextaddr = logRead(logaddr, &ld, afterdata); + | ^~~~~~~~~ + | | + | uint8_t * {aka unsigned char *} +logredo.c:174:43: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} + 174 | extern int logRead(int32_t, struct lrd *, char *); + | ^~~~~~ +logredo.c: At top level: +logredo.c:159:16: warning: 'prog' defined but not used [-Wunused-variable] + 159 | static caddr_t prog; /* Program name */ + | ^~~~ logform.c: In function 'jfs_logform': logform.c:153:17: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 153 | strncpy((char *) &log_sup->label, label, sizeof (log_sup->label)); @@ -552,8 +588,11 @@ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jfsutils-1.1.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o dirindex.o dirindex.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jfsutils-1.1.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o fsckwsp.o fsckwsp.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jfsutils-1.1.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o fsckxtre.o fsckxtre.c +fsckdire.c: In function 'dtSplitPage': +fsckdire.c:940:22: warning: pointer targets in assignment from 'int8_t *' {aka 'signed char *'} to 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] + 940 | stbl = DT_GETSTBL(rp); + | ^ fsckbmap.c: In function 'dmap_pwmap_rebuild': -gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jfsutils-1.1.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o xchkdsk.o xchkdsk.c fsckbmap.c:391:43: warning: pointer targets in passing argument 1 of 'ujfs_maxbuddy' differ in signedness [-Wpointer-sign] 391 | ujfs_maxbuddy((char *) &(wsp_bits[map_wordidx])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -563,7 +602,6 @@ ../libfs/diskmap.h:25:22: note: expected 'unsigned char *' but argument is of type 'char *' 25 | int8_t ujfs_maxbuddy(unsigned char *); | ^~~~~~~~~~~~~~~ -fsckdtre.c: In function 'dTree_key_extract_cautiously': fsckbmap.c: In function 'dmap_pmap_verify': fsckbmap.c:478:43: warning: pointer targets in passing argument 1 of 'ujfs_maxbuddy' differ in signedness [-Wpointer-sign] 478 | max_buddy = ujfs_maxbuddy((char *) &(wsp_bits[map_wordidx])); @@ -573,6 +611,7 @@ ../libfs/diskmap.h:25:22: note: expected 'unsigned char *' but argument is of type 'char *' 25 | int8_t ujfs_maxbuddy(unsigned char *); | ^~~~~~~~~~~~~~~ +fsckdtre.c: In function 'dTree_key_extract_cautiously': fsckdtre.c:1641:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1641 | (unsigned short) NULL) { | ^ @@ -580,26 +619,19 @@ fsckdtre.c:1777:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1777 | (unsigned short) NULL) { | ^ -fsckimap.c: In function 'AIS_redundancy_check': -fsckimap.c:1001:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1001 | tree_offset = (int32_t) &(((struct dinode *)0)->di_btroot); - | ^ -fsckdire.c: In function 'dtSplitPage': -fsckdire.c:940:22: warning: pointer targets in assignment from 'int8_t *' {aka 'signed char *'} to 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] - 940 | stbl = DT_GETSTBL(rp); - | ^ -fsckino.c: In function 'validate_record_fileset_inode': -fsckino.c:1844:13: warning: variable 'intermed_rc' set but not used [-Wunused-but-set-variable] - 1844 | int intermed_rc = FSCK_OK; - | ^~~~~~~~~~~ fsckpfs.c: In function 'blkmap_flush': fsckpfs.c:347:35: warning: variable 'fsck_bmpt_ptr' set but not used [-Wunused-but-set-variable] 347 | struct fsck_blk_map_page *fsck_bmpt_ptr; | ^~~~~~~~~~~~~ +fsckimap.c: In function 'AIS_redundancy_check': +gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jfsutils-1.1.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o xchkdsk.o xchkdsk.c fsckpfs.c: In function 'blkmap_get_page': fsckpfs.c:490:35: warning: variable 'fsck_bmpt_ptr' set but not used [-Wunused-but-set-variable] 490 | struct fsck_blk_map_page *fsck_bmpt_ptr; | ^~~~~~~~~~~~~ +fsckimap.c:1001:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 1001 | tree_offset = (int32_t) &(((struct dinode *)0)->di_btroot); + | ^ fsckpfs.c: In function 'blktbl_dmap_get': fsckpfs.c:768:22: warning: variable 'dmap_t_ptr' set but not used [-Wunused-but-set-variable] 768 | struct dmap *dmap_t_ptr; @@ -612,6 +644,14 @@ fsckpfs.c:2125:19: warning: variable 'xtpage_t_ptr' set but not used [-Wunused-but-set-variable] 2125 | xtpage_t *xtpage_t_ptr; | ^~~~~~~~~~~~ +fsckino.c: In function 'validate_record_fileset_inode': +fsckino.c:1844:13: warning: variable 'intermed_rc' set but not used [-Wunused-but-set-variable] + 1844 | int intermed_rc = FSCK_OK; + | ^~~~~~~~~~~ +fsckpfs.c: In function 'node_get': +fsckpfs.c:3090:19: warning: variable 'xtpage_t_ptr' set but not used [-Wunused-but-set-variable] + 3090 | xtpage_t *xtpage_t_ptr; + | ^~~~~~~~~~~~ fsckdtre.c: In function 'reconnect_fs_inodes': fsckdtre.c:3917:63: warning: pointer targets in passing argument 2 of 'UTF8_String_To_Unicode_String' differ in signedness [-Wpointer-sign] 3917 | ino_name, @@ -622,10 +662,6 @@ ../libfs/unicode_to_utf8.h:18:68: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 18 | int UTF8_String_To_Unicode_String(uint16_t * pwcs, const uint8_t * s, int maxLen); | ~~~~~~~~~~~~~~~~^ -fsckpfs.c: In function 'node_get': -fsckpfs.c:3090:19: warning: variable 'xtpage_t_ptr' set but not used [-Wunused-but-set-variable] - 3090 | xtpage_t *xtpage_t_ptr; - | ^~~~~~~~~~~~ xchkdsk.c: In function 'initial_processing': xchkdsk.c:1432:13: warning: variable 'iml_rc' set but not used [-Wunused-but-set-variable] 1432 | int iml_rc = FSCK_OK; @@ -633,13 +669,13 @@ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jfsutils-1.1.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o fsckruns.o fsckruns.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jfsutils-1.1.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o fsck_message.o fsck_message.c fsck_message.c: In function 'fsck_record_msg': +fsck_message.c:43:9: warning: '__builtin_strncpy' specified bound 510 equals destination size [-Wstringop-truncation] + 43 | strncpy(msg, msg_txt, max_log_entry_length - entry_length); + | ^ fsckwsp.c: In function 'establish_wsp_block_map_ctl': fsckwsp.c:1484:17: warning: '__builtin_strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 1484 | strncpy(agg_recptr->blkmp_ctlptr->hdr.eyecatcher, | ^ -fsck_message.c:43:9: warning: '__builtin_strncpy' specified bound 510 equals destination size [-Wstringop-truncation] - 43 | strncpy(msg, msg_txt, max_log_entry_length - entry_length); - | ^ fsckwsp.c:1503:32: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 16 [-Wformat-overflow=] 1503 | "%d/%d/%d %d:%02d:%02d", fsck_DateTime->tm_mon + 1, | ^~ @@ -743,6 +779,16 @@ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -DONE_FILESET_PER_AGGR -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jfsutils-1.1.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o inodemap.o inodemap.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -DONE_FILESET_PER_AGGR -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jfsutils-1.1.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o inodes.o inodes.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -DONE_FILESET_PER_AGGR -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jfsutils-1.1.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o mkfs.o mkfs.c +initmap.c: In function 'dbAlloc': +initmap.c:735:47: warning: pointer targets in passing argument 1 of 'ujfs_maxbuddy' differ in signedness [-Wpointer-sign] + 735 | leafw = ujfs_maxbuddy((char *) &p1->wmap[word]); + | ^~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +In file included from initmap.c:34: +../libfs/diskmap.h:25:22: note: expected 'unsigned char *' but argument is of type 'char *' + 25 | int8_t ujfs_maxbuddy(unsigned char *); + | ^~~~~~~~~~~~~~~ mkfs.c: In function 'parse_journal_opts': mkfs.c:601:61: warning: pointer targets in passing argument 1 of 'open_by_label' differ in signedness [-Wpointer-sign] 601 | open_by_label((char *) opts + 7 + 6, 1, 1, @@ -876,16 +922,6 @@ inodes.c:177:23: note: at offset 224 into object 'inode_buffer' of size 512 177 | struct dinode inode_buffer; | ^~~~~~~~~~~~ -initmap.c: In function 'dbAlloc': -initmap.c:735:47: warning: pointer targets in passing argument 1 of 'ujfs_maxbuddy' differ in signedness [-Wpointer-sign] - 735 | leafw = ujfs_maxbuddy((char *) &p1->wmap[word]); - | ^~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -In file included from initmap.c:34: -../libfs/diskmap.h:25:22: note: expected 'unsigned char *' but argument is of type 'char *' - 25 | int8_t ujfs_maxbuddy(unsigned char *); - | ^~~~~~~~~~~~~~~ In function 'create_aggregate', inlined from 'main' at mkfs.c:1063:7: mkfs.c:352:24: warning: array subscript 'xtpage_t[0]' is partly outside array bounds of 'struct dinode[5]' [-Warray-bounds=] @@ -1022,40 +1058,53 @@ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jfsutils-1.1.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o help.o help.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jfsutils-1.1.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o inode.o inode.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jfsutils-1.1.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o super.o super.c -display.c: In function 'display': -display.c:51:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 51 | fgets(cmdline, 512, stdin); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ super2.c: In function 'display_super2': super2.c:220:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 220 | fgets(cmdline, 512, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +alter.c: In function 'alter': +alter.c:87:16: warning: pointer targets in assignment from 'char *' to 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] + 87 | buffer = (char *) malloc(length); + | ^ +alter.c:44:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 44 | fgets(cmdline, 512, stdin); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +iag.c: In function 'iag': +iag.c:52:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 52 | fgets(cmd_line, 80, stdin); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +iag.c: In function 'change_iag': +iag.c:161:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 161 | fgets(cmdline, 80, stdin); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +iag.c: In function 'display_map': +iag.c:350:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 350 | fgets(cmdline, 80, stdin); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +iag.c: In function 'display_ext': +iag.c:382:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 382 | fgets(cmdline, 80, stdin); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +iag.c:400:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 400 | fgets(cmdline, 80, stdin); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ fsckcbbl.c: In function 'display_cbblfsck': fsckcbbl.c:166:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 166 | fgets(cmdline, 512, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ fsckcbbl.c: In function 'display_fsck_wsphdr': +display.c: In function 'display': +display.c:51:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 51 | fgets(cmdline, 512, stdin); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ fsckcbbl.c:292:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 292 | fgets(cmdline, 512, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ fsckcbbl.c: In function 'display_logsuper': +directory.c: In function 'print_direntry': fsckcbbl.c:429:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 429 | fgets(cmdline, 512, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -alter.c: In function 'alter': -alter.c:87:16: warning: pointer targets in assignment from 'char *' to 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] - 87 | buffer = (char *) malloc(length); - | ^ -alter.c:44:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 44 | fgets(cmdline, 512, stdin); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -super2.c:332:17: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] - 332 | strncpy(sb->s_label, token, 16); - | ^ -super2.c:235:17: warning: '__builtin_strncpy' specified bound 4 equals destination size [-Wstringop-truncation] - 235 | strncpy(sb->s_magic, token, 4); - | ^ -directory.c: In function 'print_direntry': directory.c:199:39: warning: pointer targets in passing argument 1 of 'Unicode_String_to_UTF8_String' differ in signedness [-Wpointer-sign] 199 | Unicode_String_to_UTF8_String(UTF8_Buffer, name, entry->namlen); | ^~~~~~~~~~~ @@ -1065,7 +1114,6 @@ ../libfs/unicode_to_utf8.h:16:45: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 16 | int Unicode_String_to_UTF8_String(uint8_t * s, const uint16_t * pwcs, int maxlen); | ~~~~~~~~~~^ -super.c: In function 'display_super': directory.c: In function 'display_leaf_slots': directory.c:593:47: warning: pointer targets in passing argument 1 of 'Unicode_String_to_UTF8_String' differ in signedness [-Wpointer-sign] 593 | Unicode_String_to_UTF8_String(UTF8_Buffer, leaf->name, leaf->namlen); @@ -1084,9 +1132,6 @@ ../libfs/unicode_to_utf8.h:16:45: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 16 | int Unicode_String_to_UTF8_String(uint8_t * s, const uint16_t * pwcs, int maxlen); | ~~~~~~~~~~^ -super.c:229:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 229 | fgets(cmdline, 512, stdin); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ directory.c: In function 'display_internal_slots': directory.c:694:47: warning: pointer targets in passing argument 1 of 'Unicode_String_to_UTF8_String' differ in signedness [-Wpointer-sign] 694 | Unicode_String_to_UTF8_String(UTF8_Buffer, entry->name, entry->namlen); @@ -1096,53 +1141,31 @@ ../libfs/unicode_to_utf8.h:16:45: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 16 | int Unicode_String_to_UTF8_String(uint8_t * s, const uint16_t * pwcs, int maxlen); | ~~~~~~~~~~^ -directory.c: In function 'directory': -directory.c:72:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 72 | fgets(cmd_line, 80, stdin); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -directory.c: In function 'dtree': -directory.c:222:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 222 | fgets(cmd_line, 80, stdin); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -directory.c:303:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 303 | fgets(cmd_line, 80, stdin); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -directory.c: In function 'xtree': -directory.c:410:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 410 | fgets(cmd_line, 80, stdin); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -directory.c:463:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 463 | fgets(cmd_line, 80, stdin); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -directory.c: In function 'display_leaf_slots': -directory.c:601:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 601 | fgets(cmd_line, 512, stdin); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -inode.c: In function 'inode': dmap.c: In function 'display_dbmap': -directory.c: In function 'display_internal_xtpage': dmap.c:168:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 168 | fgets(cmdline, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -directory.c:795:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 795 | fgets(cmd_line, 80, stdin); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -fsckcbbl.c: In function 'display_cbblfsck': dmap.c: In function 'display_cpage': dmap.c:324:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 324 | fgets(cmdline, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ +directory.c: In function 'directory': +directory.c:72:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 72 | fgets(cmd_line, 80, stdin); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ dmap.c: In function 'display_leaf': +directory.c: In function 'dtree': dmap.c:523:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 523 | fgets(cmdline, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ dmap.c: In function 'display_tree': -fsckcbbl.c:213:17: warning: '__builtin_strncpy' specified bound 8 equals destination size [-Wstringop-truncation] - 213 | strncpy(cbblrec->bufptr_eyecatcher, token, 8); - | ^ -fsckcbbl.c:177:17: warning: '__builtin_strncpy' specified bound 8 equals destination size [-Wstringop-truncation] - 177 | strncpy(cbblrec->eyecatcher, token, 8); - | ^ +inode.c: In function 'inode': +directory.c:222:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 222 | fgets(cmd_line, 80, stdin); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +directory.c:303:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 303 | fgets(cmd_line, 80, stdin); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ dmap.c:721:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 721 | fgets(cmdline, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1152,40 +1175,53 @@ dmap.c:796:25: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 796 | fgets(cmdline, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ +directory.c: In function 'xtree': +super.c: In function 'display_super': +inode.c:52:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 52 | fgets(cmd_line, 80, stdin); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +directory.c:410:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 410 | fgets(cmd_line, 80, stdin); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +directory.c:463:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 463 | fgets(cmd_line, 80, stdin); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ dmap.c:826:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 826 | fgets(cmdline, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ +directory.c: In function 'display_leaf_slots': dmap.c: In function 'display_agfree': +inode.c: In function 'change_inode': +directory.c:601:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 601 | fgets(cmd_line, 512, stdin); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ dmap.c:895:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 895 | fgets(cmdline, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -inode.c:52:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 52 | fgets(cmd_line, 80, stdin); +directory.c: In function 'display_internal_xtpage': +directory.c:795:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 795 | fgets(cmd_line, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -inode.c: In function 'change_inode': +super.c:229:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 229 | fgets(cmdline, 512, stdin); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ inode.c:192:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 192 | fgets(cmdline, 512, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -iag.c: In function 'iag': -iag.c:52:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 52 | fgets(cmd_line, 80, stdin); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -iag.c: In function 'change_iag': -iag.c:161:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 161 | fgets(cmdline, 80, stdin); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -iag.c: In function 'display_map': -iag.c:350:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 350 | fgets(cmdline, 80, stdin); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -iag.c: In function 'display_ext': -iag.c:382:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 382 | fgets(cmdline, 80, stdin); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -iag.c:400:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 400 | fgets(cmdline, 80, stdin); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ +super2.c:332:17: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] + 332 | strncpy(sb->s_label, token, 16); + | ^ +super2.c:235:17: warning: '__builtin_strncpy' specified bound 4 equals destination size [-Wstringop-truncation] + 235 | strncpy(sb->s_magic, token, 4); + | ^ +fsckcbbl.c: In function 'display_cbblfsck': +fsckcbbl.c:213:17: warning: '__builtin_strncpy' specified bound 8 equals destination size [-Wstringop-truncation] + 213 | strncpy(cbblrec->bufptr_eyecatcher, token, 8); + | ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/jfsutils-1.1.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o ui.o ui.c +fsckcbbl.c:177:17: warning: '__builtin_strncpy' specified bound 8 equals destination size [-Wstringop-truncation] + 177 | strncpy(cbblrec->eyecatcher, token, 8); + | ^ super.c:336:17: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 336 | strncpy(sb->s_label, token, 16); | ^ @@ -1207,6 +1243,25 @@ fsckcbbl.c:477:17: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 477 | strncpy(lsp->label, token, 16); | ^ +dmap.c: In function 'display_leaf': +dmap.c:566:20: warning: 'dmap' may be used uninitialized [-Wmaybe-uninitialized] + 566 | if (dmap > 0) { + | ^ +dmap.c:491:13: note: 'dmap' was declared here + 491 | int dmap, l0, l1; + | ^~~~ +dmap.c:571:28: warning: 'l0' may be used uninitialized [-Wmaybe-uninitialized] + 571 | if (l0 > 0) { + | ^ +dmap.c:491:19: note: 'l0' was declared here + 491 | int dmap, l0, l1; + | ^~ +dmap.c:575:47: warning: 'l1' may be used uninitialized [-Wmaybe-uninitialized] + 575 | if ((dmap_level == 2) && (l1 > 0)) { + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ +dmap.c:491:23: note: 'l1' was declared here + 491 | int dmap, l0, l1; + | ^~ directory.c: In function 'xtree': directory.c:457:18: warning: array subscript 'xtpage_t[0]' is partly outside array bounds of 'xtpage_t[0]' [-Warray-bounds=] 457 | if (xtree->header.nextindex > 2) { @@ -1291,25 +1346,6 @@ directory.c:400:23: note: at offset 352 into object 'inode' of size 512 400 | struct dinode inode; | ^~~~~ -dmap.c: In function 'display_leaf': -dmap.c:566:20: warning: 'dmap' may be used uninitialized [-Wmaybe-uninitialized] - 566 | if (dmap > 0) { - | ^ -dmap.c:491:13: note: 'dmap' was declared here - 491 | int dmap, l0, l1; - | ^~~~ -dmap.c:571:28: warning: 'l0' may be used uninitialized [-Wmaybe-uninitialized] - 571 | if (l0 > 0) { - | ^ -dmap.c:491:19: note: 'l0' was declared here - 491 | int dmap, l0, l1; - | ^~ -dmap.c:575:47: warning: 'l1' may be used uninitialized [-Wmaybe-uninitialized] - 575 | if ((dmap_level == 2) && (l1 > 0)) { - | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -dmap.c:491:23: note: 'l1' was declared here - 491 | int dmap, l0, l1; - | ^~ directory.c: In function 'dtree': directory.c:263:20: warning: array subscript 'dtpage_t[0]' is partly outside array bounds of 'struct dinode[1]' [-Warray-bounds=] 263 | if (!(dtree->header.flag & BT_ROOT)) @@ -1385,13 +1421,13 @@ make[3]: Entering directory '/build/reproducible-path/jfsutils-1.1.15/fsck' /usr/bin/mkdir -p '/build/reproducible-path/jfsutils-1.1.15/debian/tmp/usr/sbin' /usr/bin/mkdir -p '/build/reproducible-path/jfsutils-1.1.15/debian/tmp/usr/share/man/man8' - /usr/bin/install -c jfs_fsck '/build/reproducible-path/jfsutils-1.1.15/debian/tmp/usr/sbin' /usr/bin/install -c -m 644 jfs_fsck.8 '/build/reproducible-path/jfsutils-1.1.15/debian/tmp/usr/share/man/man8' + /usr/bin/install -c jfs_fsck '/build/reproducible-path/jfsutils-1.1.15/debian/tmp/usr/sbin' make install-exec-hook make install-data-hook make[4]: Entering directory '/build/reproducible-path/jfsutils-1.1.15/fsck' -/usr/bin/ln -f /build/reproducible-path/jfsutils-1.1.15/debian/tmp/usr/share/man/man8/jfs_fsck.8 /build/reproducible-path/jfsutils-1.1.15/debian/tmp/usr/share/man/man8/fsck.jfs.8 make[4]: Entering directory '/build/reproducible-path/jfsutils-1.1.15/fsck' +/usr/bin/ln -f /build/reproducible-path/jfsutils-1.1.15/debian/tmp/usr/share/man/man8/jfs_fsck.8 /build/reproducible-path/jfsutils-1.1.15/debian/tmp/usr/share/man/man8/fsck.jfs.8 /usr/bin/ln -f /build/reproducible-path/jfsutils-1.1.15/debian/tmp/usr/sbin/jfs_fsck /build/reproducible-path/jfsutils-1.1.15/debian/tmp/usr/sbin/fsck.jfs make[4]: Leaving directory '/build/reproducible-path/jfsutils-1.1.15/fsck' make[4]: Leaving directory '/build/reproducible-path/jfsutils-1.1.15/fsck' @@ -1402,8 +1438,8 @@ make[3]: Entering directory '/build/reproducible-path/jfsutils-1.1.15/fscklog' /usr/bin/mkdir -p '/build/reproducible-path/jfsutils-1.1.15/debian/tmp/usr/sbin' /usr/bin/mkdir -p '/build/reproducible-path/jfsutils-1.1.15/debian/tmp/usr/share/man/man8' - /usr/bin/install -c jfs_fscklog '/build/reproducible-path/jfsutils-1.1.15/debian/tmp/usr/sbin' /usr/bin/install -c -m 644 jfs_fscklog.8 '/build/reproducible-path/jfsutils-1.1.15/debian/tmp/usr/share/man/man8' + /usr/bin/install -c jfs_fscklog '/build/reproducible-path/jfsutils-1.1.15/debian/tmp/usr/sbin' make[3]: Leaving directory '/build/reproducible-path/jfsutils-1.1.15/fscklog' make[2]: Leaving directory '/build/reproducible-path/jfsutils-1.1.15/fscklog' Making install in logdump @@ -1422,10 +1458,10 @@ /usr/bin/mkdir -p '/build/reproducible-path/jfsutils-1.1.15/debian/tmp/usr/share/man/man8' /usr/bin/install -c jfs_mkfs '/build/reproducible-path/jfsutils-1.1.15/debian/tmp/usr/sbin' make install-exec-hook - /usr/bin/install -c -m 644 jfs_mkfs.8 '/build/reproducible-path/jfsutils-1.1.15/debian/tmp/usr/share/man/man8' make[4]: Entering directory '/build/reproducible-path/jfsutils-1.1.15/mkfs' /usr/bin/ln -f /build/reproducible-path/jfsutils-1.1.15/debian/tmp/usr/sbin/jfs_mkfs /build/reproducible-path/jfsutils-1.1.15/debian/tmp/usr/sbin/mkfs.jfs make[4]: Leaving directory '/build/reproducible-path/jfsutils-1.1.15/mkfs' + /usr/bin/install -c -m 644 jfs_mkfs.8 '/build/reproducible-path/jfsutils-1.1.15/debian/tmp/usr/share/man/man8' make install-data-hook make[4]: Entering directory '/build/reproducible-path/jfsutils-1.1.15/mkfs' /usr/bin/ln -f /build/reproducible-path/jfsutils-1.1.15/debian/tmp/usr/share/man/man8/jfs_mkfs.8 /build/reproducible-path/jfsutils-1.1.15/debian/tmp/usr/share/man/man8/mkfs.jfs.8 @@ -1494,12 +1530,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/3049332/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3049332/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/1385453 and its subdirectories -I: Current time: Thu Oct 1 00:35:36 -12 2026 -I: pbuilder-time-stamp: 1790858136 +I: removing directory /srv/workspace/pbuilder/3049332 and its subdirectories +I: Current time: Fri Aug 29 20:14:02 +14 2025 +I: pbuilder-time-stamp: 1756448042