Diff of the two buildlogs: -- --- b1/build.log 2020-07-30 11:59:11.391058182 +0000 +++ b2/build.log 2020-07-30 11:59:51.925808220 +0000 @@ -1,8 +1,6 @@ -unshare: unshare failed: Cannot allocate memory -W: pbuilder: unshare CLONE_NEWNET not available -I: pbuilder: network access is available during build! -I: Current time: Wed Jul 29 23:55:11 -12 2020 -I: pbuilder-time-stamp: 1596110111 +I: pbuilder: network access will be disabled during build +I: Current time: Thu Sep 2 08:22:12 +14 2021 +I: pbuilder-time-stamp: 1630520532 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -20,7 +18,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Tue Jan 22 23:28:21 2019 -12 +gpgv: Signature made Thu Jan 24 01:28:21 2019 +14 gpgv: using RSA key 9236557B170C87F8821C0AC3C1E0D92E986F7C7E gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./grafx2_2.6-2.dsc @@ -32,138 +30,172 @@ dpkg-source: info: applying fix-png-save-segfault I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/20263/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/43410/tmp/hooks/D01_modify_environment starting +debug: Running on profitbricks-build6-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/43410/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/43410/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.0.3(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=18' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='7410d064e61d4166888f56509560583c' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='20263' - PS1='# ' - PS2='> ' + INVOCATION_ID=b8c4e31b161742b7b0101f6ae45cdb8a + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=43410 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.7GyiBEDIbO/pbuilderrc_7nYy --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.7GyiBEDIbO/b1 --logfile b1/build.log grafx2_2.6-2.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.7GyiBEDIbO/pbuilderrc_AJ4w --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.7GyiBEDIbO/b2 --logfile b2/build.log grafx2_2.6-2.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux profitbricks-build12-i386 4.19.0-9-686-pae #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) i686 GNU/Linux + Linux i-capture-the-hostname 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) x86_64 GNU/Linux I: ls -l /bin - total 5500 - -rwxr-xr-x 1 root root 1302248 Apr 17 2019 bash - -rwxr-xr-x 3 root root 38280 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 38280 Jul 10 2019 bzcat - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep - -rwxr-xr-x 3 root root 38280 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 17768 Jul 10 2019 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore - -rwxr-xr-x 1 root root 38692 Feb 28 2019 cat - -rwxr-xr-x 1 root root 75588 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 63268 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 75588 Feb 28 2019 chown - -rwxr-xr-x 1 root root 153732 Feb 28 2019 cp - -rwxr-xr-x 1 root root 132820 Jan 17 2019 dash - -rwxr-xr-x 1 root root 120676 Feb 28 2019 date - -rwxr-xr-x 1 root root 92040 Feb 28 2019 dd - -rwxr-xr-x 1 root root 100620 Feb 28 2019 df - -rwxr-xr-x 1 root root 149736 Feb 28 2019 dir - -rwxr-xr-x 1 root root 79412 Jan 9 2019 dmesg - lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname - -rwxr-xr-x 1 root root 34532 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 34532 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 67700 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 30112 Apr 22 07:38 fusermount - -rwxr-xr-x 1 root root 206392 Jan 7 2019 grep - -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip - -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe - -rwxr-xr-x 1 root root 100952 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 21916 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 79752 Feb 28 2019 ln - -rwxr-xr-x 1 root root 55400 Jul 26 2018 login - -rwxr-xr-x 1 root root 149736 Feb 28 2019 ls - -rwxr-xr-x 1 root root 112032 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 87972 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 79748 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 46916 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 42348 Jan 9 2019 more - -rwsr-xr-x 1 root root 50592 Jan 9 2019 mount - -rwxr-xr-x 1 root root 13724 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 157832 Feb 28 2019 mv - lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38660 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 46852 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 75588 Feb 28 2019 rm - -rwxr-xr-x 1 root root 42756 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 22276 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jul 28 20:25 sh -> dash - -rwxr-xr-x 1 root root 34532 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 79652 Feb 28 2019 stty - -rwsr-xr-x 1 root root 71072 Jan 9 2019 su - -rwxr-xr-x 1 root root 34564 Feb 28 2019 sync - -rwxr-xr-x 1 root root 504024 Apr 23 2019 tar - -rwxr-xr-x 1 root root 13860 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 104292 Feb 28 2019 touch - -rwxr-xr-x 1 root root 34532 Feb 28 2019 true - -rwxr-xr-x 1 root root 17768 Apr 22 07:38 ulockmgr_server - -rwsr-xr-x 1 root root 30108 Jan 9 2019 umount - -rwxr-xr-x 1 root root 34532 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 149736 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 34208 Jan 9 2019 wdctl - -rwxr-xr-x 1 root root 946 Jan 21 2019 which - lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat - -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp - -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff - -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep - -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep - -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce - -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep - -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless - -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore - -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew -I: user script /srv/workspace/pbuilder/20263/tmp/hooks/D02_print_environment finished + total 5476 + -rwxr-xr-x 1 root root 1302248 Apr 18 2019 bash + -rwxr-xr-x 3 root root 38280 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 38280 Jul 11 2019 bzcat + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep + -rwxr-xr-x 3 root root 38280 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 17768 Jul 11 2019 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore + -rwxr-xr-x 1 root root 38692 Mar 1 2019 cat + -rwxr-xr-x 1 root root 75588 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 63268 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 75588 Mar 1 2019 chown + -rwxr-xr-x 1 root root 153732 Mar 1 2019 cp + -rwxr-xr-x 1 root root 132820 Jan 18 2019 dash + -rwxr-xr-x 1 root root 120676 Mar 1 2019 date + -rwxr-xr-x 1 root root 92040 Mar 1 2019 dd + -rwxr-xr-x 1 root root 100620 Mar 1 2019 df + -rwxr-xr-x 1 root root 149736 Mar 1 2019 dir + -rwxr-xr-x 1 root root 79412 Jan 10 2019 dmesg + lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname + -rwxr-xr-x 1 root root 34532 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 34532 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 67700 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 30112 Apr 23 2020 fusermount + -rwxr-xr-x 1 root root 206392 Jan 8 2019 grep + -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip + -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe + -rwxr-xr-x 1 root root 100952 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 21916 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 79752 Mar 1 2019 ln + -rwxr-xr-x 1 root root 55400 Jul 27 2018 login + -rwxr-xr-x 1 root root 149736 Mar 1 2019 ls + -rwxr-xr-x 1 root root 112032 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 87972 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 79748 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 46916 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 42348 Jan 10 2019 more + -rwsr-xr-x 1 root root 50592 Jan 10 2019 mount + -rwxr-xr-x 1 root root 13724 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 157832 Mar 1 2019 mv + lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38660 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 46852 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 75588 Mar 1 2019 rm + -rwxr-xr-x 1 root root 42756 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 22276 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Sep 2 08:22 sh -> bash + lrwxrwxrwx 1 root root 4 Sep 2 04:46 sh.distrib -> dash + -rwxr-xr-x 1 root root 34532 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 79652 Mar 1 2019 stty + -rwsr-xr-x 1 root root 71072 Jan 10 2019 su + -rwxr-xr-x 1 root root 34564 Mar 1 2019 sync + -rwxr-xr-x 1 root root 504024 Apr 24 2019 tar + -rwxr-xr-x 1 root root 13860 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 104292 Mar 1 2019 touch + -rwxr-xr-x 1 root root 34532 Mar 1 2019 true + -rwxr-xr-x 1 root root 17768 Apr 23 2020 ulockmgr_server + -rwsr-xr-x 1 root root 30108 Jan 10 2019 umount + -rwxr-xr-x 1 root root 34532 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 149736 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34208 Jan 10 2019 wdctl + -rwxr-xr-x 1 root root 946 Jan 22 2019 which + lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat + -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp + -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff + -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep + -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep + -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce + -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep + -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless + -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore + -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew +I: user script /srv/workspace/pbuilder/43410/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -453,7 +485,7 @@ Get: 233 http://deb.debian.org/debian buster/main i386 libsdl2-ttf-dev i386 2.0.15+dfsg1-1 [23.8 kB] Get: 234 http://deb.debian.org/debian buster/main i386 libtiffxx5 i386 4.1.0+git191117-2~deb10u1 [118 kB] Get: 235 http://deb.debian.org/debian buster/main i386 libtiff-dev i386 4.1.0+git191117-2~deb10u1 [413 kB] -Fetched 75.1 MB in 10s (7893 kB/s) +Fetched 75.1 MB in 1s (68.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:i386. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19234 files and directories currently installed.) @@ -1422,7 +1454,7 @@ fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/grafx2-2.6/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/grafx2-2.6/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package grafx2 dpkg-buildpackage: info: source version 2.6-2 dpkg-buildpackage: info: source distribution unstable @@ -1433,7 +1465,7 @@ dh clean --sourcedirectory=src -- depend dh_testdir -O--sourcedirectory=src -O--=depend dh_auto_clean -O--sourcedirectory=src -O--=depend - cd src && make -j10 clean + cd src && make -j18 clean make[1]: Entering directory '/build/grafx2-2.6/src' make[1]: git: Command not found cat: version.c: No such file or directory @@ -1450,7 +1482,7 @@ dh_autoreconf -O--sourcedirectory=src -O--=depend dh_auto_configure -O--sourcedirectory=src -O--=depend dh_auto_build -O--sourcedirectory=src -O--=depend - cd src && make -j10 "INSTALL=install --strip-program=true" + cd src && make -j18 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/grafx2-2.6/src' make[1]: git: Command not found cat: version.c: No such file or directory @@ -1464,6 +1496,14 @@ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c palette.c -o ../obj/unix-sdl2/palette.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c help.c -o ../obj/unix-sdl2/help.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c operatio.c -o ../obj/unix-sdl2/operatio.o +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c pages.c -o ../obj/unix-sdl2/pages.o +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c loadsave.c -o ../obj/unix-sdl2/loadsave.o +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c readline.c -o ../obj/unix-sdl2/readline.o +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c engine.c -o ../obj/unix-sdl2/engine.o +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c filesel.c -o ../obj/unix-sdl2/filesel.o +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c op_c.c -o ../obj/unix-sdl2/op_c.o +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c readini.c -o ../obj/unix-sdl2/readini.o +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c saveini.c -o ../obj/unix-sdl2/saveini.o sdlscreen.c: In function 'GFX2_UpdateRect': sdlscreen.c:223:52: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] memcpy(pixels + line * pitch, RGBcopy->pixels + source_rect.x * 4 + (source_rect.y+line)* RGBcopy->pitch, source_rect.w * 4 ); @@ -1492,6 +1532,7 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "\n%s", Gui_loading_error_message); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c shade.c -o ../obj/unix-sdl2/shade.o sdlscreen.c: In function 'Define_icon': sdlscreen.c:737:27: warning: '%s' directive writing 8 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(icon_path, "%s%s", Data_directory, "gfx2.png"); // 48x48 @@ -1499,7 +1540,21 @@ sdlscreen.c:737:5: note: 'sprintf' output between 9 and 4104 bytes into a destination of size 4096 sprintf(icon_path, "%s%s", Data_directory, "gfx2.png"); // 48x48 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c pages.c -o ../obj/unix-sdl2/pages.o +In function 'Look_for_alternate_ext.part.0', + inlined from 'Look_for_alternate_ext' at loadsave.c:2267:13: +loadsave.c:2300:5: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] + strncpy(params->foundname, filename, MAX_PATH_CHARACTERS); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +loadsave.c:2317:5: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] + strncpy(params->foundname, filename, MAX_PATH_CHARACTERS); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c keyboard.c -o ../obj/unix-sdl2/keyboard.o +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c io.c -o ../obj/unix-sdl2/io.o +echo "const char SVN_revision[]=\"\";" > version.c +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c text.c -o ../obj/unix-sdl2/text.o +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c SFont.c -o ../obj/unix-sdl2/SFont.o +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c setup.c -o ../obj/unix-sdl2/setup.o +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c pxsimple.c -o ../obj/unix-sdl2/pxsimple.o help.c: In function 'Button_Stats': help.c:846:37: warning: '%d' directive output may be truncated writing between 1 and 3 bytes into a region of size between 1 and 5 [-Wformat-truncation=] snprintf(buffer,20,"%s (%d.%d.%d)","TTF fonts",ttfver->major,ttfver->minor,ttfver->patch); @@ -1510,17 +1565,56 @@ help.c:846:7: note: 'snprintf' output between 18 and 24 bytes into a destination of size 20 snprintf(buffer,20,"%s (%d.%d.%d)","TTF fonts",ttfver->major,ttfver->minor,ttfver->patch); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c loadsave.c -o ../obj/unix-sdl2/loadsave.o -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c readline.c -o ../obj/unix-sdl2/readline.o -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c engine.c -o ../obj/unix-sdl2/engine.o -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c filesel.c -o ../obj/unix-sdl2/filesel.o -init.c: In function 'Load_graphics': -init.c:676:43: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] - snprintf(filename, sizeof(filename), "%s%s%s%s", Data_directory,SKINS_SUBDIRECTORY, PATH_SEPARATOR, skin_file); - ^~ -init.c:676:3: note: 'snprintf' output 7 or more bytes (assuming 4102) into a destination of size 4096 - snprintf(filename, sizeof(filename), "%s%s%s%s", Data_directory,SKINS_SUBDIRECTORY, PATH_SEPARATOR, skin_file); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c pxtall.c -o ../obj/unix-sdl2/pxtall.o +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c pxwide.c -o ../obj/unix-sdl2/pxwide.o +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c pxdouble.c -o ../obj/unix-sdl2/pxdouble.o +loadsave.c: In function 'Rotate_safety_backups': +loadsave.c:2109:32: warning: '%6.6d' directive writing 6 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] + sprintf(deleted_file, "%s%c%6.6d" BACKUP_FILE_EXTENSION, + ^~~~~ +loadsave.c:2109:27: note: directive argument in the range [0, 999999] + sprintf(deleted_file, "%s%c%6.6d" BACKUP_FILE_EXTENSION, + ^~~~~~~~~~~ +loadsave.c:2109:5: note: 'sprintf' output between 12 and 4107 bytes into a destination of size 4096 + sprintf(deleted_file, "%s%c%6.6d" BACKUP_FILE_EXTENSION, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + Config_directory, + ~~~~~~~~~~~~~~~~~ + Main.safety_backup_prefix, + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + (dword)(Main.safety_number + 1000000l - Rotation_safety_backup) % (dword)1000000l); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +filesel.c: In function 'Print_filename_in_fileselector': +filesel.c:1295:3: warning: 'strncpy' output may be truncated copying 32 bytes from a string of length 255 [-Wstringop-truncation] + strncpy(filename, Selector_filename, sizeof(filename)); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c pxtriple.c -o ../obj/unix-sdl2/pxtriple.o +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c pxtall2.c -o ../obj/unix-sdl2/pxtall2.o +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c pxtall3.c -o ../obj/unix-sdl2/pxtall3.o +In file included from shade.c:28: +shade.c: In function 'Display_selected_color': +misc.h:137:34: warning: '%*lu' directive writing between 3 and 10 bytes into a region of size 4 [-Wformat-overflow=] + #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) + ^~~~~~ +shade.c:209:5: note: in expansion of macro 'Num2str' + Num2str(selection_start,str,3); + ^~~~~~~ +misc.h:137:34: note: directive argument in the range [0, 2147483647] + #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) + ^~~~~~ +shade.c:209:5: note: in expansion of macro 'Num2str' + Num2str(selection_start,str,3); + ^~~~~~~ +misc.h:137:24: note: 'sprintf' output between 4 and 11 bytes into a destination of size 4 + #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +shade.c:209:5: note: in expansion of macro 'Num2str' + Num2str(selection_start,str,3); + ^~~~~~~ +filesel.c: In function 'Button_Load_or_Save': +filesel.c:2377:11: warning: 'strncpy' output may be truncated copying 256 bytes from a string of length 4095 [-Wstringop-truncation] + strncpy(Selector_filename, save_filename, sizeof(Selector_filename)); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: palette.c: In function 'Button_Secondary_palette': misc.h:137:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] @@ -1577,6 +1671,45 @@ palette.c:2998:9: note: in expansion of macro 'Num2str' Num2str(rgb_scale_slider->Position,str,3); ^~~~~~~ +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c pxwide2.c -o ../obj/unix-sdl2/pxwide2.o +text.c: In function 'Init_text': +text.c:327:55: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] + snprintf(directory_name, sizeof(directory_name), "%s%s", Data_directory,FONTS_SUBDIRECTORY); + ^~ +text.c:327:3: note: 'snprintf' output between 6 and 4101 bytes into a destination of size 4096 + snprintf(directory_name, sizeof(directory_name), "%s%s", Data_directory,FONTS_SUBDIRECTORY); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +text.c:330:55: warning: '%s' directive output may be truncated writing 6 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] + snprintf(directory_name, sizeof(directory_name), "%s%s", Config_directory, "/fonts"); + ^~ ~~~~~~~~ +text.c:330:3: note: 'snprintf' output between 7 and 4102 bytes into a destination of size 4096 + snprintf(directory_name, sizeof(directory_name), "%s%s", Config_directory, "/fonts"); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c pxquad.c -o ../obj/unix-sdl2/pxquad.o +loadsave.c: In function 'Open_file_read_with_alternate_ext': +loadsave.c:2328:3: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] + strncpy(params.basename, context->File_name, MAX_PATH_CHARACTERS); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c windows.c -o ../obj/unix-sdl2/windows.o +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c brush.c -o ../obj/unix-sdl2/brush.o +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c realpath.c -o ../obj/unix-sdl2/realpath.o +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c mountlist.c -o ../obj/unix-sdl2/mountlist.o +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c input.c -o ../obj/unix-sdl2/input.o +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c hotkeys.c -o ../obj/unix-sdl2/hotkeys.o +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c transform.c -o ../obj/unix-sdl2/transform.o +init.c: In function 'Load_graphics': +init.c:676:43: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] + snprintf(filename, sizeof(filename), "%s%s%s%s", Data_directory,SKINS_SUBDIRECTORY, PATH_SEPARATOR, skin_file); + ^~ +init.c:676:3: note: 'snprintf' output 7 or more bytes (assuming 4102) into a destination of size 4096 + snprintf(filename, sizeof(filename), "%s%s%s%s", Data_directory,SKINS_SUBDIRECTORY, PATH_SEPARATOR, skin_file); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c pversion.c -o ../obj/unix-sdl2/pversion.o +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c factory.c -o ../obj/unix-sdl2/factory.o +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c fileformats.c -o ../obj/unix-sdl2/fileformats.o +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c miscfileformats.c -o ../obj/unix-sdl2/miscfileformats.o +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c libraw2crtc.c -o ../obj/unix-sdl2/libraw2crtc.o +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c brush_ops.c -o ../obj/unix-sdl2/brush_ops.o init.c: In function 'Load_font': init.c:761:43: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s%s%s%s", Data_directory, SKINS_SUBDIRECTORY, PATH_SEPARATOR, font_name); @@ -1584,6 +1717,24 @@ init.c:761:3: note: 'snprintf' output 7 or more bytes (assuming 4102) into a destination of size 4096 snprintf(filename, sizeof(filename), "%s%s%s%s", Data_directory, SKINS_SUBDIRECTORY, PATH_SEPARATOR, font_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c buttons_effects.c -o ../obj/unix-sdl2/buttons_effects.o +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c layers.c -o ../obj/unix-sdl2/layers.o +init.c: In function 'Load_Unicode_fonts': +init.c:804:44: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] + snprintf(directory,sizeof(directory), "%s%s", Data_directory, SKINS_SUBDIRECTORY); + ^~ +init.c:804:3: note: 'snprintf' output between 6 and 4101 bytes into a destination of size 4096 + snprintf(directory,sizeof(directory), "%s%s", Data_directory, SKINS_SUBDIRECTORY); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c oldies.c -o ../obj/unix-sdl2/oldies.o +factory.c: In function 'L_DrawLine': +factory.c:529:20: warning: cast between incompatible function types from 'void (*)(short int, short int, byte)' {aka 'void (*)(short int, short int, unsigned char)'} to 'void (*)(word, word, byte)' {aka 'void (*)(short unsigned int, short unsigned int, unsigned char)'} [-Wcast-function-type] + Set_Pixel_figure((void (*) (word,word,byte))Pixel_figure_no_screen); + ^ +factory.c: In function 'L_DrawCircle': +factory.c:603:20: warning: cast between incompatible function types from 'void (*)(short int, short int, byte)' {aka 'void (*)(short int, short int, unsigned char)'} to 'void (*)(word, word, byte)' {aka 'void (*)(short unsigned int, short unsigned int, unsigned char)'} [-Wcast-function-type] + Set_Pixel_figure((void (*) (word,word,byte))Pixel_figure_no_screen); + ^ In file included from buttons.c:53: buttons.c: In function 'Button_Resolution': misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] @@ -1658,144 +1809,8 @@ buttons.c:2019:9: note: in expansion of macro 'Num2str' Num2str(chosen_width,str,4); ^~~~~~~ -In function 'Look_for_alternate_ext.part.0', - inlined from 'Look_for_alternate_ext' at loadsave.c:2267:13: -loadsave.c:2300:5: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] - strncpy(params->foundname, filename, MAX_PATH_CHARACTERS); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -loadsave.c:2317:5: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] - strncpy(params->foundname, filename, MAX_PATH_CHARACTERS); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -init.c: In function 'Load_Unicode_fonts': -init.c:804:44: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] - snprintf(directory,sizeof(directory), "%s%s", Data_directory, SKINS_SUBDIRECTORY); - ^~ -init.c:804:3: note: 'snprintf' output between 6 and 4101 bytes into a destination of size 4096 - snprintf(directory,sizeof(directory), "%s%s", Data_directory, SKINS_SUBDIRECTORY); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c op_c.c -o ../obj/unix-sdl2/op_c.o -loadsave.c: In function 'Rotate_safety_backups': -loadsave.c:2109:32: warning: '%6.6d' directive writing 6 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] - sprintf(deleted_file, "%s%c%6.6d" BACKUP_FILE_EXTENSION, - ^~~~~ -loadsave.c:2109:27: note: directive argument in the range [0, 999999] - sprintf(deleted_file, "%s%c%6.6d" BACKUP_FILE_EXTENSION, - ^~~~~~~~~~~ -loadsave.c:2109:5: note: 'sprintf' output between 12 and 4107 bytes into a destination of size 4096 - sprintf(deleted_file, "%s%c%6.6d" BACKUP_FILE_EXTENSION, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Config_directory, - ~~~~~~~~~~~~~~~~~ - Main.safety_backup_prefix, - ~~~~~~~~~~~~~~~~~~~~~~~~~~ - (dword)(Main.safety_number + 1000000l - Rotation_safety_backup) % (dword)1000000l); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -filesel.c: In function 'Print_filename_in_fileselector': -filesel.c:1295:3: warning: 'strncpy' output may be truncated copying 32 bytes from a string of length 255 [-Wstringop-truncation] - strncpy(filename, Selector_filename, sizeof(filename)); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c readini.c -o ../obj/unix-sdl2/readini.o -filesel.c: In function 'Button_Load_or_Save': -filesel.c:2377:11: warning: 'strncpy' output may be truncated copying 256 bytes from a string of length 4095 [-Wstringop-truncation] - strncpy(Selector_filename, save_filename, sizeof(Selector_filename)); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -buttons.c: In function 'Refresh_airbrush_settings': -misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] - #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) - ^~~~~~ -buttons.c:4177:3: note: in expansion of macro 'Num2str' - Num2str(Airbrush_multi_flow[selected_color],str,2); - ^~~~~~~ -misc.h:137:24: note: 'sprintf' output between 3 and 4 bytes into a destination of size 3 - #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -buttons.c:4177:3: note: in expansion of macro 'Num2str' - Num2str(Airbrush_multi_flow[selected_color],str,2); - ^~~~~~~ -loadsave.c: In function 'Open_file_read_with_alternate_ext': -loadsave.c:2328:3: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] - strncpy(params.basename, context->File_name, MAX_PATH_CHARACTERS); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c saveini.c -o ../obj/unix-sdl2/saveini.o -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c shade.c -o ../obj/unix-sdl2/shade.o -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c keyboard.c -o ../obj/unix-sdl2/keyboard.o -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c io.c -o ../obj/unix-sdl2/io.o -echo "const char SVN_revision[]=\"\";" > version.c -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c text.c -o ../obj/unix-sdl2/text.o -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c SFont.c -o ../obj/unix-sdl2/SFont.o -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c setup.c -o ../obj/unix-sdl2/setup.o -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c pxsimple.c -o ../obj/unix-sdl2/pxsimple.o -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c pxtall.c -o ../obj/unix-sdl2/pxtall.o -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c pxwide.c -o ../obj/unix-sdl2/pxwide.o -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c pxdouble.c -o ../obj/unix-sdl2/pxdouble.o -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c pxtriple.c -o ../obj/unix-sdl2/pxtriple.o -In file included from shade.c:28: -shade.c: In function 'Display_selected_color': -misc.h:137:34: warning: '%*lu' directive writing between 3 and 10 bytes into a region of size 4 [-Wformat-overflow=] - #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) - ^~~~~~ -shade.c:209:5: note: in expansion of macro 'Num2str' - Num2str(selection_start,str,3); - ^~~~~~~ -misc.h:137:34: note: directive argument in the range [0, 2147483647] - #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) - ^~~~~~ -shade.c:209:5: note: in expansion of macro 'Num2str' - Num2str(selection_start,str,3); - ^~~~~~~ -misc.h:137:24: note: 'sprintf' output between 4 and 11 bytes into a destination of size 4 - #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -shade.c:209:5: note: in expansion of macro 'Num2str' - Num2str(selection_start,str,3); - ^~~~~~~ -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c pxtall2.c -o ../obj/unix-sdl2/pxtall2.o -text.c: In function 'Init_text': -text.c:327:55: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] - snprintf(directory_name, sizeof(directory_name), "%s%s", Data_directory,FONTS_SUBDIRECTORY); - ^~ -text.c:327:3: note: 'snprintf' output between 6 and 4101 bytes into a destination of size 4096 - snprintf(directory_name, sizeof(directory_name), "%s%s", Data_directory,FONTS_SUBDIRECTORY); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -text.c:330:55: warning: '%s' directive output may be truncated writing 6 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] - snprintf(directory_name, sizeof(directory_name), "%s%s", Config_directory, "/fonts"); - ^~ ~~~~~~~~ -text.c:330:3: note: 'snprintf' output between 7 and 4102 bytes into a destination of size 4096 - snprintf(directory_name, sizeof(directory_name), "%s%s", Config_directory, "/fonts"); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c pxtall3.c -o ../obj/unix-sdl2/pxtall3.o -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c pxwide2.c -o ../obj/unix-sdl2/pxwide2.o -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c pxquad.c -o ../obj/unix-sdl2/pxquad.o -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c windows.c -o ../obj/unix-sdl2/windows.o -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c brush.c -o ../obj/unix-sdl2/brush.o -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c realpath.c -o ../obj/unix-sdl2/realpath.o -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c mountlist.c -o ../obj/unix-sdl2/mountlist.o -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c input.c -o ../obj/unix-sdl2/input.o -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c hotkeys.c -o ../obj/unix-sdl2/hotkeys.o -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c transform.c -o ../obj/unix-sdl2/transform.o -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c pversion.c -o ../obj/unix-sdl2/pversion.o -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c factory.c -o ../obj/unix-sdl2/factory.o -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c fileformats.c -o ../obj/unix-sdl2/fileformats.o -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c miscfileformats.c -o ../obj/unix-sdl2/miscfileformats.o -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c libraw2crtc.c -o ../obj/unix-sdl2/libraw2crtc.o -init.c: In function 'Load_CFG': -init.c:2139:43: warning: '%s' directive output may be truncated writing 13 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] - snprintf(filename, sizeof(filename), "%s%s", Config_directory, CONFIG_FILENAME); - ^~ -init.c:2139:3: note: 'snprintf' output between 14 and 4109 bytes into a destination of size 4096 - snprintf(filename, sizeof(filename), "%s%s", Config_directory, CONFIG_FILENAME); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c brush_ops.c -o ../obj/unix-sdl2/brush_ops.o -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c buttons_effects.c -o ../obj/unix-sdl2/buttons_effects.o -factory.c: In function 'L_DrawLine': -factory.c:529:20: warning: cast between incompatible function types from 'void (*)(short int, short int, byte)' {aka 'void (*)(short int, short int, unsigned char)'} to 'void (*)(word, word, byte)' {aka 'void (*)(short unsigned int, short unsigned int, unsigned char)'} [-Wcast-function-type] - Set_Pixel_figure((void (*) (word,word,byte))Pixel_figure_no_screen); - ^ -factory.c: In function 'L_DrawCircle': -factory.c:603:20: warning: cast between incompatible function types from 'void (*)(short int, short int, byte)' {aka 'void (*)(short int, short int, unsigned char)'} to 'void (*)(word, word, byte)' {aka 'void (*)(short unsigned int, short unsigned int, unsigned char)'} [-Wcast-function-type] - Set_Pixel_figure((void (*) (word,word,byte))Pixel_figure_no_screen); - ^ -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c layers.c -o ../obj/unix-sdl2/layers.o +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c tiles.c -o ../obj/unix-sdl2/tiles.o +gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c colorred.c -o ../obj/unix-sdl2/colorred.o windows.c: In function 'Display_layerbar': windows.c:610:23: warning: '%3d' directive output may be truncated writing between 3 and 11 bytes into a region of size 8 [-Wformat-truncation=] snprintf(str, 8, "%3d/%3d", Main.current_layer+1, Main.backups->Pages->Nb_layers); @@ -1806,31 +1821,8 @@ windows.c:610:5: note: 'snprintf' output between 8 and 24 bytes into a destination of size 8 snprintf(str, 8, "%3d/%3d", Main.current_layer+1, Main.backups->Pages->Nb_layers); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c oldies.c -o ../obj/unix-sdl2/oldies.o -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c tiles.c -o ../obj/unix-sdl2/tiles.o -gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c colorred.c -o ../obj/unix-sdl2/colorred.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c unicode.c -o ../obj/unix-sdl2/unicode.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c gfx2surface.c -o ../obj/unix-sdl2/gfx2surface.o -In file included from tiles.c:32: -tiles.c: In function 'Tilemap_update': -misc.h:137:34: warning: '%*lu' directive writing between 7 and 10 bytes into a region of size 8 [-Wformat-overflow=] - #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) - ^~~~~~ -tiles.c:348:7: note: in expansion of macro 'Num2str' - Num2str(count,str,7); - ^~~~~~~ -misc.h:137:34: note: directive argument in the range [1, 2147483647] - #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) - ^~~~~~ -tiles.c:348:7: note: in expansion of macro 'Num2str' - Num2str(count,str,7); - ^~~~~~~ -misc.h:137:24: note: 'sprintf' output between 8 and 11 bytes into a destination of size 8 - #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -tiles.c:348:7: note: in expansion of macro 'Num2str' - Num2str(count,str,7); - ^~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c gfx2log.c -o ../obj/unix-sdl2/gfx2log.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c tifformat.c -o ../obj/unix-sdl2/tifformat.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/lua5.3 -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -ffile-prefix-map=/build/grafx2-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c version.c -o ../obj/unix-sdl2/version.o @@ -1908,6 +1900,43 @@ buttons_effects.c:1074:9: note: in expansion of macro 'Num2str' Num2str(chosen_X,str,3); ^~~~~~~ +In file included from tiles.c:32: +tiles.c: In function 'Tilemap_update': +misc.h:137:34: warning: '%*lu' directive writing between 7 and 10 bytes into a region of size 8 [-Wformat-overflow=] + #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) + ^~~~~~ +tiles.c:348:7: note: in expansion of macro 'Num2str' + Num2str(count,str,7); + ^~~~~~~ +misc.h:137:34: note: directive argument in the range [1, 2147483647] + #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) + ^~~~~~ +tiles.c:348:7: note: in expansion of macro 'Num2str' + Num2str(count,str,7); + ^~~~~~~ +misc.h:137:24: note: 'sprintf' output between 8 and 11 bytes into a destination of size 8 + #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +tiles.c:348:7: note: in expansion of macro 'Num2str' + Num2str(count,str,7); + ^~~~~~~ +buttons.c: In function 'Refresh_airbrush_settings': +misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] + #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) + ^~~~~~ +buttons.c:4177:3: note: in expansion of macro 'Num2str' + Num2str(Airbrush_multi_flow[selected_color],str,2); + ^~~~~~~ +misc.h:137:24: note: 'sprintf' output between 3 and 4 bytes into a destination of size 3 + #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +buttons.c:4177:3: note: in expansion of macro 'Num2str' + Num2str(Airbrush_multi_flow[selected_color],str,2); + ^~~~~~~ +tifformat.c: In function 'Test_TIFF': +tifformat.c:117:31: warning: unused parameter 'context' [-Wunused-parameter] + void Test_TIFF(T_IO_Context * context, FILE * file) + ~~~~~~~~~~~~~~~^~~~~~~ buttons_effects.c: In function 'Button_Smooth_menu': misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) @@ -1945,10 +1974,13 @@ buttons_effects.c:1265:13: note: in expansion of macro 'Num2str' Num2str(chosen_matrix[i][j],str,2); ^~~~~~~ -tifformat.c: In function 'Test_TIFF': -tifformat.c:117:31: warning: unused parameter 'context' [-Wunused-parameter] - void Test_TIFF(T_IO_Context * context, FILE * file) - ~~~~~~~~~~~~~~~^~~~~~~ +init.c: In function 'Load_CFG': +init.c:2139:43: warning: '%s' directive output may be truncated writing 13 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] + snprintf(filename, sizeof(filename), "%s%s", Config_directory, CONFIG_FILENAME); + ^~ +init.c:2139:3: note: 'snprintf' output between 14 and 4109 bytes into a destination of size 4096 + snprintf(filename, sizeof(filename), "%s%s", Config_directory, CONFIG_FILENAME); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ miscfileformats.c: In function 'Save_MOTO': miscfileformats.c:6702:9: warning: 'strncpy' output may be truncated copying 32 bytes from a string of length 32 [-Wstringop-truncation] strncpy((char *)vram_forme + 8032, context->Comment, 32); @@ -2011,19 +2043,22 @@ dh_gencontrol -O--sourcedirectory=src -O--=depend dh_md5sums -O--sourcedirectory=src -O--=depend dh_builddeb -O--sourcedirectory=src -O--=depend -dpkg-deb: building package 'grafx2-dbgsym' in '../grafx2-dbgsym_2.6-2_i386.deb'. dpkg-deb: building package 'grafx2' in '../grafx2_2.6-2_i386.deb'. +dpkg-deb: building package 'grafx2-dbgsym' in '../grafx2-dbgsym_2.6-2_i386.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../grafx2_2.6-2_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) +I: copying local configuration +I: user script /srv/workspace/pbuilder/43410/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/43410/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/20263 and its subdirectories -I: Current time: Wed Jul 29 23:59:10 -12 2020 -I: pbuilder-time-stamp: 1596110350 +I: removing directory /srv/workspace/pbuilder/43410 and its subdirectories +I: Current time: Thu Sep 2 08:22:50 +14 2021 +I: pbuilder-time-stamp: 1630520570