Diff of the two buildlogs: -- --- b1/build.log 2024-04-27 09:52:15.130787431 +0000 +++ b2/build.log 2024-04-27 09:53:02.960753441 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Apr 26 21:51:02 -12 2024 -I: pbuilder-time-stamp: 1714211462 +I: Current time: Sat Apr 27 23:52:18 +14 2024 +I: pbuilder-time-stamp: 1714211538 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -32,52 +32,84 @@ dpkg-source: info: applying fix_ftbfs.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/4096859/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1792444/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 27 09:52 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/1792444/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1792444/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="aarch64-unknown-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=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='e6e0d79d22734b5b94bb6cd688020625' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='4096859' - PS1='# ' - PS2='> ' + INVOCATION_ID=39c39e51cd0b46e78f80b9c2c3f74b78 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1792444 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.FItCgUCD/pbuilderrc_k8aY --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.FItCgUCD/b1 --logfile b1/build.log istgt_0.4~20111008-4.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.FItCgUCD/pbuilderrc_a359 --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.FItCgUCD/b2 --logfile b2/build.log istgt_0.4~20111008-4.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink02-arm64 6.1.0-20-cloud-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-cloud-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 21 07:15 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/4096859/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 23 11:23 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1792444/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -168,7 +200,7 @@ Get: 30 http://deb.debian.org/debian trixie/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 31 http://deb.debian.org/debian trixie/main arm64 debhelper all 13.15.3 [901 kB] Get: 32 http://deb.debian.org/debian trixie/main arm64 libssl-dev arm64 3.2.1-3 [3089 kB] -Fetched 24.3 MB in 0s (98.6 MB/s) +Fetched 24.3 MB in 0s (103 MB/s) debconf: delaying package configuration, since apt-utils is not installed dpkg: libssl3:arm64: dependency problems, but removing anyway as you requested: libkrb5-3:arm64 depends on libssl3 (>= 3.0.0). @@ -318,7 +350,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/istgt-0.4~20111008/ && 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 > ../istgt_0.4~20111008-4_source.changes +I: user script /srv/workspace/pbuilder/1792444/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1792444/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/istgt-0.4~20111008/ && 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 > ../istgt_0.4~20111008-4_source.changes dpkg-buildpackage: info: source package istgt dpkg-buildpackage: info: source version 0.4~20111008-4 dpkg-buildpackage: info: source distribution unstable @@ -484,36 +520,24 @@ done make[2]: Entering directory '/build/reproducible-path/istgt-0.4~20111008/src' make depend -make[3]: Entering directory '/build/reproducible-path/istgt-0.4~20111008/src' -if [ "x" != "x" ]; then \ - -MM -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/istgt-0.4~20111008=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I. istgt.c istgt_iscsi.c istgt_iscsi_param.c istgt_lu.c istgt_lu_disk.c istgt_lu_dvd.c istgt_lu_tape.c istgt_lu_pass.c istgt_lu_ctl.c istgt_log.c istgt_conf.c istgt_sock.c istgt_misc.c istgt_queue.c istgt_crc32c.c istgt_md5.c; \ -fi gcc -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/istgt-0.4~20111008=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I. -c -o istgt.o istgt.c -touch stamp-depend gcc -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/istgt-0.4~20111008=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I. -c -o istgt_iscsi.o istgt_iscsi.c -make[3]: Leaving directory '/build/reproducible-path/istgt-0.4~20111008/src' gcc -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/istgt-0.4~20111008=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I. -c -o istgt_iscsi_param.o istgt_iscsi_param.c gcc -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/istgt-0.4~20111008=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I. -c -o istgt_lu.o istgt_lu.c +make[3]: Entering directory '/build/reproducible-path/istgt-0.4~20111008/src' +if [ "x" != "x" ]; then \ + -MM -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/istgt-0.4~20111008=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I. istgt.c istgt_iscsi.c istgt_iscsi_param.c istgt_lu.c istgt_lu_disk.c istgt_lu_dvd.c istgt_lu_tape.c istgt_lu_pass.c istgt_lu_ctl.c istgt_log.c istgt_conf.c istgt_sock.c istgt_misc.c istgt_queue.c istgt_crc32c.c istgt_md5.c; \ +fi gcc -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/istgt-0.4~20111008=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I. -c -o istgt_lu_disk.o istgt_lu_disk.c gcc -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/istgt-0.4~20111008=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I. -c -o istgt_lu_dvd.o istgt_lu_dvd.c gcc -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/istgt-0.4~20111008=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I. -c -o istgt_lu_tape.o istgt_lu_tape.c +touch stamp-depend +make[3]: Leaving directory '/build/reproducible-path/istgt-0.4~20111008/src' gcc -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/istgt-0.4~20111008=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I. -c -o istgt_lu_pass.o istgt_lu_pass.c gcc -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/istgt-0.4~20111008=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I. -c -o istgt_lu_ctl.o istgt_lu_ctl.c gcc -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/istgt-0.4~20111008=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I. -c -o istgt_log.o istgt_log.c gcc -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/istgt-0.4~20111008=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I. -c -o istgt_conf.o istgt_conf.c gcc -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/istgt-0.4~20111008=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I. -c -o istgt_sock.o istgt_sock.c -istgt_lu_disk.c: In function 'istgt_lu_disk_init': -istgt_lu.c: In function 'istgt_lu_add_unit': -istgt_lu_disk.c:492:13: warning: variable 'newfile' set but not used [-Wunused-but-set-variable] - 492 | int newfile; - | ^~~~~~~ -istgt_lu.c:1213:18: warning: variable 'nbs64' set but not used [-Wunused-but-set-variable] - 1213 | uint64_t nbs64; - | ^~~~~ -istgt_iscsi.c: In function 'istgt_iscsi_op_text': -istgt_iscsi.c:2636:21: warning: variable 'iiqn' set but not used [-Wunused-but-set-variable] - 2636 | const char *iiqn; - | ^~~~ istgt_lu_tape.c: In function 'istgt_lu_tape_write_eof': istgt_lu_tape.c:466:39: warning: variable 'version' set but not used [-Wunused-but-set-variable] 466 | uint64_t lbpos, offset, prev, version, marklen; @@ -529,152 +553,113 @@ istgt_lu_tape.c:604:39: warning: variable 'version' set but not used [-Wunused-but-set-variable] 604 | uint64_t lbpos, offset, prev, version, marklen; | ^~~~~~~ -istgt_lu_dvd.c: In function 'istgt_lu_dvd_scsi_mode_select_page': -istgt_lu_dvd.c:1583:13: warning: variable 'ps' set but not used [-Wunused-but-set-variable] - 1583 | int ps, spf, page, subpage; - | ^~ -istgt_lu_disk.c: In function 'istgt_lu_disk_scsi_mode_select_page': -istgt_lu_disk.c:2180:13: warning: variable 'ps' set but not used [-Wunused-but-set-variable] - 2180 | int ps, spf, page, subpage; - | ^~ -istgt_lu_dvd.c: In function 'istgt_lu_dvd_execute': -istgt_lu_dvd.c:3068:33: warning: variable 'fl' set but not used [-Wunused-but-set-variable] - 3068 | int pc, fl, loej, start; - | ^~ -istgt_lu_dvd.c:3068:29: warning: variable 'pc' set but not used [-Wunused-but-set-variable] - 3068 | int pc, fl, loej, start; - | ^~ -istgt_lu_dvd.c:3196:40: warning: variable 'dsp' set but not used [-Wunused-but-set-variable] - 3196 | int mdlen, mt, dsp, bdlen; - | ^~~ -istgt_iscsi.c: In function 'istgt_iscsi_op_task': -istgt_iscsi.c:3537:18: warning: variable 'ExpDataSN' set but not used [-Wunused-but-set-variable] - 3537 | uint32_t ExpDataSN; - | ^~~~~~~~~ -istgt_lu_dvd.c:3196:36: warning: variable 'mt' set but not used [-Wunused-but-set-variable] - 3196 | int mdlen, mt, dsp, bdlen; - | ^~ -istgt_lu_dvd.c:3196:29: warning: variable 'mdlen' set but not used [-Wunused-but-set-variable] - 3196 | int mdlen, mt, dsp, bdlen; - | ^~~~~ -istgt_lu_dvd.c:3237:40: warning: variable 'dsp' set but not used [-Wunused-but-set-variable] - 3237 | int mdlen, mt, dsp, bdlen; - | ^~~ -gcc -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/istgt-0.4~20111008=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I. -c -o istgt_misc.o istgt_misc.c -istgt_lu_dvd.c:3237:36: warning: variable 'mt' set but not used [-Wunused-but-set-variable] - 3237 | int mdlen, mt, dsp, bdlen; - | ^~ -istgt_lu_dvd.c:3237:29: warning: variable 'mdlen' set but not used [-Wunused-but-set-variable] - 3237 | int mdlen, mt, dsp, bdlen; - | ^~~~~ +istgt_lu_disk.c: In function 'istgt_lu_disk_init': +istgt_lu_disk.c:492:13: warning: variable 'newfile' set but not used [-Wunused-but-set-variable] + 492 | int newfile; + | ^~~~~~~ +istgt_iscsi.c: In function 'istgt_iscsi_op_text': istgt_lu_tape.c: In function 'istgt_lu_tape_scsi_mode_select_page': +istgt_iscsi.c:2636:21: warning: variable 'iiqn' set but not used [-Wunused-but-set-variable] + 2636 | const char *iiqn; + | ^~~~ istgt_lu_tape.c:2787:44: warning: variable 'decompalgo' set but not used [-Wunused-but-set-variable] 2787 | uint32_t compalgo, decompalgo; | ^~~~~~~~~~ istgt_lu_tape.c:2786:39: warning: variable 'red' set but not used [-Wunused-but-set-variable] 2786 | int dce, dde, red; | ^~~ -istgt_iscsi.c: In function 'istgt_iscsi_op_data': -istgt_lu_dvd.c:3536:38: warning: variable 'type' set but not used [-Wunused-but-set-variable] - 3536 | int dt, mnd, type; - | ^~~~ -istgt_iscsi.c:4043:18: warning: variable 'current_lun' set but not used [-Wunused-but-set-variable] - 4043 | uint64_t current_lun; - | ^~~~~~~~~~~ -istgt_lu_dvd.c:3536:33: warning: variable 'mnd' set but not used [-Wunused-but-set-variable] - 3536 | int dt, mnd, type; - | ^~~ istgt_lu_tape.c: In function 'istgt_lu_tape_shrink_media': -istgt_lu_ctl.c: In function 'istgt_uctl_cmd_refresh': -istgt_lu_ctl.c:974:15: warning: variable 'arg' set but not used [-Wunused-but-set-variable] - 974 | char *arg; - | ^~~ -istgt_lu_ctl.c: In function 'istgt_uctl_cmd_reset': istgt_lu_tape.c:2884:18: warning: variable 'marklen' set but not used [-Wunused-but-set-variable] 2884 | uint64_t marklen; | ^~~~~~~ -istgt_lu_ctl.c:1079:26: warning: variable 'llp' set but not used [-Wunused-but-set-variable] - 1079 | ISTGT_LU_LUN_Ptr llp; - | ^~~ -istgt_lu_dvd.c:3536:29: warning: variable 'dt' set but not used [-Wunused-but-set-variable] - 3536 | int dt, mnd, type; - | ^~ -istgt_lu_dvd.c:3791:34: warning: variable 'fua' set but not used [-Wunused-but-set-variable] - 3791 | int dpo, fua; - | ^~~ -istgt_lu_dvd.c:3791:29: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] - 3791 | int dpo, fua; - | ^~~ -istgt_iscsi.c:4042:18: warning: variable 'lun' set but not used [-Wunused-but-set-variable] - 4042 | uint64_t lun; - | ^~~ -istgt_lu_dvd.c:3825:34: warning: variable 'fua' set but not used [-Wunused-but-set-variable] - 3825 | int dpo, fua; - | ^~~ -istgt_iscsi.c: In function 'istgt_iscsi_transfer_out': -istgt_lu_dvd.c:3825:29: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] - 3825 | int dpo, fua; - | ^~~ +istgt_lu_disk.c: In function 'istgt_lu_disk_scsi_mode_select_page': +istgt_lu_disk.c:2180:13: warning: variable 'ps' set but not used [-Wunused-but-set-variable] + 2180 | int ps, spf, page, subpage; + | ^~ +istgt_lu.c: In function 'istgt_lu_add_unit': +istgt_lu.c:1213:18: warning: variable 'nbs64' set but not used [-Wunused-but-set-variable] + 1213 | uint64_t nbs64; + | ^~~~~ istgt_lu_tape.c: In function 'istgt_lu_tape_scsi_space': istgt_lu_tape.c:3291:13: warning: variable 'found_bot' set but not used [-Wunused-but-set-variable] 3291 | int found_bot = 0, found_eom = 0; | ^~~~~~~~~ -istgt_iscsi.c:4207:13: warning: variable 'r2t_offset' set but not used [-Wunused-but-set-variable] - 4207 | int r2t_offset; - | ^~~~~~~~~~ -istgt_iscsi.c:4198:13: warning: variable 'immediate' set but not used [-Wunused-but-set-variable] - 4198 | int immediate, opcode; - | ^~~~~~~~~ -istgt_iscsi.c:4188:18: warning: variable 'lun' set but not used [-Wunused-but-set-variable] - 4188 | uint64_t lun; - | ^~~ -istgt_iscsi.c:4187:18: warning: variable 'current_lun' set but not used [-Wunused-but-set-variable] - 4187 | uint64_t current_lun; - | ^~~~~~~~~~~ +istgt_iscsi.c: In function 'istgt_iscsi_op_task': +istgt_iscsi.c:3537:18: warning: variable 'ExpDataSN' set but not used [-Wunused-but-set-variable] + 3537 | uint32_t ExpDataSN; + | ^~~~~~~~~ istgt_lu_tape.c: In function 'istgt_lu_tape_variable_lbread': istgt_lu_tape.c:3697:18: warning: variable 'mediasize' set but not used [-Wunused-but-set-variable] 3697 | uint64_t mediasize; | ^~~~~~~~~ -istgt_iscsi.c: In function 'istgt_iscsi_execute': -istgt_iscsi.c:4607:13: warning: variable 'immediate' set but not used [-Wunused-but-set-variable] - 4607 | int immediate, opcode; - | ^~~~~~~~~ istgt_lu_tape.c: In function 'istgt_lu_tape_fixed_lbread': istgt_lu_tape.c:3828:18: warning: variable 'mediasize' set but not used [-Wunused-but-set-variable] 3828 | uint64_t mediasize; | ^~~~~~~~~ +istgt_iscsi.c: In function 'istgt_iscsi_op_data': istgt_lu_tape.c: In function 'istgt_lu_tape_variable_lbwrite': -gcc -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/istgt-0.4~20111008=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I. -c -o istgt_queue.o istgt_queue.c +istgt_iscsi.c:4043:18: warning: variable 'current_lun' set but not used [-Wunused-but-set-variable] + 4043 | uint64_t current_lun; + | ^~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/istgt-0.4~20111008=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I. -c -o istgt_misc.o istgt_misc.c istgt_lu_tape.c:3988:18: warning: variable 'mediasize' set but not used [-Wunused-but-set-variable] 3988 | uint64_t mediasize; | ^~~~~~~~~ +istgt_iscsi.c:4042:18: warning: variable 'lun' set but not used [-Wunused-but-set-variable] + 4042 | uint64_t lun; + | ^~~ istgt_lu_tape.c: In function 'istgt_lu_tape_fixed_lbwrite': istgt_lu_tape.c:4115:18: warning: variable 'mediasize' set but not used [-Wunused-but-set-variable] 4115 | uint64_t mediasize; | ^~~~~~~~~ +istgt_iscsi.c: In function 'istgt_iscsi_transfer_out': istgt_lu_tape.c: In function 'istgt_lu_tape_execute': +istgt_iscsi.c:4207:13: warning: variable 'r2t_offset' set but not used [-Wunused-but-set-variable] + 4207 | int r2t_offset; + | ^~~~~~~~~~ istgt_lu_tape.c:4501:40: warning: variable 'reten' set but not used [-Wunused-but-set-variable] 4501 | int hold, eot, reten, load; | ^~~~~ +istgt_iscsi.c:4198:13: warning: variable 'immediate' set but not used [-Wunused-but-set-variable] + 4198 | int immediate, opcode; + | ^~~~~~~~~ istgt_lu_tape.c:4501:35: warning: variable 'eot' set but not used [-Wunused-but-set-variable] 4501 | int hold, eot, reten, load; | ^~~ +istgt_iscsi.c:4188:18: warning: variable 'lun' set but not used [-Wunused-but-set-variable] + 4188 | uint64_t lun; + | ^~~ +istgt_iscsi.c:4187:18: warning: variable 'current_lun' set but not used [-Wunused-but-set-variable] + 4187 | uint64_t current_lun; + | ^~~~~~~~~~~ istgt_lu_tape.c:4632:40: warning: variable 'dsp' set but not used [-Wunused-but-set-variable] 4632 | int mdlen, mt, dsp, bdlen; | ^~~ +istgt_iscsi.c: In function 'istgt_iscsi_execute': istgt_lu_tape.c:4632:36: warning: variable 'mt' set but not used [-Wunused-but-set-variable] 4632 | int mdlen, mt, dsp, bdlen; | ^~ +istgt_iscsi.c:4607:13: warning: variable 'immediate' set but not used [-Wunused-but-set-variable] + 4607 | int immediate, opcode; + | ^~~~~~~~~ istgt_lu_tape.c:4632:29: warning: variable 'mdlen' set but not used [-Wunused-but-set-variable] 4632 | int mdlen, mt, dsp, bdlen; | ^~~~~ -istgt_lu_disk.c: In function 'istgt_lu_disk_queue_start': istgt_lu_tape.c:4679:40: warning: variable 'dsp' set but not used [-Wunused-but-set-variable] 4679 | int mdlen, mt, dsp, bdlen; | ^~~ +istgt_lu_disk.c: In function 'istgt_lu_disk_queue_start': +istgt_lu_ctl.c: In function 'istgt_uctl_cmd_refresh': +istgt_lu_ctl.c:974:15: warning: variable 'arg' set but not used [-Wunused-but-set-variable] + 974 | char *arg; + | ^~~ istgt_lu_tape.c:4679:36: warning: variable 'mt' set but not used [-Wunused-but-set-variable] 4679 | int mdlen, mt, dsp, bdlen; | ^~ +istgt_lu_ctl.c: In function 'istgt_uctl_cmd_reset': +istgt_lu_ctl.c:1079:26: warning: variable 'llp' set but not used [-Wunused-but-set-variable] + 1079 | ISTGT_LU_LUN_Ptr llp; + | ^~~ istgt_lu_disk.c:4987:19: warning: variable 'istgt' set but not used [-Wunused-but-set-variable] 4987 | ISTGT_Ptr istgt; | ^~~~~ @@ -682,24 +667,24 @@ 4679 | int mdlen, mt, dsp, bdlen; | ^~~~~ istgt_lu_disk.c: In function 'istgt_lu_disk_execute': -istgt_lu_tape.c:5138:37: warning: variable 'partition' set but not used [-Wunused-but-set-variable] - 5138 | int bt, cp, partition; - | ^~~~~~~~~ istgt_lu_disk.c:5548:33: warning: variable 'loej' set but not used [-Wunused-but-set-variable] 5548 | int pc, loej, start; | ^~~~ +istgt_lu_tape.c:5138:37: warning: variable 'partition' set but not used [-Wunused-but-set-variable] + 5138 | int bt, cp, partition; + | ^~~~~~~~~ istgt_lu_tape.c:5138:29: warning: variable 'bt' set but not used [-Wunused-but-set-variable] 5138 | int bt, cp, partition; | ^~ istgt_lu_disk.c:5631:40: warning: variable 'dsp' set but not used [-Wunused-but-set-variable] 5631 | int mdlen, mt, dsp, bdlen; | ^~~ -istgt_lu_tape.c:5304:34: warning: variable 'rest' set but not used [-Wunused-but-set-variable] - 5304 | uint64_t rest; - | ^~~~ istgt_lu_disk.c:5631:36: warning: variable 'mt' set but not used [-Wunused-but-set-variable] 5631 | int mdlen, mt, dsp, bdlen; | ^~ +istgt_lu_tape.c:5304:34: warning: variable 'rest' set but not used [-Wunused-but-set-variable] + 5304 | uint64_t rest; + | ^~~~ istgt_lu_disk.c:5631:29: warning: variable 'mdlen' set but not used [-Wunused-but-set-variable] 5631 | int mdlen, mt, dsp, bdlen; | ^~~~~ @@ -715,6 +700,10 @@ istgt_lu_disk.c:5958:39: warning: variable 'fua_nv' set but not used [-Wunused-but-set-variable] 5958 | int dpo, fua, fua_nv; | ^~~~~~ +istgt_lu_dvd.c: In function 'istgt_lu_dvd_scsi_mode_select_page': +istgt_lu_dvd.c:1583:13: warning: variable 'ps' set but not used [-Wunused-but-set-variable] + 1583 | int ps, spf, page, subpage; + | ^~ istgt_lu_disk.c:5958:34: warning: variable 'fua' set but not used [-Wunused-but-set-variable] 5958 | int dpo, fua, fua_nv; | ^~~ @@ -751,85 +740,79 @@ istgt_lu_disk.c:6138:39: warning: variable 'fua_nv' set but not used [-Wunused-but-set-variable] 6138 | int dpo, fua, fua_nv; | ^~~~~~ -gcc -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/istgt-0.4~20111008=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I. -c -o istgt_crc32c.o istgt_crc32c.c -In file included from istgt.c:53: -istgt.h: In function 'main': -istgt.h:287:1: warning: inlining failed in call to 'istgt_set_state': call is unlikely and code size would grow [-Winline] - 287 | istgt_set_state(ISTGT_Ptr istgt, ISTGT_STATE state) - | ^~~~~~~~~~~~~~~ istgt_lu_disk.c:6138:34: warning: variable 'fua' set but not used [-Wunused-but-set-variable] 6138 | int dpo, fua, fua_nv; | ^~~ -istgt.c:1538:9: note: called from here - 1538 | istgt_set_state(istgt, ISTGT_STATE_INVALID); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'istgt_init', - inlined from 'main' at istgt.c:1659:7: -istgt.h:287:1: warning: inlining failed in call to 'istgt_set_state': call is unlikely and code size would grow [-Winline] - 287 | istgt_set_state(ISTGT_Ptr istgt, ISTGT_STATE state) - | ^~~~~~~~~~~~~~~ istgt_lu_disk.c:6138:29: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] 6138 | int dpo, fua, fua_nv; | ^~~ +istgt_lu_dvd.c: In function 'istgt_lu_dvd_execute': +istgt_lu_dvd.c:3068:33: warning: variable 'fl' set but not used [-Wunused-but-set-variable] + 3068 | int pc, fl, loej, start; + | ^~ istgt_lu_disk.c:6175:39: warning: variable 'fua_nv' set but not used [-Wunused-but-set-variable] 6175 | int dpo, fua, fua_nv; | ^~~~~~ -istgt.c:1153:9: note: called from here - 1153 | istgt_set_state(istgt, ISTGT_STATE_INITIALIZED); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'istgt_acceptor', - inlined from 'main' at istgt.c:1808:7: -istgt.h:287:1: warning: inlining failed in call to 'istgt_set_state': call is unlikely and code size would grow [-Winline] - 287 | istgt_set_state(ISTGT_Ptr istgt, ISTGT_STATE state) - | ^~~~~~~~~~~~~~~ -istgt.c:1276:9: note: called from here - 1276 | istgt_set_state(istgt, ISTGT_STATE_RUNNING); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -istgt.h:287:1: warning: inlining failed in call to 'istgt_set_state': call is unlikely and code size would grow [-Winline] - 287 | istgt_set_state(ISTGT_Ptr istgt, ISTGT_STATE state) - | ^~~~~~~~~~~~~~~ +istgt_lu_dvd.c:3068:29: warning: variable 'pc' set but not used [-Wunused-but-set-variable] + 3068 | int pc, fl, loej, start; + | ^~ istgt_lu_disk.c:6175:34: warning: variable 'fua' set but not used [-Wunused-but-set-variable] 6175 | int dpo, fua, fua_nv; | ^~~ -istgt.c:1489:9: note: called from here - 1489 | istgt_set_state(istgt, ISTGT_STATE_EXITING); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -istgt.h: In function 'main': -istgt.h:287:1: warning: inlining failed in call to 'istgt_set_state': call is unlikely and code size would grow [-Winline] - 287 | istgt_set_state(ISTGT_Ptr istgt, ISTGT_STATE state) - | ^~~~~~~~~~~~~~~ -istgt.c:1850:9: note: called from here - 1850 | istgt_set_state(istgt, ISTGT_STATE_SHUTDOWN); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ istgt_lu_disk.c:6175:29: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] 6175 | int dpo, fua, fua_nv; | ^~~ +istgt_lu_dvd.c:3196:40: warning: variable 'dsp' set but not used [-Wunused-but-set-variable] + 3196 | int mdlen, mt, dsp, bdlen; + | ^~~ istgt_lu_disk.c:6211:34: warning: variable 'bytchk' set but not used [-Wunused-but-set-variable] 6211 | int dpo, bytchk; | ^~~~~~ -gcc -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/istgt-0.4~20111008=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I. -c -o istgt_md5.o istgt_md5.c +istgt_lu_dvd.c:3196:36: warning: variable 'mt' set but not used [-Wunused-but-set-variable] + 3196 | int mdlen, mt, dsp, bdlen; + | ^~ +istgt_lu_dvd.c:3196:29: warning: variable 'mdlen' set but not used [-Wunused-but-set-variable] + 3196 | int mdlen, mt, dsp, bdlen; + | ^~~~~ istgt_lu_disk.c:6211:29: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] 6211 | int dpo, bytchk; | ^~~ -gcc -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/istgt-0.4~20111008=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I. -c -o istgtcontrol.o istgtcontrol.c +istgt_lu_dvd.c:3237:40: warning: variable 'dsp' set but not used [-Wunused-but-set-variable] + 3237 | int mdlen, mt, dsp, bdlen; + | ^~~ istgt_lu_disk.c:6235:34: warning: variable 'bytchk' set but not used [-Wunused-but-set-variable] 6235 | int dpo, bytchk; | ^~~~~~ +istgt_lu_dvd.c:3237:36: warning: variable 'mt' set but not used [-Wunused-but-set-variable] + 3237 | int mdlen, mt, dsp, bdlen; + | ^~ istgt_lu_disk.c:6235:29: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] 6235 | int dpo, bytchk; | ^~~ +istgt_lu_dvd.c:3237:29: warning: variable 'mdlen' set but not used [-Wunused-but-set-variable] + 3237 | int mdlen, mt, dsp, bdlen; + | ^~~~~ istgt_lu_disk.c:6259:34: warning: variable 'bytchk' set but not used [-Wunused-but-set-variable] 6259 | int dpo, bytchk; | ^~~~~~ istgt_lu_disk.c:6259:29: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] 6259 | int dpo, bytchk; | ^~~ +istgt_lu_dvd.c:3536:38: warning: variable 'type' set but not used [-Wunused-but-set-variable] + 3536 | int dt, mnd, type; + | ^~~~ istgt_lu_disk.c:6283:55: warning: variable 'group_no' set but not used [-Wunused-but-set-variable] 6283 | int wprotect, pbdata, lbdata, group_no; | ^~~~~~~~ +istgt_lu_dvd.c:3536:33: warning: variable 'mnd' set but not used [-Wunused-but-set-variable] + 3536 | int dt, mnd, type; + | ^~~ istgt_lu_disk.c:6283:29: warning: variable 'wprotect' set but not used [-Wunused-but-set-variable] 6283 | int wprotect, pbdata, lbdata, group_no; | ^~~~~~~~ +istgt_lu_dvd.c:3536:29: warning: variable 'dt' set but not used [-Wunused-but-set-variable] + 3536 | int dt, mnd, type; + | ^~ istgt_lu_disk.c:6329:70: warning: variable 'group_no' set but not used [-Wunused-but-set-variable] 6329 | int wprotect, anchor, unmap, pbdata, lbdata, group_no; | ^~~~~~~~ @@ -839,46 +822,73 @@ istgt_lu_disk.c:6329:29: warning: variable 'wprotect' set but not used [-Wunused-but-set-variable] 6329 | int wprotect, anchor, unmap, pbdata, lbdata, group_no; | ^~~~~~~~ -istgt_md5.c: In function 'istgt_md5init': -istgt_md5.c:48:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 48 | rc = MD5_Init(&md5ctx->md5ctx); - | ^~ -In file included from istgt_md5.c:36: -/usr/include/openssl/md5.h:49:27: note: declared here - 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); - | ^~~~~~~~ -istgt_md5.c: In function 'istgt_md5final': -istgt_md5.c:59:9: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 59 | rc = MD5_Final(md5, &md5ctx->md5ctx); - | ^~ -/usr/include/openssl/md5.h:51:27: note: declared here - 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); - | ^~~~~~~~~ -istgt_md5.c: In function 'istgt_md5update': -istgt_md5.c:72:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 72 | rc = MD5_Update(&md5ctx->md5ctx, data, len); - | ^~ -/usr/include/openssl/md5.h:50:27: note: declared here - 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); - | ^~~~~~~~~~ +istgt_lu_dvd.c:3791:34: warning: variable 'fua' set but not used [-Wunused-but-set-variable] + 3791 | int dpo, fua; + | ^~~ istgt_lu_disk.c:6387:57: warning: variable 'group_no' set but not used [-Wunused-but-set-variable] 6387 | int wprotect, dpo, fua, fua_nv, group_no; | ^~~~~~~~ +istgt_lu_dvd.c:3791:29: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] + 3791 | int dpo, fua; + | ^~~ istgt_lu_disk.c:6387:49: warning: variable 'fua_nv' set but not used [-Wunused-but-set-variable] 6387 | int wprotect, dpo, fua, fua_nv, group_no; | ^~~~~~ +istgt_lu_dvd.c:3825:34: warning: variable 'fua' set but not used [-Wunused-but-set-variable] + 3825 | int dpo, fua; + | ^~~ istgt_lu_disk.c:6387:44: warning: variable 'fua' set but not used [-Wunused-but-set-variable] 6387 | int wprotect, dpo, fua, fua_nv, group_no; | ^~~ +In file included from istgt.c:53: +istgt.h: In function 'main': +istgt.h:287:1: warning: inlining failed in call to 'istgt_set_state': call is unlikely and code size would grow [-Winline] + 287 | istgt_set_state(ISTGT_Ptr istgt, ISTGT_STATE state) + | ^~~~~~~~~~~~~~~ +istgt.c:1538:9: note: called from here + 1538 | istgt_set_state(istgt, ISTGT_STATE_INVALID); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +istgt_lu_dvd.c:3825:29: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] + 3825 | int dpo, fua; + | ^~~ istgt_lu_disk.c:6387:39: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] 6387 | int wprotect, dpo, fua, fua_nv, group_no; | ^~~ istgt_lu_disk.c:6387:29: warning: variable 'wprotect' set but not used [-Wunused-but-set-variable] 6387 | int wprotect, dpo, fua, fua_nv, group_no; | ^~~~~~~~ +In function 'istgt_init', + inlined from 'main' at istgt.c:1659:7: +istgt.h:287:1: warning: inlining failed in call to 'istgt_set_state': call is unlikely and code size would grow [-Winline] + 287 | istgt_set_state(ISTGT_Ptr istgt, ISTGT_STATE state) + | ^~~~~~~~~~~~~~~ +istgt.c:1153:9: note: called from here + 1153 | istgt_set_state(istgt, ISTGT_STATE_INITIALIZED); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'istgt_acceptor', + inlined from 'main' at istgt.c:1808:7: +istgt.h:287:1: warning: inlining failed in call to 'istgt_set_state': call is unlikely and code size would grow [-Winline] + 287 | istgt_set_state(ISTGT_Ptr istgt, ISTGT_STATE state) + | ^~~~~~~~~~~~~~~ +istgt.c:1276:9: note: called from here + 1276 | istgt_set_state(istgt, ISTGT_STATE_RUNNING); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +istgt.h:287:1: warning: inlining failed in call to 'istgt_set_state': call is unlikely and code size would grow [-Winline] + 287 | istgt_set_state(ISTGT_Ptr istgt, ISTGT_STATE state) + | ^~~~~~~~~~~~~~~ istgt_lu_disk.c:6447:38: warning: variable 'immed' set but not used [-Wunused-but-set-variable] 6447 | int sync_nv, immed; | ^~~~~ +istgt.c:1489:9: note: called from here + 1489 | istgt_set_state(istgt, ISTGT_STATE_EXITING); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +istgt.h: In function 'main': +istgt.h:287:1: warning: inlining failed in call to 'istgt_set_state': call is unlikely and code size would grow [-Winline] + 287 | istgt_set_state(ISTGT_Ptr istgt, ISTGT_STATE state) + | ^~~~~~~~~~~~~~~ +istgt.c:1850:9: note: called from here + 1850 | istgt_set_state(istgt, ISTGT_STATE_SHUTDOWN); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ istgt_lu_disk.c:6447:29: warning: variable 'sync_nv' set but not used [-Wunused-but-set-variable] 6447 | int sync_nv, immed; | ^~~~~~~ @@ -888,6 +898,32 @@ istgt_lu_disk.c:6481:29: warning: variable 'sync_nv' set but not used [-Wunused-but-set-variable] 6481 | int sync_nv, immed; | ^~~~~~~ +gcc -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/istgt-0.4~20111008=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I. -c -o istgt_queue.o istgt_queue.c +gcc -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/istgt-0.4~20111008=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I. -c -o istgt_crc32c.o istgt_crc32c.c +gcc -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/istgt-0.4~20111008=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I. -c -o istgt_md5.o istgt_md5.c +gcc -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/istgt-0.4~20111008=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I. -c -o istgtcontrol.o istgtcontrol.c +istgt_md5.c: In function 'istgt_md5init': +istgt_md5.c:48:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 48 | rc = MD5_Init(&md5ctx->md5ctx); + | ^~ +In file included from istgt_md5.c:36: +/usr/include/openssl/md5.h:49:27: note: declared here + 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); + | ^~~~~~~~ +istgt_md5.c: In function 'istgt_md5final': +istgt_md5.c:59:9: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 59 | rc = MD5_Final(md5, &md5ctx->md5ctx); + | ^~ +/usr/include/openssl/md5.h:51:27: note: declared here + 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); + | ^~~~~~~~~ +istgt_md5.c: In function 'istgt_md5update': +istgt_md5.c:72:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 72 | rc = MD5_Update(&md5ctx->md5ctx, data, len); + | ^~ +/usr/include/openssl/md5.h:50:27: note: declared here + 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); + | ^~~~~~~~~~ gcc -Wl,-z,relro -o istgtcontrol istgtcontrol.o istgt_conf.o istgt_sock.o istgt_misc.o istgt_md5.o -lcrypto -lpthread gcc -Wl,-z,relro -o istgt istgt.o istgt_iscsi.o istgt_iscsi_param.o istgt_lu.o istgt_lu_disk.o istgt_lu_dvd.o istgt_lu_tape.o istgt_lu_pass.o istgt_lu_ctl.o istgt_log.o istgt_conf.o istgt_sock.o istgt_misc.o istgt_queue.o istgt_crc32c.o istgt_md5.o -lcrypto -lpthread make[2]: Leaving directory '/build/reproducible-path/istgt-0.4~20111008/src' @@ -913,7 +949,7 @@ make[2]: Leaving directory '/build/reproducible-path/istgt-0.4~20111008/doc' make[1]: Leaving directory '/build/reproducible-path/istgt-0.4~20111008' dh_auto_test - rm -fr -- /tmp/dh-xdg-rundir-_YuCHp_W + rm -fr -- /tmp/dh-xdg-rundir-TdgeRlic create-stamp debian/debhelper-build-stamp dh_prep rm -f -- debian/istgt.substvars @@ -981,8 +1017,8 @@ install -p -m0644 ./doc/istgt.1 debian/istgt/usr/share/man/man1/istgt.1 install -m0755 -d debian/istgt/usr/share/man/man1/ install -p -m0644 ./doc/istgtcontrol.1 debian/istgt/usr/share/man/man1/istgtcontrol.1 - man-recode --to-code UTF-8 --suffix .dh-new debian/istgt/usr/share/man/man1/istgtcontrol.1 man-recode --to-code UTF-8 --suffix .dh-new debian/istgt/usr/share/man/man1/istgt.1 + man-recode --to-code UTF-8 --suffix .dh-new debian/istgt/usr/share/man/man1/istgtcontrol.1 mv debian/istgt/usr/share/man/man1/istgt.1.dh-new debian/istgt/usr/share/man/man1/istgt.1 chmod 0644 -- debian/istgt/usr/share/man/man1/istgt.1 mv debian/istgt/usr/share/man/man1/istgtcontrol.1.dh-new debian/istgt/usr/share/man/man1/istgtcontrol.1 @@ -1072,10 +1108,10 @@ cd debian/.debhelper/istgt/dbgsym-root >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums chmod 0644 -- debian/.debhelper/istgt/dbgsym-root/DEBIAN/md5sums dh_builddeb - dpkg-deb --root-owner-group --build debian/.debhelper/istgt/dbgsym-root .. dpkg-deb --root-owner-group --build debian/istgt .. -dpkg-deb: building package 'istgt-dbgsym' in '../istgt-dbgsym_0.4~20111008-4_arm64.deb'. + dpkg-deb --root-owner-group --build debian/.debhelper/istgt/dbgsym-root .. dpkg-deb: building package 'istgt' in '../istgt_0.4~20111008-4_arm64.deb'. +dpkg-deb: building package 'istgt-dbgsym' in '../istgt-dbgsym_0.4~20111008-4_arm64.deb'. dpkg-genbuildinfo --build=binary -O../istgt_0.4~20111008-4_arm64.buildinfo dpkg-genchanges --build=binary -O../istgt_0.4~20111008-4_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1083,12 +1119,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1792444/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1792444/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/4096859 and its subdirectories -I: Current time: Fri Apr 26 21:52:13 -12 2024 -I: pbuilder-time-stamp: 1714211533 +I: removing directory /srv/workspace/pbuilder/1792444 and its subdirectories +I: Current time: Sat Apr 27 23:53:01 +14 2024 +I: pbuilder-time-stamp: 1714211581