Diff of the two buildlogs: -- --- b1/build.log 2024-10-13 01:25:33.029367403 +0000 +++ b2/build.log 2024-10-13 01:29:24.431516075 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Oct 12 13:17:35 -12 2024 -I: pbuilder-time-stamp: 1728782255 +I: Current time: Sun Oct 13 15:25:46 +14 2024 +I: pbuilder-time-stamp: 1728782746 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -32,52 +32,84 @@ dpkg-source: info: applying Remove-buggy-openblas-test.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/24897/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/30833/tmp/hooks/D01_modify_environment starting +debug: Running on virt32b. +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 Oct 13 01:26 /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/30833/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/30833/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='8d201b222caa4b208c0977640f797f32' - 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='24897' - PS1='# ' - PS2='> ' + INVOCATION_ID=ec91b08253ec41599f74c37262c5dbe7 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=30833 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.0NrbKhpB/pbuilderrc_vQz1 --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.0NrbKhpB/b1 --logfile b1/build.log psfex_3.24.2-2.dsc' - SUDO_GID='114' - SUDO_UID='108' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.0NrbKhpB/pbuilderrc_QPIT --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.0NrbKhpB/b2 --logfile b2/build.log psfex_3.24.2-2.dsc' + SUDO_GID=112 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt64a 6.1.0-26-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-armmp-lpae #1 SMP Debian 6.1.112-1 (2024-09-30) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/24897/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/30833/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -294,7 +326,7 @@ Get: 169 http://deb.debian.org/debian unstable/main armhf pkgconf-bin armhf 1.8.1-3 [29.1 kB] Get: 170 http://deb.debian.org/debian unstable/main armhf pkgconf armhf 1.8.1-3 [26.1 kB] Get: 171 http://deb.debian.org/debian unstable/main armhf pkg-config armhf 1.8.1-3 [13.9 kB] -Fetched 120 MB in 7s (16.9 MB/s) +Fetched 120 MB in 4s (30.2 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19519 files and directories currently installed.) @@ -1006,7 +1038,11 @@ fakeroot is already the newest version (1.36-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/psfex-3.24.2/ && 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.24.2-2_source.changes +I: user script /srv/workspace/pbuilder/30833/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/30833/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/psfex-3.24.2/ && 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.24.2-2_source.changes dpkg-buildpackage: info: source package psfex dpkg-buildpackage: info: source version 3.24.2-2 dpkg-buildpackage: info: source distribution unstable @@ -1229,7 +1265,7 @@ config.status: executing libtool commands make[1]: Leaving directory '/build/reproducible-path/psfex-3.24.2' dh_auto_build - make -j3 + make -j4 make[1]: Entering directory '/build/reproducible-path/psfex-3.24.2' make all-recursive make[2]: Entering directory '/build/reproducible-path/psfex-3.24.2' @@ -1240,6 +1276,7 @@ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o fitsbody.o fitsbody.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o fitscat.o fitscat.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o fitscheck.o fitscheck.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o fitscleanup.o fitscleanup.c fitscat.c: In function 'addhistoryto_cat': fitscat.c:140:21: warning: '%.65s' directive writing up to 65 bytes into a region of size between 0 and 81 [-Wformat-overflow=] 140 | sprintf(str2, "%s %.65s", str2, str); @@ -1255,10 +1292,10 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o fitscleanup.o fitscleanup.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o fitsconv.o fitsconv.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o fitshead.o fitshead.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o fitskey.o fitskey.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o fitsmisc.o fitsmisc.c fitsbody.c: In function 'alloc_body': fitsbody.c:130:31: warning: '/vm' directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 130 | sprintf(tab->swapname, "%s/vm%05ld_%05x.tmp", @@ -1277,6 +1314,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o fitsread.o fitsread.c fitsbody.c: In function 'alloc_ibody': fitsbody.c:237:31: warning: '/vm' directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 237 | sprintf(tab->swapname, "%s/vm%05ld_%05x.tmp", @@ -1293,10 +1331,9 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o fitsmisc.o fitsmisc.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o fitsread.o fitsread.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o fitstab.o fitstab.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o fitsutil.o fitsutil.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o fitswrite.o fitswrite.c fitsutil.c: In function 'fitswrite': fitsutil.c:558:42: warning: ''' directive writing 1 byte into a region of size between 0 and 80 [-Wformat-overflow=] 558 | sprintf(str, "'%s'", str2); @@ -1325,7 +1362,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o fitswrite.o fitswrite.c rm -f libfits.a arm-linux-gnueabihf-ar cru libfits.a fitsbody.o fitscat.o fitscheck.o fitscleanup.o fitsconv.o fitshead.o fitskey.o fitsmisc.o fitsread.o fitstab.o fitsutil.o fitswrite.o arm-linux-gnueabihf-ar: `u' modifier ignored since `D' is the default (see `U') @@ -1364,6 +1400,21 @@ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o catout.o catout.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o check.o check.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o context.o context.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o cplot.o cplot.c +In file included from context.c:38: +context.c: In function 'context_init': +context.c:70:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 70 | QCALLOC(context, contextstruct, 1); + | ^ +define.h:134:35: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +context.c:71:38: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 71 | QCALLOC(context->name, char *, ndim); + | ^ +define.h:134:35: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ In file included from check.c:38: check.c: In function 'check_write': check.c:126:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -1372,36 +1423,101 @@ define.h:154:35: note: in definition of macro 'QREALLOC' 154 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +context.c:72:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 72 | QCALLOC(context->group, int, ndim); + | ^ +define.h:134:35: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +context.c:73:37: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 73 | QCALLOC(context->degree, int, ndim); + | ^ +define.h:134:35: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ check.c:132:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 132 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:35: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +context.c:74:37: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 74 | QCALLOC(context->pcflag, int, ndim); + | ^ +define.h:134:35: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +context.c:75:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 75 | QCALLOC(groupflag, int, ndim); + | ^ +define.h:134:35: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ check.c:150:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 150 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:35: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +context.c:89:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 89 | QMALLOC(context->name[d2], char, 80); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ check.c:182:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 182 | QREALLOC(tab->naxisn, int, tab->naxis); | ^ define.h:154:35: note: in definition of macro 'QREALLOC' 154 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +In file included from catout.c:37: +catout.c: In function 'init_outcat': +In file included from cplot.c:42: +cplot.c: In function 'cplot_init': +catout.c:85:53: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 85 | QCALLOC(outcat, outcatstruct, sizeof(outcatstruct)); + | ^ +define.h:134:35: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +cplot.c:167:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 167 | QMALLOC(devmenu, char *, ndev); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +cplot.c:168:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 168 | QMALLOC(devname, char *, ndev); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ check.c:188:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 188 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:35: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +catout.c:92:70: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 92 | QCALLOC(objkeys, keystruct, (sizeof(refoutkey) / sizeof(keystruct))); + | ^ +define.h:134:35: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ check.c:212:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 212 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:35: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +context.c: In function 'context_apply': +context.c:193:56: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 193 | QMALLOC(polycopyflag, int, poly2->ncoeff*poly->ncoeff); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ check.c:235:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 235 | QREALLOC(tab->naxisn, int, tab->naxis); | ^ @@ -1414,18 +1530,60 @@ define.h:134:35: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +catout.c:157:33: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 157 | QCALLOC(asctab, tabstruct, 1); + | ^ +define.h:134:35: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +context.c:219:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 219 | QCALLOC(comp2, float, comp2size); + | ^ +define.h:134:35: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +context.c:221:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 221 | QCALLOC(bcoeff2, float, bcoeff2size); + | ^ +define.h:134:35: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +catout.c:159:61: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 159 | QCALLOC(asctab->headbuf, char, asctab->headnblock*FBSIZE); + | ^ +define.h:134:35: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ check.c:259:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 259 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:35: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +context.c:243:54: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 243 | QMEMCPY(comp2, psf2->comp, float, comp2size); + | ^ +define.h:165:37: note: in definition of macro 'QMEMCPY' + 165 | sprintf(gstr, #ptrout " (" #nel "=%ld elements) " \ + | ^~~~~~ check.c:283:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 283 | QREALLOC(tab->naxisn, int, tab->naxis); | ^ define.h:154:35: note: in definition of macro 'QREALLOC' 154 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +catout.c:172:41: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 172 | QMALLOC(key->naxisn, int, key->naxis); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +context.c:245:66: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 245 | QMEMCPY(bcoeff2, psf2->basiscoeff, float, bcoeff2size); + | ^ +define.h:165:37: note: in definition of macro 'QMEMCPY' + 165 | sprintf(gstr, #ptrout " (" #nel "=%ld elements) " \ + | ^~~~~~ check.c:289:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 289 | QCALLOC(pix0, float, tab->tabsize); | ^ @@ -1456,12 +1614,25 @@ define.h:134:35: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +cplot.c: In function 'cplot_drawloccoordgrid': +cplot.c:527:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 527 | QMALLOC(x, PLFLT, CPLOT_NPOINTDEF); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ check.c:393:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 393 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:35: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +cplot.c:528:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 528 | QMALLOC(y, PLFLT, CPLOT_NPOINTDEF); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ check.c:416:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 416 | QREALLOC(tab->naxisn, int, tab->naxis); | ^ @@ -1486,12 +1657,19 @@ define.h:134:35: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +cplot.c: In function 'cplot_fwhm': check.c:503:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 503 | QREALLOC(tab->naxisn, int, tab->naxis); | ^ define.h:154:35: note: in definition of macro 'QREALLOC' 154 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +cplot.c:700:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 700 | QMALLOC(ctype[i], char, 16); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ check.c:510:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 510 | QCALLOC(pix0, float, tab->tabsize); | ^ @@ -1522,6 +1700,13 @@ define.h:134:35: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +cplot.c: In function 'cplot_ellipticity': +cplot.c:934:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 934 | QMALLOC(ctype[i], char, 16); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ check.c:615:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 615 | QREALLOC(tab->naxisn, int, tab->naxis); | ^ @@ -1546,12 +1731,19 @@ define.h:144:35: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +cplot.c: In function 'cplot_moffatresi': check.c:688:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 688 | QREALLOC(tab->naxisn, int, tab->naxis); | ^ define.h:154:35: note: in definition of macro 'QREALLOC' 154 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +cplot.c:1154:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 1154 | QMALLOC(ctype[i], char, 16); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ check.c:695:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 695 | QCALLOC(pix0, float, tab->tabsize); | ^ @@ -1570,6 +1762,13 @@ define.h:134:35: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +cplot.c: In function 'cplot_asymresi': +cplot.c:1375:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 1375 | QMALLOC(ctype[i], char, 16); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ check.c:802:40: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 802 | QCALLOC(pix0, float, tab->tabsize); | ^ @@ -1582,14 +1781,19 @@ define.h:134:35: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +cplot.c: In function 'cplot_counts': check.c:925:49: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 925 | QMALLOC(list, double, size = spoonsize); | ^ define.h:144:35: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ -In file included from context.c:38: -context.c: In function 'context_init': +cplot.c:1591:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 1591 | QMALLOC(ctype[i], char, 16); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ check.c:928:51: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 928 | QREALLOC(list, double, size += spoonsize); | ^ @@ -1602,41 +1806,18 @@ define.h:154:35: note: in definition of macro 'QREALLOC' 154 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ -context.c:70:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 70 | QCALLOC(context, contextstruct, 1); - | ^ -define.h:134:35: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -context.c:71:38: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 71 | QCALLOC(context->name, char *, ndim); - | ^ -define.h:134:35: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ check.c:954:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 954 | QCALLOC(pix0, float, tab->tabsize); | ^ define.h:134:35: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ -context.c:72:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 72 | QCALLOC(context->group, int, ndim); - | ^ -define.h:134:35: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -context.c:73:37: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 73 | QCALLOC(context->degree, int, ndim); - | ^ -define.h:134:35: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -context.c:74:37: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 74 | QCALLOC(context->pcflag, int, ndim); - | ^ -define.h:134:35: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ +cplot.c: In function 'cplot_countfrac': +cplot.c:1752:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 1752 | QMALLOC(ctype[i], char, 16); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ check.c:981:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 981 | QCALLOC(pix0, float, tab->tabsize); @@ -1644,158 +1825,12 @@ define.h:134:35: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ -context.c:75:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 75 | QCALLOC(groupflag, int, ndim); - | ^ -define.h:134:35: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -context.c:89:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 89 | QMALLOC(context->name[d2], char, 80); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ check.c:982:33: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 982 | QMALLOC(vig0, float, w*h); | ^ define.h:144:35: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ -context.c: In function 'context_apply': -In file included from catout.c:37: -catout.c: In function 'init_outcat': -catout.c:85:53: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 85 | QCALLOC(outcat, outcatstruct, sizeof(outcatstruct)); - | ^ -define.h:134:35: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -catout.c:92:70: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 92 | QCALLOC(objkeys, keystruct, (sizeof(refoutkey) / sizeof(keystruct))); - | ^ -define.h:134:35: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -context.c:193:56: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 193 | QMALLOC(polycopyflag, int, poly2->ncoeff*poly->ncoeff); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -context.c:219:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 219 | QCALLOC(comp2, float, comp2size); - | ^ -define.h:134:35: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -context.c:221:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 221 | QCALLOC(bcoeff2, float, bcoeff2size); - | ^ -define.h:134:35: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -context.c:243:54: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 243 | QMEMCPY(comp2, psf2->comp, float, comp2size); - | ^ -define.h:165:37: note: in definition of macro 'QMEMCPY' - 165 | sprintf(gstr, #ptrout " (" #nel "=%ld elements) " \ - | ^~~~~~ -catout.c:157:33: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 157 | QCALLOC(asctab, tabstruct, 1); - | ^ -define.h:134:35: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -context.c:245:66: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 245 | QMEMCPY(bcoeff2, psf2->basiscoeff, float, bcoeff2size); - | ^ -define.h:165:37: note: in definition of macro 'QMEMCPY' - 165 | sprintf(gstr, #ptrout " (" #nel "=%ld elements) " \ - | ^~~~~~ -catout.c:159:61: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 159 | QCALLOC(asctab->headbuf, char, asctab->headnblock*FBSIZE); - | ^ -define.h:134:35: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -catout.c:172:41: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 172 | QMALLOC(key->naxisn, int, key->naxis); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o cplot.o cplot.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o diagnostic.o diagnostic.c -In file included from cplot.c:42: -cplot.c: In function 'cplot_init': -cplot.c:167:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 167 | QMALLOC(devmenu, char *, ndev); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -cplot.c:168:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 168 | QMALLOC(devname, char *, ndev); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -cplot.c: In function 'cplot_drawloccoordgrid': -cplot.c:527:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 527 | QMALLOC(x, PLFLT, CPLOT_NPOINTDEF); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -cplot.c:528:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 528 | QMALLOC(y, PLFLT, CPLOT_NPOINTDEF); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -cplot.c: In function 'cplot_fwhm': -cplot.c:700:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 700 | QMALLOC(ctype[i], char, 16); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -cplot.c: In function 'cplot_ellipticity': -cplot.c:934:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 934 | QMALLOC(ctype[i], char, 16); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -cplot.c: In function 'cplot_moffatresi': -cplot.c:1154:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 1154 | QMALLOC(ctype[i], char, 16); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -cplot.c: In function 'cplot_asymresi': -cplot.c:1375:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 1375 | QMALLOC(ctype[i], char, 16); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -cplot.c: In function 'cplot_counts': -cplot.c:1591:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 1591 | QMALLOC(ctype[i], char, 16); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -cplot.c: In function 'cplot_countfrac': -cplot.c:1752:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 1752 | QMALLOC(ctype[i], char, 16); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ cplot.c: In function 'cplot_modchi2': cplot.c:1914:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 1914 | QMALLOC(ctype[i], char, 16); @@ -1810,6 +1845,26 @@ define.h:144:35: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o diagnostic.o diagnostic.c +cplot.c: In function 'cplot_init': +cplot.c:133:58: warning: '%s' directive writing up to 511 bytes into a region of size between 457 and 477 [-Wformat-overflow=] + 133 | sprintf(str, "convert -geometry \"%dx%d\" -antialias %s %s", + | ^~ +...... + 136 | plotfilename, plotfilename); + | ~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:970, + from cplot.c:35: +In function 'sprintf', + inlined from 'cplot_init' at cplot.c:133:5: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 37 and 1079 bytes into a destination of size 512 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o fft.o fft.c In file included from diagnostic.c:41: diagnostic.c: In function 'psf_diagnostic': diagnostic.c:245:35: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -1831,25 +1886,6 @@ define.h:144:35: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ -cplot.c: In function 'cplot_init': -cplot.c:133:58: warning: '%s' directive writing up to 511 bytes into a region of size between 457 and 477 [-Wformat-overflow=] - 133 | sprintf(str, "convert -geometry \"%dx%d\" -antialias %s %s", - | ^~ -...... - 136 | plotfilename, plotfilename); - | ~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:970, - from cplot.c:35: -In function 'sprintf', - inlined from 'cplot_init' at cplot.c:133:5: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 37 and 1079 bytes into a destination of size 512 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o fft.o fft.c In file included from fft.c:41: fft.c: In function 'fft_shift': fft.c:300:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -1973,35 +2009,6 @@ | ^~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o fitswcs.o fitswcs.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o homo.o homo.c -cplot.c: In function 'cplot_snrvsfwhm': -cplot.c:2339:40: warning: '%s' directive writing up to 511 bytes into a region of size 61 [-Wformat-overflow=] - 2339 | sprintf(str, "FWHM selection for %s", field->rtcatname); - | ^~ -In function 'sprintf', - inlined from 'cplot_snrvsfwhm' at cplot.c:2339:7: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 20 and 531 bytes into a destination of size 80 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -cplot.c: In function 'cplot_snrvsfwhm': -cplot.c:2337:21: warning: '%s' directive writing up to 511 bytes into a region of size 80 [-Wformat-overflow=] - 2337 | sprintf(str, "%s[%d]", field->rtcatname, e+1); - | ^~ -cplot.c:2337:20: note: directive argument in the range [1, 2147483647] - 2337 | sprintf(str, "%s[%d]", field->rtcatname, e+1); - | ^~~~~~~~ -In function 'sprintf', - inlined from 'cplot_snrvsfwhm' at cplot.c:2337:7: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 4 and 524 bytes into a destination of size 80 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ In file included from homo.c:38: homo.c: In function 'psf_homo': homo.c:101:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -2086,6 +2093,35 @@ define.h:144:35: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +cplot.c: In function 'cplot_snrvsfwhm': +cplot.c:2339:40: warning: '%s' directive writing up to 511 bytes into a region of size 61 [-Wformat-overflow=] + 2339 | sprintf(str, "FWHM selection for %s", field->rtcatname); + | ^~ +In function 'sprintf', + inlined from 'cplot_snrvsfwhm' at cplot.c:2339:7: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 20 and 531 bytes into a destination of size 80 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +cplot.c: In function 'cplot_snrvsfwhm': +cplot.c:2337:21: warning: '%s' directive writing up to 511 bytes into a region of size 80 [-Wformat-overflow=] + 2337 | sprintf(str, "%s[%d]", field->rtcatname, e+1); + | ^~ +cplot.c:2337:20: note: directive argument in the range [1, 2147483647] + 2337 | sprintf(str, "%s[%d]", field->rtcatname, e+1); + | ^~~~~~~~ +In function 'sprintf', + inlined from 'cplot_snrvsfwhm' at cplot.c:2337:7: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 4 and 524 bytes into a destination of size 80 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o makeit.o makeit.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o misc.o misc.c In file included from makeit.c:45: @@ -2140,6 +2176,7 @@ 165 | sprintf(gstr, #ptrout " (" #nel "=%ld elements) " \ | ^~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o pca.o pca.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o prefs.o prefs.c In file included from pca.c:38: pca.c: In function 'pca_onsnaps': pca.c:79:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -2192,6 +2229,27 @@ define.h:144:35: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +In file included from prefs.c:52: +prefs.c: In function 'readprefs': +prefs.c:352:65: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 352 | QMALLOC(((char **)key[nkey].ptr)[i], char, MAXCHAR); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +prefs.c: In function 'list_to_str': +prefs.c:448:33: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 448 | QMALLOC(listbuf, char, bufsize); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +prefs.c:458:40: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 458 | QREALLOC(listbuf, char, bufsize); + | ^ +define.h:154:35: note: in definition of macro 'QREALLOC' + 154 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ makeit.c: In function 'makeit': makeit.c:98:35: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] 98 | sprintf(prefs.sdate_start,"%04d-%02d-%02d", @@ -2483,206 +2541,8 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o prefs.o prefs.c -In file included from prefs.c:52: -prefs.c: In function 'readprefs': -prefs.c:352:65: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 352 | QMALLOC(((char **)key[nkey].ptr)[i], char, MAXCHAR); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -prefs.c: In function 'list_to_str': -prefs.c:448:33: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 448 | QMALLOC(listbuf, char, bufsize); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -prefs.c:458:40: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 458 | QREALLOC(listbuf, char, bufsize); - | ^ -define.h:154:35: note: in definition of macro 'QREALLOC' - 154 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o psf.o psf.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o sample.o sample.c -In file included from sample.c:39: -sample.c: In function 'load_samples': -sample.c:95:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 95 | QMALLOC(fwhmmin, float, ncat); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -sample.c:96:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 96 | QMALLOC(fwhmmax, float, ncat); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -sample.c:97:32: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 97 | QMALLOC(fwhmmode, float, ncat); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -sample.c:103:33: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 103 | QMALLOC(fwhm, float, nobjmax); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -sample.c:104:35: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 104 | QMALLOC(fwhmindex, int, ncat+1); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -sample.c:111:37: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 111 | QMALLOC(pkeynames, char *, nkeys); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -sample.c:202:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 202 | QREALLOC(fwhm, float, nobjmax); - | ^ -define.h:154:35: note: in definition of macro 'QREALLOC' - 154 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -sample.c: In function 'read_samples': -sample.c:446:40: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 446 | QMALLOC(cmin, double, set->ncontext); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -sample.c:447:40: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 447 | QMALLOC(cmax, double, set->ncontext); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -sample.c:486:54: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 486 | QCALLOC(set->head, char, ((n*80)/FBSIZE+1)*FBSIZE); - | ^ -define.h:134:35: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -sample.c: In function 'malloc_samples': -sample.c:1024:45: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 1024 | QCALLOC(set->sample, samplestruct, nsample); - | ^ -define.h:134:35: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -sample.c:1028:53: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 1028 | QMALLOC(sample->context, double, set->ncontext); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -sample.c: In function 'realloc_samples': -sample.c:1059:48: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 1059 | QREALLOC(set->sample, samplestruct, nsample); - | ^ -define.h:154:35: note: in definition of macro 'QREALLOC' - 154 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -sample.c:1065:55: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 1065 | QMALLOC(sample->context, double, set->ncontext); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -sample.c:1077:48: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 1077 | QREALLOC(set->sample, samplestruct, nsample); - | ^ -define.h:154:35: note: in definition of macro 'QREALLOC' - 154 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -sample.c: In function 'malloc_samplevig': -sample.c:1132:35: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 1132 | QMALLOC(sample->vig, float, npix); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -sample.c:1133:39: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 1133 | QMALLOC(sample->vigresi, float, npix); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -sample.c:1134:41: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 1134 | QMALLOC(sample->vigweight, float, npix); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -sample.c:1135:38: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 1135 | QMALLOC(sample->vigchi, float, npix); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -sample.c:1137:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 1137 | QMALLOC(sample->vigdgeox, float, npix); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -sample.c:1138:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 1138 | QMALLOC(sample->vigdgeoy, float, npix); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -sample.c: In function 'add_set': -sample.c:1240:69: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 1240 | QMEMCPY(sample->context, destsample->context, double, ncontext); - | ^ -define.h:165:37: note: in definition of macro 'QMEMCPY' - 165 | sprintf(gstr, #ptrout " (" #nel "=%ld elements) " \ - | ^~~~~~ -sample.c: In function 'init_set': -sample.c:1265:28: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 1265 | QCALLOC(set, setstruct, 1); - | ^ -define.h:134:35: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -sample.c:1267:41: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 1267 | QMALLOC(set->vigsize, int, set->vigdim); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -sample.c:1271:54: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 1271 | QCALLOC(set->contextoffset, double, set->ncontext); - | ^ -define.h:134:35: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -sample.c:1272:53: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 1272 | QCALLOC(set->contextscale, double, set->ncontext); - | ^ -define.h:134:35: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -sample.c:1273:52: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 1273 | QCALLOC(set->contextname, char *, set->ncontext); - | ^ -define.h:134:35: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ -sample.c:1275:44: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 1275 | QCALLOC(set->contextname[i], char, 80); - | ^ -define.h:134:35: note: in definition of macro 'QCALLOC' - 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ In file included from psf.c:38: psf.c: In function 'psf_clean': psf.c:88:35: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -2991,18 +2851,62 @@ define.h:144:35: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +In file included from sample.c:39: +sample.c: In function 'load_samples': +sample.c:95:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 95 | QMALLOC(fwhmmin, float, ncat); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +sample.c:96:31: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 96 | QMALLOC(fwhmmax, float, ncat); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +sample.c:97:32: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 97 | QMALLOC(fwhmmode, float, ncat); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ psf.c:972:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 972 | QCALLOC(alphamat, double, nunknown*nunknown); | ^ define.h:134:35: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +sample.c:103:33: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 103 | QMALLOC(fwhm, float, nobjmax); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +sample.c:104:35: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 104 | QMALLOC(fwhmindex, int, ncat+1); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +sample.c:111:37: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 111 | QMALLOC(pkeynames, char *, nkeys); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ psf.c:973:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 973 | QCALLOC(betamat, double, nunknown); | ^ define.h:134:35: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +sample.c:202:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 202 | QREALLOC(fwhm, float, nobjmax); + | ^ +define.h:154:35: note: in definition of macro 'QREALLOC' + 154 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ psf.c:1158:45: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 1158 | QMALLOC(psf->basiscoeff, float, nunknown); | ^ @@ -3015,13 +2919,32 @@ define.h:144:35: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +sample.c: In function 'read_samples': +sample.c:446:40: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 446 | QMALLOC(cmin, double, set->ncontext); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ psf.c: In function 'psf_orthopoly': +sample.c:447:40: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 447 | QMALLOC(cmax, double, set->ncontext); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ psf.c:1213:37: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 1213 | QMALLOC(data, double, ndata*ncoeff); | ^ define.h:144:35: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +sample.c:486:54: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 486 | QCALLOC(set->head, char, ((n*80)/FBSIZE+1)*FBSIZE); + | ^ +define.h:134:35: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ psf.c: In function 'psf_makebasis': psf.c:1275:47: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 1275 | QMEMCPY(psf->comp, psforder, float, npix); @@ -3042,44 +2965,157 @@ 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ psf.c: In function 'psf_pshapelet': +sample.c: In function 'malloc_samples': +sample.c:1024:45: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 1024 | QCALLOC(set->sample, samplestruct, nsample); + | ^ +define.h:134:35: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ psf.c:1418:59: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 1418 | QMALLOC(fr2, double, w*h*GAUSS_LAG_OSAMP*GAUSS_LAG_OSAMP); | ^ define.h:144:35: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +sample.c:1028:53: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 1028 | QMALLOC(sample->context, double, set->ncontext); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +sample.c: In function 'realloc_samples': +sample.c:1059:48: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 1059 | QREALLOC(set->sample, samplestruct, nsample); + | ^ +define.h:154:35: note: in definition of macro 'QREALLOC' + 154 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ psf.c:1419:62: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 1419 | QMALLOC(fexpr2, double, w*h*GAUSS_LAG_OSAMP*GAUSS_LAG_OSAMP); | ^ define.h:144:35: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +sample.c:1065:55: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 1065 | QMALLOC(sample->context, double, set->ncontext); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ psf.c:1420:62: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 1420 | QMALLOC(ftheta, double, w*h*GAUSS_LAG_OSAMP*GAUSS_LAG_OSAMP); | ^ define.h:144:35: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +sample.c:1077:48: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 1077 | QREALLOC(set->sample, samplestruct, nsample); + | ^ +define.h:154:35: note: in definition of macro 'QREALLOC' + 154 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +sample.c: In function 'malloc_samplevig': +sample.c:1132:35: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 1132 | QMALLOC(sample->vig, float, npix); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ psf.c:1444:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 1444 | QCALLOC(*basis, float, w*h*kmax); | ^ define.h:134:35: note: in definition of macro 'QCALLOC' 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o vignet.o vignet.c +sample.c:1133:39: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 1133 | QMALLOC(sample->vigresi, float, npix); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ psf.c: In function 'psf_readbasis': +sample.c:1134:41: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 1134 | QMALLOC(sample->vigweight, float, npix); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +sample.c:1135:38: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 1135 | QMALLOC(sample->vigchi, float, npix); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ psf.c:1545:33: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 1545 | QMALLOC(pixin, PIXTYPE, npixin); | ^ define.h:144:35: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +sample.c:1137:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 1137 | QMALLOC(sample->vigdgeox, float, npix); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +sample.c:1138:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 1138 | QMALLOC(sample->vigdgeoy, float, npix); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ psf.c:1547:43: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] 1547 | QMALLOC(psf->basis, float, ncomp*npixout); | ^ define.h:144:35: note: in definition of macro 'QMALLOC' 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o vignet.o vignet.c +sample.c: In function 'add_set': +sample.c:1240:69: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 1240 | QMEMCPY(sample->context, destsample->context, double, ncontext); + | ^ +define.h:165:37: note: in definition of macro 'QMEMCPY' + 165 | sprintf(gstr, #ptrout " (" #nel "=%ld elements) " \ + | ^~~~~~ +sample.c: In function 'init_set': +sample.c:1265:28: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 1265 | QCALLOC(set, setstruct, 1); + | ^ +define.h:134:35: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +sample.c:1267:41: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 1267 | QMALLOC(set->vigsize, int, set->vigdim); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +sample.c:1271:54: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 1271 | QCALLOC(set->contextoffset, double, set->ncontext); + | ^ +define.h:134:35: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +sample.c:1272:53: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 1272 | QCALLOC(set->contextscale, double, set->ncontext); + | ^ +define.h:134:35: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +sample.c:1273:52: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 1273 | QCALLOC(set->contextname, char *, set->ncontext); + | ^ +define.h:134:35: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ +sample.c:1275:44: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 1275 | QCALLOC(set->contextname[i], char, 80); + | ^ +define.h:134:35: note: in definition of macro 'QCALLOC' + 134 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ In file included from vignet.c:38: vignet.c: In function 'vignet_resample': vignet.c:185:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] @@ -3124,6 +3160,15 @@ define.h:154:35: note: in definition of macro 'QREALLOC' 154 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ | ^~~ +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o xml.o xml.c +In file included from xml.c:39: +xml.c: In function 'init_xml': +xml.c:71:43: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] + 71 | QMALLOC(field_xml, fieldstruct *, ncat); + | ^ +define.h:144:35: note: in definition of macro 'QMALLOC' + 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ + | ^~~ sample.c: In function 'read_samples': sample.c:561:46: warning: '%s' directive writing up to 511 bytes into a region of size 487 [-Wformat-overflow=] 561 | sprintf(str, "Not enough apertures for %s in catalogue %s: ", @@ -3141,15 +3186,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/plplot -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcommon -c -o xml.o xml.c -In file included from xml.c:39: -xml.c: In function 'init_xml': -xml.c:71:43: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] - 71 | QMALLOC(field_xml, fieldstruct *, ncat); - | ^ -define.h:144:35: note: in definition of macro 'QMALLOC' - 144 | sprintf(gstr, #ptr " (" #nel "=%ld elements) " \ - | ^~~ xml.c: In function 'write_xml_meta': xml.c:233:35: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 7 [-Wformat-overflow=] 233 | sprintf(prefs.sdate_end,"%04d-%02d-%02d", @@ -3168,7 +3204,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -/bin/bash ../libtool --tag=CC --mode=link arm-linux-gnueabihf-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -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 -llapacke -lfftw3f -lm -lplplot +/bin/sh ../libtool --tag=CC --mode=link arm-linux-gnueabihf-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -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 -llapacke -lfftw3f -lm -lplplot libtool: link: arm-linux-gnueabihf-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/psfex-3.24.2=. -fstack-protector-strong -fstack-clash-protection -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 -llapacke -lfftw3f -lm -lplplot make[4]: Leaving directory '/build/reproducible-path/psfex-3.24.2/src' make[3]: Leaving directory '/build/reproducible-path/psfex-3.24.2/src' @@ -3185,7 +3221,7 @@ make[2]: Leaving directory '/build/reproducible-path/psfex-3.24.2' make[1]: Leaving directory '/build/reproducible-path/psfex-3.24.2' dh_auto_test - make -j3 check "TESTSUITEFLAGS=-j3 --verbose" VERBOSE=1 + make -j4 check "TESTSUITEFLAGS=-j4 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/psfex-3.24.2' Making check in src make[2]: Entering directory '/build/reproducible-path/psfex-3.24.2/src' @@ -3250,7 +3286,7 @@ make[3]: Entering directory '/build/reproducible-path/psfex-3.24.2/src' make[4]: Entering directory '/build/reproducible-path/psfex-3.24.2/src' /usr/bin/mkdir -p '/build/reproducible-path/psfex-3.24.2/debian/psfex/usr/bin' - /bin/bash ../libtool --mode=install /usr/bin/install -c psfex '/build/reproducible-path/psfex-3.24.2/debian/psfex/usr/bin' + /bin/sh ../libtool --mode=install /usr/bin/install -c psfex '/build/reproducible-path/psfex-3.24.2/debian/psfex/usr/bin' libtool: install: /usr/bin/install -c psfex /build/reproducible-path/psfex-3.24.2/debian/psfex/usr/bin/psfex make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/build/reproducible-path/psfex-3.24.2/src' @@ -3312,12 +3348,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/30833/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/30833/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/24897 and its subdirectories -I: Current time: Sat Oct 12 13:25:24 -12 2024 -I: pbuilder-time-stamp: 1728782724 +I: removing directory /srv/workspace/pbuilder/30833 and its subdirectories +I: Current time: Sun Oct 13 15:29:14 +14 2024 +I: pbuilder-time-stamp: 1728782954