Diff of the two buildlogs: -- --- b1/build.log 2024-05-13 15:34:51.683020264 +0000 +++ b2/build.log 2024-05-13 15:35:37.105087957 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Jun 15 09:57:17 -12 2025 -I: pbuilder-time-stamp: 1750024637 +I: Current time: Tue May 14 05:34:55 +14 2024 +I: pbuilder-time-stamp: 1715614495 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -29,52 +29,84 @@ dpkg-source: info: applying Replace-the-build-date-with-the-last-changed-date-of-conf.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2805070/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/86035/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 May 13 15:35 /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/86035/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/86035/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='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='fa43823446454e5d97e2bc6ce6f0e759' - 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='2805070' - PS1='# ' - PS2='> ' + INVOCATION_ID=b36e2fe904424d68b7874d8517cc409e + 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=86035 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.6aZspyfN/pbuilderrc_znLL --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.6aZspyfN/b1 --logfile b1/build.log stiff_2.4.0-7.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.6aZspyfN/pbuilderrc_3pVk --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.6aZspyfN/b2 --logfile b2/build.log stiff_2.4.0-7.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 codethink01-arm64 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 15 14:05 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2805070/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 13 07:43 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/86035/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -169,7 +201,7 @@ Get: 51 http://deb.debian.org/debian unstable/main arm64 zlib1g-dev arm64 1:1.3.dfsg+really1.3.1-1 [916 kB] Get: 52 http://deb.debian.org/debian unstable/main arm64 libtiff-dev arm64 4.5.1+git230720-4 [449 kB] Get: 53 http://deb.debian.org/debian unstable/main arm64 libtiff5-dev arm64 4.5.1+git230720-4 [146 kB] -Fetched 23.5 MB in 0s (126 MB/s) +Fetched 23.5 MB in 0s (144 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19744 files and directories currently installed.) @@ -396,7 +428,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/stiff-2.4.0/ && 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 > ../stiff_2.4.0-7_source.changes +I: user script /srv/workspace/pbuilder/86035/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/86035/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/stiff-2.4.0/ && 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 > ../stiff_2.4.0-7_source.changes dpkg-buildpackage: info: source package stiff dpkg-buildpackage: info: source version 2.4.0-7 dpkg-buildpackage: info: source distribution unstable @@ -543,67 +579,80 @@ gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/stiff-2.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fcommon -c -o fitsconv.o fitsconv.c gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/stiff-2.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fcommon -c -o fitshead.o fitshead.c gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/stiff-2.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fcommon -c -o fitskey.o fitskey.c -In file included from fitscat.c:42: -fitscat.c: In function 'addhistoryto_cat': gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/stiff-2.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fcommon -c -o fitsmisc.o fitsmisc.c -fitscat.c:127:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 127 | QREALLOC(tab->headbuf, char, (n+1)*FBSIZE); - | ^ -fitscat_defs.h:149:35: note: in definition of macro 'QREALLOC' - 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -fitscat.c: In function 'inherit_cat': -fitscat.c:224:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 224 | QCALLOC(tabout, tabstruct, 1); - | ^ +gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/stiff-2.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fcommon -c -o fitsread.o fitsread.c +gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/stiff-2.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fcommon -c -o fitstab.o fitstab.c +gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/stiff-2.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fcommon -c -o fitsutil.o fitsutil.c +gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/stiff-2.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fcommon -c -o fitswrite.o fitswrite.c +In file included from fitskey.c:38: +fitskey.c: In function 'copy_key': +fitskey.c:137:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 137 | QCALLOC(keyout, keystruct, 1); + | ^ fitscat_defs.h:129:35: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitscat.c:227:71: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 227 | QMEMCPY(tabin->naxisn, tabout->naxisn, int, (size_t)tabin->naxis); - | ^ +fitskey.c:141:61: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 141 | QMEMCPY(keyin->naxisn, keyout->naxisn, int, keyin->naxis); + | ^ fitscat_defs.h:160:37: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ -fitscat.c:230:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 230 | tabin->headnblock*FBSIZE); +fitskey.c: In function 'new_key': +fitskey.c:196:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 196 | QCALLOC(key, keystruct, 1); + | ^ +fitscat_defs.h:129:35: note: in definition of macro 'QCALLOC' + 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +fitskey.c: In function 'read_key': +fitskey.c:251:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 251 | QMALLOC(buf, char, larray); + | ^ +fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' + 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +fitskey.c:257:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 257 | QMALLOC(ptr, char, size*narray); | ^ -fitscat_defs.h:160:37: note: in definition of macro 'QMEMCPY' - 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - | ^~~~~~ -fitscat.c:232:76: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 232 | QMEMCPY(tabin->bodybuf, tabout->bodybuf, char, (size_t)tabin->tabsize); - | ^ -fitscat_defs.h:160:37: note: in definition of macro 'QMEMCPY' - 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - | ^~~~~~ +fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' + 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ In file included from fitscheck.c:38: fitscheck.c: In function 'compute_bodysum': +fitskey.c: In function 'read_keys': +fitskey.c:335:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 335 | QMALLOC(keys, keystruct *, nkeys); + | ^ +fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' + 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ fitscheck.c:225:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 225 | QCALLOC(buf, char, FBSIZE); | ^ fitscat_defs.h:129:35: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitscat.c: In function 'init_cat': fitscheck.c:244:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 244 | QMALLOC(buf, char, FBSIZE); | ^ fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitscat.c:281:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 281 | QCALLOC(tab, tabstruct, 1); - | ^ -fitscat_defs.h:129:35: note: in definition of macro 'QCALLOC' - 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ +fitskey.c:351:47: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 351 | QMALLOC(key->ptr, char, key->nbytes*nb); + | ^ +fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' + 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitscheck.c: In function 'write_checksum': -fitscat.c:290:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 290 | QCALLOC(tab->headbuf, char, FBSIZE); - | ^ -fitscat_defs.h:129:35: note: in definition of macro 'QCALLOC' - 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ +In file included from fitsconv.c:38: +fitsconv.c: In function 'asc2bin_tab': +fitsconv.c:81:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 81 | QMALLOC(buf, char, tabin->tabsize); + | ^ +fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' + 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitscheck.c:275:57: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 275 | QREALLOC(tab->headbuf, char, 80*(tab->headnblock*36+3)); @@ -611,251 +660,187 @@ fitscat_defs.h:149:35: note: in definition of macro 'QREALLOC' 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitscat.c: In function 'map_cat': -fitscat.c:323:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 323 | QCALLOC(tab, tabstruct, 1); - | ^ -fitscat_defs.h:129:35: note: in definition of macro 'QCALLOC' - 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -fitscheck.c:286:54: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 286 | QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); - | ^ -fitscat_defs.h:149:35: note: in definition of macro 'QREALLOC' - 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -fitscat.c:342:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 342 | QCALLOC(tab, tabstruct, 1); - | ^ -fitscat_defs.h:129:35: note: in definition of macro 'QCALLOC' - 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -fitscat.c: In function 'new_cat': -fitscat.c:380:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 380 | QCALLOC(cat, catstruct, ncat); - | ^ -fitscat_defs.h:129:35: note: in definition of macro 'QCALLOC' - 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -In file included from fitsbody.c:43: -fitsbody.c: In function 'read_body': -fitsbody.c:528:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 528 | QMALLOC(tab->compress_buf, char, FBSIZE); - | ^ -fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' - 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -fitsbody.c:578:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 578 | QMALLOC(tab->compress_buf, char, FBSIZE); - | ^ -fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' - 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -fitsbody.c: In function 'read_ibody': -fitsbody.c:708:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 708 | QMALLOC(tab->compress_buf, char, FBSIZE); - | ^ +In file included from fitshead.c:38: +fitshead.c: In function 'get_head': +In file included from fitstab.c:38: +fitstab.c: In function 'copy_tab': +fitskey.c:367:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 367 | QMALLOC(key->ptr, char, key->nbytes*nb); + | ^ fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitsbody.c:758:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 758 | QMALLOC(tab->compress_buf, char, FBSIZE); - | ^ +fitshead.c:68:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 68 | QMALLOC(buf, char, FBSIZE); + | ^ fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/stiff-2.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fcommon -c -o fitsread.o fitsread.c -gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/stiff-2.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fcommon -c -o fitstab.o fitstab.c -In file included from fitscleanup.c:39: -fitscleanup.c: In function 'add_cleanupfilename': -fitscleanup.c:92:53: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 92 | QMALLOC(cleanup_filename, char *, CLEANUP_NFILES); - | ^ -fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' - 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ +fitstab.c:207:34: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 207 | QCALLOC(tabout, tabstruct, 1); + | ^ +fitscat_defs.h:129:35: note: in definition of macro 'QCALLOC' + 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitscleanup.c:96:69: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 96 | QREALLOC(cleanup_filename, char *, cleanup_nfiles+CLEANUP_NFILES); - | ^ +fitscheck.c:286:54: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 286 | QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); + | ^ fitscat_defs.h:149:35: note: in definition of macro 'QREALLOC' 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitscleanup.c:98:59: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 98 | QMALLOC(cleanup_filename[cleanup_nfiles], char, MAXCHARS); - | ^ -fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' - 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -fitscleanup.c: In function 'remove_cleanupfilename': -fitscleanup.c:136:60: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 136 | QREALLOC(cleanup_filename, char *, cleanup_nfiles); - | ^ +fitstab.c:210:64: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 210 | QMEMCPY(tabin->naxisn, tabout->naxisn, int, tabin->naxis); + | ^ +fitscat_defs.h:160:37: note: in definition of macro 'QMEMCPY' + 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + | ^~~~~~ +fitshead.c:86:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 86 | QREALLOC(buf, char, FBSIZE*(i+1)); + | ^ fitscat_defs.h:149:35: note: in definition of macro 'QREALLOC' 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitscat.c: In function 'addhistoryto_cat': -fitscat.c:138:21: warning: '%.65s' directive writing up to 65 bytes into a region of size between 0 and 81 [-Wformat-overflow=] - 138 | sprintf(str2, "%s %.65s", str2, str); - | ^~~~~ -In file included from /usr/include/stdio.h:964, - from fitscat.c:34: -In function 'sprintf', - inlined from 'addhistoryto_cat' at fitscat.c:138:3: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 148 bytes into a destination of size 82 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -In file included from fitsconv.c:38: -fitsconv.c: In function 'asc2bin_tab': -fitsconv.c:81:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 81 | QMALLOC(buf, char, tabin->tabsize); - | ^ +fitskey.c:374:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 374 | QMALLOC(buf, char, larray); + | ^ fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/stiff-2.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fcommon -c -o fitsutil.o fitsutil.c fitsconv.c:114:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 114 | QMALLOC(key->naxisn, int, 1); | ^ fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +fitstab.c:212:79: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 212 | QMEMCPY(tabin->headbuf, tabout->headbuf, char, tabin->headnblock*FBSIZE); + | ^ +fitscat_defs.h:160:37: note: in definition of macro 'QMEMCPY' + 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + | ^~~~~~ fitsconv.c:120:47: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 120 | QMEMCPY(ptr, key->ptr, char, key->nbytes); | ^ fitscat_defs.h:160:37: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ -In file included from fitshead.c:38: -fitshead.c: In function 'get_head': -fitshead.c:68:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 68 | QMALLOC(buf, char, FBSIZE); - | ^ -fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' - 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/stiff-2.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fcommon -c -o fitswrite.o fitswrite.c -fitshead.c:86:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 86 | QREALLOC(buf, char, FBSIZE*(i+1)); - | ^ -fitscat_defs.h:149:35: note: in definition of macro 'QREALLOC' - 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ +fitstab.c:214:69: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 214 | QMEMCPY(tabin->bodybuf, tabout->bodybuf, char, tabin->tabsize); + | ^ +fitscat_defs.h:160:37: note: in definition of macro 'QMEMCPY' + 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + | ^~~~~~ fitshead.c: In function 'readbasic_head': +In file included from fitsread.c:38: +fitsread.c: In function 'init_readobj': fitshead.c:131:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 131 | QMALLOC(tab->naxisn, int, tab->naxis); | ^ fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitshead.c: In function 'readbintabparam_head': -fitshead.c:236:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 236 | QCALLOC(key, keystruct, 1); - | ^ +fitsread.c:137:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 137 | QMALLOC(key->ptr, char, key->nbytes); + | ^ +fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' + 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +fitstab.c: In function 'copy_tab_fromptr': +fitstab.c:286:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 286 | QCALLOC(tabout, tabstruct, 1); + | ^ fitscat_defs.h:129:35: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitshead.c:302:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 302 | QMALLOC(key->naxisn, int, key->naxis); - | ^ +fitsread.c:151:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 151 | QMALLOC(*pbuf, char, tab->naxisn[0]); + | ^ fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitshead.c: In function 'addkeywordto_head': -In file included from fitskey.c:38: -fitskey.c: In function 'copy_key': -fitshead.c:586:56: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 586 | QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); - | ^ -fitscat_defs.h:149:35: note: in definition of macro 'QREALLOC' - 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -fitskey.c:137:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 137 | QCALLOC(keyout, keystruct, 1); - | ^ +fitstab.c:289:62: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 289 | QMEMCPY(tabin->naxisn, tabout->naxisn, int, tabin->naxis); + | ^ +fitscat_defs.h:160:37: note: in definition of macro 'QMEMCPY' + 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + | ^~~~~~ +fitskey.c: In function 'keys_list': +fitstab.c:291:77: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 291 | QMEMCPY(tabin->headbuf, tabout->headbuf, char, tabin->headnblock*FBSIZE); + | ^ +fitscat_defs.h:160:37: note: in definition of macro 'QMEMCPY' + 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + | ^~~~~~ +fitskey.c:525:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 525 | QCALLOC(names, char *, tab->nkey); + | ^ fitscat_defs.h:129:35: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitshead.c: In function 'removekeywordfrom_head': -fitskey.c:141:61: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 141 | QMEMCPY(keyin->naxisn, keyout->naxisn, int, keyin->naxis); - | ^ +fitstab.c:293:67: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 293 | QMEMCPY(tabin->bodybuf, tabout->bodybuf, char, tabin->tabsize); + | ^ fitscat_defs.h:160:37: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ -fitshead.c:617:58: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 617 | QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); - | ^ -fitscat_defs.h:149:35: note: in definition of macro 'QREALLOC' - 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ +fitshead.c: In function 'readbintabparam_head': +fitshead.c:236:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 236 | QCALLOC(key, keystruct, 1); + | ^ +fitscat_defs.h:129:35: note: in definition of macro 'QCALLOC' + 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitskey.c: In function 'new_key': -fitskey.c:196:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 196 | QCALLOC(key, keystruct, 1); - | ^ +fitskey.c:528:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 528 | QCALLOC(names[i], char, MAXCHARS); + | ^ fitscat_defs.h:129:35: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitskey.c: In function 'read_key': -fitskey.c:251:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 251 | QMALLOC(buf, char, larray); +fitstab.c: In function 'new_tab': +fitstab.c:444:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 444 | QCALLOC(tab, tabstruct, 1); | ^ -fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' - 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -fitskey.c:257:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 257 | QMALLOC(ptr, char, size*narray); - | ^ -fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' - 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ +fitscat_defs.h:129:35: note: in definition of macro 'QCALLOC' + 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitskey.c: In function 'read_keys': -fitskey.c:335:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 335 | QMALLOC(keys, keystruct *, nkeys); - | ^ -fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' - 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ +fitskey.c: In function 'show_keys': +In file included from fitscleanup.c:39: +fitscleanup.c: In function 'add_cleanupfilename': +fitstab.c:448:39: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 448 | QCALLOC(tab->naxisn, int, tab->naxis); + | ^ +fitscat_defs.h:129:35: note: in definition of macro 'QCALLOC' + 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitskey.c:351:47: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 351 | QMALLOC(key->ptr, char, key->nbytes*nb); - | ^ -fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' - 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ +fitskey.c:658:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 658 | QCALLOC(key_col, int, nkeys); + | ^ +fitscat_defs.h:129:35: note: in definition of macro 'QCALLOC' + 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitskey.c:367:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 367 | QMALLOC(key->ptr, char, key->nbytes*nb); - | ^ +fitscleanup.c:92:53: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 92 | QMALLOC(cleanup_filename, char *, CLEANUP_NFILES); + | ^ fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitskey.c:374:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 374 | QMALLOC(buf, char, larray); - | ^ +fitshead.c:302:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 302 | QMALLOC(key->naxisn, int, key->naxis); + | ^ fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitskey.c: In function 'keys_list': -fitskey.c:525:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 525 | QCALLOC(names, char *, tab->nkey); - | ^ -fitscat_defs.h:129:35: note: in definition of macro 'QCALLOC' - 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -fitskey.c:528:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 528 | QCALLOC(names[i], char, MAXCHARS); +fitstab.c:456:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 456 | QCALLOC(tab->headbuf, char, FBSIZE); | ^ fitscat_defs.h:129:35: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitskey.c: In function 'show_keys': -fitskey.c:658:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 658 | QCALLOC(key_col, int, nkeys); - | ^ -fitscat_defs.h:129:35: note: in definition of macro 'QCALLOC' - 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ +fitscleanup.c:96:69: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 96 | QREALLOC(cleanup_filename, char *, cleanup_nfiles+CLEANUP_NFILES); + | ^ +fitscat_defs.h:149:35: note: in definition of macro 'QREALLOC' + 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitskey.c:672:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 672 | QMALLOC(keys, keystruct *, nkeys); @@ -863,112 +848,148 @@ fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +fitscleanup.c:98:59: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 98 | QMALLOC(cleanup_filename[cleanup_nfiles], char, MAXCHARS); + | ^ +fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' + 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +fitscleanup.c: In function 'remove_cleanupfilename': +fitscleanup.c:136:60: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 136 | QREALLOC(cleanup_filename, char *, cleanup_nfiles); + | ^ +fitscat_defs.h:149:35: note: in definition of macro 'QREALLOC' + 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +fitstab.c: In function 'tabs_list': fitskey.c:786:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 786 | QMALLOC(buf, char, larray); | ^ fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +fitstab.c:706:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 706 | QCALLOC(names, char *, cat->ntab); + | ^ +fitscat_defs.h:129:35: note: in definition of macro 'QCALLOC' + 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +fitshead.c: In function 'addkeywordto_head': fitskey.c:789:34: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 789 | QMALLOC(rfield, char, maxnbytes); | ^ fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -In file included from fitsread.c:38: -fitsread.c: In function 'init_readobj': -fitsread.c:137:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 137 | QMALLOC(key->ptr, char, key->nbytes); - | ^ +fitstab.c:708:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 708 | QCALLOC(names[i], char, MAXCHARS); + | ^ +fitscat_defs.h:129:35: note: in definition of macro 'QCALLOC' + 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +fitshead.c:586:56: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 586 | QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); + | ^ +fitscat_defs.h:149:35: note: in definition of macro 'QREALLOC' + 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +fitshead.c: In function 'removekeywordfrom_head': +fitshead.c:617:58: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 617 | QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); + | ^ +fitscat_defs.h:149:35: note: in definition of macro 'QREALLOC' + 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +In file included from fitscat.c:42: +fitscat.c: In function 'addhistoryto_cat': +In file included from fitsbody.c:43: +fitsbody.c: In function 'read_body': +fitscat.c:127:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 127 | QREALLOC(tab->headbuf, char, (n+1)*FBSIZE); + | ^ +fitscat_defs.h:149:35: note: in definition of macro 'QREALLOC' + 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +fitsbody.c:528:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 528 | QMALLOC(tab->compress_buf, char, FBSIZE); + | ^ fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitsread.c:151:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 151 | QMALLOC(*pbuf, char, tab->naxisn[0]); - | ^ +fitscat.c: In function 'inherit_cat': +fitsbody.c:578:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 578 | QMALLOC(tab->compress_buf, char, FBSIZE); + | ^ fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -In file included from fitstab.c:38: -fitstab.c: In function 'copy_tab': -fitstab.c:207:34: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 207 | QCALLOC(tabout, tabstruct, 1); - | ^ +fitscat.c:224:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 224 | QCALLOC(tabout, tabstruct, 1); + | ^ fitscat_defs.h:129:35: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitstab.c:210:64: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 210 | QMEMCPY(tabin->naxisn, tabout->naxisn, int, tabin->naxis); - | ^ -fitscat_defs.h:160:37: note: in definition of macro 'QMEMCPY' - 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - | ^~~~~~ -fitstab.c:212:79: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 212 | QMEMCPY(tabin->headbuf, tabout->headbuf, char, tabin->headnblock*FBSIZE); - | ^ +fitscat.c:227:71: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 227 | QMEMCPY(tabin->naxisn, tabout->naxisn, int, (size_t)tabin->naxis); + | ^ fitscat_defs.h:160:37: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ -fitstab.c:214:69: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 214 | QMEMCPY(tabin->bodybuf, tabout->bodybuf, char, tabin->tabsize); - | ^ +fitscat.c:230:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 230 | tabin->headnblock*FBSIZE); + | ^ fitscat_defs.h:160:37: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ -fitstab.c: In function 'copy_tab_fromptr': -fitstab.c:286:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 286 | QCALLOC(tabout, tabstruct, 1); - | ^ -fitscat_defs.h:129:35: note: in definition of macro 'QCALLOC' - 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ +fitsbody.c: In function 'read_ibody': +fitsbody.c:708:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 708 | QMALLOC(tab->compress_buf, char, FBSIZE); + | ^ +fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' + 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitstab.c:289:62: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 289 | QMEMCPY(tabin->naxisn, tabout->naxisn, int, tabin->naxis); - | ^ -fitscat_defs.h:160:37: note: in definition of macro 'QMEMCPY' - 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - | ^~~~~~ -fitstab.c:291:77: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 291 | QMEMCPY(tabin->headbuf, tabout->headbuf, char, tabin->headnblock*FBSIZE); - | ^ -fitscat_defs.h:160:37: note: in definition of macro 'QMEMCPY' - 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - | ^~~~~~ -fitstab.c:293:67: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 293 | QMEMCPY(tabin->bodybuf, tabout->bodybuf, char, tabin->tabsize); - | ^ +fitscat.c:232:76: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 232 | QMEMCPY(tabin->bodybuf, tabout->bodybuf, char, (size_t)tabin->tabsize); + | ^ fitscat_defs.h:160:37: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ -fitstab.c: In function 'new_tab': -fitstab.c:444:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 444 | QCALLOC(tab, tabstruct, 1); +fitscat.c: In function 'init_cat': +fitscat.c:281:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 281 | QCALLOC(tab, tabstruct, 1); | ^ fitscat_defs.h:129:35: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitstab.c:448:39: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 448 | QCALLOC(tab->naxisn, int, tab->naxis); - | ^ +fitsbody.c:758:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 758 | QMALLOC(tab->compress_buf, char, FBSIZE); + | ^ +fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' + 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +fitscat.c:290:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 290 | QCALLOC(tab->headbuf, char, FBSIZE); + | ^ fitscat_defs.h:129:35: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitstab.c:456:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 456 | QCALLOC(tab->headbuf, char, FBSIZE); - | ^ +fitscat.c: In function 'map_cat': +fitscat.c:323:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 323 | QCALLOC(tab, tabstruct, 1); + | ^ fitscat_defs.h:129:35: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitstab.c: In function 'tabs_list': -fitstab.c:706:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 706 | QCALLOC(names, char *, cat->ntab); - | ^ +fitscat.c:342:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 342 | QCALLOC(tab, tabstruct, 1); + | ^ fitscat_defs.h:129:35: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitstab.c:708:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 708 | QCALLOC(names[i], char, MAXCHARS); - | ^ +fitscat.c: In function 'new_cat': +fitscat.c:380:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 380 | QCALLOC(cat, catstruct, ncat); + | ^ fitscat_defs.h:129:35: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ @@ -999,6 +1020,21 @@ fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +fitscat.c: In function 'addhistoryto_cat': +fitscat.c:138:21: warning: '%.65s' directive writing up to 65 bytes into a region of size between 0 and 81 [-Wformat-overflow=] + 138 | sprintf(str2, "%s %.65s", str2, str); + | ^~~~~ +In file included from /usr/include/stdio.h:964, + from fitscat.c:34: +In function 'sprintf', + inlined from 'addhistoryto_cat' at fitscat.c:138:3: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 148 bytes into a destination of size 82 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ fitsbody.c: In function 'alloc_body': fitsbody.c:113:31: warning: '/vm' directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 113 | sprintf(tab->swapname, "%s/vm%05ld_%05x.tmp", @@ -1048,6 +1084,8 @@ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/stiff-2.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fcommon -c -o makeit.o makeit.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/stiff-2.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fcommon -c -o prefs.o prefs.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/stiff-2.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fcommon -c -o threads.o threads.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/stiff-2.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fcommon -c -o tiff.o tiff.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/stiff-2.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fcommon -c -o xml.o xml.c In file included from datamem.c:44: datamem.c: In function 'alloc_data': datamem.c:102:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] @@ -1059,8 +1097,25 @@ datamem.c:110:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 110 | write(fd, "\0", 1); | ^~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/stiff-2.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fcommon -c -o tiff.o tiff.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/stiff-2.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fcommon -c -o xml.o xml.c +tiff.c: In function 'create_tiffdir': +tiff.c:230:46: warning: ':' directive writing 1 byte into a region of size between 0 and 16 [-Wformat-overflow=] + 230 | sprintf(datetimeb,"%04d:%02d:%02d %02d:%02d:%02d", + | ^ +In file included from /usr/include/stdio.h:964, + from tiff.c:33: +In function 'sprintf', + inlined from 'create_tiffdir' at tiff.c:230:3: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 20 and 72 bytes into a destination of size 32 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +xml.c: In function 'write_xml_meta': +xml.c:250:5: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] + 250 | getcwd(pspathb, MAXCHAR); + | ^~~~~~~~~~~~~~~~~~~~~~~~ field.c: In function 'print_fieldinfo': field.c:160:24: warning: ']' directive writing 1 byte into a region of size between 0 and 81 [-Wformat-overflow=] 160 | sprintf(str, "[%s]", tab->extname); @@ -1076,10 +1131,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -xml.c: In function 'write_xml_meta': -xml.c:250:5: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] - 250 | getcwd(pspathb, MAXCHAR); - | ^~~~~~~~~~~~~~~~~~~~~~~~ makeit.c: In function 'makeit': makeit.c:74:35: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] 74 | sprintf(prefs.sdate_start,"%04d-%02d-%02d", @@ -1114,21 +1165,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -tiff.c: In function 'create_tiffdir': -tiff.c:230:46: warning: ':' directive writing 1 byte into a region of size between 0 and 16 [-Wformat-overflow=] - 230 | sprintf(datetimeb,"%04d:%02d:%02d %02d:%02d:%02d", - | ^ -In file included from /usr/include/stdio.h:964, - from tiff.c:33: -In function 'sprintf', - inlined from 'create_tiffdir' at tiff.c:230:3: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 20 and 72 bytes into a destination of size 32 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ xml.c:220:35: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] 220 | sprintf(prefs.sdate_end,"%04d-%02d-%02d", | ^~~~ @@ -1237,12 +1273,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/86035/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/86035/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/2805070 and its subdirectories -I: Current time: Sun Jun 15 09:57:50 -12 2025 -I: pbuilder-time-stamp: 1750024670 +I: removing directory /srv/workspace/pbuilder/86035 and its subdirectories +I: Current time: Tue May 14 05:35:35 +14 2024 +I: pbuilder-time-stamp: 1715614535