Diff of the two buildlogs: -- --- b1/build.log 2024-04-02 20:10:17.714185399 +0000 +++ b2/build.log 2024-04-02 20:10:53.656645858 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Apr 2 08:09:00 -12 2024 -I: pbuilder-time-stamp: 1712088540 +I: Current time: Tue May 6 16:33:21 +14 2025 +I: pbuilder-time-stamp: 1746498801 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -26,54 +26,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/37643/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/67160/tmp/hooks/D01_modify_environment starting +debug: Running on ionos6-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 May 6 02:33 /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/67160/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/67160/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=11 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.21(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=21 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='a128102aba6d41448e30205e84598c08' - 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='37643' - PS1='# ' - PS2='> ' + INVOCATION_ID=033a7cea395842a68a3e57118afb73a3 + 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=67160 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.MKmvyGL3/pbuilderrc_HsmN --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.MKmvyGL3/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://78.137.99.97: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.MKmvyGL3/pbuilderrc_CW59 --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.MKmvyGL3/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://85.184.249.68:3128 I: uname -a - Linux ionos12-i386 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 1 11:25 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/37643/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 5 17:48 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/67160/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: 65 http://deb.debian.org/debian trixie/main i386 pkgconf i386 1.8.1-1+b2 [26.2 kB] Get: 66 http://deb.debian.org/debian trixie/main i386 pkg-config i386 1.8.1-1+b2 [14.0 kB] Get: 67 http://deb.debian.org/debian trixie/main i386 uuid-dev i386 2.39.3-6 [41.2 kB] -Fetched 30.9 MB in 1s (41.9 MB/s) +Fetched 30.9 MB in 3s (10.7 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-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 ... 19876 files and directories currently installed.) @@ -416,8 +448,8 @@ Setting up tzdata (2024a-1) ... Current default time zone: 'Etc/UTC' -Local time is now: Tue Apr 2 20:09:48 UTC 2024. -Universal Time is now: Tue Apr 2 20:09:48 UTC 2024. +Local time is now: Tue May 6 02:33:42 UTC 2025. +Universal Time is now: Tue May 6 02:33:42 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -488,7 +520,11 @@ fakeroot is already the newest version (1.33-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/67160/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/67160/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 @@ -531,7 +567,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 -j11 + make -j21 make[1]: Entering directory '/build/reproducible-path/vmfs6-tools-0.2.1' gcc -g -O2 -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 -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 @@ -544,131 +580,42 @@ gcc -g -O2 -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 -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 -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 -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 -In file included from libvmfs/vmfs.h:56, - from debugvmfs6/debugvmfs6.c:31: -debugvmfs6/debugvmfs6.c: In function 'cmd_read_block': -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' - 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': -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 -debugvmfs6/debugvmfs6.c: In function 'cmd_free_block': -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 -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 -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); - | ^~~~~ -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); - | ^~~~~~~~~~~~~~~~~ gcc -g -O2 -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 -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); - | ~~^ ~~~~~~~~ - | | | - | | uint64_t {aka long long unsigned int} - | 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); - | ^~~~~~~~~~~~~~~~~ +gcc -g -O2 -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 -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 -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 -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 -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 -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 -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 -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_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 In file included from libvmfs/vmfs.h:56, from libvmfs/vmfs_block.c:30: libvmfs/vmfs_block.c: In function 'vmfs_block_get_info': @@ -708,7 +655,6 @@ libvmfs/vmfs_block.c:50:24: note: in expansion of macro 'VMFS_BLK_SB_ITEM' 50 | info->item = VMFS_BLK_SB_ITEM(blk_id); | ^~~~~~~~~~~~~~~~ -debugvmfs6/variables.c: In function 'get_value_blocks': libvmfs/vmfs_block.c: In function 'vmfs_block_set_status': libvmfs/vmfs_block.c:118:52: warning: comparison of constant '-1' with boolean expression is always false [-Wbool-compare] 118 | buf,buf_len,&entry.mdh) == -1) @@ -721,12 +667,6 @@ 118 | buf,buf_len,&entry.mdh) == -1) | ~~~~~~~~~~~~~~~~~~~~~~~ | ) -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.c: In function 'vmfs_block_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 @@ -743,6 +683,9 @@ libvmfs/vmfs_block.c:171:20: note: in expansion of macro 'VMFS_BLK_FB_BUILD' 171 | *blk_id = VMFS_BLK_FB_BUILD(addr, 0); | ^~~~~~~~~~~~~~~~~ +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: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)) | ^~ @@ -752,6 +695,24 @@ 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_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) | \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +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.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 | ^~~~~~~~~~~~~~~~~~~~ @@ -767,7 +728,44 @@ libvmfs/vmfs_block.c:174:20: note: in expansion of macro 'VMFS_BLK_SB_BUILD' 174 | *blk_id = VMFS_BLK_SB_BUILD((uint64_t)entry.id, (uint64_t)item, 0); | ^~~~~~~~~~~~~~~~~ +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.c: In function 'vmfs_block_zeroize_fb': +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_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 | ^~~~~~~~~~~~~~~~~~~~ @@ -786,7 +784,51 @@ libvmfs/vmfs_block.c:198:15: note: in expansion of macro 'VMFS_BLK_FB_ITEM' 198 | blk_item = VMFS_BLK_FB_ITEM(blk_id); | ^~~~~~~~~~~~~~~~ +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); + | ~~^ ~~~~~~~~ + | | | + | | uint64_t {aka long long unsigned int} + | long unsigned int + | %llu +libvmfs/vmfs_inode.c: In function 'vmfs_inode_get_block': libvmfs/vmfs_block.c: In function 'vmfs_block_read_sb': +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 + | ^~~~~~~~~~~~~~~~~~~~ +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:471:44: note: in expansion of macro 'VMFS_BLK_SB_ITEM' + 471 | VMFS_BLK_SB_ITEM(pb_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 | ^~~~~~~~~~~~~~~~~~~~ @@ -805,7 +847,53 @@ libvmfs/vmfs_block.c:262:16: note: in expansion of macro 'VMFS_BLK_SB_ITEM' 262 | sbc_item = VMFS_BLK_SB_ITEM(blk_id); | ^~~~~~~~~~~~~~~~ +libvmfs/vmfs_inode.c: In function 'vmfs_inode_aggregate_fb': +In file included from libvmfs/vmfs.h:56, + from vmfs6-lvm/vmfs6-lvm.c:22: +vmfs6-lvm/vmfs6-lvm.c: In function 'cmd_remove': libvmfs/vmfs_block.c: In function 'vmfs_block_write_sb': +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.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:514:30: note: in expansion of macro 'VMFS_BLK_SB_ITEM' + 514 | VMFS_BLK_SB_ITEM(sb_blk), + | ^~~~~~~~~~~~~~~~ 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 | ^~~~~~~~~~~~~~~~~~~~ @@ -824,7 +912,26 @@ libvmfs/vmfs_block.c:286:16: note: in expansion of macro 'VMFS_BLK_SB_ITEM' 286 | sbc_item = VMFS_BLK_SB_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: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) | \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +libvmfs/vmfs_inode.c:524:14: note: in expansion of macro 'VMFS_BLK_FB_ITEM' + 524 | fb_item = VMFS_BLK_FB_ITEM(fb_blk); + | ^~~~~~~~~~~~~~~~ libvmfs/vmfs_block.c: In function 'vmfs_block_read_fb': +debugvmfs6/variables.c: In function 'get_value_blocks': 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 | ^~~~~~~~~~~~~~~~~~~~ @@ -843,6 +950,16 @@ 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_inode.c: In function 'vmfs_inode_aggregate_pb': +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_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/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 @@ -863,6 +980,10 @@ 378 | fb_item = VMFS_BLK_FB_ITEM(blk_id); | ^~~~~~~~~~~~~~~~ libvmfs/vmfs_block.c: In function 'vmfs_block_read_lfb': +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); + | ^~~~~~~~~~~~~~~~~ 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 | ^~~~~~~~~~~~~~~~~~~~ @@ -881,9 +1002,24 @@ libvmfs/vmfs_block.c:438:14: note: in expansion of macro 'VMFS_BLK_FB_ITEM' 438 | fb_item = VMFS_BLK_FB_ITEM(blk_id); | ^~~~~~~~~~~~~~~~ +imager/imager.c:111:21: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] + 111 | static const u_char const zero_blk[BLK_SIZE] = {0,}; + | ^~~~~ +debugvmfs6/debugvmfs6.c: In function 'cmd_get_file_block': +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] = + | ^~~~~ +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 In file included from libvmfs/vmfs.h:56, - from libvmfs/vmfs_inode.c:28: -libvmfs/vmfs_inode.c: In function 'vmfs_inode_alloc': + from debugvmfs6/debugvmfs6.c:31: +debugvmfs6/debugvmfs6.c: In function 'cmd_read_block': 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 | ^~~~~~~~~~~~~~~~~~~~ @@ -899,66 +1035,9 @@ 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_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_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 - | ^~~~~~~~~~~~~~~~~~~~ -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:471:44: note: in expansion of macro 'VMFS_BLK_SB_ITEM' - 471 | VMFS_BLK_SB_ITEM(pb_blk_id), - | ^~~~~~~~~~~~~~~~ -libvmfs/vmfs_inode.c: In function 'vmfs_inode_aggregate_fb': +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 | ^~~~~~~~~~~~~~~~~~~~ @@ -974,58 +1053,42 @@ 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:514:30: note: in expansion of macro 'VMFS_BLK_SB_ITEM' - 514 | VMFS_BLK_SB_ITEM(sb_blk), - | ^~~~~~~~~~~~~~~~ -gcc -g -O2 -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 -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) | \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -libvmfs/vmfs_inode.c:524:14: note: in expansion of macro 'VMFS_BLK_FB_ITEM' - 524 | fb_item = VMFS_BLK_FB_ITEM(fb_blk); - | ^~~~~~~~~~~~~~~~ -libvmfs/vmfs_inode.c: In function 'vmfs_inode_aggregate_pb': -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) { - | ^~ -gcc -g -O2 -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 -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 -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 -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 -gcc -g -O2 -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 -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 -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 -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 +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': +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); + | ^~~~~~~~~~~~~~~~~ +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_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); @@ -1033,7 +1096,23 @@ | | | | long unsigned int uint64_t {aka long long unsigned int} | %8.8llx +debugvmfs6/debugvmfs6.c: In function 'cmd_free_block': +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 +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 fsck.vmfs6/vmfs6_fsck.c: In function 'vmfs_fsck_count_blocks': +debugvmfs6/debugvmfs6.c: In function 'show_usage': 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", | ~~~~~^ @@ -1044,6 +1123,9 @@ | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} +debugvmfs6/debugvmfs6.c:576:19: warning: too many arguments for format [-Wformat-extra-args] + 576 | fprintf(stderr," \n",name); + | ^~~~~ 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); | ~~~~~^ ~~~~~~~~~~~ @@ -1128,63 +1210,17 @@ fsck.vmfs6/vmfs6_fsck.c:526:19: warning: too many arguments for format [-Wformat-extra-args] 526 | fprintf(stderr,"\n",name); | ^~~~ -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); - | ^~~~~~~~~~~~~~~~~ -(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 ar -r libreadcmd/libreadcmd.a libreadcmd/readcmd.o ar: creating libreadcmd/libreadcmd.a ranlib libreadcmd/libreadcmd.a -In file included from libvmfs/vmfs.h:56, - 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: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))) { - | ^~~~~~~~~~~~~~~~~ gcc -o imager/imager imager/imager.o -Wl,-z,relro -Wl,-z,now 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-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 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 fsck.vmfs6/fsck.vmfs6 fsck.vmfs6/vmfs6_fsck.o libvmfs/libvmfs.a -Wl,-z,relro -Wl,-z,now -luuid +gcc -o debugvmfs6/debugvmfs6 debugvmfs6/debugvmfs6.o debugvmfs6/variables.o libvmfs/libvmfs.a libreadcmd/libreadcmd.a -Wl,-z,relro -Wl,-z,now -ldl -luuid make[1]: Leaving directory '/build/reproducible-path/vmfs6-tools-0.2.1' dh_auto_test create-stamp debian/debhelper-build-stamp @@ -1193,7 +1229,7 @@ dh_testroot dh_prep dh_auto_install --destdir=debian/vmfs6-tools/ - make -j11 install DESTDIR=/build/reproducible-path/vmfs6-tools-0.2.1/debian/vmfs6-tools AM_UPDATE_INFO_DIR=no + make -j21 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 @@ -1205,15 +1241,15 @@ install -m 0755 fsck.vmfs6/fsck.vmfs6 /build/reproducible-path/vmfs6-tools-0.2.1/debian/vmfs6-tools/usr/sbin/ 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 vmfs6-fuse/vmfs6-fuse.8 --nonet --novalid http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl vmfs6-fuse/vmfs6-fuse.xml /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-fuse/vmfs6-fuse.8 --nonet --novalid http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl vmfs6-fuse/vmfs6-fuse.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 debugvmfs6/debugvmfs6.8 --nonet --novalid http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl debugvmfs6/debugvmfs6.xml -Note: Writing vmfs6-fuse.8 Note: Writing fsck.vmfs6.8 Note: Writing vmfs6-lvm.8 +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/ +/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-fuse/vmfs6-fuse.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/ @@ -1244,12 +1280,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/67160/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/67160/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/37643 and its subdirectories -I: Current time: Tue Apr 2 08:10:16 -12 2024 -I: pbuilder-time-stamp: 1712088616 +I: removing directory /srv/workspace/pbuilder/67160 and its subdirectories +I: Current time: Tue May 6 16:33:52 +14 2025 +I: pbuilder-time-stamp: 1746498832