Diff of the two buildlogs: -- --- b1/build.log 2023-05-09 06:31:00.638402042 +0000 +++ b2/build.log 2023-05-09 06:37:33.657206376 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon May 8 18:22:44 -12 2023 -I: pbuilder-time-stamp: 1683613364 +I: Current time: Tue May 9 20:31:25 +14 2023 +I: pbuilder-time-stamp: 1683613885 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./psfex_3.21.1.orig.tar.gz] I: copying [./psfex_3.21.1-1.debian.tar.xz] I: Extracting source -gpgv: Signature made Sun Dec 25 05:36:39 2022 -12 +gpgv: Signature made Mon Dec 26 07:36:39 2022 +14 gpgv: using RSA key BAFC6C85F7CB143FEEB6FB157115AFD07710DCF7 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./psfex_3.21.1-1.dsc: no acceptable signature found @@ -31,135 +31,167 @@ dpkg-source: info: applying Remove-handling-of-upstream-s-debian-subdir.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/15161/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/22348/tmp/hooks/D01_modify_environment starting +debug: Running on cbxi4pro0. +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 9 20:32 /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/22348/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/22348/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='armhf' + 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]="15" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='8333242799b245b6b1e9275bd0ec3586' - 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='15161' - PS1='# ' - PS2='> ' + INVOCATION_ID=0cf3953949a14d03a7076f3272c57378 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=22348 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.ixZ7Uj7B/pbuilderrc_VoFF --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ixZ7Uj7B/b1 --logfile b1/build.log psfex_3.21.1-1.dsc' - SUDO_GID='114' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.ixZ7Uj7B/pbuilderrc_2ACH --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ixZ7Uj7B/b2 --logfile b2/build.log --extrapackages usrmerge psfex_3.21.1-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux jtx1b 5.10.0-22-arm64 #1 SMP Debian 5.10.178-3 (2023-04-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-22-armmp #1 SMP Debian 5.10.178-3 (2023-04-22) armv7l GNU/Linux I: ls -l /bin total 5072 - -rwxr-xr-x 1 root root 838488 Apr 23 09:24 bash - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 67112 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 67632 Sep 20 2022 cat - -rwxr-xr-x 1 root root 67676 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67644 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 67684 Sep 20 2022 chown - -rwxr-xr-x 1 root root 133532 Sep 20 2022 cp - -rwxr-xr-x 1 root root 132868 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 133220 Sep 20 2022 date - -rwxr-xr-x 1 root root 67732 Sep 20 2022 dd - -rwxr-xr-x 1 root root 68104 Sep 20 2022 df - -rwxr-xr-x 1 root root 133632 Sep 20 2022 dir - -rwxr-xr-x 1 root root 59128 Mar 22 21:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 67560 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 67548 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 55748 Mar 22 21:02 findmnt - -rwsr-xr-x 1 root root 26208 Mar 22 20:15 fusermount - -rwxr-xr-x 1 root root 128608 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 64220 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 67032 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 67720 Sep 20 2022 ln - -rwxr-xr-x 1 root root 35132 Mar 22 21:51 login - -rwxr-xr-x 1 root root 133632 Sep 20 2022 ls - -rwxr-xr-x 1 root root 136808 Mar 22 21:02 lsblk - -rwxr-xr-x 1 root root 67800 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 67764 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 67596 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 38504 Mar 22 21:02 more - -rwsr-xr-x 1 root root 38496 Mar 22 21:02 mount - -rwxr-xr-x 1 root root 9824 Mar 22 21:02 mountpoint - -rwxr-xr-x 1 root root 133532 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 67608 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:24 rbash -> bash - -rwxr-xr-x 1 root root 67600 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 67672 Sep 20 2022 rm - -rwxr-xr-x 1 root root 67600 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 67400 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 133372 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 67644 Sep 20 2022 stty - -rwsr-xr-x 1 root root 50800 Mar 22 21:02 su - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sync - -rwxr-xr-x 1 root root 336764 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 67144 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 133224 Sep 20 2022 touch - -rwxr-xr-x 1 root root 67548 Sep 20 2022 true - -rwxr-xr-x 1 root root 9768 Mar 22 20:15 ulockmgr_server - -rwsr-xr-x 1 root root 22108 Mar 22 21:02 umount - -rwxr-xr-x 1 root root 67572 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 133632 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 42608 Mar 22 21:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/15161/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 838488 Apr 24 11:24 bash + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 67112 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 67632 Sep 21 2022 cat + -rwxr-xr-x 1 root root 67676 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67644 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 67684 Sep 21 2022 chown + -rwxr-xr-x 1 root root 133532 Sep 21 2022 cp + -rwxr-xr-x 1 root root 132868 Jan 6 03:20 dash + -rwxr-xr-x 1 root root 133220 Sep 21 2022 date + -rwxr-xr-x 1 root root 67732 Sep 21 2022 dd + -rwxr-xr-x 1 root root 68104 Sep 21 2022 df + -rwxr-xr-x 1 root root 133632 Sep 21 2022 dir + -rwxr-xr-x 1 root root 59128 Mar 23 23:02 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 67560 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 67548 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 55748 Mar 23 23:02 findmnt + -rwsr-xr-x 1 root root 26208 Mar 23 22:15 fusermount + -rwxr-xr-x 1 root root 128608 Jan 25 04:43 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 64220 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 67032 Dec 20 03:33 hostname + -rwxr-xr-x 1 root root 67720 Sep 21 2022 ln + -rwxr-xr-x 1 root root 35132 Mar 23 23:51 login + -rwxr-xr-x 1 root root 133632 Sep 21 2022 ls + -rwxr-xr-x 1 root root 136808 Mar 23 23:02 lsblk + -rwxr-xr-x 1 root root 67800 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 67764 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 67596 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 38504 Mar 23 23:02 more + -rwsr-xr-x 1 root root 38496 Mar 23 23:02 mount + -rwxr-xr-x 1 root root 9824 Mar 23 23:02 mountpoint + -rwxr-xr-x 1 root root 133532 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 67608 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 11:24 rbash -> bash + -rwxr-xr-x 1 root root 67600 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 67672 Sep 21 2022 rm + -rwxr-xr-x 1 root root 67600 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 67400 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 133372 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 9 May 9 20:32 sh -> /bin/bash + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 67644 Sep 21 2022 stty + -rwsr-xr-x 1 root root 50800 Mar 23 23:02 su + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sync + -rwxr-xr-x 1 root root 336764 Apr 7 04:25 tar + -rwxr-xr-x 1 root root 67144 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 133224 Sep 21 2022 touch + -rwxr-xr-x 1 root root 67548 Sep 21 2022 true + -rwxr-xr-x 1 root root 9768 Mar 23 22:15 ulockmgr_server + -rwsr-xr-x 1 root root 22108 Mar 23 23:02 umount + -rwxr-xr-x 1 root root 67572 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 133632 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 42608 Mar 23 23:02 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/22348/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -348,7 +380,7 @@ Get: 143 http://deb.debian.org/debian bookworm/main armhf pkgconf-bin armhf 1.8.1-1 [28.5 kB] Get: 144 http://deb.debian.org/debian bookworm/main armhf pkgconf armhf 1.8.1-1 [25.9 kB] Get: 145 http://deb.debian.org/debian bookworm/main armhf pkg-config armhf 1.8.1-1 [13.7 kB] -Fetched 59.1 MB in 11s (5328 kB/s) +Fetched 59.1 MB in 4s (13.3 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 ... 19329 files and directories currently installed.) @@ -953,10 +985,17 @@ Reading package lists... Building dependency tree... Reading state information... +usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/psfex-3.21.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../psfex_3.21.1-1_source.changes +I: user script /srv/workspace/pbuilder/22348/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/22348/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/psfex-3.21.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../psfex_3.21.1-1_source.changes dpkg-buildpackage: info: source package psfex dpkg-buildpackage: info: source version 3.21.1-1 dpkg-buildpackage: info: source distribution unstable @@ -1058,7 +1097,7 @@ ./configure --build=arm-linux-gnueabihf --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/arm-linux-gnueabihf --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --host=arm-linux-gnueabihf --build=arm-linux-gnueabihf --prefix=/usr --mandir=\${prefix}/share/man --disable-threads checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes -checking for a race-free mkdir -p... /bin/mkdir -p +checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes @@ -1083,10 +1122,10 @@ checking build system type... arm-unknown-linux-gnueabihf checking host system type... arm-unknown-linux-gnueabihf checking how to print strings... printf -checking for a sed that does not truncate output... /bin/sed -checking for grep that handles long lines and -e... /bin/grep -checking for egrep... /bin/grep -E -checking for fgrep... /bin/grep -F +checking for a sed that does not truncate output... /usr/bin/sed +checking for grep that handles long lines and -e... /usr/bin/grep +checking for egrep... /usr/bin/grep -E +checking for fgrep... /usr/bin/grep -F checking for ld used by arm-linux-gnueabihf-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/arm-linux-gnueabihf-nm -B @@ -1109,8 +1148,8 @@ checking for arm-linux-gnueabihf-ranlib... arm-linux-gnueabihf-ranlib checking command to parse /usr/bin/arm-linux-gnueabihf-nm -B output from arm-linux-gnueabihf-gcc object... ok checking for sysroot... no -checking for a working dd... /bin/dd -checking how to truncate binary pipes... /bin/dd bs=4096 count=1 +checking for a working dd... /usr/bin/dd +checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for arm-linux-gnueabihf-mt... no checking for mt... no checking if : is a manifest tool... no @@ -1141,7 +1180,7 @@ checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for sin in -lm... yes -checking for egrep... (cached) /bin/grep -E +checking for egrep... (cached) /usr/bin/grep -E checking for dlfcn.h... (cached) yes checking for fcntl.h... yes checking for limits.h... yes @@ -1215,7 +1254,7 @@ config.status: executing libtool commands make[1]: Leaving directory '/build/psfex-3.21.1' dh_auto_build - make -j3 + make -j4 make[1]: Entering directory '/build/psfex-3.21.1' make all-recursive make[2]: Entering directory '/build/psfex-3.21.1' @@ -1226,6 +1265,34 @@ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o fitsbody.o fitsbody.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o fitscat.o fitscat.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o fitscheck.o fitscheck.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o fitscleanup.o fitscleanup.c +In file included from fitscheck.c:38: +fitscheck.c: In function 'compute_bodysum': +fitscheck.c:225:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type '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) " \ + | ^~~ +fitscheck.c:244:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type '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) " \ + | ^~~ +fitscheck.c: In function 'write_checksum': +fitscheck.c:275:57: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + 275 | QREALLOC(tab->headbuf, char, 80*(tab->headnblock*36+3)); + | ^ +fitscat_defs.h:149:35: note: in definition of macro 'QREALLOC' + 149 | 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 '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) " \ + | ^~~ In file included from fitscat.c:42: fitscat.c: In function 'addhistoryto_cat': fitscat.c:127:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -1234,15 +1301,7 @@ fitscat_defs.h:149:35: note: in definition of macro 'QREALLOC' 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -In file included from fitscheck.c:38: -fitscheck.c: In function 'compute_bodysum': fitscat.c: In function 'inherit_cat': -fitscheck.c:225:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type '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:224:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] 224 | QCALLOC(tabout, tabstruct, 1); | ^ @@ -1255,12 +1314,6 @@ fitscat_defs.h:160:37: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ -fitscheck.c:244:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type '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:230:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] 230 | tabin->headnblock*FBSIZE); | ^ @@ -1306,16 +1359,30 @@ fitscat_defs.h:129:35: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitscheck.c: In function 'write_checksum': -fitscheck.c:275:57: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - 275 | QREALLOC(tab->headbuf, char, 80*(tab->headnblock*36+3)); - | ^ +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 '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) " \ + | ^~~ +fitscleanup.c:96:69: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type '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) " \ | ^~~ -fitscheck.c:286:54: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - 286 | QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); - | ^ +fitscleanup.c:98:59: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type '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 '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) " \ | ^~~ @@ -1361,35 +1428,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o fitscleanup.o fitscleanup.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o fitsconv.o fitsconv.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 '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) " \ - | ^~~ -fitscleanup.c:96:69: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type '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) " \ - | ^~~ -fitscleanup.c:98:59: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type '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 '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) " \ - | ^~~ 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 'unsigned int' [-Wformat=] @@ -1412,24 +1451,6 @@ | ^~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o fitshead.o fitshead.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o fitskey.o fitskey.c -fitsbody.c: In function 'alloc_body': -fitsbody.c:119:31: warning: '/vm' directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=] - 119 | sprintf(tab->swapname, "%s/vm%05ld_%05x.tmp", - | ^~~ -fitsbody.c:119:28: note: using the range [0, 4294967295] for directive argument - 119 | sprintf(tab->swapname, "%s/vm%05ld_%05x.tmp", - | ^~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:906, - from fitsbody.c:34: -In function 'sprintf', - inlined from 'alloc_body' at fitsbody.c:119:5: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 19 and 283 bytes into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ 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 'unsigned int' [-Wformat=] @@ -1478,6 +1499,7 @@ fitscat_defs.h:149:35: note: in definition of macro 'QREALLOC' 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o fitsmisc.o fitsmisc.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 'unsigned int' [-Wformat=] @@ -1575,15 +1597,17 @@ fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitsbody.c: In function 'alloc_ibody': -fitsbody.c:220:31: warning: '/vm' directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=] - 220 | sprintf(tab->swapname, "%s/vm%05ld_%05x.tmp", +fitsbody.c: In function 'alloc_body': +fitsbody.c:119:31: warning: '/vm' directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=] + 119 | sprintf(tab->swapname, "%s/vm%05ld_%05x.tmp", | ^~~ -fitsbody.c:220:28: note: using the range [0, 4294967295] for directive argument - 220 | sprintf(tab->swapname, "%s/vm%05ld_%05x.tmp", +fitsbody.c:119:28: note: using the range [0, 4294967295] for directive argument + 119 | sprintf(tab->swapname, "%s/vm%05ld_%05x.tmp", | ^~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:906, + from fitsbody.c:34: In function 'sprintf', - inlined from 'alloc_ibody' at fitsbody.c:220:5: + inlined from 'alloc_body' at fitsbody.c:119:5: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 19 and 283 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1591,7 +1615,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o fitsmisc.o fitsmisc.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o fitsread.o fitsread.c In file included from fitsread.c:38: fitsread.c: In function 'init_readobj': @@ -1607,8 +1630,23 @@ fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +fitsbody.c: In function 'alloc_ibody': +fitsbody.c:220:31: warning: '/vm' directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=] + 220 | sprintf(tab->swapname, "%s/vm%05ld_%05x.tmp", + | ^~~ +fitsbody.c:220:28: note: using the range [0, 4294967295] for directive argument + 220 | sprintf(tab->swapname, "%s/vm%05ld_%05x.tmp", + | ^~~~~~~~~~~~~~~~~~~~~ +In function 'sprintf', + inlined from 'alloc_ibody' at fitsbody.c:220:5: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 19 and 283 bytes into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o fitstab.o fitstab.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o fitsutil.o fitsutil.c 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 'unsigned int' [-Wformat=] @@ -1617,6 +1655,7 @@ fitscat_defs.h:129:35: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o fitsutil.o fitsutil.c fitstab.c:210:64: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] 210 | QMEMCPY(tabin->naxisn, tabout->naxisn, int, tabin->naxis); | ^ @@ -1692,21 +1731,6 @@ fitscat_defs.h:129:35: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitsutil.c: In function 'fitswrite': -fitsutil.c:558:42: warning: ''' directive writing 1 byte into a region of size between 0 and 80 [-Wformat-overflow=] - 558 | sprintf(str, "'%s'", str2); - | ^ -In file included from /usr/include/stdio.h:906, - from fitsutil.c:34: -In function 'sprintf', - inlined from 'fitswrite' at fitsutil.c:558:11: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 3 and 83 bytes into a destination of size 81 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o fitswrite.o fitswrite.c In file included from fitswrite.c:39: fitswrite.c: In function 'save_tab': @@ -1735,6 +1759,21 @@ fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +fitsutil.c: In function 'fitswrite': +fitsutil.c:558:42: warning: ''' directive writing 1 byte into a region of size between 0 and 80 [-Wformat-overflow=] + 558 | sprintf(str, "'%s'", str2); + | ^ +In file included from /usr/include/stdio.h:906, + from fitsutil.c:34: +In function 'sprintf', + inlined from 'fitswrite' at fitsutil.c:558:11: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 3 and 83 bytes into a destination of size 81 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ rm -f libfits.a arm-linux-gnueabihf-ar cru libfits.a fitsbody.o fitscat.o fitscheck.o fitscleanup.o fitsconv.o fitshead.o fitskey.o fitsmisc.o fitsread.o fitstab.o fitsutil.o fitswrite.o arm-linux-gnueabihf-ar: `u' modifier ignored since `D' is the default (see `U') @@ -1773,38 +1812,7 @@ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o catout.o catout.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o check.o check.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o context.o context.c -In file included from catout.c:37: -catout.c: In function 'init_outcat': -catout.c:85:53: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 85 | QCALLOC(outcat, outcatstruct, sizeof(outcatstruct)); - | ^ -define.h:134:35: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -catout.c:92:70: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 92 | QCALLOC(objkeys, keystruct, (sizeof(refoutkey) / sizeof(keystruct))); - | ^ -define.h:134:35: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -catout.c:157:33: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 157 | QCALLOC(asctab, tabstruct, 1); - | ^ -define.h:134:35: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -catout.c:159:61: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 159 | QCALLOC(asctab->headbuf, char, asctab->headnblock*FBSIZE); - | ^ -define.h:134:35: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -catout.c:172:41: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 172 | QMALLOC(key->naxisn, int, key->naxis); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o cplot.o cplot.c In file included from check.c:38: check.c: In function 'check_write': check.c:126:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -1813,8 +1821,6 @@ define.h:154:35: note: in definition of macro 'QREALLOC' 154 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ -In file included from context.c:38: -context.c: In function 'context_init': check.c:132:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 132 | QCALLOC(pix0, float, tab->tabsize); | ^ @@ -1857,48 +1863,6 @@ define.h:134:35: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ -context.c:70:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 70 | QCALLOC(context, contextstruct, 1); - | ^ -define.h:134:35: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -context.c:71:38: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 71 | QCALLOC(context->name, char *, ndim); - | ^ -define.h:134:35: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -context.c:72:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 72 | QCALLOC(context->group, int, ndim); - | ^ -define.h:134:35: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -context.c:73:37: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 73 | QCALLOC(context->degree, int, ndim); - | ^ -define.h:134:35: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -context.c:74:37: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 74 | QCALLOC(context->pcflag, int, ndim); - | ^ -define.h:134:35: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -context.c:75:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 75 | QCALLOC(groupflag, int, ndim); - | ^ -define.h:134:35: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -context.c:89:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 89 | QMALLOC(context->name[d2], char, 80); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ check.c:259:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 259 | QCALLOC(pix0, float, tab->tabsize); | ^ @@ -1923,37 +1887,32 @@ define.h:134:35: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ -context.c: In function 'context_apply': -context.c:193:56: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 193 | QMALLOC(polycopyflag, int, poly2->ncoeff*poly->ncoeff); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -context.c:219:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 219 | QCALLOC(comp2, float, comp2size); - | ^ -define.h:134:35: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -context.c:221:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 221 | QCALLOC(bcoeff2, float, bcoeff2size); - | ^ -define.h:134:35: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ check.c:337:45: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 337 | QCALLOC(gridsample, samplestruct *, nt); | ^ define.h:134:35: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +In file included from catout.c:37: +catout.c: In function 'init_outcat': check.c:370:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 370 | QREALLOC(tab->naxisn, int, tab->naxis); | ^ define.h:154:35: note: in definition of macro 'QREALLOC' 154 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +catout.c:85:53: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 85 | QCALLOC(outcat, outcatstruct, sizeof(outcatstruct)); + | ^ +define.h:134:35: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +catout.c:92:70: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 92 | QCALLOC(objkeys, keystruct, (sizeof(refoutkey) / sizeof(keystruct))); + | ^ +define.h:134:35: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ check.c:377:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 377 | QCALLOC(pix0, float, tab->tabsize); | ^ @@ -1966,30 +1925,36 @@ define.h:134:35: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ -context.c:243:54: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 243 | QMEMCPY(comp2, psf2->comp, float, comp2size); - | ^ -define.h:165:37: note: in definition of macro 'QMEMCPY' - 165 | sprintf(gstr, #ptrout " (" #nel "=%ld elements) " \ - | ^~~~~~ -context.c:245:66: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 245 | QMEMCPY(bcoeff2, psf2->basiscoeff, float, bcoeff2size); - | ^ -define.h:165:37: note: in definition of macro 'QMEMCPY' - 165 | sprintf(gstr, #ptrout " (" #nel "=%ld elements) " \ - | ^~~~~~ +catout.c:157:33: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 157 | QCALLOC(asctab, tabstruct, 1); + | ^ +define.h:134:35: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ check.c:416:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 416 | QREALLOC(tab->naxisn, int, tab->naxis); | ^ define.h:154:35: note: in definition of macro 'QREALLOC' 154 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +catout.c:159:61: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 159 | QCALLOC(asctab->headbuf, char, asctab->headnblock*FBSIZE); + | ^ +define.h:134:35: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ check.c:422:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 422 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:35: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +catout.c:172:41: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 172 | QMALLOC(key->naxisn, int, key->naxis); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ check.c:446:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 446 | QCALLOC(pix0, float, tab->tabsize); | ^ @@ -2086,6 +2051,20 @@ define.h:134:35: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +In file included from cplot.c:42: +cplot.c: In function 'cplot_init': +cplot.c:167:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 167 | QMALLOC(devmenu, char *, ndev); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +cplot.c:168:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 168 | QMALLOC(devname, char *, ndev); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ check.c:802:40: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 802 | QCALLOC(pix0, float, tab->tabsize); | ^ @@ -2098,76 +2077,59 @@ define.h:134:35: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +In file included from context.c:38: +context.c: In function 'context_init': +context.c:70:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 70 | QCALLOC(context, contextstruct, 1); + | ^ +define.h:134:35: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +context.c:71:38: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 71 | QCALLOC(context->name, char *, ndim); + | ^ +define.h:134:35: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ check.c:925:49: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 925 | QMALLOC(list, double, size = spoonsize); | ^ define.h:144:35: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ -check.c:928:51: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 928 | QREALLOC(list, double, size += spoonsize); - | ^ -define.h:154:35: note: in definition of macro 'QREALLOC' - 154 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -check.c:948:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 948 | QREALLOC(tab->naxisn, int, tab->naxis); - | ^ -define.h:154:35: note: in definition of macro 'QREALLOC' - 154 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -check.c:954:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 954 | QCALLOC(pix0, float, tab->tabsize); - | ^ +context.c:72:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 72 | QCALLOC(context->group, int, ndim); + | ^ define.h:134:35: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ -check.c:981:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 981 | QCALLOC(pix0, float, tab->tabsize); - | ^ +context.c:73:37: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 73 | QCALLOC(context->degree, int, ndim); + | ^ define.h:134:35: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ -check.c:982:33: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 982 | QMALLOC(vig0, float, w*h); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o cplot.o cplot.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o diagnostic.o diagnostic.c -In file included from diagnostic.c:41: -diagnostic.c: In function 'psf_diagnostic': -diagnostic.c:244:35: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 244 | QMALLOC(moffat, moffatstruct, nt); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -diagnostic.c:245:37: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 245 | QMALLOC(pfmoffat, moffatstruct, nt); +context.c:74:37: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 74 | QCALLOC(context->pcflag, int, ndim); | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ +define.h:134:35: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ -diagnostic.c: In function 'psf_normresi': -diagnostic.c:685:41: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 685 | QMALLOC(fvec, float, w*h*sizeof(float)); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ +check.c:928:51: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 928 | QREALLOC(list, double, size += spoonsize); + | ^ +define.h:154:35: note: in definition of macro 'QREALLOC' + 154 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ -In file included from cplot.c:42: -cplot.c: In function 'cplot_init': -cplot.c:167:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 167 | QMALLOC(devmenu, char *, ndev); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ +context.c:75:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 75 | QCALLOC(groupflag, int, ndim); + | ^ +define.h:134:35: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ -cplot.c:168:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 168 | QMALLOC(devname, char *, ndev); - | ^ +context.c:89:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 89 | QMALLOC(context->name[d2], char, 80); + | ^ define.h:144:35: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ @@ -2184,6 +2146,49 @@ define.h:144:35: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +context.c: In function 'context_apply': +context.c:193:56: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 193 | QMALLOC(polycopyflag, int, poly2->ncoeff*poly->ncoeff); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +check.c:948:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 948 | QREALLOC(tab->naxisn, int, tab->naxis); + | ^ +define.h:154:35: note: in definition of macro 'QREALLOC' + 154 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +context.c:219:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 219 | QCALLOC(comp2, float, comp2size); + | ^ +define.h:134:35: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +context.c:221:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 221 | QCALLOC(bcoeff2, float, bcoeff2size); + | ^ +define.h:134:35: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +check.c:954:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 954 | QCALLOC(pix0, float, tab->tabsize); + | ^ +define.h:134:35: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +context.c:243:54: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 243 | QMEMCPY(comp2, psf2->comp, float, comp2size); + | ^ +define.h:165:37: note: in definition of macro 'QMEMCPY' + 165 | sprintf(gstr, #ptrout " (" #nel "=%ld elements) " \ + | ^~~~~~ +context.c:245:66: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 245 | QMEMCPY(bcoeff2, psf2->basiscoeff, float, bcoeff2size); + | ^ +define.h:165:37: note: in definition of macro 'QMEMCPY' + 165 | sprintf(gstr, #ptrout " (" #nel "=%ld elements) " \ + | ^~~~~~ cplot.c: In function 'cplot_fwhm': cplot.c:700:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 700 | QMALLOC(ctype[i], char, 16); @@ -2191,6 +2196,18 @@ define.h:144:35: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +check.c:981:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 981 | QCALLOC(pix0, float, tab->tabsize); + | ^ +define.h:134:35: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +check.c:982:33: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 982 | QMALLOC(vig0, float, w*h); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ cplot.c: In function 'cplot_ellipticity': cplot.c:932:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 932 | QMALLOC(ctype[i], char, 16); @@ -2240,6 +2257,7 @@ define.h:144:35: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o diagnostic.o diagnostic.c cplot.c: In function 'cplot_init': cplot.c:133:58: warning: '%s' directive writing up to 511 bytes into a region of size between 457 and 477 [-Wformat-overflow=] 133 | sprintf(str, "convert -geometry \"%dx%d\" -antialias %s %s", @@ -2259,6 +2277,27 @@ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o fft.o fft.c +In file included from diagnostic.c:41: +diagnostic.c: In function 'psf_diagnostic': +diagnostic.c:244:35: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 244 | QMALLOC(moffat, moffatstruct, nt); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +diagnostic.c:245:37: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 245 | QMALLOC(pfmoffat, moffatstruct, nt); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +diagnostic.c: In function 'psf_normresi': +diagnostic.c:685:41: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 685 | QMALLOC(fvec, float, w*h*sizeof(float)); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ In file included from fft.c:41: fft.c: In function 'fft_shift': fft.c:300:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -2381,6 +2420,7 @@ 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o fitswcs.o fitswcs.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o homo.o homo.c In file included from fitswcs.c:43: fitswcs.c: In function 'copy_wcs': fitswcs.c:68:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -2495,7 +2535,6 @@ fits/fitscat_defs.h:139:35: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o homo.o homo.c In file included from homo.c:38: homo.c: In function 'psf_homo': homo.c:101:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -2566,35 +2605,6 @@ 154 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o main.o main.c -cplot.c: In function 'cplot_snrvsfwhm': -cplot.c:2323:40: warning: '%s' directive writing up to 511 bytes into a region of size 61 [-Wformat-overflow=] - 2323 | sprintf(str, "FWHM selection for %s", field->rtcatname); - | ^~ -In function 'sprintf', - inlined from 'cplot_snrvsfwhm' at cplot.c:2323:7: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 20 and 531 bytes into a destination of size 80 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -cplot.c: In function 'cplot_snrvsfwhm': -cplot.c:2321:21: warning: '%s' directive writing up to 511 bytes into a region of size 80 [-Wformat-overflow=] - 2321 | sprintf(str, "%s[%d]", field->rtcatname, e+1); - | ^~ -cplot.c:2321:20: note: directive argument in the range [1, 2147483647] - 2321 | sprintf(str, "%s[%d]", field->rtcatname, e+1); - | ^~~~~~~~ -In function 'sprintf', - inlined from 'cplot_snrvsfwhm' at cplot.c:2321:7: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 4 and 524 bytes into a destination of size 80 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ In file included from main.c:43: main.c: In function 'main': main.c:86:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -2610,7 +2620,6 @@ 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o makeit.o makeit.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o misc.o misc.c In file included from makeit.c:45: makeit.c: In function 'makeit': makeit.c:136:38: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -2662,59 +2671,38 @@ define.h:165:37: note: in definition of macro 'QMEMCPY' 165 | sprintf(gstr, #ptrout " (" #nel "=%ld elements) " \ | ^~~~~~ +cplot.c: In function 'cplot_snrvsfwhm': +cplot.c:2323:40: warning: '%s' directive writing up to 511 bytes into a region of size 61 [-Wformat-overflow=] + 2323 | sprintf(str, "FWHM selection for %s", field->rtcatname); + | ^~ +In function 'sprintf', + inlined from 'cplot_snrvsfwhm' at cplot.c:2323:7: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 20 and 531 bytes into a destination of size 80 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +cplot.c: In function 'cplot_snrvsfwhm': +cplot.c:2321:21: warning: '%s' directive writing up to 511 bytes into a region of size 80 [-Wformat-overflow=] + 2321 | sprintf(str, "%s[%d]", field->rtcatname, e+1); + | ^~ +cplot.c:2321:20: note: directive argument in the range [1, 2147483647] + 2321 | sprintf(str, "%s[%d]", field->rtcatname, e+1); + | ^~~~~~~~ +In function 'sprintf', + inlined from 'cplot_snrvsfwhm' at cplot.c:2321:7: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 4 and 524 bytes into a destination of size 80 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o misc.o misc.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o pca.o pca.c -In file included from pca.c:38: -pca.c: In function 'pca_onsnaps': -pca.c:79:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 79 | QCALLOC(covmat, double, npix*npix); - | ^ -define.h:134:35: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -pca.c:112:33: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 112 | QMALLOC(basis, float, npc*npix); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -pca.c: In function 'pca_oncomps': -pca.c:162:35: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 162 | QMALLOC(comp, double, ncat*npixt); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -pca.c:206:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 206 | QCALLOC(covmat, double, ncat*ncat); - | ^ -define.h:134:35: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -pca.c:227:30: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 227 | QMALLOC(vector, float, ncat); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -pca.c:228:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 228 | QMALLOC(pc, double, ncat*npc); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -pca.c: In function 'pca_findpc': -pca.c:265:29: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 265 | QMALLOC(xmat, double, nmat); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -pca.c:268:29: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 268 | QMALLOC(tmat, double, nmat); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o prefs.o prefs.c makeit.c: In function 'makeit': makeit.c:97:35: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] 97 | sprintf(prefs.sdate_start,"%04d-%02d-%02d", @@ -3006,8 +2994,58 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o prefs.o prefs.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o psf.o psf.c +In file included from pca.c:38: +pca.c: In function 'pca_onsnaps': +pca.c:79:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 79 | QCALLOC(covmat, double, npix*npix); + | ^ +define.h:134:35: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +pca.c:112:33: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 112 | QMALLOC(basis, float, npc*npix); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +pca.c: In function 'pca_oncomps': +pca.c:162:35: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 162 | QMALLOC(comp, double, ncat*npixt); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +pca.c:206:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 206 | QCALLOC(covmat, double, ncat*ncat); + | ^ +define.h:134:35: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +pca.c:227:30: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 227 | QMALLOC(vector, float, ncat); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +pca.c:228:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 228 | QMALLOC(pc, double, ncat*npc); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +pca.c: In function 'pca_findpc': +pca.c:265:29: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 265 | QMALLOC(xmat, double, nmat); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +pca.c:268:29: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 268 | QMALLOC(tmat, double, nmat); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ In file included from prefs.c:52: prefs.c: In function 'readprefs': prefs.c:352:65: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -3029,6 +3067,7 @@ define.h:154:35: note: in definition of macro 'QREALLOC' 154 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o psf.o psf.c In file included from psf.c:38: psf.c: In function 'psf_clean': psf.c:88:35: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -3426,6 +3465,7 @@ 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o sample.o sample.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o vignet.o vignet.c In file included from sample.c:39: sample.c: In function 'load_samples': sample.c:95:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -3602,7 +3642,7 @@ define.h:134:35: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o vignet.o vignet.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o xml.o xml.c In file included from vignet.c:38: vignet.c: In function 'vignet_resample': vignet.c:185:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -3647,6 +3687,14 @@ define.h:154:35: note: in definition of macro 'QREALLOC' 154 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +In file included from xml.c:39: +xml.c: In function 'init_xml': +xml.c:71:43: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 71 | QMALLOC(field_xml, fieldstruct *, ncat); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ sample.c: In function 'read_samples': sample.c:561:46: warning: '%s' directive writing up to 511 bytes into a region of size 487 [-Wformat-overflow=] 561 | sprintf(str, "Not enough apertures for %s in catalogue %s: ", @@ -3664,15 +3712,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o xml.o xml.c -In file included from xml.c:39: -xml.c: In function 'init_xml': -xml.c:71:43: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 71 | QMALLOC(field_xml, fieldstruct *, ncat); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ xml.c: In function 'write_xml_meta': xml.c:233:35: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] 233 | sprintf(prefs.sdate_end,"%04d-%02d-%02d", @@ -3691,7 +3730,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -/bin/bash ../libtool --tag=CC --mode=link arm-linux-gnueabihf-gcc -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -Wl,-z,relro -o psfex catout.o check.o context.o cplot.o diagnostic.o fft.o field.o fitswcs.o homo.o main.o makeit.o misc.o pca.o prefs.o psf.o sample.o vignet.o xml.o ./fits/libfits.a ./levmar/liblevmar.a ./wcs/libwcs_c.a -llapack_atlas -lfftw3f -lm -lplplot +/bin/sh ../libtool --tag=CC --mode=link arm-linux-gnueabihf-gcc -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -Wl,-z,relro -o psfex catout.o check.o context.o cplot.o diagnostic.o fft.o field.o fitswcs.o homo.o main.o makeit.o misc.o pca.o prefs.o psf.o sample.o vignet.o xml.o ./fits/libfits.a ./levmar/liblevmar.a ./wcs/libwcs_c.a -llapack_atlas -lfftw3f -lm -lplplot libtool: link: arm-linux-gnueabihf-gcc -g -O2 -ffile-prefix-map=/build/psfex-3.21.1=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -Wl,-z -Wl,relro -o psfex catout.o check.o context.o cplot.o diagnostic.o fft.o field.o fitswcs.o homo.o main.o makeit.o misc.o pca.o prefs.o psf.o sample.o vignet.o xml.o ./fits/libfits.a ./levmar/liblevmar.a ./wcs/libwcs_c.a -llapack_atlas -lfftw3f -lm -lplplot make[4]: Leaving directory '/build/psfex-3.21.1/src' make[3]: Leaving directory '/build/psfex-3.21.1/src' @@ -3708,7 +3747,7 @@ make[2]: Leaving directory '/build/psfex-3.21.1' make[1]: Leaving directory '/build/psfex-3.21.1' dh_auto_test - make -j3 check "TESTSUITEFLAGS=-j3 --verbose" VERBOSE=1 + make -j4 check "TESTSUITEFLAGS=-j4 --verbose" VERBOSE=1 make[1]: Entering directory '/build/psfex-3.21.1' Making check in src make[2]: Entering directory '/build/psfex-3.21.1/src' @@ -3772,8 +3811,8 @@ make[3]: Leaving directory '/build/psfex-3.21.1/src/wcs' make[3]: Entering directory '/build/psfex-3.21.1/src' make[4]: Entering directory '/build/psfex-3.21.1/src' - /bin/mkdir -p '/build/psfex-3.21.1/debian/psfex/usr/bin' - /bin/bash ../libtool --mode=install /usr/bin/install -c psfex '/build/psfex-3.21.1/debian/psfex/usr/bin' + /usr/bin/mkdir -p '/build/psfex-3.21.1/debian/psfex/usr/bin' + /bin/sh ../libtool --mode=install /usr/bin/install -c psfex '/build/psfex-3.21.1/debian/psfex/usr/bin' libtool: install: /usr/bin/install -c psfex /build/psfex-3.21.1/debian/psfex/usr/bin/psfex make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/build/psfex-3.21.1/src' @@ -3783,7 +3822,7 @@ make[2]: Entering directory '/build/psfex-3.21.1/man' make[3]: Entering directory '/build/psfex-3.21.1/man' make[3]: Nothing to be done for 'install-exec-am'. - /bin/mkdir -p '/build/psfex-3.21.1/debian/psfex/usr/share/man/man1' + /usr/bin/mkdir -p '/build/psfex-3.21.1/debian/psfex/usr/share/man/man1' /usr/bin/install -c -m 644 psfex.1 '/build/psfex-3.21.1/debian/psfex/usr/share/man/man1' make[3]: Leaving directory '/build/psfex-3.21.1/man' make[2]: Leaving directory '/build/psfex-3.21.1/man' @@ -3797,7 +3836,7 @@ make[2]: Entering directory '/build/psfex-3.21.1' make[3]: Entering directory '/build/psfex-3.21.1' make[3]: Nothing to be done for 'install-exec-am'. - /bin/mkdir -p '/build/psfex-3.21.1/debian/psfex/usr/share/psfex' + /usr/bin/mkdir -p '/build/psfex-3.21.1/debian/psfex/usr/share/psfex' /usr/bin/install -c -m 644 config/default.conv config/default.psfex config/prepsfex.param config/prepsfex.sex xsl/psfex.xsl '/build/psfex-3.21.1/debian/psfex/usr/share/psfex' make[3]: Leaving directory '/build/psfex-3.21.1' make[2]: Leaving directory '/build/psfex-3.21.1' @@ -3822,8 +3861,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'psfex' in '../psfex_3.21.1-1_armhf.deb'. dpkg-deb: building package 'psfex-dbgsym' in '../psfex-dbgsym_3.21.1-1_armhf.deb'. +dpkg-deb: building package 'psfex' in '../psfex_3.21.1-1_armhf.deb'. dpkg-genbuildinfo --build=binary -O../psfex_3.21.1-1_armhf.buildinfo dpkg-genchanges --build=binary -O../psfex_3.21.1-1_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -3831,12 +3870,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/22348/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/22348/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/15161 and its subdirectories -I: Current time: Mon May 8 18:30:55 -12 2023 -I: pbuilder-time-stamp: 1683613855 +I: removing directory /srv/workspace/pbuilder/22348 and its subdirectories +I: Current time: Tue May 9 20:37:29 +14 2023 +I: pbuilder-time-stamp: 1683614249