Diff of the two buildlogs: -- --- b1/build.log 2023-08-03 16:00:38.529092231 +0000 +++ b2/build.log 2023-08-03 16:02:41.780984167 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Sep 4 10:22:24 -12 2024 -I: pbuilder-time-stamp: 1725488544 +I: Current time: Fri Aug 4 06:00:41 +14 2023 +I: pbuilder-time-stamp: 1691078441 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +17,8 @@ I: copying [./psfex_3.17.1+dfsg-6.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.Dr01x5v2/trustedkeys.kbx': General error -gpgv: Signature made Sun Aug 2 02:22:38 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.ZGUrFzEP/trustedkeys.kbx': General error +gpgv: Signature made Mon Aug 3 04:22:38 2020 +14 gpgv: using RSA key BAFC6C85F7CB143FEEB6FB157115AFD07710DCF7 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./psfex_3.17.1+dfsg-6.dsc @@ -34,135 +34,166 @@ dpkg-source: info: applying Use-plplot-instead-of-plplotd.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1247286/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1268165/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Aug 4 06:00 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/1268165/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1268165/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=16 ' - DISTRIBUTION='bullseye' - HOME='/root' - HOST_ARCH='amd64' + 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]="1" [2]="4" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=15 ' + DIRSTACK=() + DISTRIBUTION=bullseye + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='74314e87f22149eba0072645bf8026b0' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='1247286' - PS1='# ' - PS2='> ' + INVOCATION_ID=4287eca269c84c74abf6b37e6dd388b4 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-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=1268165 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.SaXkedtV/pbuilderrc_A5qk --distribution bullseye --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.SaXkedtV/b1 --logfile b1/build.log psfex_3.17.1+dfsg-6.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.SaXkedtV/pbuilderrc_6Asn --distribution bullseye --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.SaXkedtV/b2 --logfile b2/build.log psfex_3.17.1+dfsg-6.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos5-amd64 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-2 (2023-07-27) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-2 (2023-07-27) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1234376 Mar 27 2022 bash - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 18424 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 43936 Sep 23 2020 cat - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chgrp - -rwxr-xr-x 1 root root 64448 Sep 23 2020 chmod - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chown - -rwxr-xr-x 1 root root 151168 Sep 23 2020 cp - -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash - -rwxr-xr-x 1 root root 113664 Sep 23 2020 date - -rwxr-xr-x 1 root root 80968 Sep 23 2020 dd - -rwxr-xr-x 1 root root 93936 Sep 23 2020 df - -rwxr-xr-x 1 root root 147176 Sep 23 2020 dir - -rwxr-xr-x 1 root root 84440 Jan 20 2022 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 39712 Sep 23 2020 echo - -rwxr-xr-x 1 root root 28 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 39680 Sep 23 2020 false - -rwxr-xr-x 1 root root 28 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 69032 Jan 20 2022 findmnt - -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 203072 Jan 24 2023 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 98048 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22600 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 72840 Sep 23 2020 ln - -rwxr-xr-x 1 root root 56952 Feb 7 2020 login - -rwxr-xr-x 1 root root 147176 Sep 23 2020 ls - -rwxr-xr-x 1 root root 149736 Jan 20 2022 lsblk - -rwxr-xr-x 1 root root 85184 Sep 23 2020 mkdir - -rwxr-xr-x 1 root root 76896 Sep 23 2020 mknod - -rwxr-xr-x 1 root root 48064 Sep 23 2020 mktemp - -rwxr-xr-x 1 root root 59632 Jan 20 2022 more - -rwsr-xr-x 1 root root 55528 Jan 20 2022 mount - -rwxr-xr-x 1 root root 18664 Jan 20 2022 mountpoint - -rwxr-xr-x 1 root root 147080 Sep 23 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Dec 16 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43872 Sep 23 2020 pwd - lrwxrwxrwx 1 root root 4 Mar 27 2022 rbash -> bash - -rwxr-xr-x 1 root root 52032 Sep 23 2020 readlink - -rwxr-xr-x 1 root root 72704 Sep 23 2020 rm - -rwxr-xr-x 1 root root 52032 Sep 23 2020 rmdir - -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 8 03:47 sh -> dash - -rwxr-xr-x 1 root root 43808 Sep 23 2020 sleep - -rwxr-xr-x 1 root root 84928 Sep 23 2020 stty - -rwsr-xr-x 1 root root 71912 Jan 20 2022 su - -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync - -rwxr-xr-x 1 root root 531928 Feb 16 2021 tar - -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 101408 Sep 23 2020 touch - -rwxr-xr-x 1 root root 39680 Sep 23 2020 true - -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 35040 Jan 20 2022 umount - -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir - -rwxr-xr-x 1 root root 63744 Jan 20 2022 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 5898 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8049 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/1247286/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1234376 Mar 28 2022 bash + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 18424 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 43936 Sep 24 2020 cat + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp + -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown + -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp + -rwxr-xr-x 1 root root 125560 Dec 11 2020 dash + -rwxr-xr-x 1 root root 113664 Sep 24 2020 date + -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd + -rwxr-xr-x 1 root root 93936 Sep 24 2020 df + -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir + -rwxr-xr-x 1 root root 84440 Jan 21 2022 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 39712 Sep 24 2020 echo + -rwxr-xr-x 1 root root 28 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 39680 Sep 24 2020 false + -rwxr-xr-x 1 root root 28 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 69032 Jan 21 2022 findmnt + -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 203072 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 98048 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22600 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln + -rwxr-xr-x 1 root root 56952 Feb 8 2020 login + -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls + -rwxr-xr-x 1 root root 149736 Jan 21 2022 lsblk + -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir + -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod + -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp + -rwxr-xr-x 1 root root 59632 Jan 21 2022 more + -rwsr-xr-x 1 root root 55528 Jan 21 2022 mount + -rwxr-xr-x 1 root root 18664 Jan 21 2022 mountpoint + -rwxr-xr-x 1 root root 147080 Sep 24 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Dec 17 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43872 Sep 24 2020 pwd + lrwxrwxrwx 1 root root 4 Mar 28 2022 rbash -> bash + -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink + -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm + -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir + -rwxr-xr-x 1 root root 27472 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 9 Aug 4 06:00 sh -> /bin/bash + -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep + -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty + -rwsr-xr-x 1 root root 71912 Jan 21 2022 su + -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync + -rwxr-xr-x 1 root root 531928 Feb 17 2021 tar + -rwxr-xr-x 1 root root 14456 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch + -rwxr-xr-x 1 root root 39680 Sep 24 2020 true + -rwxr-xr-x 1 root root 14328 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 35040 Jan 21 2022 umount + -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir + -rwxr-xr-x 1 root root 63744 Jan 21 2022 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 5898 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8049 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/1268165/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -443,7 +474,7 @@ Get: 235 http://deb.debian.org/debian bullseye/main amd64 libshp-dev amd64 1.5.0-2 [49.5 kB] Get: 236 http://deb.debian.org/debian bullseye/main amd64 libplplot-dev amd64 5.15.0+dfsg-19 [244 kB] Get: 237 http://deb.debian.org/debian bullseye/main amd64 pkg-config amd64 0.29.2-1 [65.1 kB] -Fetched 161 MB in 6s (28.4 MB/s) +Fetched 161 MB in 3s (46.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libapparmor1:amd64. (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 ... 19707 files and directories currently installed.) @@ -1429,7 +1460,11 @@ fakeroot is already the newest version (1.25.3-1.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/psfex-3.17.1+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../psfex_3.17.1+dfsg-6_source.changes +I: user script /srv/workspace/pbuilder/1268165/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bullseye +I: user script /srv/workspace/pbuilder/1268165/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/psfex-3.17.1+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../psfex_3.17.1+dfsg-6_source.changes dpkg-buildpackage: info: source package psfex dpkg-buildpackage: info: source version 3.17.1+dfsg-6 dpkg-buildpackage: info: source distribution unstable @@ -1629,7 +1664,7 @@ config.status: executing libtool commands make[1]: Leaving directory '/build/psfex-3.17.1+dfsg' dh_auto_build - make -j16 + make -j15 make[1]: Entering directory '/build/psfex-3.17.1+dfsg' make all-recursive make[2]: Entering directory '/build/psfex-3.17.1+dfsg' @@ -1653,84 +1688,55 @@ x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o fitstab.o fitstab.c x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o fitsutil.o fitsutil.c x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o fitswrite.o fitswrite.c -In file included from fitscheck.c:38: -fitscheck.c: In function 'compute_bodysum': -fitscheck.c:225:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 225 | QCALLOC(buf, char, FBSIZE); - | ^ -fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -fitscheck.c:244:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 244 | QMALLOC(buf, char, FBSIZE); - | ^ +In file included from fitsbody.c:43: +fitsbody.c: In function 'read_body': +fitsbody.c:537:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 537 | QMALLOC(tab->compress_buf, char, FBSIZE); + | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitscheck.c: In function 'write_checksum': -fitscheck.c:275:57: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 275 | QREALLOC(tab->headbuf, char, 80*(tab->headnblock*36+3)); - | ^ -fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' - 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -fitscheck.c:286:54: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 286 | QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); - | ^ -fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' - 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ +fitsbody.c:587:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 587 | QMALLOC(tab->compress_buf, char, FBSIZE); + | ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | 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 'long unsigned int' [-Wformat=] - 68 | QMALLOC(buf, char, FBSIZE); - | ^ +fitsbody.c: In function 'read_ibody': +fitsbody.c:717:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 717 | QMALLOC(tab->compress_buf, char, FBSIZE); + | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | 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 'long unsigned int' [-Wformat=] - 86 | QREALLOC(buf, char, FBSIZE*(i+1)); - | ^ -fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' - 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ +fitsbody.c:767:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 767 | QMALLOC(tab->compress_buf, char, FBSIZE); + | ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ In file included from fitsconv.c:38: fitsconv.c: In function 'asc2bin_tab': -In file included from fitskey.c:38: -fitskey.c: In function 'copy_key': fitsconv.c:81:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 81 | QMALLOC(buf, char, tabin->tabsize); | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +In file included from fitskey.c:38: +fitskey.c: In function 'copy_key': fitskey.c:137:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 137 | QCALLOC(keyout, keystruct, 1); | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -In file included from fitscleanup.c:39: -fitscleanup.c: In function 'add_cleanupfilename': -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 'long unsigned int' [-Wformat=] - 131 | QMALLOC(tab->naxisn, int, tab->naxis); - | ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ fitskey.c:141:61: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 141 | QMEMCPY(keyin->naxisn, keyout->naxisn, int, keyin->naxis); | ^ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ -fitscleanup.c:92:53: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 92 | QMALLOC(cleanup_filename, char *, CLEANUP_NFILES); - | ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | 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 'long unsigned int' [-Wformat=] 114 | QMALLOC(key->naxisn, int, 1); | ^ @@ -1738,37 +1744,18 @@ 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitskey.c: In function 'new_key': -fitscleanup.c:96:69: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 96 | QREALLOC(cleanup_filename, char *, cleanup_nfiles+CLEANUP_NFILES); - | ^ -fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' - 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ fitskey.c:196:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 196 | QCALLOC(key, keystruct, 1); | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitscleanup.c:98:59: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 98 | QMALLOC(cleanup_filename[cleanup_nfiles], char, MAXCHARS); - | ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | 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 'long unsigned int' [-Wformat=] 120 | QMEMCPY(ptr, key->ptr, char, key->nbytes); | ^ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ -fitscleanup.c: In function 'remove_cleanupfilename': -fitscleanup.c:136:60: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 136 | QREALLOC(cleanup_filename, char *, cleanup_nfiles); - | ^ -fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' - 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ fitskey.c: In function 'read_key': fitskey.c:251:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 251 | QMALLOC(buf, char, larray); @@ -1776,40 +1763,13 @@ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -In file included from fitsread.c:38: -fitsread.c: In function 'init_readobj': -fitsread.c:137:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 137 | QMALLOC(key->ptr, char, key->nbytes); - | ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ fitskey.c:257:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 257 | QMALLOC(ptr, char, size*narray); | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitshead.c: In function 'readbintabparam_head': -fitshead.c:236:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 236 | QCALLOC(key, keystruct, 1); - | ^ -fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -fitsread.c:151:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 151 | QMALLOC(*pbuf, char, tab->naxisn[0]); - | ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ fitskey.c: In function 'read_keys': -fitshead.c:302:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 302 | QMALLOC(key->naxisn, int, key->naxis); - | ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ fitskey.c:335:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 335 | QMALLOC(keys, keystruct *, nkeys); | ^ @@ -1834,6 +1794,44 @@ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +fitskey.c: In function 'keys_list': +fitskey.c:525:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 525 | QCALLOC(names, char *, tab->nkey); + | ^ +fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +fitskey.c:528:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 528 | QCALLOC(names[i], char, MAXCHARS); + | ^ +fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +fitskey.c: In function 'show_keys': +fitskey.c:658:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 658 | QCALLOC(key_col, int, nkeys); + | ^ +fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +fitskey.c:672:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 672 | QMALLOC(keys, keystruct *, nkeys); + | ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | 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 'long unsigned int' [-Wformat=] + 786 | QMALLOC(buf, char, larray); + | ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +fitskey.c:789:34: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 789 | QMALLOC(rfield, char, maxnbytes); + | ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | 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 'long unsigned int' [-Wformat=] @@ -1849,110 +1847,51 @@ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -In file included from fitswrite.c:39: -fitswrite.c: In function 'save_tab': -fitshead.c: In function 'addkeywordto_head': fitscat.c:227:71: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 227 | QMEMCPY(tabin->naxisn, tabout->naxisn, int, (size_t)tabin->naxis); | ^ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ -fitswrite.c:115:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 115 | QMALLOC(outbuf, char, (larrayout = tab->naxisn[0])); - | ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -fitshead.c:586:56: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 586 | QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); - | ^ -fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' - 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -fitskey.c: In function 'keys_list': fitscat.c:230:26: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 230 | tabin->headnblock*FBSIZE); | ^ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ -In file included from fitstab.c:38: -fitstab.c: In function 'copy_tab': -fitswrite.c:133:60: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 133 | QMALLOC(inbuf, char, (larrayin = keytab->naxisn[0])); - | ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -fitskey.c:525:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 525 | QCALLOC(names, char *, tab->nkey); - | ^ -fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -fitstab.c:207:34: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 207 | QCALLOC(tabout, tabstruct, 1); - | ^ -fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -fitshead.c: In function 'removekeywordfrom_head': fitscat.c:232:76: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 232 | QMEMCPY(tabin->bodybuf, tabout->bodybuf, char, (size_t)tabin->tabsize); | ^ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' 160 | 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 'long unsigned int' [-Wformat=] - 210 | QMEMCPY(tabin->naxisn, tabout->naxisn, int, tabin->naxis); - | ^ -fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' - 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - | ^~~~~~ -fitshead.c:617:58: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 617 | QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); - | ^ -fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' - 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ fitscat.c: In function 'init_cat': -fitstab.c:212:79: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 212 | QMEMCPY(tabin->headbuf, tabout->headbuf, char, tabin->headnblock*FBSIZE); - | ^ -fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' - 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - | ^~~~~~ fitscat.c:281:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 281 | QCALLOC(tab, tabstruct, 1); | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | 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 'long unsigned int' [-Wformat=] - 192 | QMALLOC(buf, char, spoonful); - | ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ +In file included from fitstab.c:38: +fitstab.c: In function 'copy_tab': fitscat.c:290:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 290 | QCALLOC(tab->headbuf, char, FBSIZE); | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitstab.c:214:69: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 214 | QMEMCPY(tabin->bodybuf, tabout->bodybuf, char, tabin->tabsize); - | ^ -fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' - 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - | ^~~~~~ -fitskey.c:528:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 528 | QCALLOC(names[i], char, MAXCHARS); - | ^ +fitstab.c:207:34: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 207 | QCALLOC(tabout, tabstruct, 1); + | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +fitstab.c:210:64: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 210 | QMEMCPY(tabin->naxisn, tabout->naxisn, int, tabin->naxis); + | ^ +fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' + 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + | ^~~~~~ fitscat.c: In function 'map_cat': fitscat.c:323:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 323 | QCALLOC(tab, tabstruct, 1); @@ -1960,27 +1899,24 @@ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitstab.c: In function 'copy_tab_fromptr': -fitstab.c:286:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 286 | QCALLOC(tabout, tabstruct, 1); - | ^ -fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -fitswrite.c: In function 'init_writeobj': fitscat.c:342:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 342 | QCALLOC(tab, tabstruct, 1); | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitswrite.c:295:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 295 | QMALLOC(*pbuf, char, tab->naxisn[0]); - | ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -fitskey.c: In function 'show_keys': +fitstab.c:212:79: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 212 | QMEMCPY(tabin->headbuf, tabout->headbuf, char, tabin->headnblock*FBSIZE); + | ^ +fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' + 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + | ^~~~~~ +fitstab.c:214:69: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 214 | QMEMCPY(tabin->bodybuf, tabout->bodybuf, char, tabin->tabsize); + | ^ +fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' + 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + | ^~~~~~ fitscat.c: In function 'new_cat': fitscat.c:380:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 380 | QCALLOC(cat, catstruct, ncat); @@ -1988,9 +1924,10 @@ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitskey.c:658:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 658 | QCALLOC(key_col, int, nkeys); - | ^ +fitstab.c: In function 'copy_tab_fromptr': +fitstab.c:286:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 286 | QCALLOC(tabout, tabstruct, 1); + | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ @@ -2006,12 +1943,6 @@ fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ -fitskey.c:672:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 672 | QMALLOC(keys, keystruct *, nkeys); - | ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | 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 'long unsigned int' [-Wformat=] 293 | QMEMCPY(tabin->bodybuf, tabout->bodybuf, char, tabin->tabsize); | ^ @@ -2019,24 +1950,12 @@ 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ fitstab.c: In function 'new_tab': -fitskey.c:786:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 786 | QMALLOC(buf, char, larray); - | ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ fitstab.c:444:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 444 | QCALLOC(tab, tabstruct, 1); | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitskey.c:789:34: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 789 | QMALLOC(rfield, char, maxnbytes); - | ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ fitstab.c:448:39: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 448 | QCALLOC(tab->naxisn, int, tab->naxis); | ^ @@ -2049,37 +1968,24 @@ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -In file included from fitsbody.c:43: -fitsbody.c: In function 'read_body': -fitsbody.c:537:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 537 | QMALLOC(tab->compress_buf, char, FBSIZE); - | ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -fitsbody.c:587:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 587 | QMALLOC(tab->compress_buf, char, FBSIZE); - | ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ +In file included from fitscheck.c:38: +fitscheck.c: In function 'compute_bodysum': +fitscheck.c:225:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 225 | QCALLOC(buf, char, FBSIZE); + | ^ +fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ fitstab.c: In function 'tabs_list': -fitsbody.c: In function 'read_ibody': -fitsbody.c:717:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 717 | QMALLOC(tab->compress_buf, char, FBSIZE); - | ^ -fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ fitstab.c:706:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 706 | QCALLOC(names, char *, cat->ntab); | ^ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitsbody.c:767:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 767 | QMALLOC(tab->compress_buf, char, FBSIZE); - | ^ +fitscheck.c:244:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 244 | QMALLOC(buf, char, FBSIZE); + | ^ fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ @@ -2089,6 +1995,135 @@ fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +fitscheck.c: In function 'write_checksum': +fitscheck.c:275:57: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 275 | QREALLOC(tab->headbuf, char, 80*(tab->headnblock*36+3)); + | ^ +fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' + 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +fitscheck.c:286:54: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 286 | QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); + | ^ +fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' + 149 | sprintf(gstr, #ptr " (" #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 'long unsigned int' [-Wformat=] + 92 | QMALLOC(cleanup_filename, char *, CLEANUP_NFILES); + | ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +fitscleanup.c:96:69: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 96 | QREALLOC(cleanup_filename, char *, cleanup_nfiles+CLEANUP_NFILES); + | ^ +fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' + 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +fitscleanup.c:98:59: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 98 | QMALLOC(cleanup_filename[cleanup_nfiles], char, MAXCHARS); + | ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +fitscleanup.c: In function 'remove_cleanupfilename': +fitscleanup.c:136:60: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 136 | QREALLOC(cleanup_filename, char *, cleanup_nfiles); + | ^ +fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' + 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +In file included from fitsread.c:38: +fitsread.c: In function 'init_readobj': +fitsread.c:137:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 137 | QMALLOC(key->ptr, char, key->nbytes); + | ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +fitsread.c:151:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 151 | QMALLOC(*pbuf, char, tab->naxisn[0]); + | ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | 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 'long unsigned int' [-Wformat=] + 68 | QMALLOC(buf, char, FBSIZE); + | ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | 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 'long unsigned int' [-Wformat=] + 86 | QREALLOC(buf, char, FBSIZE*(i+1)); + | ^ +fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' + 149 | 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 'long unsigned int' [-Wformat=] + 131 | QMALLOC(tab->naxisn, int, tab->naxis); + | ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +fitshead.c: In function 'readbintabparam_head': +fitshead.c:236:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 236 | QCALLOC(key, keystruct, 1); + | ^ +fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +fitshead.c:302:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 302 | QMALLOC(key->naxisn, int, key->naxis); + | ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | 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 'long unsigned int' [-Wformat=] + 586 | QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); + | ^ +fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' + 149 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +fitshead.c: In function 'removekeywordfrom_head': +fitshead.c:617:58: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 617 | QREALLOC(tab->headbuf, char, tab->headnblock*FBSIZE); + | ^ +fitscat_defs.h:149:21: note: in definition of macro 'QREALLOC' + 149 | 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 'long unsigned int' [-Wformat=] + 115 | QMALLOC(outbuf, char, (larrayout = tab->naxisn[0])); + | ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | 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 'long unsigned int' [-Wformat=] + 133 | QMALLOC(inbuf, char, (larrayin = keytab->naxisn[0])); + | ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | 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 'long unsigned int' [-Wformat=] + 192 | QMALLOC(buf, char, spoonful); + | ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | 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 'long unsigned int' [-Wformat=] + 295 | QMALLOC(*pbuf, char, tab->naxisn[0]); + | ^ +fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ fitscat.c: In function 'addhistoryto_cat': fitscat.c:138:21: warning: '%.65s' directive writing up to 65 bytes into a region of size between 0 and 81 [-Wformat-overflow=] 138 | sprintf(str2, "%s %.65s", str2, str); @@ -2185,25 +2220,64 @@ x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o homo.o homo.c x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o main.o main.c x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o makeit.o makeit.c -x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o misc.o misc.c -x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o pca.o pca.c -x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o prefs.o prefs.c -x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o psf.o psf.c -x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o sample.o sample.c In file included from catout.c:37: catout.c: In function 'init_outcat': +In file included from context.c:38: +context.c: In function 'context_init': catout.c:84:53: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 84 | QCALLOC(outcat, outcatstruct, sizeof(outcatstruct)); | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +context.c:70:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 70 | QCALLOC(context, contextstruct, 1); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ catout.c:91:70: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 91 | QCALLOC(objkeys, keystruct, (sizeof(refoutkey) / sizeof(keystruct))); | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +context.c:71:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 71 | QCALLOC(context->name, char *, ndim); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +context.c:72:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 72 | QCALLOC(context->group, int, ndim); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +context.c:73:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 73 | QCALLOC(context->degree, int, ndim); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +context.c:74:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 74 | QCALLOC(context->pcflag, int, ndim); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +context.c:75:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 75 | QCALLOC(groupflag, int, ndim); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +context.c:89:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 89 | QMALLOC(context->name[d2], char, 80); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ catout.c:131:7: warning: implicit declaration of function 'write_xml_header' [-Wimplicit-function-declaration] 131 | write_xml_header(ascfile); | ^~~~~~~~~~~~~~~~ @@ -2214,407 +2288,145 @@ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +context.c: In function 'context_apply': +context.c:193:56: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 193 | QMALLOC(polycopyflag, int, poly2->ncoeff*poly->ncoeff); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ catout.c:158:61: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 158 | QCALLOC(asctab->headbuf, char, asctab->headnblock*FBSIZE); | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +context.c:219:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 219 | QCALLOC(comp2, float, comp2size); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +context.c:221:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 221 | QCALLOC(bcoeff2, float, bcoeff2size); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ catout.c:171:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 171 | QMALLOC(key->naxisn, int, key->naxis); | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -In file included from fft.c:41: -fft.c: In function 'fft_shift': -fft.c:300:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 300 | QMALLOC(temp, float, width*height); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -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 'long unsigned int' [-Wformat=] - 68 | QMEMCPY(wcsin, wcs, wcsstruct, 1); - | ^ -fits/fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' - 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ +context.c:243:54: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 243 | QMEMCPY(comp2, psf2->comp, float, comp2size); + | ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + 165 | 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 'long unsigned int' [-Wformat=] - 70 | QMEMCPY(wcsin->projp, wcs->projp, double, wcs->naxis*100); - | ^ -fits/fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' - 160 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ +context.c:245:66: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 245 | QMEMCPY(bcoeff2, psf2->basiscoeff, float, bcoeff2size); + | ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ | ^~~~~~ +catout.c: In function 'end_outcat': +catout.c:267:5: warning: implicit declaration of function 'write_xml_meta' [-Wimplicit-function-declaration] + 267 | write_xml_meta(outcat->ascfile, NULL); + | ^~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o misc.o misc.c In file included from check.c:38: check.c: In function 'check_write': -fitswcs.c:81:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 81 | QCALLOC(wcs->wcsprm, struct wcsprm, 1); - | ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ check.c:126:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 126 | QREALLOC(tab->naxisn, int, tab->naxis); | ^ define.h:154:21: note: in definition of macro 'QREALLOC' 154 | 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 'long unsigned int' [-Wformat=] - 119 | QCALLOC(wcs, wcsstruct, 1); - | ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ check.c:132:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 132 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -catout.c: In function 'end_outcat': -fitswcs.c:121:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 121 | QCALLOC(wcs->projp, double, naxis*100); - | ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -catout.c:267:5: warning: implicit declaration of function 'write_xml_meta' [-Wimplicit-function-declaration] - 267 | write_xml_meta(outcat->ascfile, NULL); - | ^~~~~~~~~~~~~~ -In file included from diagnostic.c:41: -diagnostic.c: In function 'psf_diagnostic': check.c:150:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 150 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -In file included from field.c:38: -field.c: In function 'field_init': -field.c:67:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 67 | QCALLOC(field, fieldstruct, 1); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -diagnostic.c:244:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 244 | QMALLOC(moffat, moffatstruct, nt); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -fitswcs.c:142:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 142 | QCALLOC(wcs->wcsprm, struct wcsprm, 1); - | ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -diagnostic.c:245:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 245 | QMALLOC(pfmoffat, moffatstruct, nt); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -field.c:85:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 85 | QMALLOC(field->psf, psfstruct *, next0); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -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 'long unsigned int' [-Wformat=] - 182 | QCALLOC(wcs->lin, struct linprm, 1); - | ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -fitswcs.c:183:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 183 | QCALLOC(wcs->lin->cdelt, double, naxis); - | ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -field.c:103:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 103 | QMALLOC(field->wcs, wcsstruct *, next0); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -fitswcs.c:184:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 184 | QCALLOC(wcs->lin->crpix, double, naxis); - | ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ check.c:182:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 182 | QREALLOC(tab->naxisn, int, tab->naxis); | ^ define.h:154:21: note: in definition of macro 'QREALLOC' 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -field.c:116:63: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 116 | QCALLOC(imatab->headbuf, char, imatab->headnblock*FBSIZE); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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 'long unsigned int' [-Wformat=] - 185 | QCALLOC(wcs->lin->pc, double, naxis*naxis); - | ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ check.c:188:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 188 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | 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 'long unsigned int' [-Wformat=] - 190 | QCALLOC(wcs->cel, struct celprm, 1); - | ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - 129 | 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 'long unsigned int' [-Wformat=] - 194 | QCALLOC(wcs->prj, struct prjprm, 1); - | ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -field.c:134:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 134 | QCALLOC(field->ccat, catstruct *, MAXCHECK); - | ^ -field.c:134:3: note: in expansion of macro 'QCALLOC' - 134 | QCALLOC(field->ccat, catstruct *, MAXCHECK); - | ^~~~~~~ -field.c:136:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 136 | QMALLOC(field->lcount, int *, next0); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -field.c:137:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 137 | QMALLOC(field->acount, int *, next0); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ check.c:210:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 210 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -field.c:138:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 138 | QMALLOC(field->count, int *, next0); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -field.c:139:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 139 | QMALLOC(field->modchi2, double *, next0); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -field.c:140:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 140 | QMALLOC(field->modresi, double *, next0); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ check.c:229:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 229 | QREALLOC(tab->naxisn, int, tab->naxis); | ^ define.h:154:21: note: in definition of macro 'QREALLOC' 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -field.c:143:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 143 | QCALLOC(field->lcount[e], int, countsize); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -field.c:144:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 144 | QCALLOC(field->acount[e], int, countsize); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | 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 'long unsigned int' [-Wformat=] - 364 | QCALLOC(wcs, wcsstruct, 1); - | ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -field.c:145:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 145 | QCALLOC(field->count[e], int, countsize); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -field.c:146:49: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 146 | QCALLOC(field->modchi2[e], double, countsize); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -main.c: In function 'main': -main.c:83:24: warning: passing argument 2 of 'c_plparseopts' from incompatible pointer type [-Wincompatible-pointer-types] - 83 | plparseopts(&argc, (const char **)argv, PL_PARSE_SKIP); - | ^~~~~~~~~~~~~~~~~~~ - | | - | const char ** check.c:235:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 235 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | 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 'long unsigned int' [-Wformat=] - 373 | QCALLOC(wcs->projp, double, naxis*100); - | ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -field.c:147:49: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 147 | QCALLOC(field->modresi[e], double, countsize); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -In file included from makeit.c:45: -makeit.c: In function 'makeit': -diagnostic.c: In function 'psf_normresi': -In file included from main.c:40: -/usr/include/plplot/plplot.h:2305:46: note: expected 'PLCHAR_NC_MATRIX' {aka 'char **'} but argument is of type 'const char **' - 2305 | c_plparseopts( int *p_argc, PLCHAR_NC_MATRIX argv, PLINT mode ); - | ~~~~~~~~~~~~~~~~~^~~~ -diagnostic.c:685:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 685 | QMALLOC(fvec, float, w*h*sizeof(float)); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ check.c:253:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 253 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -field.c: In function 'field_locate': -In file included from main.c:43: -main.c:86:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 86 | QMALLOC(argkey, char *, argc); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -field.c:215:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 215 | QMALLOC(scale[i], double, field->next); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -main.c:87:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 87 | QMALLOC(argval, char *, argc); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -makeit.c:136:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 136 | QMALLOC(fields, fieldstruct *, ncat); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -In file included from pca.c:38: -pca.c: In function 'pca_onsnaps': check.c:277:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 277 | QREALLOC(tab->naxisn, int, tab->naxis); | ^ define.h:154:21: note: in definition of macro 'QREALLOC' 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -pca.c:79:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 79 | QCALLOC(covmat, double, npix*npix); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ check.c:283:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 283 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitswcs.c:438:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 438 | QCALLOC(wcs->wcsprm, struct wcsprm, 1); - | ^ -fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' - 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -pca.c:112:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 112 | QMALLOC(basis, float, npc*npix); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -main.c:127:32: warning: passing argument 2 of 'c_plparseopts' from incompatible pointer type [-Wincompatible-pointer-types] - 127 | plparseopts(&argc, (const char **)argv, PL_PARSE_SKIP); - | ^~~~~~~~~~~~~~~~~~~ - | | - | const char ** -pca.c: In function 'pca_oncomps': check.c:305:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 305 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -pca.c:162:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 162 | QMALLOC(comp, double, ncat*npixt); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -In file included from main.c:40: -/usr/include/plplot/plplot.h:2305:46: note: expected 'PLCHAR_NC_MATRIX' {aka 'char **'} but argument is of type 'const char **' - 2305 | c_plparseopts( int *p_argc, PLCHAR_NC_MATRIX argv, PLINT mode ); - | ~~~~~~~~~~~~~~~~~^~~~ check.c:325:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 325 | QCALLOC(gridsample, samplestruct *, nt); | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -makeit.c:198:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 198 | QMALLOC(psfsteps, float, next); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -pca.c:206:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 206 | QCALLOC(covmat, double, ncat*ncat); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -makeit.c:211:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 211 | QMALLOC(cpsf, psfstruct *, ncat*next); - | ^ +In file included from diagnostic.c:41: +diagnostic.c: In function 'psf_diagnostic': +diagnostic.c:244:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 244 | QMALLOC(moffat, moffatstruct, nt); + | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -pca.c:227:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 227 | QMALLOC(vector, float, ncat); - | ^ +diagnostic.c:245:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 245 | QMALLOC(pfmoffat, moffatstruct, nt); + | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ @@ -2630,86 +2442,30 @@ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -makeit.c:233:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 233 | QMALLOC(psfbasiss, float *, next); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -pca.c:228:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 228 | QMALLOC(pc, double, ncat*npc); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -makeit.c:240:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 240 | QMALLOC(cpsf, psfstruct *, ncat); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -field.c: In function 'field_psfsave': check.c:379:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 379 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -field.c:462:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 462 | QMALLOC(key->naxisn, int, key->naxis); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -makeit.c:261:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 261 | QMALLOC(cpsf, psfstruct *, ncat*next); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ check.c:402:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 402 | QREALLOC(tab->naxisn, int, tab->naxis); | ^ define.h:154:21: note: in definition of macro 'QREALLOC' 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -pca.c: In function 'pca_findpc': check.c:408:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 408 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -field.c:478:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 478 | QMALLOC(key->naxisn, int, key->naxis); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -pca.c:265:29: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 265 | QMALLOC(xmat, double, nmat); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ check.c:430:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 430 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -makeit.c:331:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 331 | QMALLOC(cpsf, psfstruct *, ncat); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -pca.c:268:29: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 268 | QMALLOC(tmat, double, nmat); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ check.c:450:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 450 | QCALLOC(gridsample, samplestruct *, nt); | ^ @@ -2728,18 +2484,19 @@ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitswcs.c: In function 'invert_wcs': +x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o pca.o pca.c check.c:504:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 504 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitswcs.c:854:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 854 | QMALLOC(outpos, double, 2*WCS_NGRIDPOINTS2); - | ^ -fits/fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ +diagnostic.c: In function 'psf_normresi': +diagnostic.c:685:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 685 | QMALLOC(fvec, float, w*h*sizeof(float)); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ check.c:527:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 527 | QREALLOC(tab->naxisn, int, tab->naxis); @@ -2747,117 +2504,36 @@ define.h:154:21: note: in definition of macro 'QREALLOC' 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitswcs.c:855:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 855 | QMALLOC(lngpos, double, WCS_NGRIDPOINTS2); - | ^ -fits/fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ check.c:533:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 533 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -fitswcs.c:856:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 856 | QMALLOC(latpos, double, WCS_NGRIDPOINTS2); - | ^ -fits/fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' - 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ check.c:555:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 555 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -In file included from homo.c:38: -homo.c: In function 'psf_homo': -makeit.c: In function 'make_psf': -homo.c:101:34: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 101 | QCALLOC(moffat, moffatstruct, 1); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -makeit.c:646:71: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 646 | QMEMCPY(basis, psf->basis, float, nbasis*psf->size[0]*psf->size[1]); - | ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - | ^~~~~~ -homo.c:111:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 111 | QMEMCPY(psf->loc, target, float, npix); - | ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - | ^~~~~~ check.c:587:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 587 | QREALLOC(tab->naxisn, int, tab->naxis); | ^ define.h:154:21: note: in definition of macro 'QREALLOC' 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -homo.c:118:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 118 | QMALLOC(bigbasis, float, nbigpix); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -homo.c:120:34: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 120 | QMALLOC(bigconv, float, nbigpix); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -homo.c:123:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 123 | QMALLOC(basisc, float, nfree*npix); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -homo.c:124:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 124 | QMALLOC(cross, double, nfree*nfree); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -homo.c:125:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 125 | QMALLOC(tcross, double, nfree); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ check.c:594:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 594 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -homo.c:167:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 167 | QCALLOC(amat, double, nfree*nfree); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -homo.c:168:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 168 | QCALLOC(bmat, double, nfree); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ check.c:619:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 619 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -homo.c:231:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 231 | QCALLOC(kernel, float, npix*ncoeff); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ check.c:650:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 650 | QMALLOC(vig0, float, w*h); | ^ @@ -2876,13 +2552,6 @@ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -homo.c: In function 'psf_savehomo': -homo.c:360:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 360 | QREALLOC(tab->naxisn, int, tab->naxis); - | ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ check.c:696:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 696 | QCALLOC(pix0, float, tab->tabsize); | ^ @@ -2919,6 +2588,7 @@ define.h:154:21: note: in definition of macro 'QREALLOC' 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o prefs.o prefs.c check.c:920:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 920 | QREALLOC(tab->naxisn, int, tab->naxis); | ^ @@ -2943,6 +2613,7 @@ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o psf.o psf.c In file included from cplot.c:42: cplot.c: In function 'cplot_init': cplot.c:167:34: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] @@ -2995,8 +2666,6 @@ /usr/include/plplot/plplot.h:1763:26: note: expected 'PLFLT_MATRIX' {aka 'const double * const*'} but argument is of type 'PLFLT **' {aka 'double **'} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ -In file included from prefs.c:52: -prefs.c: In function 'readprefs': cplot.c:853:14: warning: passing argument 1 of 'c_plshades' from incompatible pointer type [-Wincompatible-pointer-types] 853 | plshades(fwhm, 2, CPLOT_NSHADES, NULL, 0.0, 1.0, | ^~~~ @@ -3006,12 +2675,6 @@ /usr/include/plplot/plplot.h:1763:26: note: expected 'PLFLT_MATRIX' {aka 'const double * const*'} but argument is of type 'PLFLT **' {aka 'double **'} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ -prefs.c:352:65: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 352 | QMALLOC(((char **)key[nkey].ptr)[i], char, MAXCHAR); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ In file included from cplot.c:42: cplot.c: In function 'cplot_ellipticity': cplot.c:928:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] @@ -3020,27 +2683,6 @@ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -prefs.c: In function 'list_to_str': -prefs.c:448:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 448 | QMALLOC(listbuf, char, bufsize); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -prefs.c:458:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 458 | QREALLOC(listbuf, char, bufsize); - | ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -In file included from context.c:38: -context.c: In function 'context_init': -context.c:70:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 70 | QCALLOC(context, contextstruct, 1); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ cplot.c:1058:16: warning: passing argument 1 of 'c_plshades' from incompatible pointer type [-Wincompatible-pointer-types] 1058 | plshades(ellip, nsnap2, nsnap2, NULL, | ^~~~~ @@ -3050,51 +2692,15 @@ /usr/include/plplot/plplot.h:1763:26: note: expected 'PLFLT_MATRIX' {aka 'const double * const*'} but argument is of type 'PLFLT **' {aka 'double **'} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ -context.c:71:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 71 | QCALLOC(context->name, char *, ndim); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -context.c:72:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 72 | QCALLOC(context->group, int, ndim); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ cplot.c:1076:12: warning: passing argument 1 of 'c_plshades' from incompatible pointer type [-Wincompatible-pointer-types] 1076 | plshades(ellip, 2, CPLOT_NSHADES, NULL, 0.0, 1.0, | ^~~~~ | | | PLFLT ** {aka double **} -context.c:73:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 73 | QCALLOC(context->degree, int, ndim); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ In file included from cplot.c:39: /usr/include/plplot/plplot.h:1763:26: note: expected 'PLFLT_MATRIX' {aka 'const double * const*'} but argument is of type 'PLFLT **' {aka 'double **'} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ -context.c:74:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 74 | QCALLOC(context->pcflag, int, ndim); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -context.c:75:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 75 | QCALLOC(groupflag, int, ndim); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -context.c:89:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 89 | QMALLOC(context->name[d2], char, 80); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ In file included from cplot.c:42: cplot.c: In function 'cplot_moffatresi': cplot.c:1146:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] @@ -3103,37 +2709,6 @@ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -context.c: In function 'context_apply': -context.c:193:56: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 193 | QMALLOC(polycopyflag, int, poly2->ncoeff*poly->ncoeff); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -context.c:219:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 219 | QCALLOC(comp2, float, comp2size); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -context.c:221:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 221 | QCALLOC(bcoeff2, float, bcoeff2size); - | ^ -define.h:134:21: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -context.c:243:54: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 243 | QMEMCPY(comp2, psf2->comp, float, comp2size); - | ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - | ^~~~~~ -context.c:245:66: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 245 | QMEMCPY(bcoeff2, psf2->basiscoeff, float, bcoeff2size); - | ^ -define.h:165:23: note: in definition of macro 'QMEMCPY' - 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ - | ^~~~~~ cplot.c:1274:16: warning: passing argument 1 of 'c_plshades' from incompatible pointer type [-Wincompatible-pointer-types] 1274 | plshades(resi, nsnap2, nsnap2, NULL, | ^~~~ @@ -3256,7 +2831,6 @@ /usr/include/plplot/plplot.h:1763:26: note: expected 'PLFLT_MATRIX' {aka 'const double * const*'} but argument is of type 'PLFLT **' {aka 'double **'} 1763 | c_plshades( PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, | ~~~~~~~~~~~~~^ -x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o vignet.o vignet.c In file included from cplot.c:42: cplot.c: In function 'cplot_modresi': cplot.c:2057:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] @@ -3287,186 +2861,393 @@ cplot.c:136:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 136 | system(str); | ^~~~~~~~~~~ -In file included from sample.c:39: -sample.c: In function 'load_samples': -sample.c:95:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 95 | QMALLOC(fwhmmin, float, ncat); - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ +In file included from field.c:38: +field.c: In function 'field_init': +field.c:67:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 67 | QCALLOC(field, fieldstruct, 1); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -sample.c:96:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 96 | QMALLOC(fwhmmax, float, ncat); - | ^ +field.c:85:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 85 | QMALLOC(field->psf, psfstruct *, next0); + | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -sample.c:97:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 97 | QMALLOC(fwhmmode, float, ncat); - | ^ +field.c:103:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 103 | QMALLOC(field->wcs, wcsstruct *, next0); + | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -sample.c:103:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 103 | QMALLOC(fwhm, float, nobjmax); - | ^ +field.c:116:63: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 116 | QCALLOC(imatab->headbuf, char, imatab->headnblock*FBSIZE); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +field.c:134:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 134 | QCALLOC(field->ccat, catstruct *, MAXCHECK); + | ^ +field.c:134:3: note: in expansion of macro 'QCALLOC' + 134 | QCALLOC(field->ccat, catstruct *, MAXCHECK); + | ^~~~~~~ +field.c:136:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 136 | QMALLOC(field->lcount, int *, next0); + | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -sample.c:104:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 104 | QMALLOC(fwhmindex, int, ncat+1); - | ^ +field.c:137:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 137 | QMALLOC(field->acount, int *, next0); + | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -sample.c:111:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 111 | QMALLOC(pkeynames, char *, nkeys); +field.c:138:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 138 | QMALLOC(field->count, int *, next0); | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -sample.c:202:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 202 | QREALLOC(fwhm, float, nobjmax); - | ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -sample.c: In function 'read_samples': -sample.c:441:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 441 | QMALLOC(cmin, double, set->ncontext); - | ^ +field.c:139:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 139 | QMALLOC(field->modchi2, double *, next0); + | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -sample.c:442:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 442 | QMALLOC(cmax, double, set->ncontext); - | ^ +field.c:140:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 140 | QMALLOC(field->modresi, double *, next0); + | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -sample.c:481:54: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 481 | QCALLOC(set->head, char, ((n*80)/FBSIZE+1)*FBSIZE); - | ^ +field.c:143:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 143 | QCALLOC(field->lcount[e], int, countsize); + | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -sample.c: In function 'malloc_samples': -sample.c:976:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 976 | QMALLOC(set->sample, samplestruct, nsample); +field.c:144:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 144 | QCALLOC(field->acount[e], int, countsize); | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +field.c:145:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 145 | QCALLOC(field->count[e], int, countsize); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +field.c:146:49: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 146 | QCALLOC(field->modchi2[e], double, countsize); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +field.c:147:49: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 147 | QCALLOC(field->modresi[e], double, countsize); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +In file included from fft.c:41: +fft.c: In function 'fft_shift': +fft.c:300:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 300 | QMALLOC(temp, float, width*height); + | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -sample.c:980:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 980 | QMALLOC(sample->vig, float, set->nvig); +field.c: In function 'field_locate': +field.c:215:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 215 | QMALLOC(scale[i], double, field->next); | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -sample.c:981:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 981 | QMALLOC(sample->vigresi, float, set->nvig); - | ^ +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 'long unsigned int' [-Wformat=] + 68 | QMEMCPY(wcsin, wcs, wcsstruct, 1); + | ^ +fits/fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' + 160 | 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 'long unsigned int' [-Wformat=] + 70 | QMEMCPY(wcsin->projp, wcs->projp, double, wcs->naxis*100); + | ^ +fits/fitscat_defs.h:160:23: note: in definition of macro 'QMEMCPY' + 160 | 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 'long unsigned int' [-Wformat=] + 81 | QCALLOC(wcs->wcsprm, struct wcsprm, 1); + | ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + 129 | 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 'long unsigned int' [-Wformat=] + 119 | QCALLOC(wcs, wcsstruct, 1); + | ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + 129 | 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 'long unsigned int' [-Wformat=] + 121 | QCALLOC(wcs->projp, double, naxis*100); + | ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +fitswcs.c:142:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 142 | QCALLOC(wcs->wcsprm, struct wcsprm, 1); + | ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +field.c: In function 'field_psfsave': +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 'long unsigned int' [-Wformat=] + 182 | QCALLOC(wcs->lin, struct linprm, 1); + | ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +field.c:462:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 462 | QMALLOC(key->naxisn, int, key->naxis); + | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -sample.c:982:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 982 | QMALLOC(sample->vigweight, float, set->nvig); - | ^ +field.c:478:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 478 | QMALLOC(key->naxisn, int, key->naxis); + | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -sample.c:983:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 983 | QMALLOC(sample->vigchi, float, set->nvig); +fitswcs.c:183:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 183 | QCALLOC(wcs->lin->cdelt, double, naxis); + | ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +fitswcs.c:184:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 184 | QCALLOC(wcs->lin->crpix, double, naxis); + | ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + 129 | 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 'long unsigned int' [-Wformat=] + 185 | QCALLOC(wcs->lin->pc, double, naxis*naxis); + | ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + 129 | 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 'long unsigned int' [-Wformat=] + 190 | QCALLOC(wcs->cel, struct celprm, 1); + | ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + 129 | 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 'long unsigned int' [-Wformat=] + 194 | QCALLOC(wcs->prj, struct prjprm, 1); + | ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + 129 | 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 'long unsigned int' [-Wformat=] + 364 | QCALLOC(wcs, wcsstruct, 1); + | ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + 129 | 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 'long unsigned int' [-Wformat=] + 373 | QCALLOC(wcs->projp, double, naxis*100); + | ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +fitswcs.c:438:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 438 | QCALLOC(wcs->wcsprm, struct wcsprm, 1); + | ^ +fits/fitscat_defs.h:129:21: note: in definition of macro 'QCALLOC' + 129 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +fitswcs.c: In function 'invert_wcs': +fitswcs.c:854:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 854 | QMALLOC(outpos, double, 2*WCS_NGRIDPOINTS2); | ^ +fits/fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +main.c: In function 'main': +main.c:83:24: warning: passing argument 2 of 'c_plparseopts' from incompatible pointer type [-Wincompatible-pointer-types] + 83 | plparseopts(&argc, (const char **)argv, PL_PARSE_SKIP); + | ^~~~~~~~~~~~~~~~~~~ + | | + | const char ** +fitswcs.c:855:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 855 | QMALLOC(lngpos, double, WCS_NGRIDPOINTS2); + | ^ +fits/fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +In file included from main.c:40: +/usr/include/plplot/plplot.h:2305:46: note: expected 'PLCHAR_NC_MATRIX' {aka 'char **'} but argument is of type 'const char **' + 2305 | c_plparseopts( int *p_argc, PLCHAR_NC_MATRIX argv, PLINT mode ); + | ~~~~~~~~~~~~~~~~~^~~~ +fitswcs.c:856:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 856 | QMALLOC(latpos, double, WCS_NGRIDPOINTS2); + | ^ +fits/fitscat_defs.h:139:21: note: in definition of macro 'QMALLOC' + 139 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +In file included from main.c:43: +main.c:86:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 86 | QMALLOC(argkey, char *, argc); + | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -sample.c:985:53: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 985 | QMALLOC(sample->context, double, set->ncontext); - | ^ +main.c:87:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 87 | QMALLOC(argval, char *, argc); + | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -sample.c: In function 'realloc_samples': -sample.c:1017:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 1017 | QREALLOC(set->sample, samplestruct, nsample); - | ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ +main.c:127:32: warning: passing argument 2 of 'c_plparseopts' from incompatible pointer type [-Wincompatible-pointer-types] + 127 | plparseopts(&argc, (const char **)argv, PL_PARSE_SKIP); + | ^~~~~~~~~~~~~~~~~~~ + | | + | const char ** +In file included from main.c:40: +/usr/include/plplot/plplot.h:2305:46: note: expected 'PLCHAR_NC_MATRIX' {aka 'char **'} but argument is of type 'const char **' + 2305 | c_plparseopts( int *p_argc, PLCHAR_NC_MATRIX argv, PLINT mode ); + | ~~~~~~~~~~~~~~~~~^~~~ +In file included from homo.c:38: +homo.c: In function 'psf_homo': +homo.c:101:34: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 101 | QCALLOC(moffat, moffatstruct, 1); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -sample.c:1021:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 1021 | QMALLOC(sample->vig, float, set->nvig); - | ^ +homo.c:111:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 111 | QMEMCPY(psf->loc, target, float, npix); + | ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + | ^~~~~~ +homo.c:118:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 118 | QMALLOC(bigbasis, float, nbigpix); + | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -sample.c:1022:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 1022 | QMALLOC(sample->vigresi, float, set->nvig); - | ^ +homo.c:120:34: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 120 | QMALLOC(bigconv, float, nbigpix); + | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -sample.c:1023:47: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 1023 | QMALLOC(sample->vigchi, float, set->nvig); - | ^ +homo.c:123:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 123 | QMALLOC(basisc, float, nfree*npix); + | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -sample.c:1024:50: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 1024 | QMALLOC(sample->vigweight, float, set->nvig); - | ^ +homo.c:124:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 124 | QMALLOC(cross, double, nfree*nfree); + | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -sample.c:1026:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 1026 | QMALLOC(sample->context, double, set->ncontext); - | ^ +homo.c:125:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 125 | QMALLOC(tcross, double, nfree); + | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -sample.c:1041:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 1041 | QREALLOC(set->sample, samplestruct, nsample); - | ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ +homo.c:167:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 167 | QCALLOC(amat, double, nfree*nfree); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -sample.c: In function 'init_set': -sample.c:1135:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 1135 | QCALLOC(set, setstruct, 1); - | ^ +homo.c:168:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 168 | QCALLOC(bmat, double, nfree); + | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -sample.c:1138:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 1138 | QMALLOC(set->vigsize, int, set->vigdim); +homo.c:231:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 231 | QCALLOC(kernel, float, npix*ncoeff); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +homo.c: In function 'psf_savehomo': +homo.c:360:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 360 | QREALLOC(tab->naxisn, int, tab->naxis); + | ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +In file included from makeit.c:45: +makeit.c: In function 'makeit': +makeit.c:136:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 136 | QMALLOC(fields, fieldstruct *, ncat); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +makeit.c:198:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 198 | QMALLOC(psfsteps, float, next); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +makeit.c:211:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 211 | QMALLOC(cpsf, psfstruct *, ncat*next); | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -sample.c:1142:54: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 1142 | QMALLOC(set->contextoffset, double, set->ncontext); - | ^ +makeit.c:233:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 233 | QMALLOC(psfbasiss, float *, next); + | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -sample.c:1143:53: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 1143 | QMALLOC(set->contextscale, double, set->ncontext); - | ^ +makeit.c:240:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 240 | QMALLOC(cpsf, psfstruct *, ncat); + | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -sample.c:1144:52: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 1144 | QMALLOC(set->contextname, char *, set->ncontext); - | ^ +makeit.c:261:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 261 | QMALLOC(cpsf, psfstruct *, ncat*next); + | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -sample.c:1146:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 1146 | QMALLOC(set->contextname[i], char, 80); - | ^ +makeit.c:331:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 331 | QMALLOC(cpsf, psfstruct *, ncat); + | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +makeit.c: In function 'make_psf': +makeit.c:646:71: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 646 | QMEMCPY(basis, psf->basis, float, nbasis*psf->size[0]*psf->size[1]); + | ^ +define.h:165:23: note: in definition of macro 'QMEMCPY' + 165 | sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \ + | ^~~~~~ +x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o sample.o sample.c In file included from psf.c:38: psf.c: In function 'psf_clean': psf.c:88:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] @@ -3476,7 +3257,6 @@ 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c: In function 'psf_init': -x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o xml.o xml.c psf.c:256:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 256 | QCALLOC(psf, psfstruct, 1); | ^ @@ -3690,36 +3470,18 @@ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -In file included from vignet.c:38: -vignet.c: In function 'vignet_resample': -vignet.c:140:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 140 | QMALLOC(mask, double, nx2*interpw); /* Interpolation masks */ - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -vignet.c:141:26: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 141 | QMALLOC(nmask, int, nx2); /* Interpolation mask sizes */ - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -vignet.c:142:26: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 142 | QMALLOC(start, int, nx2); /* Int part of Im1 conv starts */ - | ^ -define.h:144:21: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ psf.c: In function 'psf_makeresi': +In file included from pca.c:38: +pca.c: In function 'pca_onsnaps': psf.c:675:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 675 | QCALLOC(dresi, double, npix); | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -vignet.c:173:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 173 | QCALLOC(pix12, float, nx2*ny1); /* Intermediary frame-buffer */ - | ^ +pca.c:79:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 79 | QCALLOC(covmat, double, npix*npix); + | ^ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ @@ -3729,17 +3491,11 @@ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -vignet.c:195:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 195 | QREALLOC(mask, double, ny2*interph); /* Interpolation masks */ - | ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ - | ^~~ -vignet.c:196:27: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 196 | QREALLOC(nmask, int, ny2); /* Interpolation mask sizes */ - | ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ +pca.c:112:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 112 | QMALLOC(basis, float, npc*npix); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:688:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 688 | QMALLOC(cbasis, float, ncpix); @@ -3747,11 +3503,12 @@ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ -vignet.c:197:27: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] - 197 | QREALLOC(start, int, ny2); /* Int part of Im1 conv starts */ - | ^ -define.h:154:21: note: in definition of macro 'QREALLOC' - 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ +pca.c: In function 'pca_oncomps': +pca.c:162:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 162 | QMALLOC(comp, double, ncat*npixt); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ psf.c:689:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 689 | QMALLOC(cvigw, float, ncpix); @@ -3765,12 +3522,20 @@ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +pca.c:206:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 206 | QCALLOC(covmat, double, ncat*ncat); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ psf.c:691:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 691 | QMALLOC(cvigy, double, ncpix); | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +In file included from prefs.c:52: +prefs.c: In function 'readprefs': psf.c:871:29: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 871 | QMALLOC(fresi, float, npix); | ^ @@ -3784,6 +3549,37 @@ define.h:134:21: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +pca.c:227:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 227 | QMALLOC(vector, float, ncat); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +pca.c:228:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 228 | QMALLOC(pc, double, ncat*npc); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +pca.c: In function 'pca_findpc': +pca.c:265:29: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 265 | QMALLOC(xmat, double, nmat); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +pca.c:268:29: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 268 | QMALLOC(tmat, double, nmat); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +prefs.c:352:65: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 352 | QMALLOC(((char **)key[nkey].ptr)[i], char, MAXCHAR); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ psf.c:947:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 947 | QCALLOC(desmat, double, npsf*ndata); | ^ @@ -3808,6 +3604,19 @@ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +prefs.c: In function 'list_to_str': +prefs.c:448:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 448 | QMALLOC(listbuf, char, bufsize); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +prefs.c:458:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 458 | QREALLOC(listbuf, char, bufsize); + | ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ psf.c:953:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 953 | QMALLOC(vig, float, nvpix); | ^ @@ -3902,12 +3711,251 @@ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o vignet.o vignet.c psf.c:1525:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] 1525 | QMALLOC(psf->basis, float, ncomp*npixout); | ^ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +In file included from sample.c:39: +sample.c: In function 'load_samples': +sample.c:95:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 95 | QMALLOC(fwhmmin, float, ncat); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +sample.c:96:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 96 | QMALLOC(fwhmmax, float, ncat); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +sample.c:97:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 97 | QMALLOC(fwhmmode, float, ncat); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +sample.c:103:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 103 | QMALLOC(fwhm, float, nobjmax); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +sample.c:104:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 104 | QMALLOC(fwhmindex, int, ncat+1); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +sample.c:111:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 111 | QMALLOC(pkeynames, char *, nkeys); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +sample.c:202:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 202 | QREALLOC(fwhm, float, nobjmax); + | ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +sample.c: In function 'read_samples': +sample.c:441:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 441 | QMALLOC(cmin, double, set->ncontext); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +sample.c:442:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 442 | QMALLOC(cmax, double, set->ncontext); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +sample.c:481:54: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 481 | QCALLOC(set->head, char, ((n*80)/FBSIZE+1)*FBSIZE); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +sample.c: In function 'malloc_samples': +sample.c:976:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 976 | QMALLOC(set->sample, samplestruct, nsample); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +sample.c:980:42: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 980 | QMALLOC(sample->vig, float, set->nvig); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +sample.c:981:46: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 981 | QMALLOC(sample->vigresi, float, set->nvig); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +sample.c:982:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 982 | QMALLOC(sample->vigweight, float, set->nvig); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +sample.c:983:45: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 983 | QMALLOC(sample->vigchi, float, set->nvig); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +sample.c:985:53: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 985 | QMALLOC(sample->context, double, set->ncontext); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +sample.c: In function 'realloc_samples': +sample.c:1017:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 1017 | QREALLOC(set->sample, samplestruct, nsample); + | ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +sample.c:1021:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 1021 | QMALLOC(sample->vig, float, set->nvig); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o xml.o xml.c +sample.c:1022:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 1022 | QMALLOC(sample->vigresi, float, set->nvig); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +sample.c:1023:47: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 1023 | QMALLOC(sample->vigchi, float, set->nvig); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +sample.c:1024:50: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 1024 | QMALLOC(sample->vigweight, float, set->nvig); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +sample.c:1026:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 1026 | QMALLOC(sample->context, double, set->ncontext); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +sample.c:1041:48: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 1041 | QREALLOC(set->sample, samplestruct, nsample); + | ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +sample.c: In function 'init_set': +sample.c:1135:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 1135 | QCALLOC(set, setstruct, 1); + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +sample.c:1138:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 1138 | QMALLOC(set->vigsize, int, set->vigdim); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +sample.c:1142:54: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 1142 | QMALLOC(set->contextoffset, double, set->ncontext); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +sample.c:1143:53: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 1143 | QMALLOC(set->contextscale, double, set->ncontext); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +sample.c:1144:52: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 1144 | QMALLOC(set->contextname, char *, set->ncontext); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +sample.c:1146:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 1146 | QMALLOC(set->contextname[i], char, 80); + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +cplot.c:132:58: warning: '%s' directive writing up to 511 bytes into a region of size between 457 and 477 [-Wformat-overflow=] + 132 | sprintf(str, "convert -geometry \"%dx%d\" -antialias %s %s", + | ^~ +...... + 135 | plotfilename, plotfilename); + | ~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from cplot.c:35: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 37 and 1079 bytes into a destination of size 512 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from vignet.c:38: +vignet.c: In function 'vignet_resample': +vignet.c:140:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 140 | QMALLOC(mask, double, nx2*interpw); /* Interpolation masks */ + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +vignet.c:141:26: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 141 | QMALLOC(nmask, int, nx2); /* Interpolation mask sizes */ + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +vignet.c:142:26: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 142 | QMALLOC(start, int, nx2); /* Int part of Im1 conv starts */ + | ^ +define.h:144:21: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +vignet.c:173:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 173 | QCALLOC(pix12, float, nx2*ny1); /* Intermediary frame-buffer */ + | ^ +define.h:134:21: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +vignet.c:195:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 195 | QREALLOC(mask, double, ny2*interph); /* Interpolation masks */ + | ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +vignet.c:196:27: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 196 | QREALLOC(nmask, int, ny2); /* Interpolation mask sizes */ + | ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ +vignet.c:197:27: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] + 197 | QREALLOC(start, int, ny2); /* Int part of Im1 conv starts */ + | ^ +define.h:154:21: note: in definition of macro 'QREALLOC' + 154 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ + | ^~~ In file included from xml.c:39: xml.c: In function 'init_xml': xml.c:71:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long unsigned int' [-Wformat=] @@ -3916,6 +3964,20 @@ define.h:144:21: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%lld elements) " \ | ^~~ +xml.c: In function 'write_xml_meta': +xml.c:233:35: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] + 233 | sprintf(prefs.sdate_end,"%04d-%02d-%02d", + | ^~~~ +xml.c:233:29: note: directive argument in the range [-2147483647, 2147483647] + 233 | sprintf(prefs.sdate_end,"%04d-%02d-%02d", + | ^~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from xml.c:34: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 36 bytes into a destination of size 12 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makeit.c: In function 'makeit': makeit.c:97:35: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] 97 | sprintf(prefs.sdate_start,"%04d-%02d-%02d", @@ -4146,19 +4208,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cplot.c:132:58: warning: '%s' directive writing up to 511 bytes into a region of size between 457 and 477 [-Wformat-overflow=] - 132 | sprintf(str, "convert -geometry \"%dx%d\" -antialias %s %s", - | ^~ -...... - 135 | plotfilename, plotfilename); - | ~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from cplot.c:35: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 37 and 1079 bytes into a destination of size 512 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sample.c: In function 'read_samples': sample.c:545:28: warning: '%s' directive writing up to 511 bytes into a region of size 503 [-Wformat-overflow=] 545 | sprintf(str, "*Error*: %s parameter not found in catalogue ", @@ -4184,21 +4233,7 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xml.c: In function 'write_xml_meta': -xml.c:233:35: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] - 233 | sprintf(prefs.sdate_end,"%04d-%02d-%02d", - | ^~~~ -xml.c:233:29: note: directive argument in the range [-2147483647, 2147483647] - 233 | sprintf(prefs.sdate_end,"%04d-%02d-%02d", - | ^~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from xml.c:34: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 36 bytes into a destination of size 12 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/bin/bash ../libtool --tag=CC --mode=link x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -Wl,-z,relro -o psfex catout.o check.o context.o cplot.o diagnostic.o fft.o field.o fitswcs.o homo.o main.o makeit.o misc.o pca.o prefs.o psf.o sample.o vignet.o xml.o ./fits/libfits.a ./levmar/liblevmar.a ./wcs/libwcs_c.a -llapack_atlas -lcblas -latlas -lfftw3f -lm -lplplot +/bin/sh ../libtool --tag=CC --mode=link x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -Wl,-z,relro -o psfex catout.o check.o context.o cplot.o diagnostic.o fft.o field.o fitswcs.o homo.o main.o makeit.o misc.o pca.o prefs.o psf.o sample.o vignet.o xml.o ./fits/libfits.a ./levmar/liblevmar.a ./wcs/libwcs_c.a -llapack_atlas -lcblas -latlas -lfftw3f -lm -lplplot libtool: link: x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/psfex-3.17.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -Wl,-z -Wl,relro -o psfex catout.o check.o context.o cplot.o diagnostic.o fft.o field.o fitswcs.o homo.o main.o makeit.o misc.o pca.o prefs.o psf.o sample.o vignet.o xml.o ./fits/libfits.a ./levmar/liblevmar.a ./wcs/libwcs_c.a -llapack_atlas -lcblas -latlas -lfftw3f -lm -lplplot make[4]: Leaving directory '/build/psfex-3.17.1+dfsg/src' make[3]: Leaving directory '/build/psfex-3.17.1+dfsg/src' @@ -4207,7 +4242,7 @@ make[2]: Leaving directory '/build/psfex-3.17.1+dfsg' make[1]: Leaving directory '/build/psfex-3.17.1+dfsg' dh_auto_test - make -j16 check VERBOSE=1 + make -j15 check VERBOSE=1 make[1]: Entering directory '/build/psfex-3.17.1+dfsg' Making check in man make[2]: Entering directory '/build/psfex-3.17.1+dfsg/man' @@ -4276,7 +4311,7 @@ make[3]: Entering directory '/build/psfex-3.17.1+dfsg/src' make[4]: Entering directory '/build/psfex-3.17.1+dfsg/src' /bin/mkdir -p '/build/psfex-3.17.1+dfsg/debian/psfex/usr/bin' - /bin/bash ../libtool --mode=install /usr/bin/install -c psfex '/build/psfex-3.17.1+dfsg/debian/psfex/usr/bin' + /bin/sh ../libtool --mode=install /usr/bin/install -c psfex '/build/psfex-3.17.1+dfsg/debian/psfex/usr/bin' libtool: install: /usr/bin/install -c psfex /build/psfex-3.17.1+dfsg/debian/psfex/usr/bin/psfex make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/build/psfex-3.17.1+dfsg/src' @@ -4319,12 +4354,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1268165/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1268165/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/1247286 and its subdirectories -I: Current time: Wed Sep 4 10:23:41 -12 2024 -I: pbuilder-time-stamp: 1725488621 +I: removing directory /srv/workspace/pbuilder/1268165 and its subdirectories +I: Current time: Fri Aug 4 06:02:41 +14 2023 +I: pbuilder-time-stamp: 1691078561