Diff of the two buildlogs: -- --- b1/build.log 2020-08-08 16:11:42.533833652 +0000 +++ b2/build.log 2020-08-08 16:12:10.852957281 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Aug 8 04:07:03 -12 2020 -I: pbuilder-time-stamp: 1596902823 +I: Current time: Sat Sep 11 12:34:43 +14 2021 +I: pbuilder-time-stamp: 1631313283 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -18,7 +18,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Fri Jan 25 22:38:49 2019 -12 +gpgv: Signature made Sun Jan 27 00:38:49 2019 +14 gpgv: using RSA key BAFC6C85F7CB143FEEB6FB157115AFD07710DCF7 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./swarp_2.38.0+dfsg-4.dsc @@ -33,138 +33,172 @@ dpkg-source: info: applying Fix-deadlock-segfault-when-running-with-many-overlapping-.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/16873/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/37279/tmp/hooks/D01_modify_environment starting +debug: Running on profitbricks-build16-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by 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/37279/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/37279/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.0.3(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=18' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='6a50d4d4363d45aca77467f76815a0d1' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='16873' - PS1='# ' - PS2='> ' + INVOCATION_ID=c43c187d8c564097a18c56cf97544df0 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=37279 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/tmp.26DcIwTnjc/pbuilderrc_tzww --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.26DcIwTnjc/b1 --logfile b1/build.log swarp_2.38.0+dfsg-4.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.26DcIwTnjc/pbuilderrc_m2nu --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.26DcIwTnjc/b2 --logfile b2/build.log swarp_2.38.0+dfsg-4.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux profitbricks-build12-i386 4.19.0-10-686-pae #1 SMP Debian 4.19.132-1 (2020-07-24) i686 GNU/Linux + Linux i-capture-the-hostname 4.19.0-10-amd64 #1 SMP Debian 4.19.132-1 (2020-07-24) x86_64 GNU/Linux I: ls -l /bin - total 5488 - -rwxr-xr-x 1 root root 1302248 Apr 17 2019 bash - -rwxr-xr-x 3 root root 38280 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 38280 Jul 10 2019 bzcat - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep - -rwxr-xr-x 3 root root 38280 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 17768 Jul 10 2019 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore - -rwxr-xr-x 1 root root 38692 Feb 28 2019 cat - -rwxr-xr-x 1 root root 75588 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 63268 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 75588 Feb 28 2019 chown - -rwxr-xr-x 1 root root 153732 Feb 28 2019 cp - -rwxr-xr-x 1 root root 132820 Jan 17 2019 dash - -rwxr-xr-x 1 root root 120676 Feb 28 2019 date - -rwxr-xr-x 1 root root 92040 Feb 28 2019 dd - -rwxr-xr-x 1 root root 100620 Feb 28 2019 df - -rwxr-xr-x 1 root root 149736 Feb 28 2019 dir - -rwxr-xr-x 1 root root 79412 Jan 9 2019 dmesg - lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname - -rwxr-xr-x 1 root root 34532 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 34532 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 67700 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 30112 Apr 22 07:38 fusermount - -rwxr-xr-x 1 root root 206392 Jan 7 2019 grep - -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip - -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe - -rwxr-xr-x 1 root root 100952 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 21916 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 79752 Feb 28 2019 ln - -rwxr-xr-x 1 root root 55400 Jul 26 2018 login - -rwxr-xr-x 1 root root 149736 Feb 28 2019 ls - -rwxr-xr-x 1 root root 112032 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 87972 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 79748 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 46916 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 42348 Jan 9 2019 more - -rwsr-xr-x 1 root root 50592 Jan 9 2019 mount - -rwxr-xr-x 1 root root 13724 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 157832 Feb 28 2019 mv - lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38660 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 46852 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 75588 Feb 28 2019 rm - -rwxr-xr-x 1 root root 42756 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 22276 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 7 20:26 sh -> dash - -rwxr-xr-x 1 root root 34532 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 79652 Feb 28 2019 stty - -rwsr-xr-x 1 root root 71072 Jan 9 2019 su - -rwxr-xr-x 1 root root 34564 Feb 28 2019 sync - -rwxr-xr-x 1 root root 504024 Apr 23 2019 tar - -rwxr-xr-x 1 root root 13860 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 104292 Feb 28 2019 touch - -rwxr-xr-x 1 root root 34532 Feb 28 2019 true - -rwxr-xr-x 1 root root 17768 Apr 22 07:38 ulockmgr_server - -rwsr-xr-x 1 root root 30108 Jan 9 2019 umount - -rwxr-xr-x 1 root root 34532 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 149736 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 34208 Jan 9 2019 wdctl - -rwxr-xr-x 1 root root 946 Jan 21 2019 which - lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat - -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp - -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff - -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep - -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep - -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce - -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep - -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless - -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore - -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew -I: user script /srv/workspace/pbuilder/16873/tmp/hooks/D02_print_environment finished + total 5476 + -rwxr-xr-x 1 root root 1302248 Apr 18 2019 bash + -rwxr-xr-x 3 root root 38280 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 38280 Jul 11 2019 bzcat + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep + -rwxr-xr-x 3 root root 38280 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 17768 Jul 11 2019 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore + -rwxr-xr-x 1 root root 38692 Mar 1 2019 cat + -rwxr-xr-x 1 root root 75588 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 63268 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 75588 Mar 1 2019 chown + -rwxr-xr-x 1 root root 153732 Mar 1 2019 cp + -rwxr-xr-x 1 root root 132820 Jan 18 2019 dash + -rwxr-xr-x 1 root root 120676 Mar 1 2019 date + -rwxr-xr-x 1 root root 92040 Mar 1 2019 dd + -rwxr-xr-x 1 root root 100620 Mar 1 2019 df + -rwxr-xr-x 1 root root 149736 Mar 1 2019 dir + -rwxr-xr-x 1 root root 79412 Jan 10 2019 dmesg + lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname + -rwxr-xr-x 1 root root 34532 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 34532 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 67700 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 30112 Apr 23 2020 fusermount + -rwxr-xr-x 1 root root 206392 Jan 8 2019 grep + -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip + -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe + -rwxr-xr-x 1 root root 100952 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 21916 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 79752 Mar 1 2019 ln + -rwxr-xr-x 1 root root 55400 Jul 27 2018 login + -rwxr-xr-x 1 root root 149736 Mar 1 2019 ls + -rwxr-xr-x 1 root root 112032 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 87972 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 79748 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 46916 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 42348 Jan 10 2019 more + -rwsr-xr-x 1 root root 50592 Jan 10 2019 mount + -rwxr-xr-x 1 root root 13724 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 157832 Mar 1 2019 mv + lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38660 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 46852 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 75588 Mar 1 2019 rm + -rwxr-xr-x 1 root root 42756 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 22276 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Sep 11 12:34 sh -> bash + lrwxrwxrwx 1 root root 4 Sep 11 04:47 sh.distrib -> dash + -rwxr-xr-x 1 root root 34532 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 79652 Mar 1 2019 stty + -rwsr-xr-x 1 root root 71072 Jan 10 2019 su + -rwxr-xr-x 1 root root 34564 Mar 1 2019 sync + -rwxr-xr-x 1 root root 504024 Apr 24 2019 tar + -rwxr-xr-x 1 root root 13860 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 104292 Mar 1 2019 touch + -rwxr-xr-x 1 root root 34532 Mar 1 2019 true + -rwxr-xr-x 1 root root 17768 Apr 23 2020 ulockmgr_server + -rwsr-xr-x 1 root root 30108 Jan 10 2019 umount + -rwxr-xr-x 1 root root 34532 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 149736 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34208 Jan 10 2019 wdctl + -rwxr-xr-x 1 root root 946 Jan 22 2019 which + lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat + -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp + -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff + -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep + -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep + -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce + -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep + -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless + -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore + -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew +I: user script /srv/workspace/pbuilder/37279/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -235,7 +269,7 @@ Get: 31 http://deb.debian.org/debian buster/main i386 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 32 http://deb.debian.org/debian buster/main i386 po-debconf all 1.0.21 [248 kB] Get: 33 http://deb.debian.org/debian buster/main i386 debhelper all 12.1.1 [1016 kB] -Fetched 19.4 MB in 7s (2845 kB/s) +Fetched 19.4 MB in 0s (79.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:i386. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19234 files and directories currently installed.) @@ -390,7 +424,7 @@ fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/swarp-2.38.0+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/swarp-2.38.0+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package swarp dpkg-buildpackage: info: source version 2.38.0+dfsg-4 dpkg-buildpackage: info: source distribution unstable @@ -525,7 +559,7 @@ config.status: executing depfiles commands configure: WARNING: unrecognized options: --disable-maintainer-mode dh_auto_build - make -j10 + make -j18 make[1]: Entering directory '/build/swarp-2.38.0+dfsg' make all-recursive make[2]: Entering directory '/build/swarp-2.38.0+dfsg' @@ -547,142 +581,8 @@ gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/swarp-2.38.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o fitsmisc.o fitsmisc.c gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/swarp-2.38.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o fitsread.o fitsread.c gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/swarp-2.38.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o fitstab.o fitstab.c -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=] - QMALLOC(buf, char, tabin->tabsize); - ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -fitsconv.c:114:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(key->naxisn, int, 1); - ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -fitsconv.c:120:47: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMEMCPY(ptr, key->ptr, char, key->nbytes); - ^ -fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ -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=] - QMALLOC(cleanup_filename, char *, CLEANUP_NFILES); - ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 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=] - QREALLOC(cleanup_filename, char *, cleanup_nfiles+CLEANUP_NFILES); - ^ -fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' - 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=] - QMALLOC(cleanup_filename[cleanup_nfiles], char, MAXCHARS); - ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 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=] - QREALLOC(cleanup_filename, char *, cleanup_nfiles); - ^ -fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -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=] - QCALLOC(buf, char, FBSIZE); - ^ -fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - 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=] - QMALLOC(buf, char, FBSIZE); - ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 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=] - QREALLOC(tab->headbuf, char, 80*(tab->headnblock*36+3)); - ^ -fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' - 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=] - QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); - ^ -fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' - sprintf(gstr, #ptr " (" #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 'unsigned int' [-Wformat=] - QMALLOC(buf, char, FBSIZE); - ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -fitshead.c:86:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QREALLOC(buf, char, FBSIZE*(i+1)); - ^ -fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -fitshead.c: In function 'readbasic_head': -fitshead.c:131:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(tab->naxisn, int, tab->naxis); - ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 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 'unsigned int' [-Wformat=] - QCALLOC(key, keystruct, 1); - ^ -fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - 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 'unsigned int' [-Wformat=] - QMALLOC(key->naxisn, int, key->naxis); - ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -fitshead.c: In function 'addkeywordto_head': -fitshead.c:586:56: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); - ^ -fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' - 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 'unsigned int' [-Wformat=] - QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); - ^ -fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' - 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 'unsigned int' [-Wformat=] - QMALLOC(key->ptr, char, key->nbytes); - ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 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 'unsigned int' [-Wformat=] - QMALLOC(*pbuf, char, tab->naxisn[0]); - ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ +gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/swarp-2.38.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o fitsutil.o fitsutil.c +gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/swarp-2.38.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -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 'unsigned int' [-Wformat=] @@ -742,6 +642,14 @@ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 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=] + QMALLOC(buf, char, tabin->tabsize); + ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 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 'unsigned int' [-Wformat=] QCALLOC(names, char *, tab->nkey); @@ -755,6 +663,18 @@ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +fitsconv.c:114:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(key->naxisn, int, 1); + ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +fitsconv.c:120:47: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMEMCPY(ptr, key->ptr, char, key->nbytes); + ^ +fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #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 'unsigned int' [-Wformat=] QCALLOC(key_col, int, nkeys); @@ -768,14 +688,6 @@ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 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=] - QREALLOC(tab->headbuf, char, (n+1)*FBSIZE); - ^ -fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ fitskey.c:786:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(buf, char, larray); ^ @@ -788,78 +700,88 @@ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 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 'unsigned int' [-Wformat=] - QCALLOC(tabout, tabstruct, 1); - ^ -fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - 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 'unsigned int' [-Wformat=] - QMEMCPY(tabin->naxisn, tabout->naxisn, int, (size_t)tabin->naxis); - ^ -fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ -fitscat.c:230:26: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - tabin->headnblock*FBSIZE); - ^ -fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' - 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 'unsigned int' [-Wformat=] - QMEMCPY(tabin->bodybuf, tabout->bodybuf, char, (size_t)tabin->tabsize); - ^ -fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ -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 'unsigned int' [-Wformat=] - QCALLOC(tab, tabstruct, 1); +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=] + QMALLOC(buf, char, FBSIZE); ^ -fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 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 'unsigned int' [-Wformat=] - QCALLOC(tab->headbuf, char, FBSIZE); +fitshead.c:86:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QREALLOC(buf, char, FBSIZE*(i+1)); ^ -fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' +fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' 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 'unsigned int' [-Wformat=] - QCALLOC(tab, tabstruct, 1); - ^ +In file included from fitscheck.c:38: +fitscheck.c: In function 'compute_bodysum': +fitshead.c: In function 'readbasic_head': +fitscheck.c:225:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(buf, char, FBSIZE); + ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 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 'unsigned int' [-Wformat=] - QCALLOC(tab, tabstruct, 1); +fitshead.c:131:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(tab->naxisn, int, tab->naxis); + ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 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=] + QMALLOC(buf, char, FBSIZE); ^ -fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 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 'unsigned int' [-Wformat=] - QCALLOC(cat, catstruct, ncat); - ^ +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=] + QREALLOC(tab->headbuf, char, 80*(tab->headnblock*36+3)); + ^ +fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' + 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=] + QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); + ^ +fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' + 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 'unsigned int' [-Wformat=] + QCALLOC(key, keystruct, 1); + ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 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 'unsigned int' [-Wformat=] - QMALLOC(tab->compress_buf, char, FBSIZE); - ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' +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=] + QREALLOC(tab->headbuf, char, (n+1)*FBSIZE); + ^ +fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' 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 'unsigned int' [-Wformat=] - QMALLOC(tab->compress_buf, char, FBSIZE); - ^ +fitshead.c:302:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(key->naxisn, int, key->naxis); + ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 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 'unsigned int' [-Wformat=] + QCALLOC(tabout, tabstruct, 1); + ^ +fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + 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 'unsigned int' [-Wformat=] + QMEMCPY(tabin->naxisn, tabout->naxisn, int, (size_t)tabin->naxis); + ^ +fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #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 'unsigned int' [-Wformat=] @@ -868,37 +790,63 @@ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 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 'unsigned int' [-Wformat=] - QMALLOC(tab->compress_buf, char, FBSIZE); - ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ +fitscat.c:230:26: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + tabin->headnblock*FBSIZE); + ^ +fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + ^~~~~~ fitstab.c:210:64: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QMEMCPY(tabin->naxisn, tabout->naxisn, int, tabin->naxis); ^ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' 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 'unsigned int' [-Wformat=] + QMEMCPY(tabin->bodybuf, tabout->bodybuf, char, (size_t)tabin->tabsize); + ^ +fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' + 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 'unsigned int' [-Wformat=] QMEMCPY(tabin->headbuf, tabout->headbuf, char, tabin->headnblock*FBSIZE); ^ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' sprintf(gstr, #ptrout " (" #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 'unsigned int' [-Wformat=] + QMALLOC(key->ptr, char, key->nbytes); + ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 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 'unsigned int' [-Wformat=] QMEMCPY(tabin->bodybuf, tabout->bodybuf, char, tabin->tabsize); ^ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ ^~~~~~ -fitsbody.c:758:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(tab->compress_buf, char, FBSIZE); - ^ +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 'unsigned int' [-Wformat=] + QCALLOC(tab, tabstruct, 1); + ^ +fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + 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 'unsigned int' [-Wformat=] + QMALLOC(*pbuf, char, tab->naxisn[0]); + ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 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 'unsigned int' [-Wformat=] + QCALLOC(tab->headbuf, char, FBSIZE); + ^ +fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + 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 'unsigned int' [-Wformat=] QCALLOC(tabout, tabstruct, 1); @@ -906,24 +854,99 @@ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +fitshead.c: In function 'addkeywordto_head': +fitscat.c: In function 'map_cat': +fitshead.c:586:56: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); + ^ +fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' + 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 'unsigned int' [-Wformat=] QMEMCPY(tabin->naxisn, tabout->naxisn, int, tabin->naxis); ^ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ ^~~~~~ +In file included from fitscleanup.c:39: +fitscleanup.c: In function 'add_cleanupfilename': +fitscat.c:323:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(tab, tabstruct, 1); + ^ +fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +fitscleanup.c:92:53: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(cleanup_filename, char *, CLEANUP_NFILES); + ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ fitstab.c:291:77: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QMEMCPY(tabin->headbuf, tabout->headbuf, char, tabin->headnblock*FBSIZE); ^ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' sprintf(gstr, #ptrout " (" #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=] + QREALLOC(cleanup_filename, char *, cleanup_nfiles+CLEANUP_NFILES); + ^ +fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +fitshead.c: In function 'removekeywordfrom_head': +fitscleanup.c:98:59: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(cleanup_filename[cleanup_nfiles], char, MAXCHARS); + ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +fitshead.c:617:58: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); + ^ +fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ fitstab.c:293:67: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QMEMCPY(tabin->bodybuf, tabout->bodybuf, char, tabin->tabsize); ^ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ ^~~~~~ +fitscat.c:342:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(tab, tabstruct, 1); + ^ +fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +In file included from fitswrite.c:39: +fitswrite.c: In function 'save_tab': +fitswrite.c:115:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(outbuf, char, (larrayout = tab->naxisn[0])); + ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 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=] + QREALLOC(cleanup_filename, char *, cleanup_nfiles); + ^ +fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' + 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 'unsigned int' [-Wformat=] + QCALLOC(cat, catstruct, ncat); + ^ +fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +fitswrite.c:133:60: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(inbuf, char, (larrayin = keytab->naxisn[0])); + ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #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 'unsigned int' [-Wformat=] QCALLOC(tab, tabstruct, 1); @@ -943,6 +966,19 @@ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ +fitswrite.c:192:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(buf, char, spoonful); + ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +fitswrite.c: In function 'init_writeobj': +fitswrite.c:295:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(*pbuf, char, tab->naxisn[0]); + ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 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 'unsigned int' [-Wformat=] QCALLOC(names, char *, cat->ntab); @@ -956,46 +992,44 @@ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 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=] - sprintf(str2, "%s %.65s", str2, str); - ^~~~~ -In file included from /usr/include/stdio.h:873, - from fitscat.c:34: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 148 bytes into a destination of size 82 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/swarp-2.38.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o fitsutil.o fitsutil.c -gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/swarp-2.38.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o fitswrite.o fitswrite.c -In file included from fitswrite.c:39: -fitswrite.c: In function 'save_tab': -fitswrite.c:115:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(outbuf, char, (larrayout = tab->naxisn[0])); - ^ +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 'unsigned int' [-Wformat=] + QMALLOC(tab->compress_buf, char, FBSIZE); + ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -fitswrite.c:133:60: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(inbuf, char, (larrayin = keytab->naxisn[0])); - ^ +fitsbody.c:578:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(tab->compress_buf, char, FBSIZE); + ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -fitswrite.c:192:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(buf, char, spoonful); - ^ +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 'unsigned int' [-Wformat=] + QMALLOC(tab->compress_buf, char, FBSIZE); + ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -fitswrite.c: In function 'init_writeobj': -fitswrite.c:295:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(*pbuf, char, tab->naxisn[0]); - ^ +fitsbody.c:758:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(tab->compress_buf, char, FBSIZE); + ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 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=] + sprintf(str2, "%s %.65s", str2, str); + ^~~~~ +In file included from /usr/include/stdio.h:873, + from fitscat.c:34: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 148 bytes into a destination of size 82 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fitsutil.c: In function 'fitswrite': fitsutil.c:558:28: warning: ''' directive writing 1 byte into a region of size between 0 and 80 [-Wformat-overflow=] sprintf(str, "'%s'", str2); @@ -1060,72 +1094,20 @@ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/swarp-2.38.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o main.o main.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/swarp-2.38.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o makeit.o makeit.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/swarp-2.38.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o misc.o misc.c -In file included from field.c:42: -field.c: In function 'load_field': -field.c:77:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(field,fieldstruct, 1); - ^ -define.h:116:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ - ^~~ -field.c:119:33: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QREALLOC(tab->naxisn, int, 2); - ^ +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/swarp-2.38.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o prefs.o prefs.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/swarp-2.38.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o projapprox.o projapprox.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/swarp-2.38.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o resample.o resample.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/swarp-2.38.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o threads.o threads.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/swarp-2.38.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o weight.o weight.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/swarp-2.38.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xml.o xml.c +In file included from header.c:40: +header.c: In function 'read_aschead': +header.c:123:60: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); + ^ define.h:136:21: note: in definition of macro 'QREALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -field.c: In function 'inherit_field': -field.c:203:32: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(field, fieldstruct, 1); - ^ -define.h:116:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ - ^~~ -In file included from data.c:42: -data.c: In function 'read_data': -data.c:90:52: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(convert_ytimeoutbuf, int, convert_width); - ^ -define.h:116:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ - ^~~ -data.c:91:54: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(convert_backupbuf, PIXTYPE, convert_width); - ^ -define.h:126:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ - ^~~ -field.c: In function 'init_field': -field.c:383:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(field,fieldstruct, 1); - ^ -define.h:116:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ - ^~~ -field.c:431:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(axis, int, ninput*naxis); - ^ -define.h:126:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ - ^~~ -field.c:444:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(scale, float, ninput); - ^ -define.h:126:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ - ^~~ -field.c:445:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(tab->naxisn, int, naxis); - ^ -define.h:126:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ - ^~~ -field.c:460:33: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(ctype[n], char, 16); - ^ -define.h:126:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ - ^~~ In file included from main.c:38: main.c: In function 'main': main.c:68:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -1140,32 +1122,6 @@ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -field.c:905:44: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(wcs->wcsprm, struct wcsprm, 1); - ^ -define.h:116:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ - ^~~ -In file included from coadd.c:43: -coadd.c: In function 'coadd_fields': -coadd.c:200:35: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(ybegbufline, int, ninput); - ^ -define.h:126:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ - ^~~ -coadd.c:201:35: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(yendbufline, int, ninput); - ^ -define.h:126:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ - ^~~ -coadd.c:228:48: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - ninput*(1+(ninput-1)/(8*sizeof(unsigned int)))); - ^ -define.h:116:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ - ^~~ In file included from back.c:42: back.c: In function 'make_back': back.c:121:35: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -1186,12 +1142,6 @@ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -coadd.c:360:57: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(multiibuf, FLAGTYPE, nbuflinesmax*multiwidth); - ^ -define.h:126:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ - ^~~ back.c:126:38: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(field->backline, PIXTYPE, w); /* current background line */ ^ @@ -1216,12 +1166,6 @@ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -coadd.c:361:58: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(multiwibuf, FLAGTYPE, nbuflinesmax*multiwidth); - ^ -define.h:126:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ - ^~~ back.c:134:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(wfield->back, float, nb); /* background map */ ^ @@ -1234,48 +1178,18 @@ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -coadd.c:365:55: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(multibuf, PIXTYPE, nbuflinesmax*multiwidth); - ^ -define.h:126:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ - ^~~ -coadd.c:366:61: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(multiobuf, unsigned int, nbuflinesmax*multiwidth); - ^ -define.h:126:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ - ^~~ back.c:172:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(bm->histo, int, bm->nlevels); ^ define.h:116:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -coadd.c:374:56: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(multiwbuf, PIXTYPE, nbuflinesmax*multiwidth); - ^ -define.h:126:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ - ^~~ back.c:180:50: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(wbm->histo, int, wbm->nlevels); ^ define.h:116:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -coadd.c:376:57: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(multinbuf, unsigned int, nbuflinesmax*outwidth); - ^ -define.h:126:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ - ^~~ -coadd.c:380:39: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(emptyibuf, FLAGTYPE, width); - ^ -define.h:116:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ - ^~~ back.c:200:38: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(buf, PIXTYPE, bufsize); /* pixel buffer */ ^ @@ -1288,93 +1202,43 @@ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -coadd.c:381:38: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(outiline, FLAGTYPE, width); - ^ -define.h:116:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ - ^~~ -coadd.c:385:37: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(emptybuf, PIXTYPE, width); - ^ -define.h:116:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ - ^~~ -coadd.c:386:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(outline, PIXTYPE, width); - ^ -define.h:116:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ - ^~~ back.c:242:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(bm->histo, int, bm->nlevels); ^ define.h:116:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -coadd.c:392:61: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(outibuf, FLAGTYPE, nbuflinesmax*(size_t)outwidth); - ^ -define.h:126:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ - ^~~ back.c:251:50: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(wbm->histo, int, wbm->nlevels); ^ define.h:116:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -coadd.c:393:62: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(outwibuf, FLAGTYPE, nbuflinesmax*(size_t)outwidth); - ^ -define.h:126:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ - ^~~ -coadd.c:397:59: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(outbuf, PIXTYPE, nbuflinesmax*(size_t)outwidth); - ^ -define.h:126:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ - ^~~ -coadd.c:398:60: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(outwbuf, PIXTYPE, nbuflinesmax*(size_t)outwidth); - ^ -define.h:126:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ - ^~~ back.c:313:40: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(ratio, float, wfield->nback); ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -coadd.c:399:62: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(coadd_pixstack, PIXTYPE, nbuflinesmax*coadd_nomax); - ^ -define.h:126:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ - ^~~ -coadd.c:400:63: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(coadd_pixfstack, PIXTYPE, nbuflinesmax*coadd_nomax); - ^ -define.h:126:21: note: in definition of macro 'QMALLOC' - sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ - ^~~ -coadd.c:402:38: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(cflag, unsigned int, ninput); - ^ +In file included from data.c:42: +data.c: In function 'read_data': +data.c:90:52: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(convert_ytimeoutbuf, int, convert_width); + ^ define.h:116:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -coadd.c:434:27: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(proc, int, nproc); - ^ +In file included from threads.c:43: +threads.c: In function 'threads_gate_init': +threads.c:65:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(gate, threads_gate_t, 1); + ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -coadd.c:435:35: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(thread, pthread_t, nproc); - ^ +data.c:91:54: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(convert_backupbuf, PIXTYPE, convert_width); + ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ @@ -1391,55 +1255,152 @@ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ +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=] + QMEMCPY(wcsin, wcs, wcsstruct, 1); + ^ +fits/fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + ^~~~~~ back.c:685:27: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(back2, float, np); ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ +fitswcs.c:70:59: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMEMCPY(wcsin->projp, wcs->projp, double, wcs->naxis*100); + ^ +fits/fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + ^~~~~~ back.c:686:28: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(sigma2, float, np); ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ +fitswcs.c:81:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(wcs->wcsprm, struct wcsprm, 1); + ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +fitswcs.c: In function 'create_wcs': +fitswcs.c:119:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(wcs, wcsstruct, 1); + ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +In file included from field.c:42: +field.c: In function 'load_field': +fitswcs.c:121:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(wcs->projp, double, naxis*100); + ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +field.c:77:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(field,fieldstruct, 1); + ^ +define.h:116:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ + ^~~ +fitswcs.c:142:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(wcs->wcsprm, struct wcsprm, 1); + ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ back.c: In function 'make_backspline': -coadd.c: In function 'chi_bias': back.c:806:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(dmap, float, field->nback); ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -coadd.c:767:26: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(bias, double, n); - ^ -define.h:126:21: note: in definition of macro 'QMALLOC' +field.c:119:33: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QREALLOC(tab->naxisn, int, 2); + ^ +define.h:136:21: note: in definition of macro 'QREALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ +fitswcs.c: In function 'init_wcs': +fitswcs.c:182:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(wcs->lin, struct linprm, 1); + ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ back.c:813:30: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(u, float, nbym1); /* temporary array */ ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -coadd.c: In function 'max_clique': -coadd.c:822:26: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(all, int, nnode); - ^ -define.h:126:21: note: in definition of macro 'QMALLOC' +fitswcs.c:183:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(wcs->lin->cdelt, double, naxis); + ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +In file included from projapprox.c:42: +projapprox.c: In function 'projapp_init': +projapprox.c:83:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(projapp, projappstruct, 1); + ^ +define.h:116:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ + ^~~ +fitswcs.c:184:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(wcs->lin->crpix, double, naxis); + ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +fitswcs.c:185:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(wcs->lin->pc, double, naxis*naxis); + ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +field.c: In function 'inherit_field': +field.c:203:32: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(field, fieldstruct, 1); + ^ +define.h:116:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ +fitswcs.c:190:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(wcs->cel, struct celprm, 1); + ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ back.c: In function 'backline': +fitswcs.c:194:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(wcs->prj, struct prjprm, 1); + ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ back.c:890:29: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(node, float, nbx); /* Interpolated background */ ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -coadd.c:823:30: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(compsub, int, nnode) - ^ +projapprox.c:141:54: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(projapp->projpos[d], double, npointstot); + ^ +define.h:126:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ + ^~~ +projapprox.c:149:52: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(projapp->projarea, double, npointstot); + ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ @@ -1455,80 +1416,105 @@ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -coadd.c: In function 'max_clique_recur': -coadd.c:867:26: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(new, int, nnode); - ^ +projapprox.c:214:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(projline, double, naxis*npointscx); + ^ +define.h:126:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ + ^~~ +projapprox.c:215:49: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(projappline, double, naxis*npointscx); + ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ +fitswcs.c: In function 'read_wcs': +field.c: In function 'init_field': +fitswcs.c:364:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(wcs, wcsstruct, 1); + ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +field.c:383:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(field,fieldstruct, 1); + ^ +define.h:116:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ + ^~~ +fitswcs.c:373:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(wcs->projp, double, naxis*100); + ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + ^~~ +In file included from makeit.c:43: +makeit.c: In function 'makeit': back.c: In function 'backrmsline': +makeit.c:107:30: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(next, int, ninfield); + ^ +define.h:116:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ + ^~~ back.c:1017:29: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(node, float, nbx); /* Interpolated background */ ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -coadd.c:934:45: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMEMCPY(*compsub, *best, int, *nbest); - ^ -define.h:147:20: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel " elements=%ld bytes) " \ - ^~~~~~ -back.c:1023:30: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(dnode, float, nbx); /* 2nd derivative along x */ - ^ +makeit.c:108:41: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(infield, fieldstruct *, nfield); + ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -back.c:1026:30: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(u, float, nbxm1); /* temporary array */ - ^ +field.c:431:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(axis, int, ninput*naxis); + ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -coadd.c: In function 'coadd_line': -coadd.c:1155:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(pixstack, PIXTYPE, coadd_nomax); - ^ +projapprox.c: In function 'projapp_dmap': +projapprox.c:327:27: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(u, double, nbxm1); /* temporary array */ + ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -coadd.c:1156:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(pixwstack, PIXTYPE, coadd_nomax); - ^ +makeit.c:109:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(inwfield, fieldstruct *, nfield); + ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -coadd.c:1157:48: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(pixstackbuf, PIXTYPE, coadd_nomax); - ^ +back.c:1023:30: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(dnode, float, nbx); /* 2nd derivative along x */ + ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -coadd.c:1158:51: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(pixostack, unsigned int, coadd_nomax); - ^ +projapprox.c:331:64: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(projapp->dprojpos2x[d], double, projapp->npointstot); + ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -In file included from makeit.c:43: -makeit.c: In function 'makeit': -makeit.c:107:30: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(next, int, ninfield); - ^ -define.h:116:21: note: in definition of macro 'QCALLOC' +field.c:444:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(scale, float, ninput); + ^ +define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -makeit.c:108:41: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(infield, fieldstruct *, nfield); - ^ +back.c:1026:30: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(u, float, nbxm1); /* temporary array */ + ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -makeit.c:109:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(inwfield, fieldstruct *, nfield); - ^ +field.c:445:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(tab->naxisn, int, naxis); + ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ @@ -1538,148 +1524,80 @@ define.h:136:21: note: in definition of macro 'QREALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -makeit.c:148:48: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QREALLOC(inwfield,fieldstruct *, nfield); - ^ -define.h:136:21: note: in definition of macro 'QREALLOC' - sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ - ^~~ -coadd.c: In function 'coadd_iload': -coadd.c:1834:45: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(lineibuf, FLAGTYPE, 2*field->width); - ^ +projapprox.c:365:62: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(projapp->dprojarea2x, double, projapp->npointstot); + ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -coadd.c: In function 'coadd_load': -coadd.c:2046:43: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(linebuf, PIXTYPE, 2*field->width); - ^ +field.c:460:33: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(ctype[n], char, 16); + ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -In file included from header.c:40: -header.c: In function 'read_aschead': -header.c:123:60: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); - ^ +makeit.c:148:48: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QREALLOC(inwfield,fieldstruct *, nfield); + ^ define.h:136:21: note: in definition of macro 'QREALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -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=] - QMEMCPY(wcsin, wcs, wcsstruct, 1); - ^ -fits/fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ -fitswcs.c:70:59: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMEMCPY(wcsin->projp, wcs->projp, double, wcs->naxis*100); - ^ -fits/fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' - sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - ^~~~~~ -fitswcs.c:81:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(wcs->wcsprm, struct wcsprm, 1); - ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -fitswcs.c: In function 'create_wcs': -fitswcs.c:119:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(wcs, wcsstruct, 1); - ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -fitswcs.c:121:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(wcs->projp, double, naxis*100); - ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ +projapprox.c:399:27: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(u, double, nbym1); /* temporary array */ + ^ +define.h:126:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -fitswcs.c:142:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] +fitswcs.c:436:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] QCALLOC(wcs->wcsprm, struct wcsprm, 1); ^ fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -In file included from interpolate.c:42: -interpolate.c: In function 'init_ikernel': -interpolate.c:436:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(ikernel, ikernelstruct, 1); - ^ +projapprox.c:403:64: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(projapp->dprojpos2y[d], double, projapp->npointstot); + ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -fitswcs.c: In function 'init_wcs': -fitswcs.c:182:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(wcs->lin, struct linprm, 1); - ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ +In file included from weight.c:42: +weight.c: In function 'load_weight': +weight.c:107:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(wfield,fieldstruct, 1); + ^ +define.h:116:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -interpolate.c:444:52: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(ikernel->buffer, PIXTYPE, ikernel->nlines); - ^ +projapprox.c:437:62: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(projapp->dprojarea2y, double, projapp->npointstot); + ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -fitswcs.c:183:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(wcs->lin->cdelt, double, naxis); - ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ +weight.c:142:35: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QREALLOC(tab->naxisn, int, 2); + ^ +define.h:136:21: note: in definition of macro 'QREALLOC' + sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -interpolate.c:445:52: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(ikernel->wbuffer,PIXTYPE, ikernel->nlines); - ^ +projapprox.c: In function 'projapp_line': +projapprox.c:553:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(node, double, nxnodes); /* Interpolated map */ + ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -fitswcs.c:184:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(wcs->lin->crpix, double, naxis); - ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -fitswcs.c:185:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(wcs->lin->pc, double, naxis*naxis); - ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -fitswcs.c:190:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(wcs->cel, struct celprm, 1); - ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -fitswcs.c:194:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(wcs->prj, struct prjprm, 1); +projapprox.c:555:37: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(anode, double, nxnodes); /* Interpolated map */ ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -fitswcs.c: In function 'read_wcs': -fitswcs.c:364:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(wcs, wcsstruct, 1); - ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - ^~~ -fitswcs.c:373:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(wcs->projp, double, naxis*100); - ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ +define.h:126:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -fitswcs.c:436:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(wcs->wcsprm, struct wcsprm, 1); - ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ +field.c:905:44: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(wcs->wcsprm, struct wcsprm, 1); + ^ +define.h:116:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ fitswcs.c: In function 'invert_wcs': fitswcs.c:815:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -1700,203 +1618,141 @@ fits/fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ ^~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/swarp-2.38.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o prefs.o prefs.c -makeit.c:81:35: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] - sprintf(prefs.sdate_start,"%04d-%02d-%02d", - ^~~~ -makeit.c:81:29: note: directive argument in the range [-2147483647, 2147483647] - sprintf(prefs.sdate_start,"%04d-%02d-%02d", - ^~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from makeit.c:38: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 36 bytes into a destination of size 12 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -makeit.c:274:34: warning: '%s' directive writing up to 511 bytes into a region of size 504 [-Wformat-overflow=] - sprintf(gstr, "Reading %s ...", inwfield[k]->filename); - ^~ -In file included from /usr/include/stdio.h:873, - from makeit.c:38: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 524 bytes into a destination of size 512 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -makeit.c:279:32: warning: '%s' directive writing up to 511 bytes into a region of size 504 [-Wformat-overflow=] - sprintf(gstr, "Reading %s", infield[k]->filename); - ^~ -In file included from /usr/include/stdio.h:873, - from makeit.c:38: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 9 and 520 bytes into a destination of size 512 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -makeit.c:283:35: warning: '%s' directive writing up to 511 bytes into a region of size 501 [-Wformat-overflow=] - sprintf(gstr, "Resampling %s ...", infield[k]->filename); - ^~ -In file included from /usr/include/stdio.h:873, - from makeit.c:38: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 527 bytes into a destination of size 512 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -makeit.c:290:43: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] - sprintf(infield[k]->sdate_end,"%04d-%02d-%02d", - ^~~~ -makeit.c:290:37: note: directive argument in the range [-2147483647, 2147483647] - sprintf(infield[k]->sdate_end,"%04d-%02d-%02d", - ^~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from makeit.c:38: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 36 bytes into a destination of size 12 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -makeit.c:355:33: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] - sprintf(prefs.sdate_end,"%04d-%02d-%02d", - ^~~~ -makeit.c:355:27: note: directive argument in the range [-2147483647, 2147483647] - sprintf(prefs.sdate_end,"%04d-%02d-%02d", - ^~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from makeit.c:38: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 36 bytes into a destination of size 12 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from prefs.c:57: -prefs.c: In function 'readprefs': -prefs.c:347:65: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(((char **)key[nkey].ptr)[i], char, MAXCHAR); - ^ +In file included from coadd.c:43: +coadd.c: In function 'coadd_fields': +coadd.c:200:35: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(ybegbufline, int, ninput); + ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -prefs.c: In function 'list_to_str': -prefs.c:448:33: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(listbuf, char, bufsize); - ^ +coadd.c:201:35: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(yendbufline, int, ninput); + ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -prefs.c:458:40: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QREALLOC(listbuf, char, bufsize); - ^ -define.h:136:21: note: in definition of macro 'QREALLOC' +coadd.c:228:48: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + ninput*(1+(ninput-1)/(8*sizeof(unsigned int)))); + ^ +define.h:116:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -prefs.c: In function 'useprefs': -prefs.c:595:54: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(prefs.inwfield_name[i], char, MAXCHAR); - ^ +coadd.c:360:57: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(multiibuf, FLAGTYPE, nbuflinesmax*multiwidth); + ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -prefs.c:616:56: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(prefs.inwfield_name[i], char, MAXCHAR); - ^ +coadd.c:361:58: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(multiwibuf, FLAGTYPE, nbuflinesmax*multiwidth); + ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -prefs.c:637:53: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(prefs.inwfield_name[i], char, MAXCHAR); - ^ +coadd.c:365:55: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(multibuf, PIXTYPE, nbuflinesmax*multiwidth); + ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -prefs.c:726:49: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(prefs.image_center[i], char, MAXCHAR); - ^ +coadd.c:366:61: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(multiobuf, unsigned int, nbuflinesmax*multiwidth); + ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/swarp-2.38.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o projapprox.o projapprox.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/swarp-2.38.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o resample.o resample.c -In file included from projapprox.c:42: -projapprox.c: In function 'projapp_init': -projapprox.c:83:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(projapp, projappstruct, 1); - ^ -define.h:116:21: note: in definition of macro 'QCALLOC' +coadd.c:374:56: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(multiwbuf, PIXTYPE, nbuflinesmax*multiwidth); + ^ +define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -projapprox.c:141:54: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(projapp->projpos[d], double, npointstot); - ^ +In file included from xml.c:39: +xml.c: In function 'init_xml': +xml.c:67:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(xmlstack, xmlstruct, next); + ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -projapprox.c:149:52: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(projapp->projarea, double, npointstot); - ^ +coadd.c:376:57: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(multinbuf, unsigned int, nbuflinesmax*outwidth); + ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -projapprox.c:214:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(projline, double, naxis*npointscx); - ^ -define.h:126:21: note: in definition of macro 'QMALLOC' +coadd.c:380:39: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(emptyibuf, FLAGTYPE, width); + ^ +define.h:116:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -projapprox.c:215:49: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(projappline, double, naxis*npointscx); - ^ -define.h:126:21: note: in definition of macro 'QMALLOC' +coadd.c:381:38: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(outiline, FLAGTYPE, width); + ^ +define.h:116:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -projapprox.c: In function 'projapp_dmap': -projapprox.c:327:27: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(u, double, nbxm1); /* temporary array */ - ^ -define.h:126:21: note: in definition of macro 'QMALLOC' +coadd.c:385:37: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(emptybuf, PIXTYPE, width); + ^ +define.h:116:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -projapprox.c:331:64: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(projapp->dprojpos2x[d], double, projapp->npointstot); - ^ +coadd.c:386:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(outline, PIXTYPE, width); + ^ +define.h:116:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ + ^~~ +coadd.c:392:61: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(outibuf, FLAGTYPE, nbuflinesmax*(size_t)outwidth); + ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -projapprox.c:365:62: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(projapp->dprojarea2x, double, projapp->npointstot); +coadd.c:393:62: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(outwibuf, FLAGTYPE, nbuflinesmax*(size_t)outwidth); ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -projapprox.c:399:27: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(u, double, nbym1); /* temporary array */ - ^ +coadd.c:397:59: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(outbuf, PIXTYPE, nbuflinesmax*(size_t)outwidth); + ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -projapprox.c:403:64: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(projapp->dprojpos2y[d], double, projapp->npointstot); - ^ +coadd.c:398:60: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(outwbuf, PIXTYPE, nbuflinesmax*(size_t)outwidth); + ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -projapprox.c:437:62: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(projapp->dprojarea2y, double, projapp->npointstot); +coadd.c:399:62: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(coadd_pixstack, PIXTYPE, nbuflinesmax*coadd_nomax); ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -projapprox.c: In function 'projapp_line': -projapprox.c:553:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(node, double, nxnodes); /* Interpolated map */ - ^ +coadd.c:400:63: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(coadd_pixfstack, PIXTYPE, nbuflinesmax*coadd_nomax); + ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -projapprox.c:555:37: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(anode, double, nxnodes); /* Interpolated map */ - ^ +coadd.c:402:38: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QCALLOC(cflag, unsigned int, ninput); + ^ +define.h:116:21: note: in definition of macro 'QCALLOC' + sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ + ^~~ +In file included from prefs.c:57: +prefs.c: In function 'readprefs': +prefs.c:347:65: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(((char **)key[nkey].ptr)[i], char, MAXCHAR); + ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ @@ -1908,12 +1764,32 @@ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ +coadd.c:434:27: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(proc, int, nproc); + ^ +define.h:126:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ + ^~~ resample.c:299:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(rawposp, double *, nlines); ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ +In file included from interpolate.c:42: +interpolate.c: In function 'init_ikernel': +interpolate.c:436:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(ikernel, ikernelstruct, 1); + ^ +define.h:126:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ + ^~~ +coadd.c:435:35: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(thread, pthread_t, nproc); + ^ +define.h:126:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ + ^~~ resample.c:302:40: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(outibuf, FLAGTYPE *, nlines); ^ @@ -1926,6 +1802,18 @@ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ +interpolate.c:444:52: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(ikernel->buffer, PIXTYPE, ikernel->nlines); + ^ +define.h:126:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ + ^~~ +interpolate.c:445:52: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(ikernel->wbuffer,PIXTYPE, ikernel->nlines); + ^ +define.h:126:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ + ^~~ resample.c:307:38: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(outbuf, PIXTYPE *, nlines) ^ @@ -1938,6 +1826,13 @@ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ +prefs.c: In function 'list_to_str': +prefs.c:448:33: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(listbuf, char, bufsize); + ^ +define.h:126:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ + ^~~ resample.c:310:35: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(rawbuf, double *, nlines); ^ @@ -1950,6 +1845,12 @@ define.h:116:21: note: in definition of macro 'QCALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ +prefs.c:458:40: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QREALLOC(listbuf, char, bufsize); + ^ +define.h:136:21: note: in definition of macro 'QREALLOC' + sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ + ^~~ resample.c:312:43: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(ikernel, ikernelstruct *, nlines); ^ @@ -1974,6 +1875,13 @@ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ +prefs.c: In function 'useprefs': +prefs.c:595:54: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(prefs.inwfield_name[i], char, MAXCHAR); + ^ +define.h:126:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ + ^~~ resample.c:320:48: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(oversampwibuf, FLAGTYPE *, nlines); ^ @@ -1986,6 +1894,12 @@ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ +prefs.c:616:56: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(prefs.inwfield_name[i], char, MAXCHAR); + ^ +define.h:126:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ + ^~~ resample.c:325:45: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(oversampwbuf, double *, nlines); ^ @@ -1998,6 +1912,12 @@ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ +prefs.c:637:53: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(prefs.inwfield_name[i], char, MAXCHAR); + ^ +define.h:126:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ + ^~~ resample.c:336:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(outibuf[l], FLAGTYPE, width) ^ @@ -2010,12 +1930,19 @@ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ +coadd.c: In function 'chi_bias': resample.c:341:40: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(outbuf[l], PIXTYPE, width) ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ +coadd.c:767:26: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(bias, double, n); + ^ +define.h:126:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ + ^~~ resample.c:342:41: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(outwbuf[l], PIXTYPE, width); ^ @@ -2028,24 +1955,43 @@ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ +prefs.c:726:49: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(prefs.image_center[i], char, MAXCHAR); + ^ +define.h:126:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ + ^~~ resample.c:350:50: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(oversampwibuf[l], FLAGTYPE, width); ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ +coadd.c: In function 'max_clique': resample.c:354:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(oversampbuf[l], double, width) ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ +coadd.c:822:26: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(all, int, nnode); + ^ +define.h:126:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ + ^~~ resample.c:355:47: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(oversampwbuf[l], double, width); ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ +coadd.c:823:30: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(compsub, int, nnode) + ^ +define.h:126:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ + ^~~ resample.c:357:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(oversampnbuf[l], int, width); ^ @@ -2058,12 +2004,19 @@ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ +coadd.c: In function 'max_clique_recur': resample.c:362:43: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(rawbufarea[l], double, width) ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ +coadd.c:867:26: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(new, int, nnode); + ^ +define.h:126:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ + ^~~ resample.c:363:38: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(rawposp[l], double, naxis); ^ @@ -2088,45 +2041,140 @@ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ +coadd.c:934:45: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMEMCPY(*compsub, *best, int, *nbest); + ^ +define.h:147:20: note: in definition of macro 'QMEMCPY' + sprintf(gstr, #ptrout " (" #nel " elements=%ld bytes) " \ + ^~~~~~ resample.c:381:35: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] QMALLOC(thread, pthread_t, nproc); ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/swarp-2.38.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o threads.o threads.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/swarp-2.38.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o weight.o weight.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/swarp-2.38.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xml.o xml.c -In file included from threads.c:43: -threads.c: In function 'threads_gate_init': -threads.c:65:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(gate, threads_gate_t, 1); - ^ +coadd.c: In function 'coadd_line': +coadd.c:1155:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(pixstack, PIXTYPE, coadd_nomax); + ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -In file included from weight.c:42: -weight.c: In function 'load_weight': -weight.c:107:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QCALLOC(wfield,fieldstruct, 1); - ^ -define.h:116:21: note: in definition of macro 'QCALLOC' +coadd.c:1156:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(pixwstack, PIXTYPE, coadd_nomax); + ^ +define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -weight.c:142:35: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QREALLOC(tab->naxisn, int, 2); - ^ -define.h:136:21: note: in definition of macro 'QREALLOC' +coadd.c:1157:48: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(pixstackbuf, PIXTYPE, coadd_nomax); + ^ +define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ -In file included from xml.c:39: -xml.c: In function 'init_xml': -xml.c:67:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - QMALLOC(xmlstack, xmlstruct, next); - ^ +coadd.c:1158:51: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(pixostack, unsigned int, coadd_nomax); + ^ +define.h:126:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ + ^~~ +coadd.c: In function 'coadd_iload': +coadd.c:1834:45: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(lineibuf, FLAGTYPE, 2*field->width); + ^ +define.h:126:21: note: in definition of macro 'QMALLOC' + sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ + ^~~ +coadd.c: In function 'coadd_load': +coadd.c:2046:43: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + QMALLOC(linebuf, PIXTYPE, 2*field->width); + ^ define.h:126:21: note: in definition of macro 'QMALLOC' sprintf(gstr, #ptr " (" #nel " elements=%ld bytes) " \ ^~~ +makeit.c:81:35: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] + sprintf(prefs.sdate_start,"%04d-%02d-%02d", + ^~~~ +makeit.c:81:29: note: directive argument in the range [-2147483647, 2147483647] + sprintf(prefs.sdate_start,"%04d-%02d-%02d", + ^~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from makeit.c:38: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 36 bytes into a destination of size 12 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +makeit.c:274:34: warning: '%s' directive writing up to 511 bytes into a region of size 504 [-Wformat-overflow=] + sprintf(gstr, "Reading %s ...", inwfield[k]->filename); + ^~ +In file included from /usr/include/stdio.h:873, + from makeit.c:38: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 524 bytes into a destination of size 512 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +makeit.c:279:32: warning: '%s' directive writing up to 511 bytes into a region of size 504 [-Wformat-overflow=] + sprintf(gstr, "Reading %s", infield[k]->filename); + ^~ +In file included from /usr/include/stdio.h:873, + from makeit.c:38: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 9 and 520 bytes into a destination of size 512 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +makeit.c:283:35: warning: '%s' directive writing up to 511 bytes into a region of size 501 [-Wformat-overflow=] + sprintf(gstr, "Resampling %s ...", infield[k]->filename); + ^~ +In file included from /usr/include/stdio.h:873, + from makeit.c:38: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 527 bytes into a destination of size 512 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +makeit.c:290:43: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] + sprintf(infield[k]->sdate_end,"%04d-%02d-%02d", + ^~~~ +makeit.c:290:37: note: directive argument in the range [-2147483647, 2147483647] + sprintf(infield[k]->sdate_end,"%04d-%02d-%02d", + ^~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from makeit.c:38: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 36 bytes into a destination of size 12 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +makeit.c:355:33: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] + sprintf(prefs.sdate_end,"%04d-%02d-%02d", + ^~~~ +makeit.c:355:27: note: directive argument in the range [-2147483647, 2147483647] + sprintf(prefs.sdate_end,"%04d-%02d-%02d", + ^~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from makeit.c:38: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 36 bytes into a destination of size 12 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xml.c: In function 'write_xml_meta': +xml.c:267:35: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] + sprintf(prefs.sdate_end,"%04d-%02d-%02d", + ^~~~ +xml.c:267:29: note: directive argument in the range [-2147483647, 2147483647] + sprintf(prefs.sdate_end,"%04d-%02d-%02d", + ^~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from xml.c:34: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 36 bytes into a destination of size 12 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resample.c:143:27: warning: '%s' directive writing up to 511 bytes into a region of size between 0 and 511 [-Wformat-overflow=] sprintf(filename, "%s/%s%s", prefs.resampdir_name, filename2, ^~ ~~~~~~~~~ @@ -2167,20 +2215,6 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xml.c: In function 'write_xml_meta': -xml.c:267:35: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] - sprintf(prefs.sdate_end,"%04d-%02d-%02d", - ^~~~ -xml.c:267:29: note: directive argument in the range [-2147483647, 2147483647] - sprintf(prefs.sdate_end,"%04d-%02d-%02d", - ^~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from xml.c:34: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 36 bytes into a destination of size 12 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -D_REENTRANT -g -O2 -ffile-prefix-map=/build/swarp-2.38.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o swarp back.o coadd.o data.o field.o fitswcs.o header.o interpolate.o main.o makeit.o misc.o prefs.o projapprox.o resample.o threads.o weight.o xml.o ./fits/libfits.a ./wcs/libwcs_c.a -lpthread -lm make[4]: Leaving directory '/build/swarp-2.38.0+dfsg/src' make[3]: Leaving directory '/build/swarp-2.38.0+dfsg/src' @@ -2189,7 +2223,7 @@ make[2]: Leaving directory '/build/swarp-2.38.0+dfsg' make[1]: Leaving directory '/build/swarp-2.38.0+dfsg' dh_auto_test - make -j10 check VERBOSE=1 + make -j18 check VERBOSE=1 make[1]: Entering directory '/build/swarp-2.38.0+dfsg' Making check in man make[2]: Entering directory '/build/swarp-2.38.0+dfsg/man' @@ -2220,7 +2254,7 @@ debian/rules override_dh_auto_install make[1]: Entering directory '/build/swarp-2.38.0+dfsg' dh_auto_install - make -j10 install DESTDIR=/build/swarp-2.38.0\+dfsg/debian/swarp AM_UPDATE_INFO_DIR=no + make -j18 install DESTDIR=/build/swarp-2.38.0\+dfsg/debian/swarp AM_UPDATE_INFO_DIR=no make[2]: Entering directory '/build/swarp-2.38.0+dfsg' Making install in man make[3]: Entering directory '/build/swarp-2.38.0+dfsg/man' @@ -2294,12 +2328,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/37279/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/37279/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/16873 and its subdirectories -I: Current time: Sat Aug 8 04:11:42 -12 2020 -I: pbuilder-time-stamp: 1596903102 +I: removing directory /srv/workspace/pbuilder/37279 and its subdirectories +I: Current time: Sat Sep 11 12:35:10 +14 2021 +I: pbuilder-time-stamp: 1631313310