Diff of the two buildlogs: -- --- b1/build.log 2021-08-20 04:36:47.376657016 +0000 +++ b2/build.log 2021-08-20 04:39:18.974998667 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Sep 21 22:56:04 -12 2022 -I: pbuilder-time-stamp: 1663844164 +I: Current time: Fri Aug 20 18:36:50 +14 2021 +I: pbuilder-time-stamp: 1629434210 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,8 @@ I: copying [./cmor_3.6.1-1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.EcjqiLA7/trustedkeys.kbx': General error -gpgv: Signature made Sat Dec 19 10:31:53 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.aRwady6j/trustedkeys.kbx': General error +gpgv: Signature made Sun Dec 20 12:31:53 2020 +14 gpgv: using RSA key 82383CE9165B347C787081A2CBE6BB4E5D9AD3A5 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./cmor_3.6.1-1.dsc @@ -34,135 +34,169 @@ dpkg-source: info: applying kfreebsd_hurd_support.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/11044/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/17646/tmp/hooks/D01_modify_environment starting +debug: Running on codethink12-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/17646/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/17646/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='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="aarch64-unknown-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=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=8' - DISTRIBUTION='' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='11044' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=17646 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.HfJ4xpL1dn/pbuilderrc_jdTV --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.HfJ4xpL1dn/b1 --logfile b1/build.log cmor_3.6.1-1.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.HfJ4xpL1dn/pbuilderrc_ho0h --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.HfJ4xpL1dn/b2 --logfile b2/build.log cmor_3.6.1-1.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink15-arm64 4.15.0-154-generic #161-Ubuntu SMP Fri Jul 30 13:01:15 UTC 2021 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-154-generic #161-Ubuntu SMP Fri Jul 30 13:01:15 UTC 2021 aarch64 GNU/Linux I: ls -l /bin total 5252 - -rwxr-xr-x 1 root root 1282512 Aug 4 2021 bash - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 34808 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 34808 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 14264 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 39832 Sep 22 2020 cat - -rwxr-xr-x 1 root root 64512 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 60368 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 64528 Sep 22 2020 chown - -rwxr-xr-x 1 root root 138896 Sep 22 2020 cp - -rwxr-xr-x 1 root root 129544 Dec 10 2020 dash - -rwxr-xr-x 1 root root 101384 Sep 22 2020 date - -rwxr-xr-x 1 root root 80984 Sep 22 2020 dd - -rwxr-xr-x 1 root root 89824 Sep 22 2020 df - -rwxr-xr-x 1 root root 143088 Sep 22 2020 dir - -rwxr-xr-x 1 root root 76152 Jul 28 2021 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 35632 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 31512 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 64856 Jul 28 2021 findmnt - -rwsr-xr-x 1 root root 34824 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 178400 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 93744 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 18440 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 68720 Sep 22 2020 ln - -rwxr-xr-x 1 root root 52720 Feb 7 2020 login - -rwxr-xr-x 1 root root 143088 Sep 22 2020 ls - -rwxr-xr-x 1 root root 161960 Jul 28 2021 lsblk - -rwxr-xr-x 1 root root 85200 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 68744 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 43976 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 51368 Jul 28 2021 more - -rwsr-xr-x 1 root root 51360 Jul 28 2021 mount - -rwxr-xr-x 1 root root 14496 Jul 28 2021 mountpoint - -rwxr-xr-x 1 root root 134808 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 35720 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 2021 rbash -> bash - -rwxr-xr-x 1 root root 43872 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 68592 Sep 22 2020 rm - -rwxr-xr-x 1 root root 43880 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 19208 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 114016 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Sep 18 03:47 sh -> dash - -rwxr-xr-x 1 root root 35656 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 72640 Sep 22 2020 stty - -rwsr-xr-x 1 root root 67776 Jul 28 2021 su - -rwxr-xr-x 1 root root 35672 Sep 22 2020 sync - -rwxr-xr-x 1 root root 535768 Feb 16 2021 tar - -rwxr-xr-x 1 root root 10568 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 89120 Sep 22 2020 touch - -rwxr-xr-x 1 root root 31512 Sep 22 2020 true - -rwxr-xr-x 1 root root 14264 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 30880 Jul 28 2021 umount - -rwxr-xr-x 1 root root 35640 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 143088 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 59584 Jul 28 2021 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/11044/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1282512 Aug 5 10:25 bash + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 34808 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 34808 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 14264 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 39832 Sep 23 2020 cat + -rwxr-xr-x 1 root root 64512 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 60368 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 64528 Sep 23 2020 chown + -rwxr-xr-x 1 root root 138896 Sep 23 2020 cp + -rwxr-xr-x 1 root root 129544 Dec 11 2020 dash + -rwxr-xr-x 1 root root 101384 Sep 23 2020 date + -rwxr-xr-x 1 root root 80984 Sep 23 2020 dd + -rwxr-xr-x 1 root root 89824 Sep 23 2020 df + -rwxr-xr-x 1 root root 143088 Sep 23 2020 dir + -rwxr-xr-x 1 root root 76152 Jul 29 09:09 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 35632 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 31512 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 64856 Jul 29 09:09 findmnt + -rwsr-xr-x 1 root root 34824 Feb 27 06:12 fusermount + -rwxr-xr-x 1 root root 178400 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 13:30 gzexe + -rwxr-xr-x 1 root root 93744 Mar 3 13:30 gzip + -rwxr-xr-x 1 root root 18440 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 68720 Sep 23 2020 ln + -rwxr-xr-x 1 root root 52720 Feb 8 2020 login + -rwxr-xr-x 1 root root 143088 Sep 23 2020 ls + -rwxr-xr-x 1 root root 161960 Jul 29 09:09 lsblk + -rwxr-xr-x 1 root root 85200 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 68744 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 43976 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 51368 Jul 29 09:09 more + -rwsr-xr-x 1 root root 51360 Jul 29 09:09 mount + -rwxr-xr-x 1 root root 14496 Jul 29 09:09 mountpoint + -rwxr-xr-x 1 root root 134808 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 05:38 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 35720 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 10:25 rbash -> bash + -rwxr-xr-x 1 root root 43872 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 68592 Sep 23 2020 rm + -rwxr-xr-x 1 root root 43880 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 19208 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 114016 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Aug 20 18:37 sh -> bash + lrwxrwxrwx 1 root root 4 Aug 15 23:25 sh.distrib -> dash + -rwxr-xr-x 1 root root 35656 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 72640 Sep 23 2020 stty + -rwsr-xr-x 1 root root 67776 Jul 29 09:09 su + -rwxr-xr-x 1 root root 35672 Sep 23 2020 sync + -rwxr-xr-x 1 root root 535768 Feb 17 2021 tar + -rwxr-xr-x 1 root root 10568 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 89120 Sep 23 2020 touch + -rwxr-xr-x 1 root root 31512 Sep 23 2020 true + -rwxr-xr-x 1 root root 14264 Feb 27 06:12 ulockmgr_server + -rwsr-xr-x 1 root root 30880 Jul 29 09:09 umount + -rwxr-xr-x 1 root root 35640 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 uncompress + -rwxr-xr-x 1 root root 143088 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 59584 Jul 29 09:09 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 13:30 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 13:30 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 13:30 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 13:30 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 13:30 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 13:30 zless + -rwxr-xr-x 1 root root 1842 Mar 3 13:30 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 13:30 znew +I: user script /srv/workspace/pbuilder/17646/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -363,7 +397,7 @@ Get: 127 http://deb.debian.org/debian bullseye/main arm64 python3-numpy arm64 1:1.19.5-1 [3196 kB] Get: 128 http://deb.debian.org/debian bullseye/main arm64 python3-setuptools all 52.0.0-4 [366 kB] Get: 129 http://deb.debian.org/debian bullseye/main arm64 uuid-dev arm64 2.36.1-8 [99.4 kB] -Fetched 57.0 MB in 5s (11.8 MB/s) +Fetched 57.0 MB in 1s (52.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19646 files and directories currently installed.) @@ -908,7 +942,8 @@ 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/cmor-3.6.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../cmor_3.6.1-1_source.changes +hostname: Temporary failure in name resolution +I: Running cd /build/cmor-3.6.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../cmor_3.6.1-1_source.changes dpkg-buildpackage: info: source package cmor dpkg-buildpackage: info: source version 3.6.1-1 dpkg-buildpackage: info: source distribution unstable @@ -962,7 +997,7 @@ CFLAGS="-I/usr/include/ossp -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -I/usr/include/ossp -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security " LDFLAGS="-Wl,-z,relro" SZLIBFLAGS=" -lsz" install -d /build/cmor-3.6.1/debian/.debhelper/generated/_source/home ./configure --build=aarch64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/aarch64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --disable-color --enable-verbose-test --with-uuid --without-python UUIDLDFLAGS=-lossp-uuid UUIDFLAGS=-I/usr/include/ossp "CFLAGS=-I/usr/include/ossp -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -I/usr/include/ossp -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security " LDFLAGS=-Wl,-z,relro "SZLIBFLAGS= -lsz" -./get_git_version.sh: 2: git: not found +./get_git_version.sh: line 2: git: command not found checking build system type... aarch64-unknown-linux-gnu checking host system type... aarch64-unknown-linux-gnu checking target system type... aarch64-unknown-linux-gnu @@ -13765,12 +13800,12 @@ extra options: '-DgFortran' aarch64-linux-gnu-gcc: Src/_cmormodule.c aarch64-linux-gnu-gcc: Src/cdTime/cdRegTrfm.c -aarch64-linux-gnu-gcc: Src/cdTime/cdTimeConv.c aarch64-linux-gnu-gcc: Src/cdTime/cdUtil.c aarch64-linux-gnu-gcc: Src/cdTime/fcdTimeConv.c aarch64-linux-gnu-gcc: Src/cdTime/reg_trfm.c -aarch64-linux-gnu-gcc: Src/cdTime/timeArith.c aarch64-linux-gnu-gcc: Src/cdTime/timeConv.c +aarch64-linux-gnu-gcc: Src/cdTime/cdTimeConv.c +aarch64-linux-gnu-gcc: Src/cdTime/timeArith.c aarch64-linux-gnu-gcc: Src/cmor.c In file included from Src/cdTime/fcdTimeConv.c:26: include/cdTime/cfortran.h:598:14: warning: 'kill_trailingn' defined but not used [-Wunused-function] @@ -13790,8 +13825,19 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor_axes.c: In function 'cmor_set_axis_def_att': aarch64-linux-gnu-gcc: Src/cmor_grids.c +Src/cmor.c:122:1: warning: "/*" within comment [-Wcomment] + 122 | /**************************************************************************/ + | +Src/cmor.c: In function 'cmor_check_forcing_validity': +Src/cmor.c:264:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 264 | for (i = 0; i < strlen(astr); i++) { + | ^ +Src/cmor.c: In function 'cmor_pop_traceback': +Src/cmor.c:438:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 438 | for (i = 0; i < strlen(cmor_traceback_info); i++) { + | ^ +Src/cmor_axes.c: In function 'cmor_set_axis_def_att': Src/cmor_axes.c:2320:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2320 | for (i = 0; i < strlen(val); i++) { | ^ @@ -13807,17 +13853,10 @@ Src/cmor_axes.c:2419:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2419 | && (i < strlen(val))) { | ^ -Src/cmor.c:122:1: warning: "/*" within comment [-Wcomment] - 122 | /**************************************************************************/ - | -Src/cmor.c: In function 'cmor_check_forcing_validity': -Src/cmor.c:264:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 264 | for (i = 0; i < strlen(astr); i++) { - | ^ -Src/cmor.c: In function 'cmor_pop_traceback': -Src/cmor.c:438:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 438 | for (i = 0; i < strlen(cmor_traceback_info); i++) { - | ^ +Src/_cmormodule.c: In function 'PyCMOR_set_variable_attribute': +Src/_cmormodule.c:174:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 174 | value = PyUnicode_AsUTF8(oValue); + | ^ Src/cmor.c: In function 'cmor_convert_string_to_list': Src/cmor.c:1763:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1763 | for (i = 0; i < strlen(values); i++) { @@ -13829,14 +13868,11 @@ Src/cmor.c:3564:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 3564 | for (j = 0; j < strlen(msg) - strlen(ctmp) + 1; j++) { | ^ +aarch64-linux-gnu-gcc: Src/cmor_md5.c Src/cmor.c: In function 'cmor_write': Src/cmor.c:4534:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 4534 | for (i = 0; i < strlen(cmor_vars[var_id].id); i++) { | ^ -Src/_cmormodule.c: In function 'PyCMOR_set_variable_attribute': -Src/_cmormodule.c:174:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 174 | value = PyUnicode_AsUTF8(oValue); - | ^ In file included from /usr/include/string.h:495, from Src/cmor_grids.c:3: In function 'strncpy', @@ -13844,6 +13880,7 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +aarch64-linux-gnu-gcc: Src/cmor_tables.c In file included from /usr/include/string.h:495, from Src/cmor_CV.c:4: In function 'strncat', @@ -13915,8 +13952,26 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -aarch64-linux-gnu-gcc: Src/cmor_md5.c -aarch64-linux-gnu-gcc: Src/cmor_tables.c +aarch64-linux-gnu-gcc: Src/cmor_variables.c +Src/cmor_tables.c: In function 'cmor_set_dataset_att': +Src/cmor_tables.c:356:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 356 | while (i < (strlen(value))) { + | ^ +Src/cmor_tables.c:360:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 360 | while (i < (strlen(value)) && value[i] != ' ') { + | ^ +Src/cmor_tables.c:439:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 439 | for (n = 0; n < strlen(value) - 1; n++) + | ^ +Src/cmor_tables.c:450:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 450 | for (j = 0; j < strlen(value); j++) { + | ^ +Src/cmor_tables.c:464:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 464 | for (j = n + 1; j < strlen(value); j++) { + | ^ +Src/cmor_tables.c:475:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 475 | for (j = i + 1; j < strlen(value); j++) { + | ^ Src/cmor_CV.c: In function 'cmor_CV_checkSourceID': Src/cmor_CV.c:688:72: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 979 [-Wformat-truncation=] 688 | "Your input attribute \"%s\" with value \n! \"%s\" " @@ -14049,17 +14104,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor.c: In function 'cmor_add_traceback.part.0': -Src/cmor.c:423:42: warning: '%s' directive writing up to 1023 bytes into a region of size 1008 [-Wformat-overflow=] - 423 | sprintf(tmp, "%s\n! called from: %s", name, cmor_traceback_info); - | ^~ ~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 17 or more bytes (assuming 1040) into a destination of size 1024 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/cmor_CV.c: In function 'CV_CompareNoParent': Src/cmor_CV.c:774:60: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 990 [-Wformat-truncation=] 774 | "Your input attribute %s with value \"%s\" \n! " @@ -14077,25 +14121,17 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor_tables.c: In function 'cmor_set_dataset_att': -Src/cmor_tables.c:356:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 356 | while (i < (strlen(value))) { - | ^ -Src/cmor_tables.c:360:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 360 | while (i < (strlen(value)) && value[i] != ' ') { - | ^ -Src/cmor_tables.c:439:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 439 | for (n = 0; n < strlen(value) - 1; n++) - | ^ -Src/cmor_tables.c:450:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 450 | for (j = 0; j < strlen(value); j++) { - | ^ -Src/cmor_tables.c:464:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 464 | for (j = n + 1; j < strlen(value); j++) { - | ^ -Src/cmor_tables.c:475:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 475 | for (j = i + 1; j < strlen(value); j++) { - | ^ +Src/cmor_tables.c: In function 'cmor_set_experiments.part.0': +Src/cmor_tables.c:292:25: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1018 [-Wformat-truncation=] + 292 | "Table %s: Too many experiments defined", table->szTable_id); + | ^~ +In file included from /usr/include/stdio.h:867, + from Src/cmor_tables.c:1: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 37 and 1060 bytes into a destination of size 1024 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/cmor_CV.c: In function 'cmor_CV_checkSubExpID': Src/cmor_CV.c:917:26: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 935 [-Wformat-truncation=] 917 | "Your input attribute \"%s\" is not defined properly \n! " @@ -14295,23 +14331,33 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -aarch64-linux-gnu-gcc: Src/cmor_variables.c -Src/cmor_tables.c: In function 'cmor_set_experiments.part.0': -Src/cmor_tables.c:292:25: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1018 [-Wformat-truncation=] - 292 | "Table %s: Too many experiments defined", table->szTable_id); - | ^~ +Src/cmor.c: In function 'cmor_add_traceback.part.0': +Src/cmor.c:423:42: warning: '%s' directive writing up to 1023 bytes into a region of size 1008 [-Wformat-overflow=] + 423 | sprintf(tmp, "%s\n! called from: %s", name, cmor_traceback_info); + | ^~ ~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, - from Src/cmor_tables.c:1: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 37 and 1060 bytes into a destination of size 1024 + from Src/cmor.c:1: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 17 or more bytes (assuming 1040) into a destination of size 1024 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor_grids.c: In function 'cmor_set_mapping_attribute': +Src/cmor_grids.c:501:56: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 989 [-Wformat-truncation=] + 501 | "Unknown attribute: '%s' for mapping '%s' (value was: '%s')", + | ^~ +In file included from /usr/include/stdio.h:867, + from Src/cmor_grids.c:1: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 53 or more bytes (assuming 1076) into a destination of size 1024 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, - from Src/cmor.c:6: + from Src/cmor_grids.c:3: In function 'strncpy', - inlined from 'cmor_have_NetCDF4' at Src/cmor.c:457:5: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 50 equals destination size [-Wstringop-truncation] + inlined from 'cmor_set_mapping_attribute' at Src/cmor_grids.c:477:9: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/cmor_CV.c: In function 'cmor_CV_checkParentExpID': @@ -14519,11 +14565,10 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'strncpy', - inlined from 'cmor_have_NetCDF41min' at Src/cmor.c:541:5: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 50 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor_grids.c: In function 'cmor_set_grid_mapping': +Src/cmor_grids.c:629:55: warning: '%s' directive output may be truncated writing up to 25599 bytes into a region of size 996 [-Wformat-truncation=] + 629 | "in grid_mapping, attribute '%s' (with value: %lf) is not a known attribute for grid mapping: '%s'", + | ^~ Src/cmor_CV.c:1257:26: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 949 [-Wformat-truncation=] 1257 | "Your input attribute \"%s\" is not defined \n! " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14533,6 +14578,9 @@ Src/cmor_CV.c:1258:40: note: format string is defined here 1258 | "properly for %s \n! " | ^~ +Src/cmor_grids.c:629:26: note: assuming directive output of 8 bytes + 629 | "in grid_mapping, attribute '%s' (with value: %lf) is not a known attribute for grid mapping: '%s'", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from include/cdTime/cdmsint.h:37, from include/cmor_func_def.h:9, @@ -14543,6 +14591,13 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor_grids.c:1: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 94 or more bytes (assuming 25698) into a destination of size 1024 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/cmor_CV.c:1321:58: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1001 [-Wformat-truncation=] 1321 | "Your parent_source_id \"%s\" defined in your input file\n! " | ^~ @@ -14698,6 +14753,22 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/string.h:495, + from Src/cmor.c:6: +In function 'strncpy', + inlined from 'cmor_have_NetCDF4' at Src/cmor.c:457:5: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 50 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'strncpy', + inlined from 'cmor_have_NetCDF41min' at Src/cmor.c:541:5: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 50 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor_variables.c: In function 'cmor_write_var_to_file': +Src/cmor_variables.c:2366:9: warning: unused variable 'bb' [-Wunused-variable] + 2366 | int bb; + | ^~ In function 'strncpy', inlined from 'cmor_prep_units' at Src/cmor.c:493:5: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] @@ -14726,53 +14797,23 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor_grids.c: In function 'cmor_set_mapping_attribute': -Src/cmor_grids.c:501:56: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 989 [-Wformat-truncation=] - 501 | "Unknown attribute: '%s' for mapping '%s' (value was: '%s')", - | ^~ -In file included from /usr/include/stdio.h:867, - from Src/cmor_grids.c:1: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 53 or more bytes (assuming 1076) into a destination of size 1024 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from Src/cmor_grids.c:3: In function 'strncpy', - inlined from 'cmor_set_mapping_attribute' at Src/cmor_grids.c:477:9: + inlined from 'cmor_time_varying_grid_coordinate' at Src/cmor_grids.c:693:17: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'strncpy', + inlined from 'cmor_time_varying_grid_coordinate' at Src/cmor_grids.c:778:15: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'strncpy', + inlined from 'cmor_time_varying_grid_coordinate' at Src/cmor_grids.c:844:15: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor_variables.c: In function 'cmor_write_var_to_file': -Src/cmor_variables.c:2366:9: warning: unused variable 'bb' [-Wunused-variable] - 2366 | int bb; - | ^~ -Src/cmor_grids.c: In function 'cmor_set_grid_mapping': -Src/cmor_grids.c:629:55: warning: '%s' directive output may be truncated writing up to 25599 bytes into a region of size 996 [-Wformat-truncation=] - 629 | "in grid_mapping, attribute '%s' (with value: %lf) is not a known attribute for grid mapping: '%s'", - | ^~ -Src/cmor_grids.c:629:26: note: assuming directive output of 8 bytes - 629 | "in grid_mapping, attribute '%s' (with value: %lf) is not a known attribute for grid mapping: '%s'", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor_grids.c:1: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 94 or more bytes (assuming 25698) into a destination of size 1024 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor.c: In function 'cmor_open_inpathFile': -Src/cmor.c:1232:57: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] - 1232 | snprintf(szFullName, CMOR_MAX_STRING, "%s/%s", cmor_input_path, - | ^ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from Src/cmor_tables.c:2: In function 'strncpy', @@ -14837,6 +14878,17 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor.c: In function 'cmor_open_inpathFile': +Src/cmor.c:1232:57: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] + 1232 | snprintf(szFullName, CMOR_MAX_STRING, "%s/%s", cmor_input_path, + | ^ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/cmor_CV.c: In function 'cmor_CV_checkExperiment': Src/cmor_CV.c:1447:58: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1002 [-Wformat-truncation=] 1447 | "Your input attribute \"%s\" with value \n! \"%s\" " @@ -14898,44 +14950,13 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor.c: In function 'cmor_get_cur_dataset_attribute': -Src/cmor.c:1604:70: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 973 [-Wformat-truncation=] - 1604 | "Dataset: current dataset does not have attribute : %s", name); - | ^~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 52 and 1076 bytes into a destination of size 1024 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor.c:1591:28: warning: '%s' directive output may be truncated writing likely 1025 or more bytes into a region of size 1015 [-Wformat-truncation=] - 1591 | "Dataset: %s length is greater than limit: %i", - | ^~ -Src/cmor.c:1591:18: note: assuming directive output of 1025 bytes - 1591 | "Dataset: %s length is greater than limit: %i", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 45 or more bytes (assuming 1070) into a destination of size 1024 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/string.h:495, - from Src/cmor_grids.c:3: In function 'strncpy', - inlined from 'cmor_time_varying_grid_coordinate' at Src/cmor_grids.c:693:17: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'strncpy', - inlined from 'cmor_time_varying_grid_coordinate' at Src/cmor_grids.c:778:15: + inlined from 'cmor_grid' at Src/cmor_grids.c:1001:13: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', - inlined from 'cmor_time_varying_grid_coordinate' at Src/cmor_grids.c:844:15: + inlined from 'cmor_grid' at Src/cmor_grids.c:1055:13: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14974,6 +14995,30 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor.c: In function 'cmor_get_cur_dataset_attribute': +Src/cmor.c:1604:70: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 973 [-Wformat-truncation=] + 1604 | "Dataset: current dataset does not have attribute : %s", name); + | ^~ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 52 and 1076 bytes into a destination of size 1024 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor.c:1591:28: warning: '%s' directive output may be truncated writing likely 1025 or more bytes into a region of size 1015 [-Wformat-truncation=] + 1591 | "Dataset: %s length is greater than limit: %i", + | ^~ +Src/cmor.c:1591:18: note: assuming directive output of 1025 bytes + 1591 | "Dataset: %s length is greater than limit: %i", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 45 or more bytes (assuming 1070) into a destination of size 1024 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/cmor.c: In function 'cmor_outpath_exist': Src/cmor.c:1729:60: warning: '%s' directive writing up to 1023 bytes into a region of size 982 [-Wformat-overflow=] 1729 | "You defined your output directory to be: '%s', but we\n! " @@ -14988,6 +15033,17 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor_tables.c: In function 'cmor_load_table_internal': +Src/cmor_tables.c:697:51: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] + 697 | snprintf(word, CMOR_MAX_STRING, "%s/%s", cmor_input_path, szTable); + | ^ +In file included from /usr/include/stdio.h:867, + from Src/cmor_tables.c:1: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/cmor.c:1708:60: warning: '%s' directive writing up to 1023 bytes into a region of size 982 [-Wformat-overflow=] 1708 | "You defined your output directory to be: '%s', but this\n! " | ^~ @@ -15014,6 +15070,16 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor_tables.c:751:39: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1004 [-Wformat-truncation=] + 751 | "Could not read file %s check file permission", word); + | ^~ ~~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor_tables.c:1: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 43 and 1066 bytes into a destination of size 1024 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/cmor.c:1688:28: warning: '/tmp' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 1688 | sprintf(msg,"%s/tmp%i.cmor.test", | ^~~~ @@ -15086,37 +15152,6 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 12 bytes from a string of length 1023 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor_tables.c: In function 'cmor_load_table_internal': -Src/cmor_tables.c:697:51: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] - 697 | snprintf(word, CMOR_MAX_STRING, "%s/%s", cmor_input_path, szTable); - | ^ -In file included from /usr/include/stdio.h:867, - from Src/cmor_tables.c:1: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor_tables.c:751:39: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1004 [-Wformat-truncation=] - 751 | "Could not read file %s check file permission", word); - | ^~ ~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor_tables.c:1: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 43 and 1066 bytes into a destination of size 1024 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'strncpy', - inlined from 'cmor_grid' at Src/cmor_grids.c:1001:13: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'strncpy', - inlined from 'cmor_grid' at Src/cmor_grids.c:1055:13: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/cmor_CV.c: In function 'cmor_CV_setInstitution': Src/cmor_CV.c:1874:58: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 990 [-Wformat-truncation=] 1874 | "Your input attribute institution \"%s\" will be replaced with \n! " @@ -15229,13 +15264,6 @@ ...... 2026 | szKey, szValue, szValids, CV_Filename); | ~~~~~~~ -In file included from /usr/include/string.h:495, - from Src/cmor_variables.c:3: -In function 'strncpy', - inlined from 'cmor_get_variable_attribute_names' at Src/cmor_variables.c:345:9: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/cmor_CV.c:2022:21: note: format string is defined here 2022 | "\"%s\" which is not valid \n! " | ^~ @@ -15342,17 +15370,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor_variables.c: In function 'cmor_update_history': -Src/cmor_variables.c:1001:43: warning: ' altered by CMOR: ' directive output may be truncated writing 18 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] - 1001 | snprintf(tmp2, CMOR_MAX_STRING, "%s %s altered by CMOR: %s.", - | ^~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor_variables.c:2: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 21 or more bytes (assuming 1044) into a destination of size 1024 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/cmor_CV.c: In function 'cmor_CV_checkISOTime': Src/cmor_CV.c:2286:18: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 991 [-Wformat-truncation=] 2286 | "Your global attribute " @@ -15373,6 +15390,13 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/string.h:495, + from Src/cmor_variables.c:3: +In function 'strncpy', + inlined from 'cmor_get_variable_attribute_names' at Src/cmor_variables.c:345:9: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/cmor_CV.c: In function 'cmor_CV_variable': Src/cmor_CV.c:2351:65: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 978 [-Wformat-truncation=] 2351 | "Could not find a matching variable for name: '%s'", ctmp); @@ -15387,6 +15411,17 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor_variables.c: In function 'cmor_update_history': +Src/cmor_variables.c:1001:43: warning: ' altered by CMOR: ' directive output may be truncated writing 18 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] + 1001 | snprintf(tmp2, CMOR_MAX_STRING, "%s %s altered by CMOR: %s.", + | ^~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor_variables.c:2: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 21 or more bytes (assuming 1044) into a destination of size 1024 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/cmor_variables.c: In function 'cmor_variable': Src/cmor_variables.c:1090:65: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 978 [-Wformat-truncation=] 1090 | "Could not find a matching variable for name: '%s'", ctmp); @@ -15434,6 +15469,19 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor_variables.c:1626:45: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1002 [-Wformat-truncation=] + 1626 | "You defined variable '%s' (table %s) with axis " + | ^~ +...... + 1629 | refvar.id, + | ~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor_variables.c:2: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 121 or more bytes (assuming 1144) into a destination of size 1024 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/cmor_axes.c: In function 'cmor_check_interval': Src/cmor_axes.c:1388:51: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 992 [-Wformat-truncation=] 1388 | "In udunuits parsing user units: %s, axis: %s (table: %s)", @@ -15477,19 +15525,6 @@ ...... 1545 | interv, interval, i + 1, diff2, diff, ctmp2, tmp * 100.); | ~~~~~ -Src/cmor_variables.c:1626:45: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1002 [-Wformat-truncation=] - 1626 | "You defined variable '%s' (table %s) with axis " - | ^~ -...... - 1629 | refvar.id, - | ~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor_variables.c:2: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 121 or more bytes (assuming 1144) into a destination of size 1024 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/cmor_axes.c:1543:35: note: format string is defined here 1543 | "seconds (%f %s), which is %f %% , seems too big, check " | ^~ @@ -15583,6 +15618,20 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor.c: In function 'cmor_create_var_attributes': +Src/cmor.c:4938:78: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 968 [-Wformat-truncation=] + 4938 | "NetCDF Error (%i: %s) leaving definition mode for metafile %s", + | ^~ + 4939 | ierr, nc_strerror(ierr), + 4940 | cmor_current_dataset.associated_file_name); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 57 or more bytes (assuming 1080) into a destination of size 1024 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from Src/cmor_variables.c:3: In function 'strncpy', @@ -15720,20 +15769,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor.c: In function 'cmor_create_var_attributes': -Src/cmor.c:4938:78: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 968 [-Wformat-truncation=] - 4938 | "NetCDF Error (%i: %s) leaving definition mode for metafile %s", - | ^~ - 4939 | ierr, nc_strerror(ierr), - 4940 | cmor_current_dataset.associated_file_name); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 57 or more bytes (assuming 1080) into a destination of size 1024 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/cmor_axes.c: In function 'cmor_set_axis_def_att': Src/cmor_axes.c:2506:18: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 981 [-Wformat-truncation=] 2506 | "Unknown attribute >>>%s<<< for axis section " @@ -15894,26 +15929,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/string.h:495, - from Src/cmor.c:6: -In function 'strncpy', - inlined from 'cmor_build_outname' at Src/cmor.c:5880:9: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor.c: In function 'cmor_build_outname': -Src/cmor.c:5978:44: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1002 [-Wformat-truncation=] - 5978 | "Cannot find frequency %s. Closing variable %s (table: %s)", - | ^~ - 5979 | frequency, cmor_vars[var_id].id, - | ~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 52 or more bytes (assuming 1075) into a destination of size 1024 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/cmor_variables.c:2005:65: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 996 [-Wformat-truncation=] 2005 | "Reading table %s: axis name: '%s' for " | ^~ @@ -15954,6 +15969,26 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/string.h:495, + from Src/cmor.c:6: +In function 'strncpy', + inlined from 'cmor_build_outname' at Src/cmor.c:5880:9: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor.c: In function 'cmor_build_outname': +Src/cmor.c:5978:44: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1002 [-Wformat-truncation=] + 5978 | "Cannot find frequency %s. Closing variable %s (table: %s)", + | ^~ + 5979 | frequency, cmor_vars[var_id].id, + | ~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 52 or more bytes (assuming 1075) into a destination of size 1024 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/cmor.c:5824:57: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 989 [-Wformat-truncation=] 5824 | "Cannot convert times for calendar: %s,\n! " | ^~ @@ -16029,6 +16064,7 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor_variables.c: In function 'cmor_get_original_shape': Src/cmor.c:6212:45: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1010 [-Wformat-truncation=] 6212 | "Output file ( %s ) already exists,\n! " | ^~ @@ -16042,6 +16078,19 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor_variables.c:2312:56: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 987 [-Wformat-truncation=] + 2312 | "trying to retrieve shape of variable %s (table: %s) into a %id " + | ^~ + 2313 | "array but this variable is %id", + 2314 | avar.id, cmor_tables[avar.ref_table_id].szTable_id, *rank, + | ~~~~~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor_variables.c:2: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 88 or more bytes (assuming 1111) into a destination of size 1024 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/cmor.c:6233:22: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 970 [-Wformat-truncation=] 6233 | "could not rename temporary file: %s to final file\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -16057,20 +16106,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor_variables.c: In function 'cmor_get_original_shape': -Src/cmor_variables.c:2312:56: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 987 [-Wformat-truncation=] - 2312 | "trying to retrieve shape of variable %s (table: %s) into a %id " - | ^~ - 2313 | "array but this variable is %id", - 2314 | avar.id, cmor_tables[avar.ref_table_id].szTable_id, *rank, - | ~~~~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor_variables.c:2: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 88 or more bytes (assuming 1111) into a destination of size 1024 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/cmor_variables.c: In function 'cmor_write_var_to_file': Src/cmor_variables.c:2388:22: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 942 and 952 [-Wformat-truncation=] 2388 | "you are passing %i time steps for a static " @@ -16670,19 +16705,18 @@ extra options: '-DgFortran' aarch64-linux-gnu-gcc: Src/_controlvocabulary.c aarch64-linux-gnu-gcc: Src/cdTime/cdRegTrfm.c -aarch64-linux-gnu-gcc: Src/cdTime/cdTimeConv.c aarch64-linux-gnu-gcc: Src/cdTime/cdUtil.c aarch64-linux-gnu-gcc: Src/cdTime/fcdTimeConv.c -aarch64-linux-gnu-gcc: Src/cdTime/reg_trfm.c aarch64-linux-gnu-gcc: Src/cdTime/timeArith.c aarch64-linux-gnu-gcc: Src/cdTime/timeConv.c +aarch64-linux-gnu-gcc: Src/cdTime/cdTimeConv.c +aarch64-linux-gnu-gcc: Src/cdTime/reg_trfm.c aarch64-linux-gnu-gcc: Src/cmor.c +aarch64-linux-gnu-gcc: Src/cmor_CV.c In file included from Src/cdTime/fcdTimeConv.c:26: include/cdTime/cfortran.h:598:14: warning: 'kill_trailingn' defined but not used [-Wunused-function] 598 | static char *kill_trailingn(char *s, char t, char *e) | ^~~~~~~~~~~~~~ -aarch64-linux-gnu-gcc: Src/cmor_CV.c -aarch64-linux-gnu-gcc: Src/cmor_axes.c Src/cdTime/cdTimeConv.c: In function 'cdParseRelunits': Src/cdTime/cdTimeConv.c:190:25: warning: '%s' directive writing up to 47 bytes into a region of size between 0 and 47 [-Wformat-overflow=] 190 | sprintf(basetime,"%s %s",basetime_1,basetime_2); @@ -16694,8 +16728,25 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +aarch64-linux-gnu-gcc: Src/cmor_axes.c aarch64-linux-gnu-gcc: Src/cmor_cfortran_interface.c aarch64-linux-gnu-gcc: Src/cmor_grids.c +Src/cmor_axes.c: In function 'cmor_set_axis_def_att': +Src/cmor_axes.c:2320:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 2320 | for (i = 0; i < strlen(val); i++) { + | ^ +Src/cmor_axes.c:2322:63: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 2322 | (val[i] == ',') || (val[i] == '"')) && (i < strlen(val))) { + | ^ +Src/cmor_axes.c:2327:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 2327 | && (i < strlen(val))) { + | ^ +Src/cmor_axes.c:2408:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 2408 | for (i = 0; i < strlen(val); i++) { + | ^ +Src/cmor_axes.c:2419:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 2419 | && (i < strlen(val))) { + | ^ Src/cmor.c:122:1: warning: "/*" within comment [-Wcomment] 122 | /**************************************************************************/ | @@ -16718,55 +16769,13 @@ Src/cmor.c:3564:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 3564 | for (j = 0; j < strlen(msg) - strlen(ctmp) + 1; j++) { | ^ -Src/cmor_axes.c: In function 'cmor_set_axis_def_att': -Src/cmor_axes.c:2320:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 2320 | for (i = 0; i < strlen(val); i++) { - | ^ -Src/cmor_axes.c:2322:63: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 2322 | (val[i] == ',') || (val[i] == '"')) && (i < strlen(val))) { - | ^ -Src/cmor_axes.c:2327:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 2327 | && (i < strlen(val))) { - | ^ -Src/cmor_axes.c:2408:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 2408 | for (i = 0; i < strlen(val); i++) { - | ^ -Src/cmor_axes.c:2419:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 2419 | && (i < strlen(val))) { - | ^ Src/cmor.c: In function 'cmor_write': +aarch64-linux-gnu-gcc: Src/cmor_md5.c Src/cmor.c:4534:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 4534 | for (i = 0; i < strlen(cmor_vars[var_id].id); i++) { | ^ -aarch64-linux-gnu-gcc: Src/cmor_md5.c aarch64-linux-gnu-gcc: Src/cmor_tables.c In file included from /usr/include/string.h:495, - from Src/cmor_grids.c:3: -In function 'strncpy', - inlined from 'cmor_init_grid_mapping' at Src/cmor_grids.c:32:5: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor_tables.c: In function 'cmor_set_dataset_att': -Src/cmor_tables.c:356:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 356 | while (i < (strlen(value))) { - | ^ -Src/cmor_tables.c:360:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 360 | while (i < (strlen(value)) && value[i] != ' ') { - | ^ -Src/cmor_tables.c:439:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 439 | for (n = 0; n < strlen(value) - 1; n++) - | ^ -Src/cmor_tables.c:450:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 450 | for (j = 0; j < strlen(value); j++) { - | ^ -Src/cmor_tables.c:464:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 464 | for (j = n + 1; j < strlen(value); j++) { - | ^ -Src/cmor_tables.c:475:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 475 | for (j = i + 1; j < strlen(value); j++) { - | ^ -In file included from /usr/include/string.h:495, from Src/cmor_CV.c:4: In function 'strncat', inlined from 'cmor_CV_checkFurtherInfoURL' at Src/cmor_CV.c:402:5: @@ -16798,6 +16807,13 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/string.h:495, + from Src/cmor_grids.c:3: +In function 'strncpy', + inlined from 'cmor_init_grid_mapping' at Src/cmor_grids.c:32:5: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/cmor_CV.c: In function 'cmor_CV_checkSourceType': Src/cmor_CV.c:536:22: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 833 [-Wformat-truncation=] 536 | "The following source type(s) \"%s\" are required and\n! " @@ -16837,17 +16853,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor_tables.c: In function 'cmor_set_experiments.part.0': -Src/cmor_tables.c:292:25: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1018 [-Wformat-truncation=] - 292 | "Table %s: Too many experiments defined", table->szTable_id); - | ^~ -In file included from /usr/include/stdio.h:867, - from Src/cmor_tables.c:1: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 37 and 1060 bytes into a destination of size 1024 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/cmor_CV.c: In function 'cmor_CV_checkSourceID': Src/cmor_CV.c:688:72: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 979 [-Wformat-truncation=] 688 | "Your input attribute \"%s\" with value \n! \"%s\" " @@ -16980,17 +16985,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor.c: In function 'cmor_add_traceback.part.0': -Src/cmor.c:423:42: warning: '%s' directive writing up to 1023 bytes into a region of size 1008 [-Wformat-overflow=] - 423 | sprintf(tmp, "%s\n! called from: %s", name, cmor_traceback_info); - | ^~ ~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 17 or more bytes (assuming 1040) into a destination of size 1024 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/cmor_CV.c: In function 'CV_CompareNoParent': Src/cmor_CV.c:774:60: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 990 [-Wformat-truncation=] 774 | "Your input attribute %s with value \"%s\" \n! " @@ -17008,7 +17002,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -aarch64-linux-gnu-gcc: Src/cmor_variables.c Src/cmor_CV.c: In function 'cmor_CV_checkSubExpID': Src/cmor_CV.c:917:26: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 935 [-Wformat-truncation=] 917 | "Your input attribute \"%s\" is not defined properly \n! " @@ -17208,74 +17201,26 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/string.h:495, - from Src/cmor_tables.c:2: -In function 'strncpy', - inlined from 'cmor_set_dataset_att' at Src/cmor_tables.c:325:5: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor_tables.c: In function 'cmor_set_dataset_att': -Src/cmor_tables.c:500:26: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] - 500 | "table: %s, This keyword: %s value (%s) " - | ^~ -In file included from /usr/include/stdio.h:867, - from Src/cmor_tables.c:1: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 125 or more bytes (assuming 2171) into a destination of size 1024 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor_tables.c:430:29: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1018 [-Wformat-truncation=] - 430 | "Table %s: Too many experiments defined", - | ^~ -In file included from /usr/include/stdio.h:867, - from Src/cmor_tables.c:1: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 37 and 1060 bytes into a destination of size 1024 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor_tables.c:403:33: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1018 [-Wformat-truncation=] - 403 | "Table %s is already defined", table->szTable_id); - | ^~ -In file included from /usr/include/stdio.h:867, - from Src/cmor_tables.c:1: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 26 and 1049 bytes into a destination of size 1024 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/string.h:495, - from Src/cmor_tables.c:2: -In function 'strncpy', - inlined from 'cmor_set_dataset_att' at Src/cmor_tables.c:373:9: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'strncpy', - inlined from 'cmor_set_dataset_att' at Src/cmor_tables.c:370:9: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +aarch64-linux-gnu-gcc: Src/cmor_variables.c Src/cmor_tables.c: In function 'cmor_set_dataset_att': -Src/cmor_tables.c:341:29: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1018 [-Wformat-truncation=] - 341 | "Table %s is defined for cmor_version %f, " - | ^~ -Src/cmor_tables.c:341:22: note: assuming directive output of 8 bytes - 341 | "Table %s is defined for cmor_version %f, " - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor_tables.c:1: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 81 and 1418 bytes into a destination of size 1024 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor_variables.c: In function 'cmor_write_var_to_file': -Src/cmor_variables.c:2366:9: warning: unused variable 'bb' [-Wunused-variable] - 2366 | int bb; - | ^~ +Src/cmor_tables.c:356:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 356 | while (i < (strlen(value))) { + | ^ +Src/cmor_tables.c:360:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 360 | while (i < (strlen(value)) && value[i] != ' ') { + | ^ +Src/cmor_tables.c:439:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 439 | for (n = 0; n < strlen(value) - 1; n++) + | ^ +Src/cmor_tables.c:450:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 450 | for (j = 0; j < strlen(value); j++) { + | ^ +Src/cmor_tables.c:464:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 464 | for (j = n + 1; j < strlen(value); j++) { + | ^ +Src/cmor_tables.c:475:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 475 | for (j = i + 1; j < strlen(value); j++) { + | ^ Src/cmor_CV.c: In function 'cmor_CV_checkParentExpID': Src/cmor_CV.c:1058:22: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 932 [-Wformat-truncation=] 1058 | "Your input attribute \"%s\" is not defined properly \n! " @@ -17328,13 +17273,6 @@ Src/cmor_CV.c:1113:26: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 934 [-Wformat-truncation=] 1113 | "Your input attribute \"%s\" is not defined properly \n! " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/string.h:495, - from Src/cmor.c:6: -In function 'strncpy', - inlined from 'cmor_have_NetCDF4' at Src/cmor.c:457:5: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 50 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/cmor_CV.c:1114:49: note: format string is defined here 1114 | "for your experiment \"%s\"\n!\n! " | ^~ @@ -17662,43 +17600,105 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor_grids.c: In function 'cmor_set_mapping_attribute': -Src/cmor_grids.c:501:56: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 989 [-Wformat-truncation=] - 501 | "Unknown attribute: '%s' for mapping '%s' (value was: '%s')", - | ^~ +Src/cmor.c: In function 'cmor_add_traceback.part.0': +Src/cmor.c:423:42: warning: '%s' directive writing up to 1023 bytes into a region of size 1008 [-Wformat-overflow=] + 423 | sprintf(tmp, "%s\n! called from: %s", name, cmor_traceback_info); + | ^~ ~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, - from Src/cmor_grids.c:1: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 53 or more bytes (assuming 1076) into a destination of size 1024 + from Src/cmor.c:1: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 17 or more bytes (assuming 1040) into a destination of size 1024 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor_tables.c: In function 'cmor_set_experiments.part.0': +Src/cmor_tables.c:292:25: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1018 [-Wformat-truncation=] + 292 | "Table %s: Too many experiments defined", table->szTable_id); + | ^~ +In file included from /usr/include/stdio.h:867, + from Src/cmor_tables.c:1: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 37 and 1060 bytes into a destination of size 1024 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/string.h:495, + from Src/cmor.c:6: In function 'strncpy', - inlined from 'cmor_have_NetCDF41min' at Src/cmor.c:541:5: + inlined from 'cmor_have_NetCDF4' at Src/cmor.c:457:5: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 50 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/string.h:495, - from Src/cmor_grids.c:3: In function 'strncpy', - inlined from 'cmor_set_mapping_attribute' at Src/cmor_grids.c:477:9: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] + inlined from 'cmor_have_NetCDF41min' at Src/cmor.c:541:5: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 50 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor_grids.c: In function 'cmor_set_grid_mapping': -Src/cmor_grids.c:629:55: warning: '%s' directive output may be truncated writing up to 25599 bytes into a region of size 996 [-Wformat-truncation=] - 629 | "in grid_mapping, attribute '%s' (with value: %lf) is not a known attribute for grid mapping: '%s'", - | ^~ -Src/cmor_grids.c:629:26: note: assuming directive output of 8 bytes - 629 | "in grid_mapping, attribute '%s' (with value: %lf) is not a known attribute for grid mapping: '%s'", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor_CV.c: In function 'cmor_CV_checkExperiment': +Src/cmor_CV.c:1447:58: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1002 [-Wformat-truncation=] + 1447 | "Your input attribute \"%s\" with value \n! \"%s\" " + | ^~ In file included from /usr/include/stdio.h:867, - from Src/cmor_grids.c:1: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 94 or more bytes (assuming 25698) into a destination of size 1024 + from include/cdTime/cdmsint.h:37, + from include/cmor_func_def.h:9, + from include/cmor.h:578, + from Src/cmor_CV.c:7: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 179 and 4271 bytes into a destination of size 1024 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor_CV.c:1475:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1002 [-Wformat-truncation=] + 1475 | "Your input attribute \"%s\" with value \n! \"%s\" " + | ^~ +In file included from /usr/include/stdio.h:867, + from include/cdTime/cdmsint.h:37, + from include/cmor_func_def.h:9, + from include/cmor.h:578, + from Src/cmor_CV.c:7: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 156 or more bytes (assuming 4248) into a destination of size 1024 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor_CV.c:1400:40: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1004 [-Wformat-truncation=] + 1400 | "Your experiment_id \"%s\" defined in your input file\n! " + | ^~ + 1401 | "could not be found in your Control Vocabulary file.(%s)\n! ", + 1402 | szExperiment_ID, CV_Filename); + | ~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from include/cdTime/cdmsint.h:37, + from include/cmor_func_def.h:9, + from include/cmor.h:578, + from Src/cmor_CV.c:7: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 108 and 2154 bytes into a destination of size 1024 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor_CV.c:1388:18: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 944 [-Wformat-truncation=] + 1388 | "Your \"experiment_ids\" key could not be found in\n! " + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1389 | "your Control Vocabulary file.(%s)\n! ", CV_Filename); + | ~~~~~~~~~~~ +Src/cmor_CV.c:1389:49: note: format string is defined here + 1389 | "your Control Vocabulary file.(%s)\n! ", CV_Filename); + | ^~ +In file included from /usr/include/stdio.h:867, + from include/cdTime/cdmsint.h:37, + from include/cmor_func_def.h:9, + from include/cmor.h:578, + from Src/cmor_CV.c:7: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 85 and 1108 bytes into a destination of size 1024 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor_variables.c: In function 'cmor_write_var_to_file': +Src/cmor_variables.c:2366:9: warning: unused variable 'bb' [-Wunused-variable] + 2366 | int bb; + | ^~ In function 'strncpy', inlined from 'cmor_prep_units' at Src/cmor.c:493:5: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] @@ -17727,23 +17727,13 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor_tables.c: In function 'cmor_load_table_internal': -Src/cmor_tables.c:697:51: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] - 697 | snprintf(word, CMOR_MAX_STRING, "%s/%s", cmor_input_path, szTable); - | ^ -In file included from /usr/include/stdio.h:867, - from Src/cmor_tables.c:1: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor_tables.c:751:39: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1004 [-Wformat-truncation=] - 751 | "Could not read file %s check file permission", word); - | ^~ ~~~~ +Src/cmor_grids.c: In function 'cmor_set_mapping_attribute': +Src/cmor_grids.c:501:56: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 989 [-Wformat-truncation=] + 501 | "Unknown attribute: '%s' for mapping '%s' (value was: '%s')", + | ^~ In file included from /usr/include/stdio.h:867, - from Src/cmor_tables.c:1: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 43 and 1066 bytes into a destination of size 1024 + from Src/cmor_grids.c:1: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 53 or more bytes (assuming 1076) into a destination of size 1024 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); @@ -17751,102 +17741,134 @@ In file included from /usr/include/string.h:495, from Src/cmor_grids.c:3: In function 'strncpy', - inlined from 'cmor_time_varying_grid_coordinate' at Src/cmor_grids.c:693:17: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'strncpy', - inlined from 'cmor_time_varying_grid_coordinate' at Src/cmor_grids.c:778:15: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'strncpy', - inlined from 'cmor_time_varying_grid_coordinate' at Src/cmor_grids.c:844:15: + inlined from 'cmor_set_mapping_attribute' at Src/cmor_grids.c:477:9: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor.c: In function 'cmor_open_inpathFile': -Src/cmor.c:1232:57: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] - 1232 | snprintf(szFullName, CMOR_MAX_STRING, "%s/%s", cmor_input_path, - | ^ +Src/cmor_CV.c: In function 'cmor_CV_checkFilename': +Src/cmor_CV.c:1705:44: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1002 [-Wformat-truncation=] + 1705 | "Cannot find frequency %s. Closing variable %s (table: %s)", + | ^~ + 1706 | frequency, cmor_vars[var_id].id, + | ~~~~~~~~~ In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 + from include/cdTime/cdmsint.h:37, + from include/cmor_func_def.h:9, + from include/cmor.h:578, + from Src/cmor_CV.c:7: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 52 or more bytes (assuming 1075) into a destination of size 1024 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor_CV.c: In function 'cmor_CV_checkExperiment': -Src/cmor_CV.c:1447:58: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1002 [-Wformat-truncation=] - 1447 | "Your input attribute \"%s\" with value \n! \"%s\" " - | ^~ +Src/cmor_CV.c:1760:42: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 879 [-Wformat-truncation=] + 1760 | snprintf(szTmp, CMOR_MAX_STRING, "Your filename \n! " + | ^~~~~~~~~~~~~~~~~~~~ +...... + 1768 | cmor_current_dataset.file_template, CV_Filename); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor_CV.c:1766:20: note: format string is defined here + 1766 | "\"%s\"\n! \n! " + | ^~ In file included from /usr/include/stdio.h:867, from include/cdTime/cdmsint.h:37, from include/cmor_func_def.h:9, from include/cmor.h:578, from Src/cmor_CV.c:7: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 179 and 4271 bytes into a destination of size 1024 +/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 191 or more bytes (assuming 2237) into a destination of size 1024 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor_CV.c:1475:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1002 [-Wformat-truncation=] - 1475 | "Your input attribute \"%s\" with value \n! \"%s\" " - | ^~ +In file included from /usr/include/string.h:495, + from Src/cmor_tables.c:2: +In function 'strncpy', + inlined from 'cmor_set_dataset_att' at Src/cmor_tables.c:325:5: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor_tables.c: In function 'cmor_set_dataset_att': +Src/cmor_tables.c:500:26: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] + 500 | "table: %s, This keyword: %s value (%s) " + | ^~ In file included from /usr/include/stdio.h:867, - from include/cdTime/cdmsint.h:37, - from include/cmor_func_def.h:9, - from include/cmor.h:578, - from Src/cmor_CV.c:7: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 156 or more bytes (assuming 4248) into a destination of size 1024 + from Src/cmor_tables.c:1: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 125 or more bytes (assuming 2171) into a destination of size 1024 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor_CV.c:1400:40: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1004 [-Wformat-truncation=] - 1400 | "Your experiment_id \"%s\" defined in your input file\n! " - | ^~ - 1401 | "could not be found in your Control Vocabulary file.(%s)\n! ", - 1402 | szExperiment_ID, CV_Filename); - | ~~~~~~~~~~~~~~~ +Src/cmor_tables.c:430:29: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1018 [-Wformat-truncation=] + 430 | "Table %s: Too many experiments defined", + | ^~ In file included from /usr/include/stdio.h:867, - from include/cdTime/cdmsint.h:37, - from include/cmor_func_def.h:9, - from include/cmor.h:578, - from Src/cmor_CV.c:7: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 108 and 2154 bytes into a destination of size 1024 + from Src/cmor_tables.c:1: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 37 and 1060 bytes into a destination of size 1024 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor_CV.c:1388:18: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 944 [-Wformat-truncation=] - 1388 | "Your \"experiment_ids\" key could not be found in\n! " - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1389 | "your Control Vocabulary file.(%s)\n! ", CV_Filename); - | ~~~~~~~~~~~ -Src/cmor_CV.c:1389:49: note: format string is defined here - 1389 | "your Control Vocabulary file.(%s)\n! ", CV_Filename); - | ^~ +Src/cmor_tables.c:403:33: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1018 [-Wformat-truncation=] + 403 | "Table %s is already defined", table->szTable_id); + | ^~ In file included from /usr/include/stdio.h:867, - from include/cdTime/cdmsint.h:37, - from include/cmor_func_def.h:9, - from include/cmor.h:578, - from Src/cmor_CV.c:7: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 85 and 1108 bytes into a destination of size 1024 + from Src/cmor_tables.c:1: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 26 and 1049 bytes into a destination of size 1024 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/string.h:495, + from Src/cmor_tables.c:2: In function 'strncpy', - inlined from 'cmor_grid' at Src/cmor_grids.c:1001:13: + inlined from 'cmor_set_dataset_att' at Src/cmor_tables.c:373:9: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', - inlined from 'cmor_grid' at Src/cmor_grids.c:1055:13: + inlined from 'cmor_set_dataset_att' at Src/cmor_tables.c:370:9: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor_tables.c: In function 'cmor_set_dataset_att': +Src/cmor_tables.c:341:29: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1018 [-Wformat-truncation=] + 341 | "Table %s is defined for cmor_version %f, " + | ^~ +Src/cmor_tables.c:341:22: note: assuming directive output of 8 bytes + 341 | "Table %s is defined for cmor_version %f, " + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor_tables.c:1: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 81 and 1418 bytes into a destination of size 1024 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor_grids.c: In function 'cmor_set_grid_mapping': +Src/cmor_grids.c:629:55: warning: '%s' directive output may be truncated writing up to 25599 bytes into a region of size 996 [-Wformat-truncation=] + 629 | "in grid_mapping, attribute '%s' (with value: %lf) is not a known attribute for grid mapping: '%s'", + | ^~ +Src/cmor_grids.c:629:26: note: assuming directive output of 8 bytes + 629 | "in grid_mapping, attribute '%s' (with value: %lf) is not a known attribute for grid mapping: '%s'", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor_grids.c:1: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 94 or more bytes (assuming 25698) into a destination of size 1024 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor.c: In function 'cmor_open_inpathFile': +Src/cmor.c:1232:57: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] + 1232 | snprintf(szFullName, CMOR_MAX_STRING, "%s/%s", cmor_input_path, + | ^ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/cmor.c: In function 'cmor_get_cur_dataset_attribute': Src/cmor.c:1604:70: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 973 [-Wformat-truncation=] 1604 | "Dataset: current dataset does not have attribute : %s", name); @@ -17871,6 +17893,23 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/string.h:495, + from Src/cmor_grids.c:3: +In function 'strncpy', + inlined from 'cmor_time_varying_grid_coordinate' at Src/cmor_grids.c:693:17: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'strncpy', + inlined from 'cmor_time_varying_grid_coordinate' at Src/cmor_grids.c:778:15: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'strncpy', + inlined from 'cmor_time_varying_grid_coordinate' at Src/cmor_grids.c:844:15: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/cmor.c: In function 'cmor_outpath_exist': Src/cmor.c:1729:60: warning: '%s' directive writing up to 1023 bytes into a region of size 982 [-Wformat-overflow=] 1729 | "You defined your output directory to be: '%s', but we\n! " @@ -17960,41 +17999,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor_CV.c: In function 'cmor_CV_checkFilename': -Src/cmor_CV.c:1705:44: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1002 [-Wformat-truncation=] - 1705 | "Cannot find frequency %s. Closing variable %s (table: %s)", - | ^~ - 1706 | frequency, cmor_vars[var_id].id, - | ~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from include/cdTime/cdmsint.h:37, - from include/cmor_func_def.h:9, - from include/cmor.h:578, - from Src/cmor_CV.c:7: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 52 or more bytes (assuming 1075) into a destination of size 1024 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor_CV.c:1760:42: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 879 [-Wformat-truncation=] - 1760 | snprintf(szTmp, CMOR_MAX_STRING, "Your filename \n! " - | ^~~~~~~~~~~~~~~~~~~~ -...... - 1768 | cmor_current_dataset.file_template, CV_Filename); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor_CV.c:1766:20: note: format string is defined here - 1766 | "\"%s\"\n! \n! " - | ^~ -In file included from /usr/include/stdio.h:867, - from include/cdTime/cdmsint.h:37, - from include/cmor_func_def.h:9, - from include/cmor.h:578, - from Src/cmor_CV.c:7: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 191 or more bytes (assuming 2237) into a destination of size 1024 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/cmor.c: In function 'cmor_convert_string_to_list': Src/cmor.c:1790:53: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 991 [-Wformat-truncation=] 1790 | "unknown conversion '%c' for list: %s", type, values); @@ -18018,13 +18022,6 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 12 bytes from a string of length 1023 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/string.h:495, - from Src/cmor_variables.c:3: -In function 'strncpy', - inlined from 'cmor_get_variable_attribute_names' at Src/cmor_variables.c:345:9: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/cmor_CV.c: In function 'cmor_CV_setInstitution': Src/cmor_CV.c:1874:58: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 990 [-Wformat-truncation=] 1874 | "Your input attribute institution \"%s\" will be replaced with \n! " @@ -18096,6 +18093,27 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor_tables.c: In function 'cmor_load_table_internal': +Src/cmor_tables.c:697:51: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] + 697 | snprintf(word, CMOR_MAX_STRING, "%s/%s", cmor_input_path, szTable); + | ^ +In file included from /usr/include/stdio.h:867, + from Src/cmor_tables.c:1: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor_tables.c:751:39: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1004 [-Wformat-truncation=] + 751 | "Could not read file %s check file permission", word); + | ^~ ~~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor_tables.c:1: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 43 and 1066 bytes into a destination of size 1024 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from Src/cmor_CV.c:4: In function 'strncpy', @@ -18150,47 +18168,16 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor_variables.c: In function 'cmor_update_history': -Src/cmor_variables.c:1001:43: warning: ' altered by CMOR: ' directive output may be truncated writing 18 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] - 1001 | snprintf(tmp2, CMOR_MAX_STRING, "%s %s altered by CMOR: %s.", - | ^~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor_variables.c:2: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 21 or more bytes (assuming 1044) into a destination of size 1024 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor.c: In function 'cmor_define_zfactors_vars': -Src/cmor.c:1960:64: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 987 [-Wformat-truncation=] - 1960 | "could not find the zfactor variable: %s. \n! " - | ^~ -...... - 1964 | " dimensions.\n! ", ctmp, - | ~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 172 or more bytes (assuming 1195) into a destination of size 1024 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor.c:2019:30: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 950 [-Wformat-truncation=] - 2019 | "variable \"%s\" (table: %s) has axis \"%s\"\n! " - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -...... - 2025 | cmor_axes[cmor_vars[var_id].axes_ids[i]].id, ctmp, - | ~~~~ -Src/cmor.c:2020:70: note: format string is defined here - 2020 | "defined with formula terms, but term \"%s\"\n! " - | ^~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 133 or more bytes (assuming 1156) into a destination of size 1024 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'strncpy', + inlined from 'cmor_grid' at Src/cmor_grids.c:1001:13: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'strncpy', + inlined from 'cmor_grid' at Src/cmor_grids.c:1055:13: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from Src/cmor_CV.c:4: In function 'strncpy', @@ -18254,6 +18241,43 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/string.h:495, + from Src/cmor_variables.c:3: +In function 'strncpy', + inlined from 'cmor_get_variable_attribute_names' at Src/cmor_variables.c:345:9: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor.c: In function 'cmor_define_zfactors_vars': +Src/cmor.c:1960:64: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 987 [-Wformat-truncation=] + 1960 | "could not find the zfactor variable: %s. \n! " + | ^~ +...... + 1964 | " dimensions.\n! ", ctmp, + | ~~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 172 or more bytes (assuming 1195) into a destination of size 1024 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor.c:2019:30: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 950 [-Wformat-truncation=] + 2019 | "variable \"%s\" (table: %s) has axis \"%s\"\n! " + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +...... + 2025 | cmor_axes[cmor_vars[var_id].axes_ids[i]].id, ctmp, + | ~~~~ +Src/cmor.c:2020:70: note: format string is defined here + 2020 | "defined with formula terms, but term \"%s\"\n! " + | ^~ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 133 or more bytes (assuming 1156) into a destination of size 1024 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/cmor_CV.c: In function 'cmor_CV_checkISOTime': Src/cmor_CV.c:2286:18: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 991 [-Wformat-truncation=] 2286 | "Your global attribute " @@ -18274,6 +18298,17 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor_variables.c: In function 'cmor_update_history': +Src/cmor_variables.c:1001:43: warning: ' altered by CMOR: ' directive output may be truncated writing 18 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] + 1001 | snprintf(tmp2, CMOR_MAX_STRING, "%s %s altered by CMOR: %s.", + | ^~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor_variables.c:2: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 21 or more bytes (assuming 1044) into a destination of size 1024 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/cmor_CV.c: In function 'cmor_CV_variable': Src/cmor_CV.c:2351:65: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 978 [-Wformat-truncation=] 2351 | "Could not find a matching variable for name: '%s'", ctmp); @@ -19992,8 +20027,8 @@ install -d debian/python3-cmor/usr/share/doc/python3-cmor install -p -m0644 debian/copyright debian/python3-cmor/usr/share/doc/python3-cmor/copyright dh_installchangelogs - install -p -m0644 debian/changelog debian/python3-cmor/usr/share/doc/python3-cmor/changelog.Debian install -p -m0644 debian/changelog debian/libcmor-dev/usr/share/doc/libcmor-dev/changelog.Debian + install -p -m0644 debian/changelog debian/python3-cmor/usr/share/doc/python3-cmor/changelog.Debian install -p -m0644 debian/changelog debian/libcmor2/usr/share/doc/libcmor2/changelog.Debian dh_installexamples install -d debian/libcmor-dev/usr/share/doc/libcmor-dev/examples @@ -20252,7 +20287,7 @@ D: dh_python3 dh_python3:183: processing package python3-cmor... D: dh_python3 fs:260: package python3-cmor details = {'requires.txt': set(), 'egg-info': set(), 'nsp.txt': set(), 'shebangs': set(), 'public_vers': {Version('3')}, 'private_dirs': {}, 'compile': True, 'ext_vers': {Version('3.9')}, 'ext_no_version': set()} D: dh_python3 depends:117: generating dependencies for package python3-cmor -D: dh_python3 depends:275: D={'python3:any', 'python3 (<< 3.10)', 'python3 (>= 3.9~)'}; R=[]; S=[]; E=[], B=[]; RT=[] +D: dh_python3 depends:275: D={'python3 (>= 3.9~)', 'python3:any', 'python3 (<< 3.10)'}; R=[]; S=[]; E=[], B=[]; RT=[] dh_perl dh_link rm -f debian/libcmor-dev/usr/lib/aarch64-linux-gnu/libcmor.so @@ -20260,35 +20295,35 @@ dh_strip_nondeterminism dh_compress cd debian/libcmor2 - cd debian/libcmor-dev cd debian/python3-cmor - chmod a-x usr/share/doc/libcmor2/changelog.Debian + cd debian/libcmor-dev chmod a-x usr/share/doc/libcmor-dev/RELEASE-NOTES usr/share/doc/libcmor-dev/changelog.Debian - gzip -9nf usr/share/doc/libcmor2/changelog.Debian - gzip -9nf usr/share/doc/libcmor-dev/RELEASE-NOTES usr/share/doc/libcmor-dev/changelog.Debian - cd '/build/cmor-3.6.1' + chmod a-x usr/share/doc/libcmor2/changelog.Debian chmod a-x usr/share/doc/python3-cmor/changelog.Debian + gzip -9nf usr/share/doc/libcmor-dev/RELEASE-NOTES usr/share/doc/libcmor-dev/changelog.Debian + gzip -9nf usr/share/doc/libcmor2/changelog.Debian cd '/build/cmor-3.6.1' gzip -9nf usr/share/doc/python3-cmor/changelog.Debian cd '/build/cmor-3.6.1' + cd '/build/cmor-3.6.1' dh_fixperms find debian/libcmor2 -true -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0 find debian/libcmor-dev -true -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0 find debian/python3-cmor -true -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0 find debian/libcmor2 ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s - find debian/libcmor2/usr/share/doc -type f -a -true -a ! -regex 'debian/libcmor2/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644 find debian/python3-cmor ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s - find debian/libcmor2/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755 find debian/libcmor-dev ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s - find debian/libcmor2 -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.scss' -o -name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' -o -name '*.node' \) -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644 + find debian/libcmor2/usr/share/doc -type f -a -true -a ! -regex 'debian/libcmor2/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644 + find debian/libcmor2/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755 find debian/python3-cmor/usr/share/doc -type f -a -true -a ! -regex 'debian/python3-cmor/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644 - find debian/libcmor2/usr/lib -type f -name '*.ali' -a -true -a -true -print0 2>/dev/null | xargs -0r chmod uga-w - find debian/python3-cmor/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755 - find debian/python3-cmor -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.scss' -o -name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' -o -name '*.node' \) -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644 - find debian/python3-cmor/usr/lib -type f -name '*.ali' -a -true -a -true -print0 2>/dev/null | xargs -0r chmod uga-w + find debian/libcmor2 -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.scss' -o -name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' -o -name '*.node' \) -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644 find debian/libcmor-dev/usr/share/doc -type f -a -true -a ! -regex 'debian/libcmor-dev/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644 + find debian/python3-cmor/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755 + find debian/libcmor2/usr/lib -type f -name '*.ali' -a -true -a -true -print0 2>/dev/null | xargs -0r chmod uga-w find debian/libcmor-dev/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755 + find debian/python3-cmor -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.scss' -o -name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' -o -name '*.node' \) -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644 find debian/libcmor-dev/usr/include -type f -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644 + find debian/python3-cmor/usr/lib -type f -name '*.ali' -a -true -a -true -print0 2>/dev/null | xargs -0r chmod uga-w find debian/libcmor-dev -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.scss' -o -name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' -o -name '*.node' \) -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644 find debian/libcmor-dev/usr/bin -type f -a -true -a -true -print0 2>/dev/null | xargs -0r chmod a+x find debian/libcmor-dev/usr/lib -type f -name '*.ali' -a -true -a -true -print0 2>/dev/null | xargs -0r chmod uga-w @@ -20301,15 +20336,15 @@ dh_strip -a install -d debian/.debhelper/libcmor2/dbgsym-root/usr/lib/debug/.build-id/12 objcopy --only-keep-debug --compress-debug-sections debian/libcmor2/usr/lib/aarch64-linux-gnu/libcmor.so.2 debian/.debhelper/libcmor2/dbgsym-root/usr/lib/debug/.build-id/12/f817c49d35fb176f1e8391b6da9798b7b93710.debug + strip --strip-debug --remove-section=.comment --remove-section=.note --enable-deterministic-archives -R .gnu.lto_\* -R .gnu.debuglto_\* -N __gnu_lto_slim -N __gnu_lto_v1 debian/libcmor-dev/usr/lib/aarch64-linux-gnu/libcmor.a + install -d debian/.debhelper/python3-cmor/dbgsym-root/usr/lib/debug/.build-id/3f + objcopy --only-keep-debug --compress-debug-sections debian/python3-cmor/usr/lib/python3/dist-packages/cmor/_cmor.cpython-39-aarch64-linux-gnu.so debian/.debhelper/python3-cmor/dbgsym-root/usr/lib/debug/.build-id/3f/d4a005623c1153b91269bee97dff19f0113d29.debug chmod 0644 -- debian/.debhelper/libcmor2/dbgsym-root/usr/lib/debug/.build-id/12/f817c49d35fb176f1e8391b6da9798b7b93710.debug chown 0:0 -- debian/.debhelper/libcmor2/dbgsym-root/usr/lib/debug/.build-id/12/f817c49d35fb176f1e8391b6da9798b7b93710.debug strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/libcmor2/usr/lib/aarch64-linux-gnu/libcmor.so.2 - install -d debian/.debhelper/python3-cmor/dbgsym-root/usr/lib/debug/.build-id/3f - objcopy --only-keep-debug --compress-debug-sections debian/python3-cmor/usr/lib/python3/dist-packages/cmor/_cmor.cpython-39-aarch64-linux-gnu.so debian/.debhelper/python3-cmor/dbgsym-root/usr/lib/debug/.build-id/3f/d4a005623c1153b91269bee97dff19f0113d29.debug objcopy --add-gnu-debuglink debian/.debhelper/libcmor2/dbgsym-root/usr/lib/debug/.build-id/12/f817c49d35fb176f1e8391b6da9798b7b93710.debug debian/libcmor2/usr/lib/aarch64-linux-gnu/libcmor.so.2 install -d debian/.debhelper/libcmor2/dbgsym-root/usr/share/doc ln -s libcmor2 debian/.debhelper/libcmor2/dbgsym-root/usr/share/doc/libcmor2-dbgsym - strip --strip-debug --remove-section=.comment --remove-section=.note --enable-deterministic-archives -R .gnu.lto_\* -R .gnu.debuglto_\* -N __gnu_lto_slim -N __gnu_lto_v1 debian/libcmor-dev/usr/lib/aarch64-linux-gnu/libcmor.a chmod 0644 -- debian/.debhelper/python3-cmor/dbgsym-root/usr/lib/debug/.build-id/3f/d4a005623c1153b91269bee97dff19f0113d29.debug chown 0:0 -- debian/.debhelper/python3-cmor/dbgsym-root/usr/lib/debug/.build-id/3f/d4a005623c1153b91269bee97dff19f0113d29.debug strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/python3-cmor/usr/lib/python3/dist-packages/cmor/_cmor.cpython-39-aarch64-linux-gnu.so @@ -20339,16 +20374,16 @@ dpkg-shlibdeps -Tdebian/libcmor2.substvars debian/libcmor2/usr/lib/aarch64-linux-gnu/libcmor.so.2 install -d debian/python3-cmor/DEBIAN dpkg-shlibdeps -Tdebian/python3-cmor.substvars debian/python3-cmor/usr/lib/python3/dist-packages/cmor/_cmor.cpython-39-aarch64-linux-gnu.so debian/python3-cmor/usr/lib/python3/dist-packages/cmip6_cv/_cmip6_cv.cpython-39-aarch64-linux-gnu.so -dpkg-shlibdeps: warning: symbol json_object_get_boolean used by debian/libcmor2/usr/lib/aarch64-linux-gnu/libcmor.so.2 found in none of the libraries +dpkg-shlibdeps: warning: symbol _gfortran_adjustl used by debian/libcmor2/usr/lib/aarch64-linux-gnu/libcmor.so.2 found in none of the libraries +dpkg-shlibdeps: warning: symbol _gfortran_runtime_error used by debian/libcmor2/usr/lib/aarch64-linux-gnu/libcmor.so.2 found in none of the libraries dpkg-shlibdeps: warning: symbol array_list_length used by debian/libcmor2/usr/lib/aarch64-linux-gnu/libcmor.so.2 found in none of the libraries -dpkg-shlibdeps: warning: symbol uuid_generate used by debian/libcmor2/usr/lib/aarch64-linux-gnu/libcmor.so.2 found in none of the libraries -dpkg-shlibdeps: warning: symbol _gfortran_concat_string used by debian/libcmor2/usr/lib/aarch64-linux-gnu/libcmor.so.2 found in none of the libraries +dpkg-shlibdeps: warning: symbol json_object_get_array used by debian/libcmor2/usr/lib/aarch64-linux-gnu/libcmor.so.2 found in none of the libraries dpkg-shlibdeps: warning: symbol _gfortran_os_error_at used by debian/libcmor2/usr/lib/aarch64-linux-gnu/libcmor.so.2 found in none of the libraries -dpkg-shlibdeps: warning: symbol _gfortran_st_write_done used by debian/libcmor2/usr/lib/aarch64-linux-gnu/libcmor.so.2 found in none of the libraries -dpkg-shlibdeps: warning: symbol tan used by debian/libcmor2/usr/lib/aarch64-linux-gnu/libcmor.so.2 found in none of the libraries -dpkg-shlibdeps: warning: symbol _gfortran_runtime_error used by debian/libcmor2/usr/lib/aarch64-linux-gnu/libcmor.so.2 found in none of the libraries -dpkg-shlibdeps: warning: symbol _gfortran_transfer_integer_write used by debian/libcmor2/usr/lib/aarch64-linux-gnu/libcmor.so.2 found in none of the libraries -dpkg-shlibdeps: warning: symbol _gfortran_string_trim used by debian/libcmor2/usr/lib/aarch64-linux-gnu/libcmor.so.2 found in none of the libraries +dpkg-shlibdeps: warning: symbol json_object_get_double used by debian/libcmor2/usr/lib/aarch64-linux-gnu/libcmor.so.2 found in none of the libraries +dpkg-shlibdeps: warning: symbol cos used by debian/libcmor2/usr/lib/aarch64-linux-gnu/libcmor.so.2 found in none of the libraries +dpkg-shlibdeps: warning: symbol log10 used by debian/libcmor2/usr/lib/aarch64-linux-gnu/libcmor.so.2 found in none of the libraries +dpkg-shlibdeps: warning: symbol floor used by debian/libcmor2/usr/lib/aarch64-linux-gnu/libcmor.so.2 found in none of the libraries +dpkg-shlibdeps: warning: symbol uuid_generate used by debian/libcmor2/usr/lib/aarch64-linux-gnu/libcmor.so.2 found in none of the libraries dpkg-shlibdeps: warning: 31 other similar warnings have been skipped (use -v to see them all) dh_installdeb install -p -m0644 debian/.debhelper/generated/libcmor2/triggers debian/libcmor2/DEBIAN/triggers @@ -20380,6 +20415,8 @@ echo misc:Pre-Depends= >> debian/python3-cmor.substvars install -d debian/.debhelper/python3-cmor/dbgsym-root/DEBIAN dpkg-gencontrol -ppython3-cmor -ldebian/changelog -Tdebian/python3-cmor.substvars -Pdebian/.debhelper/python3-cmor/dbgsym-root -UPre-Depends -URecommends -USuggests -UEnhances -UProvides -UEssential -UConflicts -DPriority=optional -UHomepage -UImportant -UBuilt-Using -DAuto-Built-Package=debug-symbols -UProtected -DPackage=python3-cmor-dbgsym "-DDepends=python3-cmor (= \${binary:Version})" "-DDescription=debug symbols for python3-cmor" "-DBuild-Ids=3fd4a005623c1153b91269bee97dff19f0113d29 513e1ea671690aa27b17b3e084f988a8c1b98a8b" -DSection=debug -UMulti-Arch -UReplaces -UBreaks + chmod 0644 -- debian/libcmor-dev/DEBIAN/control + chown 0:0 -- debian/libcmor-dev/DEBIAN/control dpkg-gencontrol: warning: package libcmor2: substitution variable ${python3:Depends} unused, but is defined chmod 0644 -- debian/.debhelper/libcmor2/dbgsym-root/DEBIAN/control chown 0:0 -- debian/.debhelper/libcmor2/dbgsym-root/DEBIAN/control @@ -20388,8 +20425,6 @@ chmod 0644 -- debian/.debhelper/python3-cmor/dbgsym-root/DEBIAN/control chown 0:0 -- debian/.debhelper/python3-cmor/dbgsym-root/DEBIAN/control dpkg-gencontrol -ppython3-cmor -ldebian/changelog -Tdebian/python3-cmor.substvars -Pdebian/python3-cmor - chmod 0644 -- debian/libcmor-dev/DEBIAN/control - chown 0:0 -- debian/libcmor-dev/DEBIAN/control dpkg-gencontrol: warning: package libcmor2: substitution variable ${python3:Depends} unused, but is defined chmod 0644 -- debian/libcmor2/DEBIAN/control chown 0:0 -- debian/libcmor2/DEBIAN/control @@ -20398,31 +20433,31 @@ chown 0:0 -- debian/python3-cmor/DEBIAN/control dh_md5sums cd debian/libcmor2 >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums - chmod 0644 -- debian/libcmor2/DEBIAN/md5sums - chown 0:0 -- debian/libcmor2/DEBIAN/md5sums cd debian/python3-cmor >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums cd debian/libcmor-dev >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums + chmod 0644 -- debian/libcmor2/DEBIAN/md5sums + chown 0:0 -- debian/libcmor2/DEBIAN/md5sums + cd debian/.debhelper/libcmor2/dbgsym-root >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums chmod 0644 -- debian/python3-cmor/DEBIAN/md5sums chown 0:0 -- debian/python3-cmor/DEBIAN/md5sums - chmod 0644 -- debian/libcmor-dev/DEBIAN/md5sums - chown 0:0 -- debian/libcmor-dev/DEBIAN/md5sums - cd debian/.debhelper/libcmor2/dbgsym-root >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums cd debian/.debhelper/python3-cmor/dbgsym-root >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums chmod 0644 -- debian/.debhelper/libcmor2/dbgsym-root/DEBIAN/md5sums chown 0:0 -- debian/.debhelper/libcmor2/dbgsym-root/DEBIAN/md5sums chmod 0644 -- debian/.debhelper/python3-cmor/dbgsym-root/DEBIAN/md5sums chown 0:0 -- debian/.debhelper/python3-cmor/dbgsym-root/DEBIAN/md5sums + chmod 0644 -- debian/libcmor-dev/DEBIAN/md5sums + chown 0:0 -- debian/libcmor-dev/DEBIAN/md5sums dh_builddeb dpkg-deb --build debian/libcmor2 .. - dpkg-deb --build debian/.debhelper/python3-cmor/dbgsym-root .. + dpkg-deb --build debian/.debhelper/libcmor2/dbgsym-root .. dpkg-deb --build debian/libcmor-dev .. dpkg-deb --build debian/python3-cmor .. - dpkg-deb --build debian/.debhelper/libcmor2/dbgsym-root .. -dpkg-deb: building package 'libcmor2' in '../libcmor2_3.6.1-1_arm64.deb'. -dpkg-deb: building package 'python3-cmor-dbgsym' in '../python3-cmor-dbgsym_3.6.1-1_arm64.deb'. + dpkg-deb --build debian/.debhelper/python3-cmor/dbgsym-root .. dpkg-deb: building package 'libcmor2-dbgsym' in '../libcmor2-dbgsym_3.6.1-1_arm64.deb'. -dpkg-deb: building package 'libcmor-dev' in '../libcmor-dev_3.6.1-1_arm64.deb'. +dpkg-deb: building package 'libcmor2' in '../libcmor2_3.6.1-1_arm64.deb'. dpkg-deb: building package 'python3-cmor' in '../python3-cmor_3.6.1-1_arm64.deb'. +dpkg-deb: building package 'libcmor-dev' in '../libcmor-dev_3.6.1-1_arm64.deb'. +dpkg-deb: building package 'python3-cmor-dbgsym' in '../python3-cmor-dbgsym_3.6.1-1_arm64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../cmor_3.6.1-1_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -20430,12 +20465,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/17646/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/17646/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/11044 and its subdirectories -I: Current time: Wed Sep 21 22:59:45 -12 2022 -I: pbuilder-time-stamp: 1663844385 +I: removing directory /srv/workspace/pbuilder/17646 and its subdirectories +I: Current time: Fri Aug 20 18:39:17 +14 2021 +I: pbuilder-time-stamp: 1629434357