Diff of the two buildlogs: -- --- b1/build.log 2025-02-17 01:44:00.200202823 +0000 +++ b2/build.log 2025-02-17 01:44:42.502308273 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Mar 21 20:06:31 -12 2026 -I: pbuilder-time-stamp: 1774166791 +I: Current time: Mon Feb 17 15:44:02 +14 2025 +I: pbuilder-time-stamp: 1739756642 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -23,54 +23,86 @@ dpkg-source: info: unpacking vmfs6-tools_0.2.1-1.debian.tar.xz I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/54746/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/61131/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-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 Feb 17 01:44 /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/61131/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/61131/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=22 ' - DISTRIBUTION='unstable' - 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]="37" [3]="1" [4]="release" [5]="i686-pc-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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='655a334f7719453d837cd6d63fd8e48b' - 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='54746' - PS1='# ' - PS2='> ' + INVOCATION_ID=b73014000ca7450a9d6b39f625d687f5 + 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=61131 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.daBPfrNY/pbuilderrc_bxG8 --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.daBPfrNY/b1 --logfile b1/build.log vmfs6-tools_0.2.1-1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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.daBPfrNY/pbuilderrc_gLZX --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.daBPfrNY/b2 --logfile b2/build.log vmfs6-tools_0.2.1-1.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos16-i386 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/54746/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/61131/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -191,7 +223,7 @@ Get: 68 http://deb.debian.org/debian unstable/main i386 pkgconf i386 1.8.1-4 [26.2 kB] Get: 69 http://deb.debian.org/debian unstable/main i386 pkg-config i386 1.8.1-4 [14.0 kB] Get: 70 http://deb.debian.org/debian unstable/main i386 uuid-dev i386 2.40.4-3 [47.9 kB] -Fetched 34.1 MB in 1s (46.1 MB/s) +Fetched 34.1 MB in 0s (84.0 MB/s) Preconfiguring packages ... Selecting previously unselected package libpython3.13-minimal:i386. (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 ... 19792 files and directories currently installed.) @@ -432,8 +464,8 @@ Setting up tzdata (2025a-2) ... Current default time zone: 'Etc/UTC' -Local time is now: Sun Mar 22 08:06:49 UTC 2026. -Universal Time is now: Sun Mar 22 08:06:49 UTC 2026. +Local time is now: Mon Feb 17 01:44:26 UTC 2025. +Universal Time is now: Mon Feb 17 01:44:26 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -504,7 +536,11 @@ fakeroot is already the newest version (1.37-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/vmfs6-tools-0.2.1/ && 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 > ../vmfs6-tools_0.2.1-1_source.changes +I: user script /srv/workspace/pbuilder/61131/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/61131/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/vmfs6-tools-0.2.1/ && 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 > ../vmfs6-tools_0.2.1-1_source.changes dpkg-buildpackage: info: source package vmfs6-tools dpkg-buildpackage: info: source version 0.2.1-1 dpkg-buildpackage: info: source distribution unstable @@ -545,7 +581,7 @@ gmake[1]: 'config.cache' is up to date. gmake[1]: Leaving directory '/build/reproducible-path/vmfs6-tools-0.2.1' dh_auto_build - make -j22 + make -j10 make[1]: Entering directory '/build/reproducible-path/vmfs6-tools-0.2.1' gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vmfs6-tools-0.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -DVMFS_DEBUG=0 -DVMFS_DEBUG=0 -Wall -D_FILE_OFFSET_BITS=64 -Idebugvmfs6 -Ilibvmfs -I/usr/include/uuid -Ilibreadcmd -Wdate-time -D_FORTIFY_SOURCE=2 -c -o debugvmfs6/debugvmfs6.o debugvmfs6/debugvmfs6.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vmfs6-tools-0.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -DVMFS_DEBUG=0 -DVMFS_DEBUG=0 -Wall -D_FILE_OFFSET_BITS=64 -Idebugvmfs6 -Ilibvmfs -I/usr/include/uuid -Ilibreadcmd -Wdate-time -D_FORTIFY_SOURCE=2 -c -o debugvmfs6/variables.o debugvmfs6/variables.c @@ -557,24 +593,6 @@ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vmfs6-tools-0.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -DVMFS_DEBUG=0 -DVMFS_DEBUG=0 -Wall -D_FILE_OFFSET_BITS=64 -Ilibvmfs -I/usr/include/uuid -Wdate-time -D_FORTIFY_SOURCE=2 -c -o libvmfs/vmfs_file.o libvmfs/vmfs_file.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vmfs6-tools-0.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -DVMFS_DEBUG=0 -DVMFS_DEBUG=0 -Wall -D_FILE_OFFSET_BITS=64 -Ilibvmfs -I/usr/include/uuid -Wdate-time -D_FORTIFY_SOURCE=2 -c -o libvmfs/vmfs_fs.o libvmfs/vmfs_fs.c gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vmfs6-tools-0.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -DVMFS_DEBUG=0 -DVMFS_DEBUG=0 -Wall -D_FILE_OFFSET_BITS=64 -Ilibvmfs -I/usr/include/uuid -Wdate-time -D_FORTIFY_SOURCE=2 -c -o libvmfs/vmfs_heartbeat.o libvmfs/vmfs_heartbeat.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vmfs6-tools-0.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -DVMFS_DEBUG=0 -DVMFS_DEBUG=0 -Wall -D_FILE_OFFSET_BITS=64 -Ilibvmfs -I/usr/include/uuid -Wdate-time -D_FORTIFY_SOURCE=2 -c -o libvmfs/vmfs_host.o libvmfs/vmfs_host.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vmfs6-tools-0.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -DVMFS_DEBUG=0 -DVMFS_DEBUG=0 -Wall -D_FILE_OFFSET_BITS=64 -Ilibvmfs -I/usr/include/uuid -Wdate-time -D_FORTIFY_SOURCE=2 -c -o libvmfs/vmfs_inode.o libvmfs/vmfs_inode.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vmfs6-tools-0.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -DVMFS_DEBUG=0 -DVMFS_DEBUG=0 -Wall -D_FILE_OFFSET_BITS=64 -Ilibvmfs -I/usr/include/uuid -Wdate-time -D_FORTIFY_SOURCE=2 -c -o libvmfs/vmfs_lvm.o libvmfs/vmfs_lvm.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vmfs6-tools-0.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -DVMFS_DEBUG=0 -DVMFS_DEBUG=0 -Wall -D_FILE_OFFSET_BITS=64 -Ilibvmfs -I/usr/include/uuid -Wdate-time -D_FORTIFY_SOURCE=2 -c -o libvmfs/vmfs_metadata.o libvmfs/vmfs_metadata.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vmfs6-tools-0.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -DVMFS_DEBUG=0 -DVMFS_DEBUG=0 -Wall -D_FILE_OFFSET_BITS=64 -Ilibvmfs -I/usr/include/uuid -Wdate-time -D_FORTIFY_SOURCE=2 -c -o libvmfs/vmfs_volume.o libvmfs/vmfs_volume.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vmfs6-tools-0.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -DVMFS_DEBUG=0 -DVMFS_DEBUG=0 -Wall -D_FILE_OFFSET_BITS=64 -Ilibreadcmd -Wdate-time -D_FORTIFY_SOURCE=2 -c -o libreadcmd/readcmd.o libreadcmd/readcmd.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vmfs6-tools-0.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -DVMFS_DEBUG=0 -DVMFS_DEBUG=0 -Wall -D_FILE_OFFSET_BITS=64 -Ifsck.vmfs6 -Ilibvmfs -I/usr/include/uuid -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fsck.vmfs6/vmfs6_fsck.o fsck.vmfs6/vmfs6_fsck.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vmfs6-tools-0.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -DVMFS_DEBUG=0 -DVMFS_DEBUG=0 -Wall -D_FILE_OFFSET_BITS=64 -Iimager -Wdate-time -D_FORTIFY_SOURCE=2 -c -o imager/imager.o imager/imager.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vmfs6-tools-0.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -DVMFS_DEBUG=0 -DVMFS_DEBUG=0 -Wall -D_FILE_OFFSET_BITS=64 -Ivmfs6-fuse -Ilibvmfs -I/usr/include/uuid -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o vmfs6-fuse/vmfs6-fuse.o vmfs6-fuse/vmfs6-fuse.c -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vmfs6-tools-0.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -DVMFS_DEBUG=0 -DVMFS_DEBUG=0 -Wall -D_FILE_OFFSET_BITS=64 -Ivmfs6-lvm -Ilibvmfs -I/usr/include/uuid -Ilibreadcmd -include version -Wdate-time -D_FORTIFY_SOURCE=2 -c -o vmfs6-lvm/vmfs6-lvm.o vmfs6-lvm/vmfs6-lvm.c -(echo "*.tar.gz"; \ - echo "*.[ao]"; \ - echo "*.xml"; \ - echo "*.8"; \ - echo "version"; \ - echo "config.cache"; \ - echo debugvmfs6/debugvmfs6; echo fsck.vmfs6/fsck.vmfs6; echo imager/imager; echo vmfs6-fuse/vmfs6-fuse; echo vmfs6-lvm/vmfs6-lvm; \ -) > .gitignore libvmfs/vmfs_fs.c: In function 'vmfs_read_fdc_base': libvmfs/vmfs_fs.c:200:35: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 200 | printf("FDC base = block #%lu\n", fdc_base); @@ -584,34 +602,6 @@ | long unsigned int | %llu In file included from libvmfs/vmfs.h:56, - from libvmfs/vmfs_fs.c:27: -libvmfs/vmfs_block.h:56:37: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '1150669704793161728' to '0' [-Woverflow] - 56 | #define VMFS_BLK_FB_ITEM_LSB_MASK 0x0ff8000000000000UL //0xffffffc0 - | ^~~~~~~~~~~~~~~~~~~~ -libvmfs/vmfs_block.h:37:45: note: in definition of macro 'VMFS_BLK_SHIFT' - 37 | #define VMFS_BLK_SHIFT(mask) __builtin_ctzl(mask) - | ^~~~ -libvmfs/vmfs_block.h:82:5: note: in expansion of macro 'VMFS_BLK_FILL' - 82 | (VMFS_BLK_FILL(VMFS_BLK_VALUE(item, VMFS_BLK_FB_ITEM_VALUE_LSB_MASK), VMFS_BLK_FB_ITEM_LSB_MASK) | \ - | ^~~~~~~~~~~~~ -libvmfs/vmfs_block.h:82:74: note: in expansion of macro 'VMFS_BLK_FB_ITEM_LSB_MASK' - 82 | (VMFS_BLK_FILL(VMFS_BLK_VALUE(item, VMFS_BLK_FB_ITEM_VALUE_LSB_MASK), VMFS_BLK_FB_ITEM_LSB_MASK) | \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -libvmfs/vmfs_fs.c:209:22: note: in expansion of macro 'VMFS_BLK_FB_BUILD' - 209 | inode.blocks[0] = VMFS_BLK_FB_BUILD(fdc_base, 0); - | ^~~~~~~~~~~~~~~~~ -imager/imager.c:111:21: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] - 111 | static const u_char const zero_blk[BLK_SIZE] = {0,}; - | ^~~~~ -imager/imager.c: In function 'do_init_image': -imager/imager.c:274:17: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] - 274 | const u_char const buf[8] = - | ^~~~~ -imager/imager.c: In function 'skip_zero_blocks': -imager/imager.c:165:4: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] - 165 | ftruncate(1, pos); - | ^~~~~~~~~~~~~~~~~ -In file included from libvmfs/vmfs.h:56, from libvmfs/vmfs_block.c:30: libvmfs/vmfs_block.c: In function 'vmfs_block_get_info': libvmfs/vmfs_block.h:56:37: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '1150669704793161728' to '0' [-Woverflow] @@ -632,6 +622,23 @@ libvmfs/vmfs_block.c:43:24: note: in expansion of macro 'VMFS_BLK_FB_ITEM' 43 | info->item = VMFS_BLK_FB_ITEM(blk_id); | ^~~~~~~~~~~~~~~~ +In file included from libvmfs/vmfs.h:56, + from libvmfs/vmfs_fs.c:27: +libvmfs/vmfs_block.h:56:37: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '1150669704793161728' to '0' [-Woverflow] + 56 | #define VMFS_BLK_FB_ITEM_LSB_MASK 0x0ff8000000000000UL //0xffffffc0 + | ^~~~~~~~~~~~~~~~~~~~ +libvmfs/vmfs_block.h:37:45: note: in definition of macro 'VMFS_BLK_SHIFT' + 37 | #define VMFS_BLK_SHIFT(mask) __builtin_ctzl(mask) + | ^~~~ +libvmfs/vmfs_block.h:82:5: note: in expansion of macro 'VMFS_BLK_FILL' + 82 | (VMFS_BLK_FILL(VMFS_BLK_VALUE(item, VMFS_BLK_FB_ITEM_VALUE_LSB_MASK), VMFS_BLK_FB_ITEM_LSB_MASK) | \ + | ^~~~~~~~~~~~~ +libvmfs/vmfs_block.h:82:74: note: in expansion of macro 'VMFS_BLK_FB_ITEM_LSB_MASK' + 82 | (VMFS_BLK_FILL(VMFS_BLK_VALUE(item, VMFS_BLK_FB_ITEM_VALUE_LSB_MASK), VMFS_BLK_FB_ITEM_LSB_MASK) | \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +libvmfs/vmfs_fs.c:209:22: note: in expansion of macro 'VMFS_BLK_FB_BUILD' + 209 | inode.blocks[0] = VMFS_BLK_FB_BUILD(fdc_base, 0); + | ^~~~~~~~~~~~~~~~~ libvmfs/vmfs_block.h:106:35: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '18374686479671623680' to '0' [-Woverflow] 106 | #define VMFS_BLK_SB_ITEM_LSB_MASK 0xff00000000000000UL | ^~~~~~~~~~~~~~~~~~~~ @@ -662,20 +669,7 @@ 118 | buf,buf_len,&entry.mdh) == -1) | ~~~~~~~~~~~~~~~~~~~~~~~ | ) -libvmfs/vmfs_lvm.c: In function 'vmfs_lvm_io': libvmfs/vmfs_block.c: In function 'vmfs_block_alloc': -libvmfs/vmfs_lvm.c:71:47: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'off_t' {aka 'long long int'} [-Wformat=] - 71 | fprintf(stderr,"VMFS: i/o spanned pos %ld len %ld over several extents is unsupported %ld\n", pos, len, vmfs_lvm_extent_size(extent)); - | ~~^ ~~~ - | | | - | long int off_t {aka long long int} - | %lld -libvmfs/vmfs_lvm.c:71:55: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] - 71 | fprintf(stderr,"VMFS: i/o spanned pos %ld len %ld over several extents is unsupported %ld\n", pos, len, vmfs_lvm_extent_size(extent)); - | ~~^ ~~~ - | | | - | long int size_t {aka unsigned int} - | %d libvmfs/vmfs_block.h:56:37: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '1150669704793161728' to '0' [-Woverflow] 56 | #define VMFS_BLK_FB_ITEM_LSB_MASK 0x0ff8000000000000UL //0xffffffc0 | ^~~~~~~~~~~~~~~~~~~~ @@ -691,12 +685,6 @@ libvmfs/vmfs_block.c:171:20: note: in expansion of macro 'VMFS_BLK_FB_BUILD' 171 | *blk_id = VMFS_BLK_FB_BUILD(addr, 0); | ^~~~~~~~~~~~~~~~~ -libvmfs/vmfs_lvm.c:71:95: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] - 71 | fprintf(stderr,"VMFS: i/o spanned pos %ld len %ld over several extents is unsupported %ld\n", pos, len, vmfs_lvm_extent_size(extent)); - | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | | - | long int uint64_t {aka long long unsigned int} - | %lld libvmfs/vmfs_block.h:40:46: warning: left shift count >= width of type [-Wshift-count-overflow] 40 | #define VMFS_BLK_FILL(value, mask) (((value) << VMFS_BLK_SHIFT(mask)) & (mask)) | ^~ @@ -760,9 +748,6 @@ 262 | sbc_item = VMFS_BLK_SB_ITEM(blk_id); | ^~~~~~~~~~~~~~~~ libvmfs/vmfs_block.c: In function 'vmfs_block_write_sb': -In file included from libvmfs/vmfs.h:56, - from libvmfs/vmfs_inode.c:28: -libvmfs/vmfs_inode.c: In function 'vmfs_inode_alloc': libvmfs/vmfs_block.h:106:35: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '18374686479671623680' to '0' [-Woverflow] 106 | #define VMFS_BLK_SB_ITEM_LSB_MASK 0xff00000000000000UL | ^~~~~~~~~~~~~~~~~~~~ @@ -781,6 +766,15 @@ libvmfs/vmfs_block.c:286:16: note: in expansion of macro 'VMFS_BLK_SB_ITEM' 286 | sbc_item = VMFS_BLK_SB_ITEM(blk_id); | ^~~~~~~~~~~~~~~~ +debugvmfs6/debugvmfs6.c: In function 'cmd_get_file_block': +libvmfs/vmfs_block.c: In function 'vmfs_block_read_fb': +debugvmfs6/debugvmfs6.c:352:22: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] + 352 | printf("0x%8.8lx\n",blk_id); + | ~~~~~^ ~~~~~~ + | | | + | | uint64_t {aka long long unsigned int} + | long unsigned int + | %8.8llx libvmfs/vmfs_block.h:56:37: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '1150669704793161728' to '0' [-Woverflow] 56 | #define VMFS_BLK_FB_ITEM_LSB_MASK 0x0ff8000000000000UL //0xffffffc0 | ^~~~~~~~~~~~~~~~~~~~ @@ -796,11 +790,13 @@ libvmfs/vmfs_block.h:68:42: note: in expansion of macro 'VMFS_BLK_FB_ITEM_LSB_MASK' 68 | (VMFS_BLK_FILL(VMFS_BLK_VALUE(blk_id, VMFS_BLK_FB_ITEM_LSB_MASK), VMFS_BLK_FB_ITEM_VALUE_LSB_MASK) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -libvmfs/vmfs_inode.c:289:46: note: in expansion of macro 'VMFS_BLK_FB_ITEM' - 289 | (*inode)->mdh.pos = fdc_inode->blk_size * VMFS_BLK_FB_ITEM(fdc_blk); - | ^~~~~~~~~~~~~~~~ -libvmfs/vmfs_block.c: In function 'vmfs_block_read_fb': -libvmfs/vmfs_inode.c: In function 'doubleIndirectAddressing': +libvmfs/vmfs_block.c:326:14: note: in expansion of macro 'VMFS_BLK_FB_ITEM' + 326 | fb_item = VMFS_BLK_FB_ITEM(blk_id); + | ^~~~~~~~~~~~~~~~ +In file included from libvmfs/vmfs.h:56, + from debugvmfs6/debugvmfs6.c:31: +debugvmfs6/debugvmfs6.c: In function 'cmd_read_block': +libvmfs/vmfs_block.c: In function 'vmfs_block_write_fb': libvmfs/vmfs_block.h:56:37: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '1150669704793161728' to '0' [-Woverflow] 56 | #define VMFS_BLK_FB_ITEM_LSB_MASK 0x0ff8000000000000UL //0xffffffc0 | ^~~~~~~~~~~~~~~~~~~~ @@ -816,28 +812,27 @@ libvmfs/vmfs_block.h:68:42: note: in expansion of macro 'VMFS_BLK_FB_ITEM_LSB_MASK' 68 | (VMFS_BLK_FILL(VMFS_BLK_VALUE(blk_id, VMFS_BLK_FB_ITEM_LSB_MASK), VMFS_BLK_FB_ITEM_VALUE_LSB_MASK) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -libvmfs/vmfs_block.c:326:14: note: in expansion of macro 'VMFS_BLK_FB_ITEM' - 326 | fb_item = VMFS_BLK_FB_ITEM(blk_id); - | ^~~~~~~~~~~~~~~~ -libvmfs/vmfs_block.h:106:35: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '18374686479671623680' to '0' [-Woverflow] - 106 | #define VMFS_BLK_SB_ITEM_LSB_MASK 0xff00000000000000UL - | ^~~~~~~~~~~~~~~~~~~~ +debugvmfs6/debugvmfs6.c:420:29: note: in expansion of macro 'VMFS_BLK_FB_ITEM' + 420 | vmfs_fs_read(fs,VMFS_BLK_FB_ITEM(blk_id),0,buf,blk_size); + | ^~~~~~~~~~~~~~~~ +libvmfs/vmfs_block.h:56:37: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '1150669704793161728' to '0' [-Woverflow] + 56 | #define VMFS_BLK_FB_ITEM_LSB_MASK 0x0ff8000000000000UL //0xffffffc0 + | ^~~~~~~~~~~~~~~~~~~~ libvmfs/vmfs_block.h:40:39: note: in definition of macro 'VMFS_BLK_FILL' 40 | #define VMFS_BLK_FILL(value, mask) (((value) << VMFS_BLK_SHIFT(mask)) & (mask)) | ^~~~~ libvmfs/vmfs_block.h:38:62: note: in expansion of macro 'VMFS_BLK_SHIFT' 38 | #define VMFS_BLK_VALUE(blk_id, mask) (((blk_id) & (mask)) >> VMFS_BLK_SHIFT(mask)) | ^~~~~~~~~~~~~~ -libvmfs/vmfs_block.h:115:19: note: in expansion of macro 'VMFS_BLK_VALUE' - 115 | (VMFS_BLK_FILL(VMFS_BLK_VALUE(blk_id, VMFS_BLK_SB_ITEM_LSB_MASK), VMFS_BLK_SB_ITEM_VALUE_LSB_MASK) | \ +libvmfs/vmfs_block.h:68:19: note: in expansion of macro 'VMFS_BLK_VALUE' + 68 | (VMFS_BLK_FILL(VMFS_BLK_VALUE(blk_id, VMFS_BLK_FB_ITEM_LSB_MASK), VMFS_BLK_FB_ITEM_VALUE_LSB_MASK) | \ | ^~~~~~~~~~~~~~ -libvmfs/vmfs_block.h:115:42: note: in expansion of macro 'VMFS_BLK_SB_ITEM_LSB_MASK' - 115 | (VMFS_BLK_FILL(VMFS_BLK_VALUE(blk_id, VMFS_BLK_SB_ITEM_LSB_MASK), VMFS_BLK_SB_ITEM_VALUE_LSB_MASK) | \ +libvmfs/vmfs_block.h:68:42: note: in expansion of macro 'VMFS_BLK_FB_ITEM_LSB_MASK' + 68 | (VMFS_BLK_FILL(VMFS_BLK_VALUE(blk_id, VMFS_BLK_FB_ITEM_LSB_MASK), VMFS_BLK_FB_ITEM_VALUE_LSB_MASK) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -libvmfs/vmfs_inode.c:343:77: note: in expansion of macro 'VMFS_BLK_SB_ITEM' - 343 | if (!vmfs_bitmap_get_item(fs->sbc, VMFS_BLK_SB_ENTRY(primary_pb_blk_id), VMFS_BLK_SB_ITEM(primary_pb_blk_id), buf)) - | ^~~~~~~~~~~~~~~~ -libvmfs/vmfs_block.c: In function 'vmfs_block_write_fb': +libvmfs/vmfs_block.c:378:14: note: in expansion of macro 'VMFS_BLK_FB_ITEM' + 378 | fb_item = VMFS_BLK_FB_ITEM(blk_id); + | ^~~~~~~~~~~~~~~~ libvmfs/vmfs_block.h:106:35: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '18374686479671623680' to '0' [-Woverflow] 106 | #define VMFS_BLK_SB_ITEM_LSB_MASK 0xff00000000000000UL | ^~~~~~~~~~~~~~~~~~~~ @@ -853,12 +848,16 @@ libvmfs/vmfs_block.h:115:42: note: in expansion of macro 'VMFS_BLK_SB_ITEM_LSB_MASK' 115 | (VMFS_BLK_FILL(VMFS_BLK_VALUE(blk_id, VMFS_BLK_SB_ITEM_LSB_MASK), VMFS_BLK_SB_ITEM_VALUE_LSB_MASK) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -libvmfs/vmfs_inode.c:350:79: note: in expansion of macro 'VMFS_BLK_SB_ITEM' - 350 | if (!vmfs_bitmap_get_item(fs->sbc, VMFS_BLK_SB_ENTRY(secondary_pb_blk_id), VMFS_BLK_SB_ITEM(secondary_pb_blk_id), buf)) - | ^~~~~~~~~~~~~~~~ -In file included from libvmfs/vmfs.h:56, - from vmfs6-lvm/vmfs6-lvm.c:22: -vmfs6-lvm/vmfs6-lvm.c: In function 'cmd_remove': +debugvmfs6/debugvmfs6.c:427:34: note: in expansion of macro 'VMFS_BLK_SB_ITEM' + 427 | VMFS_BLK_SB_ITEM(blk_id),buf); + | ^~~~~~~~~~~~~~~~ +libvmfs/vmfs_block.c: In function 'vmfs_block_read_lfb': +debugvmfs6/debugvmfs6.c:451:42: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] + 451 | fprintf(stderr,"Block 0x%8.8lx: incomplete write.\n",blk_id); + | ~~~~~^ ~~~~~~ + | | | + | long unsigned int uint64_t {aka long long unsigned int} + | %8.8llx libvmfs/vmfs_block.h:56:37: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '1150669704793161728' to '0' [-Woverflow] 56 | #define VMFS_BLK_FB_ITEM_LSB_MASK 0x0ff8000000000000UL //0xffffffc0 | ^~~~~~~~~~~~~~~~~~~~ @@ -874,34 +873,70 @@ libvmfs/vmfs_block.h:68:42: note: in expansion of macro 'VMFS_BLK_FB_ITEM_LSB_MASK' 68 | (VMFS_BLK_FILL(VMFS_BLK_VALUE(blk_id, VMFS_BLK_FB_ITEM_LSB_MASK), VMFS_BLK_FB_ITEM_VALUE_LSB_MASK) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -libvmfs/vmfs_block.c:378:14: note: in expansion of macro 'VMFS_BLK_FB_ITEM' - 378 | fb_item = VMFS_BLK_FB_ITEM(blk_id); +libvmfs/vmfs_block.c:438:14: note: in expansion of macro 'VMFS_BLK_FB_ITEM' + 438 | fb_item = VMFS_BLK_FB_ITEM(blk_id); | ^~~~~~~~~~~~~~~~ -libvmfs/vmfs_block.h:56:37: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '1150669704793161728' to '0' [-Woverflow] - 56 | #define VMFS_BLK_FB_ITEM_LSB_MASK 0x0ff8000000000000UL //0xffffffc0 - | ^~~~~~~~~~~~~~~~~~~~ -libvmfs/vmfs_block.h:37:45: note: in definition of macro 'VMFS_BLK_SHIFT' - 37 | #define VMFS_BLK_SHIFT(mask) __builtin_ctzl(mask) - | ^~~~ -libvmfs/vmfs_block.h:82:5: note: in expansion of macro 'VMFS_BLK_FILL' - 82 | (VMFS_BLK_FILL(VMFS_BLK_VALUE(item, VMFS_BLK_FB_ITEM_VALUE_LSB_MASK), VMFS_BLK_FB_ITEM_LSB_MASK) | \ - | ^~~~~~~~~~~~~ -libvmfs/vmfs_block.h:82:74: note: in expansion of macro 'VMFS_BLK_FB_ITEM_LSB_MASK' - 82 | (VMFS_BLK_FILL(VMFS_BLK_VALUE(item, VMFS_BLK_FB_ITEM_VALUE_LSB_MASK), VMFS_BLK_FB_ITEM_LSB_MASK) | \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -vmfs6-lvm/vmfs6-lvm.c:61:37: note: in expansion of macro 'VMFS_BLK_FB_BUILD' - 61 | if (vmfs_block_get_status(fs, VMFS_BLK_FB_BUILD(i, 0))) { - | ^~~~~~~~~~~~~~~~~ -libvmfs/vmfs_block.h:40:46: warning: left shift count >= width of type [-Wshift-count-overflow] - 40 | #define VMFS_BLK_FILL(value, mask) (((value) << VMFS_BLK_SHIFT(mask)) & (mask)) - | ^~ -libvmfs/vmfs_block.h:82:5: note: in expansion of macro 'VMFS_BLK_FILL' - 82 | (VMFS_BLK_FILL(VMFS_BLK_VALUE(item, VMFS_BLK_FB_ITEM_VALUE_LSB_MASK), VMFS_BLK_FB_ITEM_LSB_MASK) | \ - | ^~~~~~~~~~~~~ -vmfs6-lvm/vmfs6-lvm.c:61:37: note: in expansion of macro 'VMFS_BLK_FB_BUILD' - 61 | if (vmfs_block_get_status(fs, VMFS_BLK_FB_BUILD(i, 0))) { - | ^~~~~~~~~~~~~~~~~ -libvmfs/vmfs_block.c: In function 'vmfs_block_read_lfb': +debugvmfs6/debugvmfs6.c: In function 'cmd_alloc_block_fixed': +debugvmfs6/debugvmfs6.c:476:28: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] + 476 | printf("Block 0x%8.8lx allocated.\n",blk_id); + | ~~~~~^ ~~~~~~ + | | | + | | uint64_t {aka long long unsigned int} + | long unsigned int + | %8.8llx +debugvmfs6/debugvmfs6.c:478:55: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] + 478 | fprintf(stderr,"Unable to allocate block 0x%8.8lx\n",blk_id); + | ~~~~~^ ~~~~~~ + | | | + | | uint64_t {aka long long unsigned int} + | long unsigned int + | %8.8llx +debugvmfs6/debugvmfs6.c: In function 'cmd_alloc_block': +debugvmfs6/variables.c: In function 'get_value_blocks': +debugvmfs6/debugvmfs6.c:502:28: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] + 502 | printf("Block 0x%8.8lx allocated.\n",blk_id); + | ~~~~~^ ~~~~~~ + | | | + | | uint64_t {aka long long unsigned int} + | long unsigned int + | %8.8llx +debugvmfs6/debugvmfs6.c: In function 'cmd_free_block': +debugvmfs6/variables.c:840:25: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] + 840 | sprintf(b, "0x%16lx%c", inode->blocks[i], (i + 1) % 4 ? ' ' : '\n'); + | ~~~~^ ~~~~~~~~~~~~~~~~ + | | | + | long unsigned int uint64_t {aka long long unsigned int} + | %16llx +debugvmfs6/debugvmfs6.c:527:28: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] + 527 | printf("Block 0x%8.8lx freed.\n",blk_id); + | ~~~~~^ ~~~~~~ + | | | + | | uint64_t {aka long long unsigned int} + | long unsigned int + | %8.8llx +libvmfs/utils.c: In function 'hexdump': +debugvmfs6/debugvmfs6.c:529:51: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] + 529 | fprintf(stderr,"Unable to free block 0x%8.8lx\n",blk_id); + | ~~~~~^ ~~~~~~ + | | | + | | uint64_t {aka long long unsigned int} + | long unsigned int + | %8.8llx +libvmfs/utils.c:284:25: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 284 | scanf("%c", &tmp); + | ^~~~~~~~~~~~~~~~~ +debugvmfs6/debugvmfs6.c: In function 'show_usage': +debugvmfs6/debugvmfs6.c:576:19: warning: too many arguments for format [-Wformat-extra-args] + 576 | fprintf(stderr," \n",name); + | ^~~~~ +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vmfs6-tools-0.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -DVMFS_DEBUG=0 -DVMFS_DEBUG=0 -Wall -D_FILE_OFFSET_BITS=64 -Ilibvmfs -I/usr/include/uuid -Wdate-time -D_FORTIFY_SOURCE=2 -c -o libvmfs/vmfs_host.o libvmfs/vmfs_host.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vmfs6-tools-0.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -DVMFS_DEBUG=0 -DVMFS_DEBUG=0 -Wall -D_FILE_OFFSET_BITS=64 -Ilibvmfs -I/usr/include/uuid -Wdate-time -D_FORTIFY_SOURCE=2 -c -o libvmfs/vmfs_inode.o libvmfs/vmfs_inode.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vmfs6-tools-0.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -DVMFS_DEBUG=0 -DVMFS_DEBUG=0 -Wall -D_FILE_OFFSET_BITS=64 -Ilibvmfs -I/usr/include/uuid -Wdate-time -D_FORTIFY_SOURCE=2 -c -o libvmfs/vmfs_lvm.o libvmfs/vmfs_lvm.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vmfs6-tools-0.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -DVMFS_DEBUG=0 -DVMFS_DEBUG=0 -Wall -D_FILE_OFFSET_BITS=64 -Ilibvmfs -I/usr/include/uuid -Wdate-time -D_FORTIFY_SOURCE=2 -c -o libvmfs/vmfs_metadata.o libvmfs/vmfs_metadata.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vmfs6-tools-0.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -DVMFS_DEBUG=0 -DVMFS_DEBUG=0 -Wall -D_FILE_OFFSET_BITS=64 -Ilibvmfs -I/usr/include/uuid -Wdate-time -D_FORTIFY_SOURCE=2 -c -o libvmfs/vmfs_volume.o libvmfs/vmfs_volume.c +In file included from libvmfs/vmfs.h:56, + from libvmfs/vmfs_inode.c:28: +libvmfs/vmfs_inode.c: In function 'vmfs_inode_alloc': libvmfs/vmfs_block.h:56:37: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '1150669704793161728' to '0' [-Woverflow] 56 | #define VMFS_BLK_FB_ITEM_LSB_MASK 0x0ff8000000000000UL //0xffffffc0 | ^~~~~~~~~~~~~~~~~~~~ @@ -917,9 +952,65 @@ libvmfs/vmfs_block.h:68:42: note: in expansion of macro 'VMFS_BLK_FB_ITEM_LSB_MASK' 68 | (VMFS_BLK_FILL(VMFS_BLK_VALUE(blk_id, VMFS_BLK_FB_ITEM_LSB_MASK), VMFS_BLK_FB_ITEM_VALUE_LSB_MASK) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -libvmfs/vmfs_block.c:438:14: note: in expansion of macro 'VMFS_BLK_FB_ITEM' - 438 | fb_item = VMFS_BLK_FB_ITEM(blk_id); - | ^~~~~~~~~~~~~~~~ +libvmfs/vmfs_inode.c:289:46: note: in expansion of macro 'VMFS_BLK_FB_ITEM' + 289 | (*inode)->mdh.pos = fdc_inode->blk_size * VMFS_BLK_FB_ITEM(fdc_blk); + | ^~~~~~~~~~~~~~~~ +libvmfs/vmfs_inode.c: In function 'doubleIndirectAddressing': +libvmfs/vmfs_block.h:106:35: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '18374686479671623680' to '0' [-Woverflow] + 106 | #define VMFS_BLK_SB_ITEM_LSB_MASK 0xff00000000000000UL + | ^~~~~~~~~~~~~~~~~~~~ +libvmfs/vmfs_block.h:40:39: note: in definition of macro 'VMFS_BLK_FILL' + 40 | #define VMFS_BLK_FILL(value, mask) (((value) << VMFS_BLK_SHIFT(mask)) & (mask)) + | ^~~~~ +libvmfs/vmfs_block.h:38:62: note: in expansion of macro 'VMFS_BLK_SHIFT' + 38 | #define VMFS_BLK_VALUE(blk_id, mask) (((blk_id) & (mask)) >> VMFS_BLK_SHIFT(mask)) + | ^~~~~~~~~~~~~~ +libvmfs/vmfs_block.h:115:19: note: in expansion of macro 'VMFS_BLK_VALUE' + 115 | (VMFS_BLK_FILL(VMFS_BLK_VALUE(blk_id, VMFS_BLK_SB_ITEM_LSB_MASK), VMFS_BLK_SB_ITEM_VALUE_LSB_MASK) | \ + | ^~~~~~~~~~~~~~ +libvmfs/vmfs_block.h:115:42: note: in expansion of macro 'VMFS_BLK_SB_ITEM_LSB_MASK' + 115 | (VMFS_BLK_FILL(VMFS_BLK_VALUE(blk_id, VMFS_BLK_SB_ITEM_LSB_MASK), VMFS_BLK_SB_ITEM_VALUE_LSB_MASK) | \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +libvmfs/vmfs_inode.c:343:77: note: in expansion of macro 'VMFS_BLK_SB_ITEM' + 343 | if (!vmfs_bitmap_get_item(fs->sbc, VMFS_BLK_SB_ENTRY(primary_pb_blk_id), VMFS_BLK_SB_ITEM(primary_pb_blk_id), buf)) + | ^~~~~~~~~~~~~~~~ +libvmfs/vmfs_block.h:106:35: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '18374686479671623680' to '0' [-Woverflow] + 106 | #define VMFS_BLK_SB_ITEM_LSB_MASK 0xff00000000000000UL + | ^~~~~~~~~~~~~~~~~~~~ +libvmfs/vmfs_block.h:40:39: note: in definition of macro 'VMFS_BLK_FILL' + 40 | #define VMFS_BLK_FILL(value, mask) (((value) << VMFS_BLK_SHIFT(mask)) & (mask)) + | ^~~~~ +libvmfs/vmfs_block.h:38:62: note: in expansion of macro 'VMFS_BLK_SHIFT' + 38 | #define VMFS_BLK_VALUE(blk_id, mask) (((blk_id) & (mask)) >> VMFS_BLK_SHIFT(mask)) + | ^~~~~~~~~~~~~~ +libvmfs/vmfs_block.h:115:19: note: in expansion of macro 'VMFS_BLK_VALUE' + 115 | (VMFS_BLK_FILL(VMFS_BLK_VALUE(blk_id, VMFS_BLK_SB_ITEM_LSB_MASK), VMFS_BLK_SB_ITEM_VALUE_LSB_MASK) | \ + | ^~~~~~~~~~~~~~ +libvmfs/vmfs_block.h:115:42: note: in expansion of macro 'VMFS_BLK_SB_ITEM_LSB_MASK' + 115 | (VMFS_BLK_FILL(VMFS_BLK_VALUE(blk_id, VMFS_BLK_SB_ITEM_LSB_MASK), VMFS_BLK_SB_ITEM_VALUE_LSB_MASK) | \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +libvmfs/vmfs_inode.c:350:79: note: in expansion of macro 'VMFS_BLK_SB_ITEM' + 350 | if (!vmfs_bitmap_get_item(fs->sbc, VMFS_BLK_SB_ENTRY(secondary_pb_blk_id), VMFS_BLK_SB_ITEM(secondary_pb_blk_id), buf)) + | ^~~~~~~~~~~~~~~~ +libvmfs/vmfs_lvm.c: In function 'vmfs_lvm_io': +libvmfs/vmfs_lvm.c:71:47: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'off_t' {aka 'long long int'} [-Wformat=] + 71 | fprintf(stderr,"VMFS: i/o spanned pos %ld len %ld over several extents is unsupported %ld\n", pos, len, vmfs_lvm_extent_size(extent)); + | ~~^ ~~~ + | | | + | long int off_t {aka long long int} + | %lld +libvmfs/vmfs_lvm.c:71:55: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] + 71 | fprintf(stderr,"VMFS: i/o spanned pos %ld len %ld over several extents is unsupported %ld\n", pos, len, vmfs_lvm_extent_size(extent)); + | ~~^ ~~~ + | | | + | long int size_t {aka unsigned int} + | %d +libvmfs/vmfs_lvm.c:71:95: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] + 71 | fprintf(stderr,"VMFS: i/o spanned pos %ld len %ld over several extents is unsupported %ld\n", pos, len, vmfs_lvm_extent_size(extent)); + | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | | + | long int uint64_t {aka long long unsigned int} + | %lld libvmfs/vmfs_inode.c: In function 'vmfs_inode_get_block': libvmfs/vmfs_block.h:106:35: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '18374686479671623680' to '0' [-Woverflow] 106 | #define VMFS_BLK_SB_ITEM_LSB_MASK 0xff00000000000000UL @@ -940,7 +1031,6 @@ 471 | VMFS_BLK_SB_ITEM(pb_blk_id), | ^~~~~~~~~~~~~~~~ libvmfs/vmfs_inode.c: In function 'vmfs_inode_aggregate_fb': -debugvmfs6/variables.c: In function 'get_value_blocks': libvmfs/vmfs_block.h:106:35: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '18374686479671623680' to '0' [-Woverflow] 106 | #define VMFS_BLK_SB_ITEM_LSB_MASK 0xff00000000000000UL | ^~~~~~~~~~~~~~~~~~~~ @@ -959,12 +1049,6 @@ libvmfs/vmfs_inode.c:514:30: note: in expansion of macro 'VMFS_BLK_SB_ITEM' 514 | VMFS_BLK_SB_ITEM(sb_blk), | ^~~~~~~~~~~~~~~~ -debugvmfs6/variables.c:840:25: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] - 840 | sprintf(b, "0x%16lx%c", inode->blocks[i], (i + 1) % 4 ? ' ' : '\n'); - | ~~~~^ ~~~~~~~~~~~~~~~~ - | | | - | long unsigned int uint64_t {aka long long unsigned int} - | %16llx libvmfs/vmfs_block.h:56:37: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '1150669704793161728' to '0' [-Woverflow] 56 | #define VMFS_BLK_FB_ITEM_LSB_MASK 0x0ff8000000000000UL //0xffffffc0 | ^~~~~~~~~~~~~~~~~~~~ @@ -987,64 +1071,75 @@ libvmfs/vmfs_inode.c:590:53: warning: comparison of constant '-1' with boolean expression is always false [-Wbool-compare] 590 | if (vmfs_bitmap_set_item(fs->pbc,entry,item,buf) == -1) { | ^~ -libvmfs/utils.c: In function 'hexdump': -libvmfs/utils.c:284:25: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 284 | scanf("%c", &tmp); - | ^~~~~~~~~~~~~~~~~ -debugvmfs6/debugvmfs6.c: In function 'cmd_get_file_block': -debugvmfs6/debugvmfs6.c:352:22: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] - 352 | printf("0x%8.8lx\n",blk_id); - | ~~~~~^ ~~~~~~ - | | | - | | uint64_t {aka long long unsigned int} - | long unsigned int - | %8.8llx +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vmfs6-tools-0.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -DVMFS_DEBUG=0 -DVMFS_DEBUG=0 -Wall -D_FILE_OFFSET_BITS=64 -Ilibreadcmd -Wdate-time -D_FORTIFY_SOURCE=2 -c -o libreadcmd/readcmd.o libreadcmd/readcmd.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vmfs6-tools-0.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -DVMFS_DEBUG=0 -DVMFS_DEBUG=0 -Wall -D_FILE_OFFSET_BITS=64 -Ifsck.vmfs6 -Ilibvmfs -I/usr/include/uuid -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fsck.vmfs6/vmfs6_fsck.o fsck.vmfs6/vmfs6_fsck.c +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vmfs6-tools-0.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -DVMFS_DEBUG=0 -DVMFS_DEBUG=0 -Wall -D_FILE_OFFSET_BITS=64 -Iimager -Wdate-time -D_FORTIFY_SOURCE=2 -c -o imager/imager.o imager/imager.c +debugvmfs6/variables.c: In function 'show_var': +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vmfs6-tools-0.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -DVMFS_DEBUG=0 -DVMFS_DEBUG=0 -Wall -D_FILE_OFFSET_BITS=64 -Ivmfs6-fuse -Ilibvmfs -I/usr/include/uuid -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o vmfs6-fuse/vmfs6-fuse.o vmfs6-fuse/vmfs6-fuse.c +debugvmfs6/variables.c:895:36: warning: 's + ' directive writing 2 bytes into a region of size between 1 and 10 [-Wformat-overflow=] + 895 | sprintf(format, "%%%ds: %%s\n", longest_member_desc(m->subvar)); + | ^~~ +In file included from /usr/include/stdio.h:970, + from libvmfs/utils.h:22, + from libvmfs/vmfs.h:53, + from debugvmfs6/variables.c:21: +In function 'sprintf', + inlined from 'show_var' at debugvmfs6/variables.c:895:10: +/usr/include/i386-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 9 and 18 bytes into a destination of size 16 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/vmfs6-tools-0.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -DVMFS_DEBUG=0 -DVMFS_DEBUG=0 -Wall -D_FILE_OFFSET_BITS=64 -Ivmfs6-lvm -Ilibvmfs -I/usr/include/uuid -Ilibreadcmd -include version -Wdate-time -D_FORTIFY_SOURCE=2 -c -o vmfs6-lvm/vmfs6-lvm.o vmfs6-lvm/vmfs6-lvm.c +(echo "*.tar.gz"; \ + echo "*.[ao]"; \ + echo "*.xml"; \ + echo "*.8"; \ + echo "version"; \ + echo "config.cache"; \ + echo debugvmfs6/debugvmfs6; echo fsck.vmfs6/fsck.vmfs6; echo imager/imager; echo vmfs6-fuse/vmfs6-fuse; echo vmfs6-lvm/vmfs6-lvm; \ +) > .gitignore In file included from libvmfs/vmfs.h:56, - from debugvmfs6/debugvmfs6.c:31: -debugvmfs6/debugvmfs6.c: In function 'cmd_read_block': + from vmfs6-lvm/vmfs6-lvm.c:22: +vmfs6-lvm/vmfs6-lvm.c: In function 'cmd_remove': libvmfs/vmfs_block.h:56:37: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '1150669704793161728' to '0' [-Woverflow] 56 | #define VMFS_BLK_FB_ITEM_LSB_MASK 0x0ff8000000000000UL //0xffffffc0 | ^~~~~~~~~~~~~~~~~~~~ -libvmfs/vmfs_block.h:40:39: note: in definition of macro 'VMFS_BLK_FILL' - 40 | #define VMFS_BLK_FILL(value, mask) (((value) << VMFS_BLK_SHIFT(mask)) & (mask)) - | ^~~~~ -libvmfs/vmfs_block.h:38:62: note: in expansion of macro 'VMFS_BLK_SHIFT' - 38 | #define VMFS_BLK_VALUE(blk_id, mask) (((blk_id) & (mask)) >> VMFS_BLK_SHIFT(mask)) - | ^~~~~~~~~~~~~~ -libvmfs/vmfs_block.h:68:19: note: in expansion of macro 'VMFS_BLK_VALUE' - 68 | (VMFS_BLK_FILL(VMFS_BLK_VALUE(blk_id, VMFS_BLK_FB_ITEM_LSB_MASK), VMFS_BLK_FB_ITEM_VALUE_LSB_MASK) | \ - | ^~~~~~~~~~~~~~ -libvmfs/vmfs_block.h:68:42: note: in expansion of macro 'VMFS_BLK_FB_ITEM_LSB_MASK' - 68 | (VMFS_BLK_FILL(VMFS_BLK_VALUE(blk_id, VMFS_BLK_FB_ITEM_LSB_MASK), VMFS_BLK_FB_ITEM_VALUE_LSB_MASK) | \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -debugvmfs6/debugvmfs6.c:420:29: note: in expansion of macro 'VMFS_BLK_FB_ITEM' - 420 | vmfs_fs_read(fs,VMFS_BLK_FB_ITEM(blk_id),0,buf,blk_size); - | ^~~~~~~~~~~~~~~~ -libvmfs/vmfs_block.h:106:35: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '18374686479671623680' to '0' [-Woverflow] - 106 | #define VMFS_BLK_SB_ITEM_LSB_MASK 0xff00000000000000UL - | ^~~~~~~~~~~~~~~~~~~~ -libvmfs/vmfs_block.h:40:39: note: in definition of macro 'VMFS_BLK_FILL' +libvmfs/vmfs_block.h:37:45: note: in definition of macro 'VMFS_BLK_SHIFT' + 37 | #define VMFS_BLK_SHIFT(mask) __builtin_ctzl(mask) + | ^~~~ +libvmfs/vmfs_block.h:82:5: note: in expansion of macro 'VMFS_BLK_FILL' + 82 | (VMFS_BLK_FILL(VMFS_BLK_VALUE(item, VMFS_BLK_FB_ITEM_VALUE_LSB_MASK), VMFS_BLK_FB_ITEM_LSB_MASK) | \ + | ^~~~~~~~~~~~~ +libvmfs/vmfs_block.h:82:74: note: in expansion of macro 'VMFS_BLK_FB_ITEM_LSB_MASK' + 82 | (VMFS_BLK_FILL(VMFS_BLK_VALUE(item, VMFS_BLK_FB_ITEM_VALUE_LSB_MASK), VMFS_BLK_FB_ITEM_LSB_MASK) | \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +vmfs6-lvm/vmfs6-lvm.c:61:37: note: in expansion of macro 'VMFS_BLK_FB_BUILD' + 61 | if (vmfs_block_get_status(fs, VMFS_BLK_FB_BUILD(i, 0))) { + | ^~~~~~~~~~~~~~~~~ +libvmfs/vmfs_block.h:40:46: warning: left shift count >= width of type [-Wshift-count-overflow] 40 | #define VMFS_BLK_FILL(value, mask) (((value) << VMFS_BLK_SHIFT(mask)) & (mask)) - | ^~~~~ -libvmfs/vmfs_block.h:38:62: note: in expansion of macro 'VMFS_BLK_SHIFT' - 38 | #define VMFS_BLK_VALUE(blk_id, mask) (((blk_id) & (mask)) >> VMFS_BLK_SHIFT(mask)) - | ^~~~~~~~~~~~~~ -libvmfs/vmfs_block.h:115:19: note: in expansion of macro 'VMFS_BLK_VALUE' - 115 | (VMFS_BLK_FILL(VMFS_BLK_VALUE(blk_id, VMFS_BLK_SB_ITEM_LSB_MASK), VMFS_BLK_SB_ITEM_VALUE_LSB_MASK) | \ - | ^~~~~~~~~~~~~~ -libvmfs/vmfs_block.h:115:42: note: in expansion of macro 'VMFS_BLK_SB_ITEM_LSB_MASK' - 115 | (VMFS_BLK_FILL(VMFS_BLK_VALUE(blk_id, VMFS_BLK_SB_ITEM_LSB_MASK), VMFS_BLK_SB_ITEM_VALUE_LSB_MASK) | \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -debugvmfs6/debugvmfs6.c:427:34: note: in expansion of macro 'VMFS_BLK_SB_ITEM' - 427 | VMFS_BLK_SB_ITEM(blk_id),buf); - | ^~~~~~~~~~~~~~~~ -debugvmfs6/debugvmfs6.c:451:42: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] - 451 | fprintf(stderr,"Block 0x%8.8lx: incomplete write.\n",blk_id); - | ~~~~~^ ~~~~~~ - | | | - | long unsigned int uint64_t {aka long long unsigned int} - | %8.8llx -debugvmfs6/debugvmfs6.c: In function 'cmd_alloc_block_fixed': + | ^~ +libvmfs/vmfs_block.h:82:5: note: in expansion of macro 'VMFS_BLK_FILL' + 82 | (VMFS_BLK_FILL(VMFS_BLK_VALUE(item, VMFS_BLK_FB_ITEM_VALUE_LSB_MASK), VMFS_BLK_FB_ITEM_LSB_MASK) | \ + | ^~~~~~~~~~~~~ +vmfs6-lvm/vmfs6-lvm.c:61:37: note: in expansion of macro 'VMFS_BLK_FB_BUILD' + 61 | if (vmfs_block_get_status(fs, VMFS_BLK_FB_BUILD(i, 0))) { + | ^~~~~~~~~~~~~~~~~ +imager/imager.c:111:21: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] + 111 | static const u_char const zero_blk[BLK_SIZE] = {0,}; + | ^~~~~ +imager/imager.c: In function 'do_init_image': +imager/imager.c:274:17: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] + 274 | const u_char const buf[8] = + | ^~~~~ +imager/imager.c: In function 'skip_zero_blocks': +imager/imager.c:165:4: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] + 165 | ftruncate(1, pos); + | ^~~~~~~~~~~~~~~~~ fsck.vmfs6/vmfs6_fsck.c: In function 'vmfs_dir_map_show_entry': fsck.vmfs6/vmfs6_fsck.c:149:23: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 149 | printf("%s (0x%8.8lx)\n",map->name,map->blk_id); @@ -1052,30 +1147,7 @@ | | | | long unsigned int uint64_t {aka long long unsigned int} | %8.8llx -debugvmfs6/debugvmfs6.c:476:28: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] - 476 | printf("Block 0x%8.8lx allocated.\n",blk_id); - | ~~~~~^ ~~~~~~ - | | | - | | uint64_t {aka long long unsigned int} - | long unsigned int - | %8.8llx -debugvmfs6/debugvmfs6.c:478:55: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] - 478 | fprintf(stderr,"Unable to allocate block 0x%8.8lx\n",blk_id); - | ~~~~~^ ~~~~~~ - | | | - | | uint64_t {aka long long unsigned int} - | long unsigned int - | %8.8llx -debugvmfs6/debugvmfs6.c: In function 'cmd_alloc_block': -debugvmfs6/debugvmfs6.c:502:28: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] - 502 | printf("Block 0x%8.8lx allocated.\n",blk_id); - | ~~~~~^ ~~~~~~ - | | | - | | uint64_t {aka long long unsigned int} - | long unsigned int - | %8.8llx fsck.vmfs6/vmfs6_fsck.c: In function 'vmfs_fsck_count_blocks': -debugvmfs6/debugvmfs6.c: In function 'cmd_free_block': fsck.vmfs6/vmfs6_fsck.c:326:34: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 326 | printf("Block 0x%8.8lx is referenced by multiple inodes: \n", | ~~~~~^ @@ -1086,30 +1158,15 @@ | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} -debugvmfs6/debugvmfs6.c:527:28: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] - 527 | printf("Block 0x%8.8lx freed.\n",blk_id); - | ~~~~~^ ~~~~~~ - | | | - | | uint64_t {aka long long unsigned int} - | long unsigned int - | %8.8llx fsck.vmfs6/vmfs6_fsck.c:336:34: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 336 | printf("Block 0x%8.8lx is used but not allocated.\n",map->blk_id); | ~~~~~^ ~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %8.8llx -debugvmfs6/debugvmfs6.c:529:51: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] - 529 | fprintf(stderr,"Unable to free block 0x%8.8lx\n",blk_id); - | ~~~~~^ ~~~~~~ - | | | - | | uint64_t {aka long long unsigned int} - | long unsigned int - | %8.8llx In file included from libvmfs/vmfs.h:56, from fsck.vmfs6/vmfs6_fsck.c:31: fsck.vmfs6/vmfs6_fsck.c: In function 'vmfs_fsck_check_fb_lost': -debugvmfs6/debugvmfs6.c: In function 'show_usage': libvmfs/vmfs_block.h:56:37: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '1150669704793161728' to '0' [-Woverflow] 56 | #define VMFS_BLK_FB_ITEM_LSB_MASK 0x0ff8000000000000UL //0xffffffc0 | ^~~~~~~~~~~~~~~~~~~~ @@ -1125,9 +1182,6 @@ fsck.vmfs6/vmfs6_fsck.c:423:13: note: in expansion of macro 'VMFS_BLK_FB_BUILD' 423 | blk_id = VMFS_BLK_FB_BUILD(addr, 0); | ^~~~~~~~~~~~~~~~~ -debugvmfs6/debugvmfs6.c:576:19: warning: too many arguments for format [-Wformat-extra-args] - 576 | fprintf(stderr," \n",name); - | ^~~~~ libvmfs/vmfs_block.h:40:46: warning: left shift count >= width of type [-Wshift-count-overflow] 40 | #define VMFS_BLK_FILL(value, mask) (((value) << VMFS_BLK_SHIFT(mask)) & (mask)) | ^~ @@ -1191,38 +1245,20 @@ ar -r libreadcmd/libreadcmd.a libreadcmd/readcmd.o ar: creating libreadcmd/libreadcmd.a ranlib libreadcmd/libreadcmd.a -gcc -o imager/imager imager/imager.o -Wl,-z,relro -Wl,-z,now -debugvmfs6/variables.c: In function 'show_var': -debugvmfs6/variables.c:895:36: warning: 's - ' directive writing 2 bytes into a region of size between 1 and 10 [-Wformat-overflow=] - 895 | sprintf(format, "%%%ds: %%s\n", longest_member_desc(m->subvar)); - | ^~~ -In file included from /usr/include/stdio.h:970, - from libvmfs/utils.h:22, - from libvmfs/vmfs.h:53, - from debugvmfs6/variables.c:21: -In function 'sprintf', - inlined from 'show_var' at debugvmfs6/variables.c:895:10: -/usr/include/i386-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 9 and 18 bytes into a destination of size 16 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ ar -r libvmfs/libvmfs.a libvmfs/scsi.o libvmfs/utils.o libvmfs/vmfs_bitmap.o libvmfs/vmfs_block.o libvmfs/vmfs_dirent.o libvmfs/vmfs_file.o libvmfs/vmfs_fs.o libvmfs/vmfs_heartbeat.o libvmfs/vmfs_host.o libvmfs/vmfs_inode.o libvmfs/vmfs_lvm.o libvmfs/vmfs_metadata.o libvmfs/vmfs_volume.o ar: creating libvmfs/libvmfs.a ranlib libvmfs/libvmfs.a gcc -o debugvmfs6/debugvmfs6 debugvmfs6/debugvmfs6.o debugvmfs6/variables.o libvmfs/libvmfs.a libreadcmd/libreadcmd.a -Wl,-z,relro -Wl,-z,now -ldl -luuid -gcc -o fsck.vmfs6/fsck.vmfs6 fsck.vmfs6/vmfs6_fsck.o libvmfs/libvmfs.a -Wl,-z,relro -Wl,-z,now -luuid -gcc -o vmfs6-fuse/vmfs6-fuse vmfs6-fuse/vmfs6-fuse.o libvmfs/libvmfs.a -Wl,-z,relro -Wl,-z,now -luuid -lfuse -pthread gcc -o vmfs6-lvm/vmfs6-lvm vmfs6-lvm/vmfs6-lvm.o libvmfs/libvmfs.a libreadcmd/libreadcmd.a -Wl,-z,relro -Wl,-z,now -ldl -luuid +gcc -o vmfs6-fuse/vmfs6-fuse vmfs6-fuse/vmfs6-fuse.o libvmfs/libvmfs.a -Wl,-z,relro -Wl,-z,now -luuid -lfuse -pthread +gcc -o imager/imager imager/imager.o -Wl,-z,relro -Wl,-z,now +gcc -o fsck.vmfs6/fsck.vmfs6 fsck.vmfs6/vmfs6_fsck.o libvmfs/libvmfs.a -Wl,-z,relro -Wl,-z,now -luuid make[1]: Leaving directory '/build/reproducible-path/vmfs6-tools-0.2.1' dh_auto_test create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install --destdir=debian/vmfs6-tools/ - make -j22 install DESTDIR=/build/reproducible-path/vmfs6-tools-0.2.1/debian/vmfs6-tools AM_UPDATE_INFO_DIR=no + make -j10 install DESTDIR=/build/reproducible-path/vmfs6-tools-0.2.1/debian/vmfs6-tools AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/reproducible-path/vmfs6-tools-0.2.1' install -d -m 0755 /build/reproducible-path/vmfs6-tools-0.2.1/debian/vmfs6-tools/usr/sbin install -d -m 0755 /build/reproducible-path/vmfs6-tools-0.2.1/debian/vmfs6-tools/usr/share/man/man8 @@ -1235,15 +1271,15 @@ install -m 0755 vmfs6-fuse/vmfs6-fuse /build/reproducible-path/vmfs6-tools-0.2.1/debian/vmfs6-tools/usr/sbin/ install -m 0755 vmfs6-lvm/vmfs6-lvm /build/reproducible-path/vmfs6-tools-0.2.1/debian/vmfs6-tools/usr/sbin/ /usr/bin/xsltproc -o fsck.vmfs6/fsck.vmfs6.8 --nonet --novalid http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl fsck.vmfs6/fsck.vmfs6.xml -/usr/bin/xsltproc -o vmfs6-lvm/vmfs6-lvm.8 --nonet --novalid http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl vmfs6-lvm/vmfs6-lvm.xml /usr/bin/xsltproc -o vmfs6-fuse/vmfs6-fuse.8 --nonet --novalid http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl vmfs6-fuse/vmfs6-fuse.xml -Note: Writing fsck.vmfs6.8 -Note: Writing vmfs6-lvm.8 +/usr/bin/xsltproc -o vmfs6-lvm/vmfs6-lvm.8 --nonet --novalid http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl vmfs6-lvm/vmfs6-lvm.xml Note: Writing vmfs6-fuse.8 -install -m 0644 fsck.vmfs6/fsck.vmfs6.8 /build/reproducible-path/vmfs6-tools-0.2.1/debian/vmfs6-tools/usr/share/man/man8/ -install -m 0644 vmfs6-lvm/vmfs6-lvm.8 /build/reproducible-path/vmfs6-tools-0.2.1/debian/vmfs6-tools/usr/share/man/man8/ install -m 0644 vmfs6-fuse/vmfs6-fuse.8 /build/reproducible-path/vmfs6-tools-0.2.1/debian/vmfs6-tools/usr/share/man/man8/ +Note: Writing fsck.vmfs6.8 +install -m 0644 fsck.vmfs6/fsck.vmfs6.8 /build/reproducible-path/vmfs6-tools-0.2.1/debian/vmfs6-tools/usr/share/man/man8/ +Note: Writing vmfs6-lvm.8 /usr/bin/xsltproc -o debugvmfs6/debugvmfs6.8 --nonet --novalid http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl debugvmfs6/debugvmfs6.xml +install -m 0644 vmfs6-lvm/vmfs6-lvm.8 /build/reproducible-path/vmfs6-tools-0.2.1/debian/vmfs6-tools/usr/share/man/man8/ Note: Writing debugvmfs6.8 install -m 0644 debugvmfs6/debugvmfs6.8 /build/reproducible-path/vmfs6-tools-0.2.1/debian/vmfs6-tools/usr/share/man/man8/ make[1]: Leaving directory '/build/reproducible-path/vmfs6-tools-0.2.1' @@ -1273,12 +1309,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/61131/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/61131/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/54746 and its subdirectories -I: Current time: Sat Mar 21 20:06:59 -12 2026 -I: pbuilder-time-stamp: 1774166819 +I: removing directory /srv/workspace/pbuilder/61131 and its subdirectories +I: Current time: Mon Feb 17 15:44:41 +14 2025 +I: pbuilder-time-stamp: 1739756681