Diff of the two buildlogs: -- --- b1/build.log 2023-01-05 22:08:19.585496869 +0000 +++ b2/build.log 2023-01-05 22:10:35.020909915 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Jan 5 10:06:28 -12 2023 -I: pbuilder-time-stamp: 1672956388 +I: Current time: Thu Feb 8 18:31:23 +14 2024 +I: pbuilder-time-stamp: 1707366683 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +17,8 @@ I: copying [./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.WryFxnVR/trustedkeys.kbx': General error -gpgv: Signature made Sat Dec 19 10:31:53 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.StA6rsuI/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 @@ -35,135 +35,170 @@ dpkg-source: info: applying kfreebsd_hurd_support.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/655862/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3191362/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +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' +lrwxrwxrwx 1 root root 4 Feb 8 18:31 /bin/sh -> 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/3191362/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3191362/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=15' - DISTRIBUTION='bullseye' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=16' + DIRSTACK=() + DISTRIBUTION=bullseye + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='82cdc75af9bb40bbb9faedce4fe310f0' - 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='655862' - PS1='# ' - PS2='> ' + INVOCATION_ID=6d1ab8370bfa49c5b57935e03ac18477 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=3191362 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.KLf5AQ3e/pbuilderrc_6Wwp --distribution bullseye --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.KLf5AQ3e/b1 --logfile b1/build.log cmor_3.6.1-1.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.KLf5AQ3e/pbuilderrc_7T88 --distribution bullseye --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.KLf5AQ3e/b2 --logfile b2/build.log cmor_3.6.1-1.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos11-amd64 5.10.0-20-amd64 #1 SMP Debian 5.10.158-2 (2022-12-13) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.0.0-0.deb11.6-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.0.12-1~bpo11+1 (2022-12-19) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1234376 Mar 27 2022 bash - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 18424 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 43936 Sep 23 2020 cat - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chgrp - -rwxr-xr-x 1 root root 64448 Sep 23 2020 chmod - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chown - -rwxr-xr-x 1 root root 151168 Sep 23 2020 cp - -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash - -rwxr-xr-x 1 root root 113664 Sep 23 2020 date - -rwxr-xr-x 1 root root 80968 Sep 23 2020 dd - -rwxr-xr-x 1 root root 93936 Sep 23 2020 df - -rwxr-xr-x 1 root root 147176 Sep 23 2020 dir - -rwxr-xr-x 1 root root 84440 Jan 20 2022 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 39712 Sep 23 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 39680 Sep 23 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 69032 Jan 20 2022 findmnt - -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 203072 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 98048 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22600 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 72840 Sep 23 2020 ln - -rwxr-xr-x 1 root root 56952 Feb 7 2020 login - -rwxr-xr-x 1 root root 147176 Sep 23 2020 ls - -rwxr-xr-x 1 root root 149736 Jan 20 2022 lsblk - -rwxr-xr-x 1 root root 85184 Sep 23 2020 mkdir - -rwxr-xr-x 1 root root 76896 Sep 23 2020 mknod - -rwxr-xr-x 1 root root 48064 Sep 23 2020 mktemp - -rwxr-xr-x 1 root root 59632 Jan 20 2022 more - -rwsr-xr-x 1 root root 55528 Jan 20 2022 mount - -rwxr-xr-x 1 root root 18664 Jan 20 2022 mountpoint - -rwxr-xr-x 1 root root 147080 Sep 23 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Dec 16 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43872 Sep 23 2020 pwd - lrwxrwxrwx 1 root root 4 Mar 27 2022 rbash -> bash - -rwxr-xr-x 1 root root 52032 Sep 23 2020 readlink - -rwxr-xr-x 1 root root 72704 Sep 23 2020 rm - -rwxr-xr-x 1 root root 52032 Sep 23 2020 rmdir - -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Dec 20 21:25 sh -> dash - -rwxr-xr-x 1 root root 43808 Sep 23 2020 sleep - -rwxr-xr-x 1 root root 84928 Sep 23 2020 stty - -rwsr-xr-x 1 root root 71912 Jan 20 2022 su - -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync - -rwxr-xr-x 1 root root 531928 Feb 16 2021 tar - -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 101408 Sep 23 2020 touch - -rwxr-xr-x 1 root root 39680 Sep 23 2020 true - -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 35040 Jan 20 2022 umount - -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir - -rwxr-xr-x 1 root root 63744 Jan 20 2022 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 5898 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8049 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/655862/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1234376 Mar 28 2022 bash + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 18424 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 43936 Sep 24 2020 cat + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp + -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown + -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp + -rwxr-xr-x 1 root root 125560 Dec 11 2020 dash + -rwxr-xr-x 1 root root 113664 Sep 24 2020 date + -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd + -rwxr-xr-x 1 root root 93936 Sep 24 2020 df + -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir + -rwxr-xr-x 1 root root 84440 Jan 21 2022 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 39712 Sep 24 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 39680 Sep 24 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 69032 Jan 21 2022 findmnt + -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 203072 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 98048 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22600 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln + -rwxr-xr-x 1 root root 56952 Feb 8 2020 login + -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls + -rwxr-xr-x 1 root root 149736 Jan 21 2022 lsblk + -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir + -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod + -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp + -rwxr-xr-x 1 root root 59632 Jan 21 2022 more + -rwsr-xr-x 1 root root 55528 Jan 21 2022 mount + -rwxr-xr-x 1 root root 18664 Jan 21 2022 mountpoint + -rwxr-xr-x 1 root root 147080 Sep 24 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Dec 17 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43872 Sep 24 2020 pwd + lrwxrwxrwx 1 root root 4 Mar 28 2022 rbash -> bash + -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink + -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm + -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir + -rwxr-xr-x 1 root root 27472 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Feb 8 18:31 sh -> bash + lrwxrwxrwx 1 root root 4 Jan 24 05:47 sh.distrib -> dash + -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep + -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty + -rwsr-xr-x 1 root root 71912 Jan 21 2022 su + -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync + -rwxr-xr-x 1 root root 531928 Feb 17 2021 tar + -rwxr-xr-x 1 root root 14456 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch + -rwxr-xr-x 1 root root 39680 Sep 24 2020 true + -rwxr-xr-x 1 root root 14328 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 35040 Jan 21 2022 umount + -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir + -rwxr-xr-x 1 root root 63744 Jan 21 2022 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 5898 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8049 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/3191362/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -364,7 +399,7 @@ Get: 127 http://deb.debian.org/debian bullseye/main amd64 python3-numpy amd64 1:1.19.5-1 [2693 kB] Get: 128 http://deb.debian.org/debian bullseye/main amd64 python3-setuptools all 52.0.0-4 [366 kB] Get: 129 http://deb.debian.org/debian bullseye/main amd64 uuid-dev amd64 2.36.1-8+deb11u1 [99.4 kB] -Fetched 60.0 MB in 2s (27.5 MB/s) +Fetched 60.0 MB in 1s (44.0 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 ... 19704 files and directories currently installed.) @@ -909,7 +944,11 @@ fakeroot is already the newest version (1.25.3-1.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/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 +I: user script /srv/workspace/pbuilder/3191362/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bullseye +I: user script /srv/workspace/pbuilder/3191362/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +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 @@ -963,7 +1002,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=x86_64-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/x86_64-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... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu @@ -13765,20 +13804,13 @@ compile options: '-I/usr/lib/python3/dist-packages/numpy/core/include -Iinclude -Iinclude/cdTime -I/usr/include -I/usr/include/python3.9 -c' extra options: '-DgFortran' x86_64-linux-gnu-gcc: Src/_cmormodule.c -x86_64-linux-gnu-gcc: Src/cdTime/cdRegTrfm.c x86_64-linux-gnu-gcc: Src/cdTime/cdTimeConv.c -x86_64-linux-gnu-gcc: Src/cdTime/fcdTimeConv.c -x86_64-linux-gnu-gcc: Src/cdTime/timeConv.c -x86_64-linux-gnu-gcc: Src/cdTime/reg_trfm.c +x86_64-linux-gnu-gcc: Src/cdTime/cdRegTrfm.c x86_64-linux-gnu-gcc: Src/cdTime/cdUtil.c +x86_64-linux-gnu-gcc: Src/cdTime/reg_trfm.c +x86_64-linux-gnu-gcc: Src/cdTime/fcdTimeConv.c x86_64-linux-gnu-gcc: Src/cdTime/timeArith.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) - | ^~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc: Src/cmor.c -x86_64-linux-gnu-gcc: Src/cmor_CV.c -x86_64-linux-gnu-gcc: Src/cmor_axes.c +x86_64-linux-gnu-gcc: Src/cdTime/timeConv.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); @@ -13790,10 +13822,41 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-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] + 598 | static char *kill_trailingn(char *s, char t, char *e) + | ^~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc: Src/cmor_CV.c +x86_64-linux-gnu-gcc: Src/cmor_axes.c x86_64-linux-gnu-gcc: Src/cmor_cfortran_interface.c x86_64-linux-gnu-gcc: Src/cmor_grids.c x86_64-linux-gnu-gcc: Src/cmor_md5.c x86_64-linux-gnu-gcc: Src/cmor_tables.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))) { + | ^ +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/x86_64-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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc: Src/cmor_variables.c Src/cmor.c:122:1: warning: "/*" within comment [-Wcomment] 122 | /**************************************************************************/ | @@ -13812,26 +13875,6 @@ Src/cmor.c:1804:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1804 | for (i = 0; i < strlen(values); 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_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_define_dimensions': 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++) { @@ -13859,13 +13902,10 @@ 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_grids.c:3: -In function 'strncpy', - inlined from 'cmor_init_grid_mapping' at Src/cmor_grids.c:32:5: -/usr/include/x86_64-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/_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_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); @@ -13909,70 +13949,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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/x86_64-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_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! " @@ -14012,7 +13988,42 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc: Src/cmor_variables.c +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/x86_64-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: +/usr/include/x86_64-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_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/x86_64-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_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_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\" " @@ -14118,24 +14129,70 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/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/x86_64-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_grids.c:1: -/usr/include/x86_64-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_tables.c:1: +/usr/include/x86_64-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/x86_64-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/x86_64-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_grids.c:3: + from Src/cmor_tables.c:2: In function 'strncpy', - inlined from 'cmor_set_mapping_attribute' at Src/cmor_grids.c:477:9: + inlined from 'cmor_set_dataset_att' at Src/cmor_tables.c:373:9: +/usr/include/x86_64-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/x86_64-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/x86_64-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_CV.c: In function 'CV_VerifyNBElement': Src/cmor_CV.c:749:24: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1019 [-Wformat-truncation=] 749 | "Your %s has more than 0 element\n! " @@ -14163,6 +14220,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/x86_64-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/x86_64-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/x86_64-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 '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! " @@ -14180,22 +14254,7 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/x86_64-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_grid_mapping': Src/cmor_CV.c: In function 'cmor_CV_checkSubExpID': -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: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! " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14215,9 +14274,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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:904:68: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 971 [-Wformat-truncation=] 904 | "Your input attribute \"%s\" defined as \"%s\" " | ^~ @@ -14225,13 +14281,6 @@ 907 | GLOBAL_ATT_SUB_EXPT_ID, szSubExptID, | ~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, - from Src/cmor_grids.c:1: -/usr/include/x86_64-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 ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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, @@ -14404,27 +14453,17 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/x86_64-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.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/x86_64-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 ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + from Src/cmor.c:1: +/usr/include/x86_64-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 '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! " @@ -14525,12 +14564,23 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); + | ^ Src/cmor_CV.c:1173:26: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 949 [-Wformat-truncation=] 1173 | "Your input attribute \"%s\" is not defined \n! " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 1176 | BRANCH_TIME_IN_CHILD, szExperiment_ID); | ~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor_tables.c:1: +/usr/include/x86_64-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:1174:40: note: format string is defined here 1174 | "properly for %s \n! " | ^~ @@ -14566,6 +14616,16 @@ ...... 1198 | BRANCH_TIME_IN_PARENT, szExperiment_ID); | ~~~~~~~~~~~~~~~ +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/x86_64-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_CV.c:1196:40: note: format string is defined here 1196 | "properly for %s \n! " | ^~ @@ -14614,12 +14674,22 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'strncpy', + inlined from 'cmor_grid' at Src/cmor_grids.c:1001:13: +/usr/include/x86_64-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: Src/cmor_CV.c:1284:55: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 988 [-Wformat-truncation=] 1284 | "You \"%s\" set to \"%s\" is invalid. \n! " | ^~ 1285 | "Please refer to the CMIP6 documentations.\n! ", 1286 | PARENT_VARIANT_LABEL, szParentVariantLabel); | ~~~~~~~~~~~~~~~~~~~~ +/usr/include/x86_64-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/stdio.h:867, from include/cdTime/cdmsint.h:37, from include/cmor_func_def.h:9, @@ -14816,23 +14886,6 @@ /usr/include/x86_64-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_time_varying_grid_coordinate' at Src/cmor_grids.c:693:17: -/usr/include/x86_64-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/x86_64-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/x86_64-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_prep_units' at Src/cmor.c:493:5: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] @@ -14861,10 +14914,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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_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\" " @@ -14926,6 +14975,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/x86_64-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, @@ -14937,28 +14993,7 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'strncpy', - inlined from 'cmor_grid' at Src/cmor_grids.c:1001:13: -/usr/include/x86_64-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/x86_64-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_get_cur_dataset_attribute': Src/cmor_CV.c: In function 'cmor_CV_checkFilename': -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/x86_64-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_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)", | ^~ @@ -14974,19 +15009,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/x86_64-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_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! " | ^~~~~~~~~~~~~~~~~~~~ @@ -15006,6 +15028,41 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/x86_64-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/x86_64-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_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/x86_64-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_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! " @@ -15095,29 +15152,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __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); - | ^~ ~~~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 34 and 1057 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_convert_string_to_list' at Src/cmor.c:1856:9: -/usr/include/x86_64-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 function 'strncpy', - inlined from 'cmor_convert_string_to_list' at Src/cmor.c:1824:21: -/usr/include/x86_64-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_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! " @@ -15189,6 +15223,29 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); + | ^~ ~~~~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 34 and 1057 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_convert_string_to_list' at Src/cmor.c:1856:9: +/usr/include/x86_64-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 function 'strncpy', + inlined from 'cmor_convert_string_to_list' at Src/cmor.c:1824:21: +/usr/include/x86_64-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_CV.c:4: In function 'strncpy', @@ -15244,13 +15301,6 @@ 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/x86_64-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', inlined from 'cmor_CV_checkGrids' at Src/cmor_CV.c:2079:13: @@ -15313,81 +15363,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/x86_64-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/x86_64-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_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/x86_64-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 " - | ^~~~~~~~~~~~~~~~~~~~~~~~ -...... - 2289 | "\n! ", szAttribute, szDate); - | ~~~~~~ -Src/cmor_CV.c:2287:35: note: format string is defined here - 2287 | "\"%s\" set to \"%s\" is not a valid date.\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/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 118 or more bytes (assuming 1141) 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); - | ^~ ~~~~ -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/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 48 and 1071 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_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); @@ -15412,7 +15387,6 @@ 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/cmor_variables.c: In function 'cmor_variable': -Src/cmor_axes.c: In function 'cmor_check_interval': Src/cmor_variables.c:1229:49: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 996 [-Wformat-truncation=] 1229 | "Converted units from '%s' to '%s'", units, refvar.units); | ^~ ~~~~~~~~~~~~ @@ -15423,6 +15397,7 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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)", | ^~ @@ -15435,6 +15410,19 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor_variables.c:1598:45: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1002 [-Wformat-truncation=] + 1598 | "You defined variable '%s' (table %s) with axis " + | ^~ +...... + 1601 | refvar.id, + | ~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor_variables.c:2: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 173 or more bytes (assuming 2219) 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:1456:50: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 993 [-Wformat-truncation=] 1456 | "In udunits parsing user units: %s, axis: %s (table: %s)", | ^~ @@ -15447,6 +15435,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/x86_64-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:1476:57: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 986 [-Wformat-truncation=] 1476 | "Udunits: Error getting converter from %s to %s, axis: %s (table: %s)", | ^~ @@ -15459,19 +15460,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor_variables.c:1598:45: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1002 [-Wformat-truncation=] - 1598 | "You defined variable '%s' (table %s) with axis " - | ^~ -...... - 1601 | refvar.id, - | ~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor_variables.c:2: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 173 or more bytes (assuming 2219) 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:1541:22: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 887 and 911 [-Wformat-truncation=] 1541 | "approximate time axis interval is defined as %f " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15481,23 +15469,10 @@ Src/cmor_axes.c:1543:35: note: format string is defined here 1543 | "seconds (%f %s), which is %f %% , seems too big, check " | ^~ -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, - | ~~~~~~~~~ Src/cmor_axes.c:1541:22: note: assuming directive output of 8 bytes 1541 | "approximate time axis interval is defined as %f " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, - from Src/cmor_variables.c:2: -/usr/include/x86_64-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 ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, from Src/cmor_axes.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 166 or more bytes (assuming 1218) into a destination of size 1024 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, @@ -15567,6 +15542,70 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 " + | ^~~~~~~~~~~~~~~~~~~~~~~~ +...... + 2289 | "\n! ", szAttribute, szDate); + | ~~~~~~ +Src/cmor_CV.c:2287:35: note: format string is defined here + 2287 | "\"%s\" set to \"%s\" is not a valid date.\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/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 118 or more bytes (assuming 1141) 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/x86_64-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/x86_64-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_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); + | ^~ ~~~~ +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/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 48 and 1071 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_axes.c: In function 'cmor_axis': Src/cmor_axes.c:1761:26: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 962 [-Wformat-truncation=] 1761 | "axis: %s (table: %s) is declared to be converted " @@ -15988,90 +16027,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor.c: In function 'cmor_close_variable': -Src/cmor.c:6113:34: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 934 [-Wformat-truncation=] - 6113 | "while closing variable %i (%s, table %s)\n! " - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -...... - 6121 | ref_table_id].szTable_id, ctmp2, - | ~~~~~ -Src/cmor.c:6115:45: note: format string is defined here - 6115 | "you wrote %s time steps for the variable,\n! " - | ^~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 176 or more bytes (assuming 2222) 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:6144:30: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 920 [-Wformat-truncation=] - 6144 | "while closing variable %i (%s, table %s) we\n! " - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -...... - 6151 | szTable_id, ctmp2, - | ~~~~~ -Src/cmor.c:6146:51: note: format string is defined here - 6146 | "variable, you wrote %s time steps for the\n! " - | ^~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 190 or more bytes (assuming 2236) 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:6209:33: warning: '.copy' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] - 6209 | sprintf(msg, "%s.copy", outname); - | ^~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 1029 bytes 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.c:6220:45: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1010 [-Wformat-truncation=] - 6220 | "Output file ( %s ) already exists,\n! " - | ^~ -...... - 6223 | "cmor_setup.", outname); - | ~~~~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 128 and 1151 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: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! " - | ^~ -...... - 6217 | "at: %s.copy", outname, outname); - | ~~~~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 206 and 2252 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: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" - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 6234 | "name: %s", cmor_vars[var_id].current_path, outname); - | ~~~~~~~ -Src/cmor.c:6234:29: note: format string is defined here - 6234 | "name: %s", cmor_vars[var_id].current_path, outname); - | ^~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 55 or more bytes (assuming 1078) 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 " @@ -16241,6 +16196,7 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor.c: In function 'cmor_close_variable': Src/cmor_variables.c:2773:59: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 988 [-Wformat-truncation=] 2773 | "Invalid Absolute Mean for variable '%s' " | ^~ @@ -16258,6 +16214,12 @@ Src/cmor_variables.c:2783:59: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 988 [-Wformat-truncation=] 2783 | "Invalid Absolute Mean for variable '%s' " | ^~ +Src/cmor.c:6113:34: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 934 [-Wformat-truncation=] + 6113 | "while closing variable %i (%s, table %s)\n! " + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +...... + 6121 | ref_table_id].szTable_id, ctmp2, + | ~~~~~ Src/cmor_variables.c:2783:22: note: assuming directive output of 11 bytes 2783 | "Invalid Absolute Mean for variable '%s' " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -16279,6 +16241,16 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor.c:6115:45: note: format string is defined here + 6115 | "you wrote %s time steps for the variable,\n! " + | ^~ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 176 or more bytes (assuming 2222) 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:2810:62: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 985 [-Wformat-truncation=] 2810 | "Udunits: Error freeing units, variable %s (table: %s)", | ^~ @@ -16299,6 +16271,12 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor.c:6144:30: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 920 [-Wformat-truncation=] + 6144 | "while closing variable %i (%s, table %s) we\n! " + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +...... + 6151 | szTable_id, ctmp2, + | ~~~~~ Src/cmor_variables.c:3177:37: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1014 [-Wformat-truncation=] 3177 | "variable '%s' (table: %s) you are passing %i " | ^~ @@ -16312,6 +16290,16 @@ Src/cmor_variables.c:3208:30: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 969 [-Wformat-truncation=] 3208 | "NCError (%i: %s) writing time bounds values for " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor.c:6146:51: note: format string is defined here + 6146 | "variable, you wrote %s time steps for the\n! " + | ^~ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 190 or more bytes (assuming 2236) 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:3209:41: note: format string is defined here 3209 | "variable '%s' (table: %s)", | ^~ @@ -16335,6 +16323,16 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor.c:6209:33: warning: '.copy' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] + 6209 | sprintf(msg, "%s.copy", outname); + | ^~~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 1029 bytes 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_variables.c:3078:37: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1014 [-Wformat-truncation=] 3078 | "variable '%s' (table: %s) you are passing %i " | ^~ @@ -16348,6 +16346,19 @@ Src/cmor_variables.c:3125:30: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 960 [-Wformat-truncation=] 3125 | "time axis must have bounds, you defined it w/o " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor.c:6220:45: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1010 [-Wformat-truncation=] + 6220 | "Output file ( %s ) already exists,\n! " + | ^~ +...... + 6223 | "cmor_setup.", outname); + | ~~~~~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 128 and 1151 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:3126:48: note: format string is defined here 3126 | "any for variable %s (table: %s)", avar->id, | ^~ @@ -16371,6 +16382,19 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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! " + | ^~ +...... + 6217 | "at: %s.copy", outname, outname); + | ~~~~~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 206 and 2252 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:3139:78: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 976 [-Wformat-truncation=] 3139 | "NCError (%i: %s) writing time values for variable '%s' (table: %s)", | ^~ @@ -16391,6 +16415,11 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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" + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 6234 | "name: %s", cmor_vars[var_id].current_path, outname); + | ~~~~~~~ Src/cmor_variables.c:3018:30: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 932 [-Wformat-truncation=] 3018 | "time axis must have bounds, please pass them to " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -16404,6 +16433,16 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor.c:6234:29: note: format string is defined here + 6234 | "name: %s", cmor_vars[var_id].current_path, outname); + | ^~ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 55 or more bytes (assuming 1078) 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:3036:30: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 974 and 984 [-Wformat-truncation=] 3036 | "cannot malloc %i time vals for variable " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -16678,11 +16717,12 @@ x86_64-linux-gnu-gcc: Src/cdTime/timeArith.c x86_64-linux-gnu-gcc: Src/cdTime/timeConv.c x86_64-linux-gnu-gcc: Src/cmor.c -x86_64-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) | ^~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc: Src/cmor_CV.c +x86_64-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,11 +16734,8 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc: Src/cmor_axes.c x86_64-linux-gnu-gcc: Src/cmor_cfortran_interface.c x86_64-linux-gnu-gcc: Src/cmor_grids.c -x86_64-linux-gnu-gcc: Src/cmor_md5.c -x86_64-linux-gnu-gcc: Src/cmor_tables.c Src/cmor.c:122:1: warning: "/*" within comment [-Wcomment] 122 | /**************************************************************************/ | @@ -16706,10 +16743,6 @@ 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++) { @@ -16717,6 +16750,10 @@ 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.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:2327:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2327 | && (i < strlen(val))) { | ^ @@ -16742,6 +16779,15 @@ 4534 | for (i = 0; i < strlen(cmor_vars[var_id].id); i++) { | ^ 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/x86_64-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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc: Src/cmor_md5.c +x86_64-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', inlined from 'cmor_CV_checkFurtherInfoURL' at Src/cmor_CV.c:402:5: @@ -16812,17 +16858,25 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/x86_64-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_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\" " @@ -16928,44 +16982,7 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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++) { - | ^ -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/x86_64-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/x86_64-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_init_grid_mapping' at Src/cmor_grids.c:32:5: -/usr/include/x86_64-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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc: Src/cmor_variables.c Src/cmor_CV.c: In function 'CV_VerifyNBElement': Src/cmor_CV.c:749:24: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1019 [-Wformat-truncation=] 749 | "Your %s has more than 0 element\n! " @@ -16993,34 +17010,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'strncpy', - inlined from 'cmor_prep_units' at Src/cmor.c:493:5: -/usr/include/x86_64-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_prep_units': -Src/cmor.c:521:63: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 982 [-Wformat-truncation=] - 521 | "Udunits: Error getting converter from %s to %s", cunits, - | ^~ - 522 | local_unit); - | ~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 43 or more bytes (assuming 1066) 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:499:55: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 988 [-Wformat-truncation=] - 499 | "Udunits: analyzing units from user (%s)", local_unit); - | ^~ ~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 38 and 1061 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 '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! " @@ -17038,6 +17027,35 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/x86_64-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_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/x86_64-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: +/usr/include/x86_64-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_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! " @@ -17206,13 +17224,9 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 843 | "your Control Vocabulary file.(%s)\n! ", CV_Filename); | ~~~~~~~~~~~ -Src/cmor_tables.c: In function 'cmor_set_experiments.part.0': Src/cmor_CV.c:843:49: note: format string is defined here 843 | "your Control Vocabulary file.(%s)\n! ", CV_Filename); | ^~ -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 include/cdTime/cdmsint.h:37, from include/cmor_func_def.h:9, @@ -17223,13 +17237,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor_tables.c:1: -/usr/include/x86_64-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:832:18: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 941 [-Wformat-truncation=] 832 | "Your \"sub_experiment_id\" key could not be found in\n! " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -17248,13 +17255,27 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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, - | ^ +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/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 +/usr/include/x86_64-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_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/x86_64-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 ()); @@ -17638,149 +17659,70 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/x86_64-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/x86_64-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! " - | ^~ - 1730 | "cannot access it, please check permissions", - 1731 | cmor_current_dataset.outpath); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 97 and 1120 bytes 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.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! " - | ^~ - 1709 | "directory does not exist. CMOR will create it!", - 1710 | cmor_current_dataset.outpath); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 103 and 1126 bytes 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.c:1719:63: warning: '%s' directive writing up to 1023 bytes into a region of size 983 [-Wformat-overflow=] - 1719 | "CMOR was unable to create this directory %s\n! " - | ^~ - 1720 | "You do not have write permissions!", - 1721 | cmor_current_dataset.outpath); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 79 and 1102 bytes 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.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", - | ^~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 1049 bytes 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.c:1694:68: warning: '%s' directive writing up to 1023 bytes into a region of size 982 [-Wformat-overflow=] - 1694 | "You defined your output directory to be: '%s', but\n! " - | ^~ - 1695 | "you do not have read/write permissions on it", - 1696 | cmor_current_dataset.outpath); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 96 and 1119 bytes 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.c:1675:64: warning: '%s' directive writing up to 1023 bytes into a region of size 982 [-Wformat-overflow=] - 1675 | "You defined your output directory to be: '%s',\n! " - | ^~ - 1676 | "but it appears to be a special file not a directory", - 1677 | cmor_current_dataset.outpath); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 99 and 1122 bytes 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.c:1667:64: warning: '%s' directive writing up to 1023 bytes into a region of size 982 [-Wformat-overflow=] - 1667 | "You defined your output directory to be: '%s',\n! " - | ^~ - 1668 | "but it appears to be a regular file not a directory", - 1669 | cmor_current_dataset.outpath); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 99 and 1122 bytes 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.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); - | ^~ ~~~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 34 and 1057 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_convert_string_to_list' at Src/cmor.c:1856:9: -/usr/include/x86_64-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] + inlined from 'cmor_have_NetCDF4' at Src/cmor.c:457:5: +/usr/include/x86_64-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_convert_string_to_list' at Src/cmor.c:1824:21: -/usr/include/x86_64-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] + inlined from 'cmor_have_NetCDF41min' at Src/cmor.c:541:5: +/usr/include/x86_64-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_time_varying_grid_coordinate' at Src/cmor_grids.c:693:17: +/usr/include/x86_64-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/x86_64-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/x86_64-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_prep_units' at Src/cmor.c:493:5: +/usr/include/x86_64-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_prep_units': +Src/cmor.c:521:63: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 982 [-Wformat-truncation=] + 521 | "Udunits: Error getting converter from %s to %s", cunits, + | ^~ + 522 | local_unit); + | ~~~~~~~~~~ +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: +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 43 or more bytes (assuming 1066) into a destination of size 1024 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-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:499:55: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 988 [-Wformat-truncation=] + 499 | "Udunits: analyzing units from user (%s)", local_unit); + | ^~ ~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 38 and 1061 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: 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) " @@ -17838,7 +17780,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc: Src/cmor_variables.c 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\" " @@ -17900,6 +17841,55 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.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/x86_64-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); + | ^~ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/x86_64-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/x86_64-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 function 'strncpy', + inlined from 'cmor_grid' at Src/cmor_grids.c:1001:13: +/usr/include/x86_64-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/x86_64-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_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)", @@ -17935,24 +17925,95 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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_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! " + | ^~ + 1730 | "cannot access it, please check permissions", + 1731 | cmor_current_dataset.outpath); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, - from Src/cmor_grids.c:1: -/usr/include/x86_64-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: -/usr/include/x86_64-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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + from Src/cmor.c:1: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 97 and 1120 bytes 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.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! " + | ^~ + 1709 | "directory does not exist. CMOR will create it!", + 1710 | cmor_current_dataset.outpath); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 103 and 1126 bytes 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.c:1719:63: warning: '%s' directive writing up to 1023 bytes into a region of size 983 [-Wformat-overflow=] + 1719 | "CMOR was unable to create this directory %s\n! " + | ^~ + 1720 | "You do not have write permissions!", + 1721 | cmor_current_dataset.outpath); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 79 and 1102 bytes 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.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", + | ^~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 1049 bytes 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.c:1694:68: warning: '%s' directive writing up to 1023 bytes into a region of size 982 [-Wformat-overflow=] + 1694 | "You defined your output directory to be: '%s', but\n! " + | ^~ + 1695 | "you do not have read/write permissions on it", + 1696 | cmor_current_dataset.outpath); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 96 and 1119 bytes 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.c:1675:64: warning: '%s' directive writing up to 1023 bytes into a region of size 982 [-Wformat-overflow=] + 1675 | "You defined your output directory to be: '%s',\n! " + | ^~ + 1676 | "but it appears to be a special file not a directory", + 1677 | cmor_current_dataset.outpath); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 99 and 1122 bytes 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.c:1667:64: warning: '%s' directive writing up to 1023 bytes into a region of size 982 [-Wformat-overflow=] + 1667 | "You defined your output directory to be: '%s',\n! " + | ^~ + 1668 | "but it appears to be a regular file not a directory", + 1669 | cmor_current_dataset.outpath); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 99 and 1122 bytes 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_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); @@ -17964,7 +18025,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor.c: In function 'cmor_define_zfactors_vars': 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); | ^~ ~~~~ @@ -17975,53 +18035,29 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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/x86_64-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! " - | ^~ +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); + | ^~ ~~~~~~ In file included from /usr/include/stdio.h:867, from Src/cmor.c:1: -/usr/include/x86_64-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_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/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 94 or more bytes (assuming 25698) into a destination of size 1024 +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 34 and 1057 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 file included from /usr/include/string.h:495, + from Src/cmor.c:6: +In function 'strncpy', + inlined from 'cmor_convert_string_to_list' at Src/cmor.c:1856:9: +/usr/include/x86_64-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 function 'strncpy', + inlined from 'cmor_convert_string_to_list' at Src/cmor.c:1824:21: +/usr/include/x86_64-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_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! " @@ -18094,23 +18130,6 @@ 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/x86_64-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/x86_64-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/x86_64-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', inlined from 'cmor_CV_ValidateAttribute' at Src/cmor_CV.c:1946:9: @@ -18164,6 +18183,36 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/x86_64-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/x86_64-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 file included from /usr/include/string.h:495, from Src/cmor_CV.c:4: In function 'strncpy', @@ -18227,6 +18276,58 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/x86_64-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_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 " + | ^~~~~~~~~~~~~~~~~~~~~~~~ +...... + 2289 | "\n! ", szAttribute, szDate); + | ~~~~~~ +Src/cmor_CV.c:2287:35: note: format string is defined here + 2287 | "\"%s\" set to \"%s\" is not a valid date.\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/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 118 or more bytes (assuming 1141) 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_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/x86_64-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); + | ^~ ~~~~ +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/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 48 and 1071 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_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)", @@ -18346,85 +18447,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'strncpy', - inlined from 'cmor_grid' at Src/cmor_grids.c:1001:13: -/usr/include/x86_64-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/x86_64-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_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 " - | ^~~~~~~~~~~~~~~~~~~~~~~~ -...... - 2289 | "\n! ", szAttribute, szDate); - | ~~~~~~ -Src/cmor_CV.c:2287:35: note: format string is defined here - 2287 | "\"%s\" set to \"%s\" is not a valid date.\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/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 118 or more bytes (assuming 1141) 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); - | ^~ ~~~~ -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/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 48 and 1071 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_variables.c:3: -In function 'strncpy', - inlined from 'cmor_get_variable_attribute_names' at Src/cmor_variables.c:345:9: -/usr/include/x86_64-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_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/x86_64-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_axes.c: In function 'cmor_axis': -Src/cmor_axes.c:1761:26: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 962 [-Wformat-truncation=] - 1761 | "axis: %s (table: %s) is declared to be converted " - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -...... - 1765 | refaxis.convert_to); - | ~~~~~~~~~~~~~~~~~~ -Src/cmor_axes.c:1762:44: note: format string is defined here - 1762 | "to unknown type: %s", - | ^~ -In file included from /usr/include/stdio.h:867, - from Src/cmor_axes.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 63 or more bytes (assuming 1086) 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); @@ -18485,6 +18507,23 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor_axes.c: In function 'cmor_axis': +Src/cmor_axes.c:1761:26: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 962 [-Wformat-truncation=] + 1761 | "axis: %s (table: %s) is declared to be converted " + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +...... + 1765 | refaxis.convert_to); + | ~~~~~~~~~~~~~~~~~~ +Src/cmor_axes.c:1762:44: note: format string is defined here + 1762 | "to unknown type: %s", + | ^~ +In file included from /usr/include/stdio.h:867, + from Src/cmor_axes.c:1: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 63 or more bytes (assuming 1086) 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 " @@ -18599,26 +18638,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/x86_64-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/x86_64-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 ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/string.h:495, from Src/cmor_variables.c:3: In function 'strncpy', inlined from 'cmor_zfactor' at Src/cmor_variables.c:785:17: @@ -18626,31 +18645,12 @@ 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/cmor_variables.c: In function 'cmor_zfactor': -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! " - | ^~ - 5825 | "closing variable %s (table: %s)", msg2, - | ~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 67 or more bytes (assuming 1090) 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_build_outname' at Src/cmor.c:6025:9: Src/cmor_variables.c:791:66: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 989 [-Wformat-truncation=] 791 | "Udunits: Error parsing user units: %s, " | ^~ ...... 794 | local_unit, cmor_axes[axis_id].id, | ~~~~~~~~~~ -/usr/include/x86_64-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/stdio.h:867, from Src/cmor_variables.c:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 79 or more bytes (assuming 1102) into a destination of size 1024 @@ -18774,102 +18774,26 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor.c: In function 'cmor_close_variable': -Src/cmor.c:6113:34: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 934 [-Wformat-truncation=] - 6113 | "while closing variable %i (%s, table %s)\n! " - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -...... - 6121 | ref_table_id].szTable_id, ctmp2, - | ~~~~~ -Src/cmor.c:6115:45: note: format string is defined here - 6115 | "you wrote %s time steps for the variable,\n! " - | ^~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 176 or more bytes (assuming 2222) 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:6144:30: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 920 [-Wformat-truncation=] - 6144 | "while closing variable %i (%s, table %s) we\n! " - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -...... - 6151 | szTable_id, ctmp2, - | ~~~~~ -Src/cmor.c:6146:51: note: format string is defined here - 6146 | "variable, you wrote %s time steps for the\n! " - | ^~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 190 or more bytes (assuming 2236) 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:6209:33: warning: '.copy' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] - 6209 | sprintf(msg, "%s.copy", outname); - | ^~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 1029 bytes 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.c:6220:45: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1010 [-Wformat-truncation=] - 6220 | "Output file ( %s ) already exists,\n! " - | ^~ -...... - 6223 | "cmor_setup.", outname); - | ~~~~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 128 and 1151 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: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! " - | ^~ -...... - 6217 | "at: %s.copy", outname, outname); - | ~~~~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 206 and 2252 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: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" - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 6234 | "name: %s", cmor_vars[var_id].current_path, outname); - | ~~~~~~~ -Src/cmor.c:6234:29: note: format string is defined here - 6234 | "name: %s", cmor_vars[var_id].current_path, outname); - | ^~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 55 or more bytes (assuming 1078) 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_check_expt_id' at Src/cmor.c:328:9: -/usr/include/x86_64-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_check_expt_id' at Src/cmor.c:331:9: + inlined from 'cmor_build_outname' at Src/cmor.c:5880:9: /usr/include/x86_64-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/x86_64-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 ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from Src/cmor_variables.c:3: In function 'strncpy', @@ -18921,6 +18845,18 @@ Src/cmor_variables.c:1961:26: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 969 and 978 [-Wformat-truncation=] 1961 | "Too many dimensions (%i) defined for variable " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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! " + | ^~ + 5825 | "closing variable %s (table: %s)", msg2, + | ~~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 67 or more bytes (assuming 1090) 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:1962:28: note: format string is defined here 1962 | "(%s), max is: %i", var->ndims, var->id, | ^~ @@ -18931,6 +18867,13 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:6025:9: +/usr/include/x86_64-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: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 " | ^~ @@ -18971,66 +18914,90 @@ /usr/include/x86_64-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_addRIPF': -Src/cmor.c:5674:48: warning: '%s' directive output may be truncated writing between 5 and 1023 bytes into a region of size 1000 [-Wformat-truncation=] - 5674 | "Your realization_index \"%s\" is invalid. \n! " - | ^~ - 5675 | "It cannot contains more than 4 digits. \n! ", tmp); - | ~~~ +Src/cmor.c: In function 'cmor_close_variable': +Src/cmor.c:6113:34: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 934 [-Wformat-truncation=] + 6113 | "while closing variable %i (%s, table %s)\n! " + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +...... + 6121 | ref_table_id].szTable_id, ctmp2, + | ~~~~~ +Src/cmor.c:6115:45: note: format string is defined here + 6115 | "you wrote %s time steps for the variable,\n! " + | ^~ In file included from /usr/include/stdio.h:867, from Src/cmor.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 89 and 1107 bytes into a destination of size 1024 +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 176 or more bytes (assuming 2222) 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:5701:51: warning: '%s' directive output may be truncated writing between 5 and 1023 bytes into a region of size 997 [-Wformat-truncation=] - 5701 | "Your initialization_index \"%s\" is invalid. \n! " +Src/cmor.c:6144:30: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 920 [-Wformat-truncation=] + 6144 | "while closing variable %i (%s, table %s) we\n! " + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +...... + 6151 | szTable_id, ctmp2, + | ~~~~~ +Src/cmor.c:6146:51: note: format string is defined here + 6146 | "variable, you wrote %s time steps for the\n! " | ^~ - 5702 | "It cannot contains more than 4 digits. \n! ", tmp); - | ~~~ In file included from /usr/include/stdio.h:867, from Src/cmor.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 92 and 1110 bytes into a destination of size 1024 +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 190 or more bytes (assuming 2236) 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:5729:44: warning: '%s' directive output may be truncated writing between 5 and 1023 bytes into a region of size 1004 [-Wformat-truncation=] - 5729 | "Your physics_index \"%s\" is invalid. \n! " - | ^~ - 5730 | "It cannot contains more than 4 digits. \n! ", tmp); - | ~~~ +Src/cmor.c:6209:33: warning: '.copy' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] + 6209 | sprintf(msg, "%s.copy", outname); + | ^~~~~ In file included from /usr/include/stdio.h:867, from Src/cmor.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 85 and 1103 bytes into a destination of size 1024 +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 1029 bytes 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.c:6220:45: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1010 [-Wformat-truncation=] + 6220 | "Output file ( %s ) already exists,\n! " + | ^~ +...... + 6223 | "cmor_setup.", outname); + | ~~~~~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 128 and 1151 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:5756:44: warning: '%s' directive output may be truncated writing between 5 and 1023 bytes into a region of size 1004 [-Wformat-truncation=] - 5756 | "Your forcing_index \"%s\" is invalid. \n! " - | ^~ - 5757 | "It cannot contains more than 4 digits. \n! ", tmp); - | ~~~ +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! " + | ^~ +...... + 6217 | "at: %s.copy", outname, outname); + | ~~~~~~~ In file included from /usr/include/stdio.h:867, from Src/cmor.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 85 and 1103 bytes into a destination of size 1024 +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 206 and 2252 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: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" + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 6234 | "name: %s", cmor_vars[var_id].current_path, outname); + | ~~~~~~~ +Src/cmor.c:6234:29: note: format string is defined here + 6234 | "name: %s", cmor_vars[var_id].current_path, outname); + | ^~ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 55 or more bytes (assuming 1078) 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 'strncat', - inlined from 'cmor_CreateFromTemplate' at Src/cmor.c:5586:13: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] - 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor.c: In function 'cmor_CreateFromTemplate': -Src/cmor.c:5586:13: note: length computed here - 5586 | strncat(szInternalAtt, szToken, strlen(szToken)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 " @@ -19045,47 +19012,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Src/cmor.c: In function 'cmor_setup': -Src/cmor.c:901:50: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1001 [-Wformat-truncation=] - 901 | "Could not open logfile %s for writing", tmplogfile); - | ^~ ~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 36 and 1059 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:877:48: warning: '%.4i' directive output may be truncated writing between 4 and 11 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] - 877 | snprintf(msg, CMOR_MAX_STRING, "%s_%.4i-%.2i-%.2iT%.2i:%.2i:%.2i", - | ^~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 21 and 1096 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:885:31: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1016 [-Wformat-truncation=] - 885 | "Logfile %s already exist.\n! Renamed to: %s", tmplogfile, - | ^~ ~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 39 and 2085 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:892:50: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1001 [-Wformat-truncation=] - 892 | "Could not open logfile %s for writing", tmplogfile); - | ^~ ~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from Src/cmor.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 36 and 1059 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: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 " @@ -19510,6 +19436,119 @@ In file included from /usr/include/string.h:495, from Src/cmor.c:6: In function 'strncpy', + inlined from 'cmor_check_expt_id' at Src/cmor.c:328:9: +/usr/include/x86_64-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_check_expt_id' at Src/cmor.c:331:9: +/usr/include/x86_64-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_addRIPF': +Src/cmor.c:5674:48: warning: '%s' directive output may be truncated writing between 5 and 1023 bytes into a region of size 1000 [-Wformat-truncation=] + 5674 | "Your realization_index \"%s\" is invalid. \n! " + | ^~ + 5675 | "It cannot contains more than 4 digits. \n! ", tmp); + | ~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 89 and 1107 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:5701:51: warning: '%s' directive output may be truncated writing between 5 and 1023 bytes into a region of size 997 [-Wformat-truncation=] + 5701 | "Your initialization_index \"%s\" is invalid. \n! " + | ^~ + 5702 | "It cannot contains more than 4 digits. \n! ", tmp); + | ~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 92 and 1110 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:5729:44: warning: '%s' directive output may be truncated writing between 5 and 1023 bytes into a region of size 1004 [-Wformat-truncation=] + 5729 | "Your physics_index \"%s\" is invalid. \n! " + | ^~ + 5730 | "It cannot contains more than 4 digits. \n! ", tmp); + | ~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 85 and 1103 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:5756:44: warning: '%s' directive output may be truncated writing between 5 and 1023 bytes into a region of size 1004 [-Wformat-truncation=] + 5756 | "Your forcing_index \"%s\" is invalid. \n! " + | ^~ + 5757 | "It cannot contains more than 4 digits. \n! ", tmp); + | ~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 85 and 1103 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 'strncat', + inlined from 'cmor_CreateFromTemplate' at Src/cmor.c:5586:13: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] + 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor.c: In function 'cmor_CreateFromTemplate': +Src/cmor.c:5586:13: note: length computed here + 5586 | strncat(szInternalAtt, szToken, strlen(szToken)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Src/cmor.c: In function 'cmor_setup': +Src/cmor.c:901:50: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1001 [-Wformat-truncation=] + 901 | "Could not open logfile %s for writing", tmplogfile); + | ^~ ~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 36 and 1059 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:877:48: warning: '%.4i' directive output may be truncated writing between 4 and 11 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] + 877 | snprintf(msg, CMOR_MAX_STRING, "%s_%.4i-%.2i-%.2iT%.2i:%.2i:%.2i", + | ^~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 21 and 1096 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:885:31: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1016 [-Wformat-truncation=] + 885 | "Logfile %s already exist.\n! Renamed to: %s", tmplogfile, + | ^~ ~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 39 and 2085 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:892:50: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1001 [-Wformat-truncation=] + 892 | "Could not open logfile %s for writing", tmplogfile); + | ^~ ~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from Src/cmor.c:1: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 36 and 1059 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_setGblAttr' at Src/cmor.c:2779:9: /usr/include/x86_64-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)); @@ -19993,9 +20032,9 @@ 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/libcmor2/usr/share/doc/libcmor2/changelog.Debian install -p -m0644 debian/changelog debian/libcmor-dev/usr/share/doc/libcmor-dev/changelog.Debian + install -p -m0644 debian/changelog debian/libcmor2/usr/share/doc/libcmor2/changelog.Debian + install -p -m0644 debian/changelog debian/python3-cmor/usr/share/doc/python3-cmor/changelog.Debian dh_installexamples install -d debian/libcmor-dev/usr/share/doc/libcmor-dev/examples cp --reflink=auto -a ./Test/3D_txy.input debian/libcmor-dev/usr/share/doc/libcmor-dev/examples @@ -20253,7 +20292,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.9~)', 'python3 (<< 3.10)'}; R=[]; S=[]; E=[], B=[]; RT=[] +D: dh_python3 depends:275: D={'python3 (<< 3.10)', 'python3 (>= 3.9~)', 'python3:any'}; R=[]; S=[]; E=[], B=[]; RT=[] dh_perl dh_link rm -f debian/libcmor-dev/usr/lib/x86_64-linux-gnu/libcmor.so @@ -20264,13 +20303,13 @@ cd debian/libcmor-dev cd debian/python3-cmor chmod a-x usr/share/doc/libcmor2/changelog.Debian - gzip -9nf usr/share/doc/libcmor2/changelog.Debian chmod a-x usr/share/doc/python3-cmor/changelog.Debian - 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/python3-cmor/changelog.Debian + chmod a-x usr/share/doc/libcmor-dev/RELEASE-NOTES usr/share/doc/libcmor-dev/changelog.Debian cd '/build/cmor-3.6.1' - gzip -9nf usr/share/doc/libcmor-dev/RELEASE-NOTES usr/share/doc/libcmor-dev/changelog.Debian cd '/build/cmor-3.6.1' + gzip -9nf usr/share/doc/libcmor-dev/RELEASE-NOTES usr/share/doc/libcmor-dev/changelog.Debian cd '/build/cmor-3.6.1' dh_fixperms find debian/libcmor2 -true -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0 @@ -20280,15 +20319,15 @@ 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/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 ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s - find debian/libcmor2/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/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/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/lib -type f -name '*.ali' -a -true -a -true -print0 2>/dev/null | xargs -0r chmod uga-w + 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/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755 + 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/usr/include -type f -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644 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 @@ -20302,15 +20341,15 @@ dh_strip -a install -d debian/.debhelper/libcmor2/dbgsym-root/usr/lib/debug/.build-id/c9 objcopy --only-keep-debug --compress-debug-sections debian/libcmor2/usr/lib/x86_64-linux-gnu/libcmor.so.2 debian/.debhelper/libcmor2/dbgsym-root/usr/lib/debug/.build-id/c9/a5506a113929e69f747f7c24a07ee7faee126b.debug + install -d debian/.debhelper/python3-cmor/dbgsym-root/usr/lib/debug/.build-id/12 + objcopy --only-keep-debug --compress-debug-sections debian/python3-cmor/usr/lib/python3/dist-packages/cmor/_cmor.cpython-39-x86_64-linux-gnu.so debian/.debhelper/python3-cmor/dbgsym-root/usr/lib/debug/.build-id/12/1215af6ca5321da04f680c9e4048354e879ba2.debug chmod 0644 -- debian/.debhelper/libcmor2/dbgsym-root/usr/lib/debug/.build-id/c9/a5506a113929e69f747f7c24a07ee7faee126b.debug chown 0:0 -- debian/.debhelper/libcmor2/dbgsym-root/usr/lib/debug/.build-id/c9/a5506a113929e69f747f7c24a07ee7faee126b.debug strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/libcmor2/usr/lib/x86_64-linux-gnu/libcmor.so.2 + 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/x86_64-linux-gnu/libcmor.a objcopy --add-gnu-debuglink debian/.debhelper/libcmor2/dbgsym-root/usr/lib/debug/.build-id/c9/a5506a113929e69f747f7c24a07ee7faee126b.debug debian/libcmor2/usr/lib/x86_64-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 - install -d debian/.debhelper/python3-cmor/dbgsym-root/usr/lib/debug/.build-id/12 - objcopy --only-keep-debug --compress-debug-sections debian/python3-cmor/usr/lib/python3/dist-packages/cmor/_cmor.cpython-39-x86_64-linux-gnu.so debian/.debhelper/python3-cmor/dbgsym-root/usr/lib/debug/.build-id/12/1215af6ca5321da04f680c9e4048354e879ba2.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/x86_64-linux-gnu/libcmor.a chmod 0644 -- debian/.debhelper/python3-cmor/dbgsym-root/usr/lib/debug/.build-id/12/1215af6ca5321da04f680c9e4048354e879ba2.debug chown 0:0 -- debian/.debhelper/python3-cmor/dbgsym-root/usr/lib/debug/.build-id/12/1215af6ca5321da04f680c9e4048354e879ba2.debug strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/python3-cmor/usr/lib/python3/dist-packages/cmor/_cmor.cpython-39-x86_64-linux-gnu.so @@ -20340,16 +20379,16 @@ dpkg-shlibdeps -Tdebian/libcmor2.substvars debian/libcmor2/usr/lib/x86_64-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-x86_64-linux-gnu.so debian/python3-cmor/usr/lib/python3/dist-packages/cmip6_cv/_cmip6_cv.cpython-39-x86_64-linux-gnu.so -dpkg-shlibdeps: warning: symbol json_object_get_string used by debian/libcmor2/usr/lib/x86_64-linux-gnu/libcmor.so.2 found in none of the libraries -dpkg-shlibdeps: warning: symbol _gfortran_string_len_trim used by debian/libcmor2/usr/lib/x86_64-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/x86_64-linux-gnu/libcmor.so.2 found in none of the libraries -dpkg-shlibdeps: warning: symbol _gfortran_transfer_character_write used by debian/libcmor2/usr/lib/x86_64-linux-gnu/libcmor.so.2 found in none of the libraries dpkg-shlibdeps: warning: symbol uuid_generate used by debian/libcmor2/usr/lib/x86_64-linux-gnu/libcmor.so.2 found in none of the libraries -dpkg-shlibdeps: warning: symbol _gfortran_transfer_array_write used by debian/libcmor2/usr/lib/x86_64-linux-gnu/libcmor.so.2 found in none of the libraries -dpkg-shlibdeps: warning: symbol json_object_get_object used by debian/libcmor2/usr/lib/x86_64-linux-gnu/libcmor.so.2 found in none of the libraries -dpkg-shlibdeps: warning: symbol json_object_is_type used by debian/libcmor2/usr/lib/x86_64-linux-gnu/libcmor.so.2 found in none of the libraries -dpkg-shlibdeps: warning: symbol atan used by debian/libcmor2/usr/lib/x86_64-linux-gnu/libcmor.so.2 found in none of the libraries dpkg-shlibdeps: warning: symbol log10 used by debian/libcmor2/usr/lib/x86_64-linux-gnu/libcmor.so.2 found in none of the libraries +dpkg-shlibdeps: warning: symbol _gfortran_runtime_error used by debian/libcmor2/usr/lib/x86_64-linux-gnu/libcmor.so.2 found in none of the libraries +dpkg-shlibdeps: warning: symbol atan2 used by debian/libcmor2/usr/lib/x86_64-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/x86_64-linux-gnu/libcmor.so.2 found in none of the libraries +dpkg-shlibdeps: warning: symbol _gfortran_st_write used by debian/libcmor2/usr/lib/x86_64-linux-gnu/libcmor.so.2 found in none of the libraries +dpkg-shlibdeps: warning: symbol _gfortran_size0 used by debian/libcmor2/usr/lib/x86_64-linux-gnu/libcmor.so.2 found in none of the libraries +dpkg-shlibdeps: warning: symbol json_object_put used by debian/libcmor2/usr/lib/x86_64-linux-gnu/libcmor.so.2 found in none of the libraries +dpkg-shlibdeps: warning: symbol json_object_get_object used by debian/libcmor2/usr/lib/x86_64-linux-gnu/libcmor.so.2 found in none of the libraries +dpkg-shlibdeps: warning: symbol array_list_length used by debian/libcmor2/usr/lib/x86_64-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 @@ -20381,16 +20420,16 @@ 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=121215af6ca5321da04f680c9e4048354e879ba2 28218c26bc45c0f6781ced4d73fd21ecd1dfb515" -DSection=debug -UMulti-Arch -UReplaces -UBreaks -dpkg-gencontrol: warning: package python3-cmor: substitution variable ${python3:Versions} unused, but is defined dpkg-gencontrol: warning: package libcmor2: substitution variable ${python3:Depends} unused, but is defined - 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/.debhelper/libcmor2/dbgsym-root/DEBIAN/control chown 0:0 -- debian/.debhelper/libcmor2/dbgsym-root/DEBIAN/control dpkg-gencontrol -plibcmor2 -ldebian/changelog -Tdebian/libcmor2.substvars -Pdebian/libcmor2 +dpkg-gencontrol: warning: package python3-cmor: substitution variable ${python3:Versions} unused, but is defined chmod 0644 -- debian/libcmor-dev/DEBIAN/control chown 0:0 -- debian/libcmor-dev/DEBIAN/control + 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 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 @@ -20399,16 +20438,16 @@ 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 - cd debian/libcmor-dev >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > 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 + 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 - cd debian/.debhelper/python3-cmor/dbgsym-root >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > 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 @@ -20420,10 +20459,10 @@ dpkg-deb --build debian/python3-cmor .. dpkg-deb --build debian/.debhelper/python3-cmor/dbgsym-root .. dpkg-deb: building package 'libcmor2' in '../libcmor2_3.6.1-1_amd64.deb'. -dpkg-deb: building package 'libcmor2-dbgsym' in '../libcmor2-dbgsym_3.6.1-1_amd64.deb'. -dpkg-deb: building package 'libcmor-dev' in '../libcmor-dev_3.6.1-1_amd64.deb'. dpkg-deb: building package 'python3-cmor-dbgsym' in '../python3-cmor-dbgsym_3.6.1-1_amd64.deb'. +dpkg-deb: building package 'libcmor-dev' in '../libcmor-dev_3.6.1-1_amd64.deb'. dpkg-deb: building package 'python3-cmor' in '../python3-cmor_3.6.1-1_amd64.deb'. +dpkg-deb: building package 'libcmor2-dbgsym' in '../libcmor2-dbgsym_3.6.1-1_amd64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../cmor_3.6.1-1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -20431,12 +20470,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/3191362/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3191362/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/655862 and its subdirectories -I: Current time: Thu Jan 5 10:08:19 -12 2023 -I: pbuilder-time-stamp: 1672956499 +I: removing directory /srv/workspace/pbuilder/3191362 and its subdirectories +I: Current time: Thu Feb 8 18:33:35 +14 2024 +I: pbuilder-time-stamp: 1707366815