Diff of the two buildlogs: -- --- b1/build.log 2021-06-15 15:19:01.132335120 +0000 +++ b2/build.log 2021-06-15 15:27:51.476430254 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Jul 18 09:40:48 -12 2022 -I: pbuilder-time-stamp: 1658180448 +I: Current time: Wed Jun 16 05:19:07 +14 2021 +I: pbuilder-time-stamp: 1623770347 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 [./xsane_0.999-10.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.lLHN73dh/trustedkeys.kbx': General error -gpgv: Signature made Sun Mar 14 18:49:48 2021 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.abEyRC8b/trustedkeys.kbx': General error +gpgv: Signature made Mon Mar 15 20:49:48 2021 +14 gpgv: using RSA key 65A12DF4FE31AD6BAC4D76AE3355F4D63B5821CC gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./xsane_0.999-10.dsc @@ -56,137 +56,171 @@ dpkg-source: info: applying 0920-add_Name_Comment_pt_BR.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/24257/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/22323/tmp/hooks/D01_modify_environment starting +debug: Running on ionos12-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/22323/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/22323/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,-fixfilepath parallel=18' - 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]="1" [2]="4" [3]="1" [4]="release" [5]="i686-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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=10' + 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='b5e5c96a4a6649899305e47ba061fef3' - 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='24257' - PS1='# ' - PS2='> ' + INVOCATION_ID=e64b1b82fe8942968842efda925167e9 + 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=22323 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.IBN8zWfPe9/pbuilderrc_FBWD --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.IBN8zWfPe9/b1 --logfile b1/build.log xsane_0.999-10.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://85.184.249.68:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.IBN8zWfPe9/pbuilderrc_7n0Q --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.IBN8zWfPe9/b2 --logfile b2/build.log --extrapackages usrmerge xsane_0.999-10.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://78.137.99.97:3128 I: uname -a - Linux ionos16-i386 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 GNU/Linux + Linux i-capture-the-hostname 4.19.0-16-686-pae #1 SMP Debian 4.19.181-1 (2021-03-19) i686 GNU/Linux I: ls -l /bin total 5776 - -rwxr-xr-x 1 root root 1367848 Feb 24 2021 bash - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38280 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 38280 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 17768 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 38824 Sep 22 2020 cat - -rwxr-xr-x 1 root root 71624 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 67528 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 75752 Sep 22 2020 chown - -rwxr-xr-x 1 root root 157960 Sep 22 2020 cp - -rwxr-xr-x 1 root root 128724 Dec 10 2020 dash - -rwxr-xr-x 1 root root 124904 Sep 22 2020 date - -rwxr-xr-x 1 root root 92172 Sep 22 2020 dd - -rwxr-xr-x 1 root root 100752 Sep 22 2020 df - -rwxr-xr-x 1 root root 153964 Sep 22 2020 dir - -rwxr-xr-x 1 root root 83644 Feb 7 2021 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 34664 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 34664 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 71928 Feb 7 2021 findmnt - -rwsr-xr-x 1 root root 30112 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 210488 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 100952 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 21916 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 83980 Sep 22 2020 ln - -rwxr-xr-x 1 root root 55572 Feb 7 2020 login - -rwxr-xr-x 1 root root 153964 Sep 22 2020 ls - -rwxr-xr-x 1 root root 153124 Feb 7 2021 lsblk - -rwxr-xr-x 1 root root 96328 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 79912 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 47048 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 58920 Feb 7 2021 more - -rwsr-xr-x 1 root root 50720 Feb 7 2021 mount - -rwxr-xr-x 1 root root 13856 Feb 7 2021 mountpoint - -rwxr-xr-x 1 root root 157996 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38824 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Feb 24 2021 rbash -> bash - -rwxr-xr-x 1 root root 46984 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 75720 Sep 22 2020 rm - -rwxr-xr-x 1 root root 46984 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 22292 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jul 17 03:46 sh -> dash - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 83880 Sep 22 2020 stty - -rwsr-xr-x 1 root root 79396 Feb 7 2021 su - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sync - -rwxr-xr-x 1 root root 602584 Feb 16 2021 tar - -rwxr-xr-x 1 root root 13860 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 108520 Sep 22 2020 touch - -rwxr-xr-x 1 root root 34664 Sep 22 2020 true - -rwxr-xr-x 1 root root 17768 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Feb 7 2021 umount - -rwxr-xr-x 1 root root 34664 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 153964 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 63024 Feb 7 2021 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/24257/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1367848 Feb 25 10:57 bash + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38280 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 38280 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 17768 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 38824 Sep 23 2020 cat + -rwxr-xr-x 1 root root 71624 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 67528 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 75752 Sep 23 2020 chown + -rwxr-xr-x 1 root root 157960 Sep 23 2020 cp + -rwxr-xr-x 1 root root 128724 Dec 11 2020 dash + -rwxr-xr-x 1 root root 124904 Sep 23 2020 date + -rwxr-xr-x 1 root root 92172 Sep 23 2020 dd + -rwxr-xr-x 1 root root 100752 Sep 23 2020 df + -rwxr-xr-x 1 root root 153964 Sep 23 2020 dir + -rwxr-xr-x 1 root root 83644 Feb 8 04:38 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 34664 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 34664 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 71928 Feb 8 04:38 findmnt + -rwsr-xr-x 1 root root 30112 Feb 27 06:12 fusermount + -rwxr-xr-x 1 root root 210488 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 13:30 gzexe + -rwxr-xr-x 1 root root 100952 Mar 3 13:30 gzip + -rwxr-xr-x 1 root root 21916 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 83980 Sep 23 2020 ln + -rwxr-xr-x 1 root root 55572 Feb 8 2020 login + -rwxr-xr-x 1 root root 153964 Sep 23 2020 ls + -rwxr-xr-x 1 root root 153124 Feb 8 04:38 lsblk + -rwxr-xr-x 1 root root 96328 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 79912 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 47048 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 58920 Feb 8 04:38 more + -rwsr-xr-x 1 root root 50720 Feb 8 04:38 mount + -rwxr-xr-x 1 root root 13856 Feb 8 04:38 mountpoint + -rwxr-xr-x 1 root root 157996 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 05:38 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38824 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Feb 25 10:57 rbash -> bash + -rwxr-xr-x 1 root root 46984 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 75720 Sep 23 2020 rm + -rwxr-xr-x 1 root root 46984 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 22292 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jun 16 05:21 sh -> bash + lrwxrwxrwx 1 root root 4 Jun 14 23:25 sh.distrib -> dash + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 83880 Sep 23 2020 stty + -rwsr-xr-x 1 root root 79396 Feb 8 04:38 su + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sync + -rwxr-xr-x 1 root root 602584 Feb 17 23:55 tar + -rwxr-xr-x 1 root root 13860 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 108520 Sep 23 2020 touch + -rwxr-xr-x 1 root root 34664 Sep 23 2020 true + -rwxr-xr-x 1 root root 17768 Feb 27 06:12 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Feb 8 04:38 umount + -rwxr-xr-x 1 root root 34664 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 uncompress + -rwxr-xr-x 1 root root 153964 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 63024 Feb 8 04:38 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 13:30 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 13:30 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 13:30 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 13:30 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 13:30 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 13:30 zless + -rwxr-xr-x 1 root root 1842 Mar 3 13:30 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 13:30 znew +I: user script /srv/workspace/pbuilder/22323/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -649,7 +683,7 @@ Get: 407 http://deb.debian.org/debian bullseye/main i386 libsane-dev i386 1.0.31-4 [2528 kB] Get: 408 http://deb.debian.org/debian bullseye/main i386 libtiffxx5 i386 4.2.0-1 [129 kB] Get: 409 http://deb.debian.org/debian bullseye/main i386 libtiff-dev i386 4.2.0-1 [438 kB] -Fetched 206 MB in 5s (42.1 MB/s) +Fetched 206 MB in 44s (4628 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libapparmor1: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 ... 19675 files and directories currently installed.) @@ -2325,8 +2359,44 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main i386 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main i386 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main i386 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main i386 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (1665 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(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 ... 39060 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. I: Building the package -I: Running cd /build/xsane-0.999/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/xsane-0.999/ && 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 xsane dpkg-buildpackage: info: source version 0.999-10 dpkg-buildpackage: info: source distribution unstable @@ -2387,8 +2457,8 @@ checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E -checking for grep that handles long lines and -e... /bin/grep -checking for egrep... /bin/grep -E +checking for grep that handles long lines and -e... /usr/bin/grep +checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes @@ -2581,13 +2651,13 @@ make[1]: Leaving directory '/build/xsane-0.999' dh_auto_build - make -j18 + make -j10 make[1]: Entering directory '/build/xsane-0.999' for subdir in lib src po doc; do \ target=`echo all-recursive | sed s/-recursive//`; \ echo making $target in $subdir; \ (cd $subdir && make $target) \ - || case "-w -j18 --jobserver-auth=3,4" in *k*) fail=yes;; *) exit 1;; esac; \ + || case "-w -j10 --jobserver-auth=3,4" in *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$fail" making all in lib make[2]: Entering directory '/build/xsane-0.999/lib' @@ -2616,13 +2686,6 @@ gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -fdebug-prefix-map=/build/xsane-0.999=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -I/usr/include/gimp-2.0 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 xsane-multipage-project.c gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -fdebug-prefix-map=/build/xsane-0.999=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -I/usr/include/gimp-2.0 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 xsane-rc-io.c gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -fdebug-prefix-map=/build/xsane-0.999=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -I/usr/include/gimp-2.0 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 xsane-device-preferences.c -gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -fdebug-prefix-map=/build/xsane-0.999=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -I/usr/include/gimp-2.0 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 xsane-batch-scan.c -gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -fdebug-prefix-map=/build/xsane-0.999=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -I/usr/include/gimp-2.0 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 xsane-preferences.c -gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -fdebug-prefix-map=/build/xsane-0.999=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -I/usr/include/gimp-2.0 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 xsane-setup.c -gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -fdebug-prefix-map=/build/xsane-0.999=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -I/usr/include/gimp-2.0 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 xsane-save.c -gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -fdebug-prefix-map=/build/xsane-0.999=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -I/usr/include/gimp-2.0 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 xsane-scan.c -gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -fdebug-prefix-map=/build/xsane-0.999=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -I/usr/include/gimp-2.0 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 xsane-icons.c -gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -fdebug-prefix-map=/build/xsane-0.999=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -I/usr/include/gimp-2.0 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 xsane.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, @@ -2632,7 +2695,7 @@ from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from xsane.h:70, - from xsane-setup.c:25: + from xsane-preview.c:75: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -2645,33 +2708,10 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from xsane.h:69, - from xsane-setup.c:25: + from xsane-preview.c:75: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126, - from xsane.h:70, - from xsane-setup.c:25: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:32, - from /usr/include/glib-2.0/glib.h:30, - from /usr/include/glib-2.0/gobject/gbinding.h:28, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from xsane.h:69, - from xsane-setup.c:25: -/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here - 547 | struct _GTimeVal - | ^~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, @@ -2681,7 +2721,7 @@ from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from xsane.h:70, - from xsane-batch-scan.c:25: + from xsane-front-gtk.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -2694,7 +2734,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from xsane.h:69, - from xsane-batch-scan.c:25: + from xsane-front-gtk.c:25: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ @@ -2711,19 +2751,6 @@ /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from xsane.h:70, - from xsane-email-project.c:25: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, @@ -2737,58 +2764,6 @@ /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ -In file included from /usr/include/glib-2.0/gobject/gobject.h:24, - from /usr/include/glib-2.0/gobject/gbinding.h:29, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from xsane.h:69, - from xsane-email-project.c:25: -/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here - 679 | { - | ^ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from xsane.h:70, - from xsane-preview.c:75: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^~~~ -In file included from /usr/include/glib-2.0/gobject/gobject.h:24, - from /usr/include/glib-2.0/gobject/gbinding.h:29, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from xsane.h:69, - from xsane-preview.c:75: -/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here - 679 | { - | ^ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from xsane.h:70, - from xsane-fax-project.c:25: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, @@ -2815,71 +2790,6 @@ /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ -In file included from /usr/include/glib-2.0/gobject/gobject.h:24, - from /usr/include/glib-2.0/gobject/gbinding.h:29, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from xsane.h:69, - from xsane-fax-project.c:25: -/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here - 679 | { - | ^ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from xsane.h:70, - from xsane-viewer.c:25: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^~~~ -In file included from /usr/include/glib-2.0/gobject/gobject.h:24, - from /usr/include/glib-2.0/gobject/gbinding.h:29, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from xsane.h:69, - from xsane-viewer.c:25: -/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here - 679 | { - | ^ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from xsane.h:70, - from xsane-front-gtk.c:25: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^~~~ -In file included from /usr/include/glib-2.0/gobject/gobject.h:24, - from /usr/include/glib-2.0/gobject/gbinding.h:29, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from xsane.h:69, - from xsane-front-gtk.c:25: -/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here - 679 | { - | ^ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, @@ -2915,59 +2825,7 @@ from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from xsane.h:70, - from xsane.c:25: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^~~~ -In file included from /usr/include/glib-2.0/gobject/gobject.h:24, - from /usr/include/glib-2.0/gobject/gbinding.h:29, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from xsane.h:69, - from xsane.c:25: -/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here - 679 | { - | ^ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from xsane.h:70, - from xsane-scan.c:25: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^~~~ -In file included from /usr/include/glib-2.0/gobject/gobject.h:24, - from /usr/include/glib-2.0/gobject/gbinding.h:29, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from xsane.h:69, - from xsane-scan.c:25: -/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here - 679 | { - | ^ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from xsane.h:70, - from xsane-multipage-project.c:27: + from xsane-viewer.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -2980,7 +2838,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from xsane.h:69, - from xsane-multipage-project.c:27: + from xsane-viewer.c:25: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ @@ -3010,68 +2868,12 @@ /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from xsane.h:70, - from xsane-save.c:25: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^~~~ -In file included from /usr/include/glib-2.0/gobject/gobject.h:24, - from /usr/include/glib-2.0/gobject/gbinding.h:29, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from xsane.h:69, - from xsane-save.c:25: -/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here - 679 | { - | ^ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from xsane.h:70, - from xsane-preferences.c:25: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^~~~ -In file included from /usr/include/glib-2.0/gobject/gobject.h:24, - from /usr/include/glib-2.0/gobject/gbinding.h:29, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from xsane.h:69, - from xsane-preferences.c:25: -/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here - 679 | { - | ^ -xsane-setup.c: In function 'xsane_enhance_notebook': -xsane-setup.c:3364:22: warning: variable 'status' set but not used [-Wunused-but-set-variable] - 3364 | SANE_Status status; - | ^~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from xsane.h:70, - from xsane-batch-scan.c:25: + from xsane-gamma.c:25: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -3085,7 +2887,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from xsane.h:69, - from xsane-batch-scan.c:25: + from xsane-gamma.c:25: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ @@ -3094,16 +2896,7 @@ from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from xsane.h:70, - from xsane-gamma.c:25: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126, - from xsane.h:70, - from xsane-email-project.c:25: + from xsane-preview.c:75: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -3117,21 +2910,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from xsane.h:69, - from xsane-gamma.c:25: -/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here - 547 | struct _GTimeVal - | ^~~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:32, - from /usr/include/glib-2.0/glib.h:30, - from /usr/include/glib-2.0/gobject/gbinding.h:28, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from xsane.h:69, - from xsane-email-project.c:25: + from xsane-preview.c:75: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ @@ -3140,7 +2919,7 @@ from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from xsane.h:70, - from xsane-preview.c:75: + from xsane-rc-io.c:25: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -3154,7 +2933,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from xsane.h:69, - from xsane-preview.c:75: + from xsane-rc-io.c:25: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ @@ -3163,7 +2942,7 @@ from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from xsane.h:70, - from xsane-back-gtk.c:25: + from xsane-viewer.c:25: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -3172,7 +2951,7 @@ from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from xsane.h:70, - from xsane-fax-project.c:25: + from xsane-front-gtk.c:25: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -3186,7 +2965,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from xsane.h:69, - from xsane-back-gtk.c:25: + from xsane-front-gtk.c:25: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ @@ -3200,7 +2979,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from xsane.h:69, - from xsane-fax-project.c:25: + from xsane-viewer.c:25: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ @@ -3209,7 +2988,7 @@ from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from xsane.h:70, - from xsane-viewer.c:25: + from xsane-device-preferences.c:25: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -3223,19 +3002,45 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from xsane.h:69, - from xsane-viewer.c:25: + from xsane-device-preferences.c:25: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from xsane.h:70, + from xsane-email-project.c:25: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from xsane.h:70, - from xsane-front-gtk.c:25: + from xsane-back-gtk.c:25: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:24, + from /usr/include/glib-2.0/gobject/gbinding.h:29, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from xsane.h:69, + from xsane-email-project.c:25: +/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here + 679 | { + | ^ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, @@ -3246,22 +3051,25 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from xsane.h:69, - from xsane-front-gtk.c:25: + from xsane-back-gtk.c:25: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126, +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, from xsane.h:70, - from xsane.c:25: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:32, - from /usr/include/glib-2.0/glib.h:30, - from /usr/include/glib-2.0/gobject/gbinding.h:28, + from xsane-multipage-project.c:27: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:24, + from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, @@ -3269,22 +3077,25 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from xsane.h:69, - from xsane.c:25: -/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here - 547 | struct _GTimeVal - | ^~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126, + from xsane-multipage-project.c:27: +/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here + 679 | { + | ^ +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, from xsane.h:70, - from xsane-device-preferences.c:25: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:32, - from /usr/include/glib-2.0/glib.h:30, - from /usr/include/glib-2.0/gobject/gbinding.h:28, + from xsane-fax-project.c:25: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:24, + from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, @@ -3292,16 +3103,16 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from xsane.h:69, - from xsane-device-preferences.c:25: -/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here - 547 | struct _GTimeVal - | ^~~~~~~~~ + from xsane-fax-project.c:25: +/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here + 679 | { + | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from xsane.h:70, - from xsane-scan.c:25: + from xsane-multipage-project.c:27: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -3315,7 +3126,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from xsane.h:69, - from xsane-scan.c:25: + from xsane-multipage-project.c:27: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ @@ -3324,7 +3135,7 @@ from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from xsane.h:70, - from xsane-multipage-project.c:27: + from xsane-email-project.c:25: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -3338,16 +3149,31 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from xsane.h:69, - from xsane-multipage-project.c:27: + from xsane-email-project.c:25: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ +xsane-back-gtk.c: In function 'xsane_back_gtk_button_update': +xsane-back-gtk.c:1836:32: warning: variable 'opt' set but not used [-Wunused-but-set-variable] + 1836 | const SANE_Option_Descriptor *opt; + | ^~~ +xsane-preview.c: In function 'preview_create_batch_icon_from_file': +xsane-preview.c:2102:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] + 2102 | size_t bytes_read; + | ^~~~~~~~~~ +xsane-preview.c:2096:6: warning: variable 'c' set but not used [-Wunused-but-set-variable] + 2096 | int c; + | ^ +xsane-preview.c: In function 'preview_restore_image_from_file': +xsane-preview.c:2455:9: warning: variable 'nread' set but not used [-Wunused-but-set-variable] + 2455 | size_t nread; + | ^~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from xsane.h:70, - from xsane-rc-io.c:25: + from xsane-fax-project.c:25: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -3361,16 +3187,385 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from xsane.h:69, - from xsane-rc-io.c:25: + from xsane-fax-project.c:25: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ +xsane-gamma.c: In function 'xsane_slider_callback': +xsane-gamma.c:593:18: warning: variable 'motion_event' set but not used [-Wunused-but-set-variable] + 593 | GdkEventMotion *motion_event; + | ^~~~~~~~~~~~ +xsane-front-gtk.c: In function 'xsane_set_all_resolutions': +xsane-front-gtk.c:351:6: warning: variable 'printer_resolution' set but not used [-Wunused-but-set-variable] + 351 | int printer_resolution; + | ^~~~~~~~~~~~~~~~~~ +xsane-viewer.c: In function 'xsane_viewer_scale_set_size_x_value_and_adjustments': +xsane-viewer.c:530:19: warning: variable 'image_height' set but not used [-Wunused-but-set-variable] + 530 | int image_width, image_height; + | ^~~~~~~~~~~~ +xsane-viewer.c: In function 'xsane_viewer_scale_set_size_y_value_and_adjustments': +xsane-viewer.c:554:6: warning: variable 'image_width' set but not used [-Wunused-but-set-variable] + 554 | int image_width, image_height; + | ^~~~~~~~~~~ +xsane-preview.c: In function 'preview_create_batch_icon_from_file': +xsane-preview.c:2126:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 2126 | fgets(buf, sizeof(buf), in); /* skip newline character. this made a lot of problems in the past, so I skip it this way */ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-email-project.c: In function 'xsane_email_project_display_status': +xsane-email-project.c:496:6: warning: variable 'items_done' set but not used [-Wunused-but-set-variable] + 496 | int items_done; + | ^~~~~~~~~~ +xsane-viewer.c: In function 'xsane_viewer_read_image_header': +xsane-viewer.c:2151:6: warning: variable 'pos0' set but not used [-Wunused-but-set-variable] + 2151 | int pos0; + | ^~~~ +xsane-email-project.c: In function 'xsane_create_email': +xsane-email-project.c:1518:9: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] + 1518 | size_t bytes_written; + | ^~~~~~~~~~~~~ +xsane-email-project.c: In function 'xsane_email_send': +xsane-email-project.c:1937:10: warning: variable 'ipc_file' set but not used [-Wunused-but-set-variable] + 1937 | FILE *ipc_file = NULL; + | ^~~~~~~~ +xsane-viewer.c: In function 'xsane_viewer_read_image': +xsane-viewer.c:2206:6: warning: variable 'nread' set but not used [-Wunused-but-set-variable] + 2206 | int nread; + | ^~~~~ +xsane-fax-project.c: In function 'xsane_fax_send': +xsane-fax-project.c:1295:7: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 1295 | setuid(getuid()); + | ^~~~~~~~~~~~~~~~ +xsane-fax-project.c: In function 'xsane_fax_show_callback': +xsane-fax-project.c:1069:9: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 1069 | setuid(getuid()); + | ^~~~~~~~~~~~~~~~ +xsane-fax-project.c: In function 'xsane_fax_entry_insert_callback': +xsane-fax-project.c:903:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 903 | fgets(buf, sizeof(buf), sourcefile); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-fax-project.c:944:13: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 944 | fgets(buf, sizeof(buf), sourcefile); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-email-project.c:1947:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 1947 | setuid(getuid()); + | ^~~~~~~~~~~~~~~~ +xsane-viewer.c: In function 'xsane_viewer_save_callback': +xsane-viewer.c:377:7: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] + 377 | getcwd(pathname, sizeof(pathname)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-preview.c: In function 'preview_restore_image_from_file': +xsane-preview.c:2482:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 2482 | fgets(buf, sizeof(buf), in); /* skip newline character. this made a lot of problems in the past, so I skip it this way */ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-fax-project.c: In function 'xsane_fax_project_update_project_status': +xsane-fax-project.c:455:56: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] + 455 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.fax_status); /* fill 32 characters status line */ + | ^ +In file included from /usr/include/stdio.h:867, + from xsane.h:47, + from xsane-fax-project.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-fax-project.c: In function 'xsane_fax_send': +xsane-fax-project.c:1107:36: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 252 [-Wformat-truncation=] + 1107 | snprintf(buf, sizeof(buf), "%s - %s", PROGRESS_CONVERTING_DATA, source_filename); + | ^~ +...... + 1266 | xsane_fax_convert_pnm_to_ps(source_filename, fax_filename); + | ~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from xsane.h:47, + from xsane-fax-project.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-fax-project.c:1171:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] + 1171 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, source_filename, strerror(errno)); + | ^~ +...... + 1266 | xsane_fax_convert_pnm_to_ps(source_filename, fax_filename); + | ~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from xsane.h:47, + from xsane-fax-project.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-fax-project.c:1159:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] + 1159 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, fax_filename, strerror(errno)); + | ^~ +...... + 1266 | xsane_fax_convert_pnm_to_ps(source_filename, fax_filename); + | ~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from xsane.h:47, + from xsane-fax-project.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-fax-project.c:1258:43: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] + 1258 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, fax_filename); + | ^~ ~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from xsane.h:47, + from xsane-fax-project.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-multipage-project.c: In function 'xsane_multipage_project_save': +xsane-multipage-project.c:525:58: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] + 525 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.multipage_status); /* fill 32 characters status line */ + | ^ +In file included from /usr/include/stdio.h:867, + from xsane-multipage-project.c:26: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-multipage-project.c:514:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] + 514 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, filename); + | ^~ ~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from xsane-multipage-project.c:26: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-email-project.c: In function 'xsane_email_project_display_status': +xsane-email-project.c:899:56: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] + 899 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.email_status); /* fill 32 characters status line */ + | ^ +In file included from /usr/include/stdio.h:867, + from xsane.h:47, + from xsane-email-project.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -fdebug-prefix-map=/build/xsane-0.999=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -I/usr/include/gimp-2.0 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 xsane-batch-scan.c +xsane-multipage-project.c: In function 'xsane_multipage_save_file': +xsane-multipage-project.c:988:41: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] + 988 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_OPEN_FAILED, multipage_filename); + | ^~ ~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from xsane-multipage-project.c:26: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-multipage-project.c:953:41: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] + 953 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, multipage_filename); + | ^~ ~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from xsane-multipage-project.c:26: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-multipage-project.c:1072:41: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] + 1072 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, source_filename, strerror(errno)); + | ^~ ~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from xsane-multipage-project.c:26: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-multipage-project.c:938:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] + 938 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, multipage_filename); + | ^~ ~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from xsane-multipage-project.c:26: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-fax-project.c: In function 'xsane_fax_project_save': +xsane-fax-project.c:501:58: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] + 501 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.fax_status); /* fill 32 characters status line */ + | ^ +In file included from /usr/include/stdio.h:867, + from xsane.h:47, + from xsane-fax-project.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-fax-project.c:484:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] + 484 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, filename); + | ^~ ~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from xsane.h:47, + from xsane-fax-project.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -fdebug-prefix-map=/build/xsane-0.999=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -I/usr/include/gimp-2.0 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 xsane-preferences.c +xsane-fax-project.c: In function 'xsane_fax_entry_insert_callback': +xsane-fax-project.c:931:45: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 1022 [-Wformat-truncation=] + 931 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, destpath); + | ^~ ~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from xsane.h:47, + from xsane-fax-project.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) 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 /usr/include/memory.h:29, + from xsane.h:42, + from xsane-viewer.c:25: +In function 'strncpy', + inlined from 'xsane_viewer_save_callback' at xsane-viewer.c:281:5: +/usr/include/i386-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 'xsane_viewer_save_callback' at xsane-viewer.c:277:5: +/usr/include/i386-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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-email-project.c: In function 'xsane_email_project_save': +xsane-email-project.c:939:58: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] + 939 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.email_status); /* fill 32 characters status line */ + | ^ +In file included from /usr/include/stdio.h:867, + from xsane.h:47, + from xsane-email-project.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-email-project.c:928:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] + 928 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, filename); + | ^~ ~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from xsane.h:47, + from xsane-email-project.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -fdebug-prefix-map=/build/xsane-0.999=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -I/usr/include/gimp-2.0 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 xsane-setup.c +gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -fdebug-prefix-map=/build/xsane-0.999=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -I/usr/include/gimp-2.0 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 xsane-save.c +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from xsane.h:70, + from xsane-preferences.c:25: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:24, + from /usr/include/glib-2.0/gobject/gbinding.h:29, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from xsane.h:69, + from xsane-preferences.c:25: +/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here + 679 | { + | ^ +xsane-viewer.c: In function 'xsane_viewer_read_image.isra': +xsane-viewer.c:2312:46: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 251 [-Wformat-truncation=] + 2312 | snprintf(buf, sizeof(buf), "%s\n%s %s: %s\n", ERR_CMS_CONVERSION, ERR_CMS_OPEN_ICM_FILE, CMS_SCANNER_ICM, image_info.icm_profile); + | ^~ ~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from xsane.h:47, + from xsane-viewer.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-email-project.c: In function 'xsane_email_send': +xsane-email-project.c:1657:59: warning: '%s' directive output may be truncated writing up to 254 bytes into a region of size 238 [-Wformat-truncation=] + 1657 | snprintf(buf, sizeof(buf), "

\r\n", content_id); + | ^~ ~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from xsane.h:47, + from xsane-email-project.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 22 and 276 bytes into a destination of size 255 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-email-project.c:1686:55: warning: '%s' directive output may be truncated writing up to 254 bytes into a region of size 238 [-Wformat-truncation=] + 1686 | snprintf(buf, sizeof(buf), "

\r\n", content_id); + | ^~ ~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from xsane.h:47, + from xsane-email-project.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 22 and 276 bytes into a destination of size 255 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from xsane.h:70, + from xsane-batch-scan.c:25: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:24, + from /usr/include/glib-2.0/gobject/gbinding.h:29, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from xsane.h:69, + from xsane-batch-scan.c:25: +/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here + 679 | { + | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from xsane.h:70, - from xsane-save.c:25: + from xsane-preferences.c:25: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -3384,7 +3579,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from xsane.h:69, - from xsane-save.c:25: + from xsane-preferences.c:25: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ @@ -3393,7 +3588,7 @@ from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from xsane.h:70, - from xsane-preferences.c:25: + from xsane-batch-scan.c:25: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -3407,7 +3602,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from xsane.h:69, - from xsane-preferences.c:25: + from xsane-batch-scan.c:25: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ @@ -3426,109 +3621,6 @@ xsane-batch-scan.c:722:13: warning: variable 'list_item' set but not used [-Wunused-but-set-variable] 722 | GtkWidget *list_item; | ^~~~~~~~~ -xsane-viewer.c: In function 'xsane_viewer_scale_set_size_x_value_and_adjustments': -xsane-back-gtk.c: In function 'xsane_back_gtk_button_update': -xsane-viewer.c:530:19: warning: variable 'image_height' set but not used [-Wunused-but-set-variable] - 530 | int image_width, image_height; - | ^~~~~~~~~~~~ -xsane-viewer.c: In function 'xsane_viewer_scale_set_size_y_value_and_adjustments': -xsane-viewer.c:554:6: warning: variable 'image_width' set but not used [-Wunused-but-set-variable] - 554 | int image_width, image_height; - | ^~~~~~~~~~~ -xsane-back-gtk.c:1836:32: warning: variable 'opt' set but not used [-Wunused-but-set-variable] - 1836 | const SANE_Option_Descriptor *opt; - | ^~~ -xsane-preview.c: In function 'preview_create_batch_icon_from_file': -xsane-preview.c:2102:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] - 2102 | size_t bytes_read; - | ^~~~~~~~~~ -xsane-preview.c:2096:6: warning: variable 'c' set but not used [-Wunused-but-set-variable] - 2096 | int c; - | ^ -xsane-preview.c: In function 'preview_restore_image_from_file': -xsane-preview.c:2455:9: warning: variable 'nread' set but not used [-Wunused-but-set-variable] - 2455 | size_t nread; - | ^~~~~ -xsane-gamma.c: In function 'xsane_slider_callback': -xsane-gamma.c:593:18: warning: variable 'motion_event' set but not used [-Wunused-but-set-variable] - 593 | GdkEventMotion *motion_event; - | ^~~~~~~~~~~~ -xsane-email-project.c: In function 'xsane_email_project_display_status': -xsane-email-project.c:496:6: warning: variable 'items_done' set but not used [-Wunused-but-set-variable] - 496 | int items_done; - | ^~~~~~~~~~ -xsane-front-gtk.c: In function 'xsane_set_all_resolutions': -xsane-front-gtk.c:351:6: warning: variable 'printer_resolution' set but not used [-Wunused-but-set-variable] - 351 | int printer_resolution; - | ^~~~~~~~~~~~~~~~~~ -xsane-email-project.c: In function 'xsane_create_email': -xsane-viewer.c: In function 'xsane_viewer_read_image_header': -xsane-email-project.c:1518:9: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] - 1518 | size_t bytes_written; - | ^~~~~~~~~~~~~ -xsane-viewer.c:2151:6: warning: variable 'pos0' set but not used [-Wunused-but-set-variable] - 2151 | int pos0; - | ^~~~ -xsane-email-project.c: In function 'xsane_email_send': -xsane-email-project.c:1937:10: warning: variable 'ipc_file' set but not used [-Wunused-but-set-variable] - 1937 | FILE *ipc_file = NULL; - | ^~~~~~~~ -xsane-viewer.c: In function 'xsane_viewer_read_image': -xsane-viewer.c:2206:6: warning: variable 'nread' set but not used [-Wunused-but-set-variable] - 2206 | int nread; - | ^~~~~ -xsane-scan.c: In function 'xsane_read_image_data': -xsane-scan.c:144:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] - 144 | size_t bytes_read; - | ^~~~~~~~~~ -xsane.c: In function 'xsane_scanmode_menu_callback': -xsane.c:1113:32: warning: variable 'opt' set but not used [-Wunused-but-set-variable] - 1113 | const SANE_Option_Descriptor *opt; - | ^~~ -xsane-email-project.c:1947:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 1947 | setuid(getuid()); - | ^~~~~~~~~~~~~~~~ -xsane-scan.c: In function 'xsane_scan_done': -xsane-scan.c:1330:12: warning: variable 'printer_resolution' set but not used [-Wunused-but-set-variable] - 1330 | int printer_resolution; - | ^~~~~~~~~~~~~~~~~~ -xsane-fax-project.c: In function 'xsane_fax_send': -xsane-fax-project.c:1295:7: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 1295 | setuid(getuid()); - | ^~~~~~~~~~~~~~~~ -xsane.c: In function 'xsane_update_xsane_callback': -xsane.c:1493:22: warning: variable 'status' set but not used [-Wunused-but-set-variable] - 1493 | SANE_Status status; - | ^~~~~~ -xsane-fax-project.c: In function 'xsane_fax_show_callback': -xsane.c:1533:23: warning: variable 'status' set but not used [-Wunused-but-set-variable] - 1533 | SANE_Status status; - | ^~~~~~ -xsane-fax-project.c:1069:9: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 1069 | setuid(getuid()); - | ^~~~~~~~~~~~~~~~ -xsane-fax-project.c: In function 'xsane_fax_entry_insert_callback': -xsane-fax-project.c:903:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 903 | fgets(buf, sizeof(buf), sourcefile); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-fax-project.c:944:13: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 944 | fgets(buf, sizeof(buf), sourcefile); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-viewer.c: In function 'xsane_viewer_save_callback': -xsane-viewer.c:377:7: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] - 377 | getcwd(pathname, sizeof(pathname)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-scan.c:1286:11: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] - 1286 | getcwd(pathname, sizeof(pathname)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-preview.c: In function 'preview_create_batch_icon_from_file': -xsane-preview.c:2126:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 2126 | fgets(buf, sizeof(buf), in); /* skip newline character. this made a lot of problems in the past, so I skip it this way */ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-save.c: In function 'xsane_read_pnm_header': -xsane-save.c:428:6: warning: variable 'items_done' set but not used [-Wunused-but-set-variable] - 428 | int items_done; - | ^~~~~~~~~~ xsane-batch-scan.c: In function 'xsane_batch_scan_update_label': xsane-batch-scan.c:660:30: warning: '%s' directive output may be truncated writing up to 99 bytes into a region of size between 55 and 253 [-Wformat-truncation=] 660 | snprintf(buf, sizeof(buf), "%s\n" /* name */ @@ -3547,15 +3639,135 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane.c: In function 'xsane_info_dialog': -xsane.c:3284:35: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - 3284 | else if ((!xsane.xsane_channels > 1) && (xsane.scanner_gamma_gray)) /* gray gamma correction by scanner */ - | ^ -xsane.c:3284:35: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] -xsane.c:3284:13: note: add parentheses around left hand side expression to silence this warning - 3284 | else if ((!xsane.xsane_channels > 1) && (xsane.scanner_gamma_gray)) /* gray gamma correction by scanner */ - | ^~~~~~~~~~~~~~~~~~~~~ - | ( ) +xsane-batch-scan.c: In function 'xsane_batch_scan_save_list': +xsane-batch-scan.c:434:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] + 434 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, filename, strerror(errno)); + | ^~ ~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from xsane.h:47, + from xsane-batch-scan.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -fdebug-prefix-map=/build/xsane-0.999=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -I/usr/include/gimp-2.0 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 xsane-scan.c +gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -fdebug-prefix-map=/build/xsane-0.999=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -I/usr/include/gimp-2.0 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 xsane-icons.c +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from xsane.h:70, + from xsane-save.c:25: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:24, + from /usr/include/glib-2.0/gobject/gbinding.h:29, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from xsane.h:69, + from xsane-save.c:25: +/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here + 679 | { + | ^ +gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -fdebug-prefix-map=/build/xsane-0.999=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -I/usr/include/gimp-2.0 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 xsane.c +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126, + from xsane.h:70, + from xsane-save.c:25: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:32, + from /usr/include/glib-2.0/glib.h:30, + from /usr/include/glib-2.0/gobject/gbinding.h:28, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from xsane.h:69, + from xsane-save.c:25: +/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here + 547 | struct _GTimeVal + | ^~~~~~~~~ +xsane-batch-scan.c: In function 'xsane_batch_scan_load_list': +xsane-batch-scan.c:354:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] + 354 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, filename, strerror(errno)); + | ^~ ~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from xsane.h:47, + from xsane-batch-scan.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from xsane.h:70, + from xsane-setup.c:25: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:24, + from /usr/include/glib-2.0/gobject/gbinding.h:29, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from xsane.h:69, + from xsane-setup.c:25: +/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here + 679 | { + | ^ +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126, + from xsane.h:70, + from xsane-setup.c:25: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:32, + from /usr/include/glib-2.0/glib.h:30, + from /usr/include/glib-2.0/gobject/gbinding.h:28, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from xsane.h:69, + from xsane-setup.c:25: +/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here + 547 | struct _GTimeVal + | ^~~~~~~~~ +xsane-save.c: In function 'xsane_read_pnm_header': +xsane-save.c:428:6: warning: variable 'items_done' set but not used [-Wunused-but-set-variable] + 428 | int items_done; + | ^~~~~~~~~~ xsane-save.c: In function 'xsane_save_scaled_image': xsane-save.c:1050:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 1050 | size_t bytes_read; @@ -3564,9 +3776,6 @@ xsane-save.c:1349:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 1349 | size_t bytes_read; | ^~~~~~~~~~ -xsane.c:3157:43: warning: variable 'label' set but not used [-Wunused-but-set-variable] - 3157 | GtkWidget *info_dialog, *vbox, *button, *label, *frame, *framebox, *hbox, *table; - | ^~~~~ xsane-save.c: In function 'xsane_save_blur_image': xsane-save.c:1550:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 1550 | size_t bytes_read; @@ -3590,10 +3799,6 @@ xsane-save.c:3355:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 3355 | size_t bytes_read; | ^~~~~~~~~~ -xsane-preview.c: In function 'preview_restore_image_from_file': -xsane-preview.c:2482:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 2482 | fgets(buf, sizeof(buf), in); /* skip newline character. this made a lot of problems in the past, so I skip it this way */ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-save.c: In function 'xsane_save_jpeg': xsane-save.c:4426:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 4426 | size_t bytes_read; @@ -3641,18 +3846,6 @@ xsane-save.c:5421:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 5421 | size_t bytes_read; | ^~~~~~~~~~ -xsane-fax-project.c: In function 'xsane_fax_project_update_project_status': -xsane-fax-project.c:455:56: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] - 455 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.fax_status); /* fill 32 characters status line */ - | ^ -In file included from /usr/include/stdio.h:867, - from xsane.h:47, - from xsane-fax-project.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-save.c: In function 'xsane_save_pnm_16_binary_gray': xsane-save.c:5530:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 5530 | size_t bytes_read; @@ -3669,10 +3862,6 @@ xsane-save.c:5826:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 5826 | size_t bytes_read; | ^~~~~~~~~~ -xsane.c: In function 'xsane_pref_restore': -xsane.c:2004:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] - 2004 | chdir(preferences.working_directory); /* set working directory */ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-save.c: In function 'xsane_transfer_to_gimp': xsane-save.c:6916:11: warning: 'gimp_image_parasite_attach' is deprecated: Use 'gimp_image_attach_parasite' instead [-Wdeprecated-declarations] 6916 | gimp_image_parasite_attach(image_ID, parasite); @@ -3738,10 +3927,6 @@ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:104:11: note: declared here 104 | void gimp_pixel_rgn_set_rect (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~~~~~ -xsane.c: In function 'xsane_show_doc': -xsane.c:3906:7: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 3906 | setuid(getuid()); - | ^~~~~~~~~~~~~~~~ xsane-save.c:7111:13: warning: 'gimp_pixel_rgn_set_rect' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations] 7111 | gimp_pixel_rgn_set_rect(®ion, tile, 0, y - tile_height, image_info.image_width, tile_height); | ^~~~~~~~~~~~~~~~~~~~~~~ @@ -3751,10 +3936,6 @@ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:104:11: note: declared here 104 | void gimp_pixel_rgn_set_rect (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~~~~~ -xsane.c: In function 'xsane_show_doc_via_nsr': -xsane.c:3743:7: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 3743 | setuid(getuid()); - | ^~~~~~~~~~~~~~~~ xsane-save.c:7152:13: warning: 'gimp_pixel_rgn_set_rect' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations] 7152 | gimp_pixel_rgn_set_rect(®ion, tile, 0, y - tile_height, image_info.image_width, tile_height); | ^~~~~~~~~~~~~~~~~~~~~~~ @@ -3764,9 +3945,6 @@ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:104:11: note: declared here 104 | void gimp_pixel_rgn_set_rect (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~~~~~ -xsane.c:3785:7: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 3785 | setuid(getuid()); - | ^~~~~~~~~~~~~~~~ xsane-save.c:7225:5: warning: 'gimp_pixel_rgn_set_rect' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations] 7225 | gimp_pixel_rgn_set_rect(®ion, tile, 0, y - remaining, image_info.image_width, remaining); | ^~~~~~~~~~~~~~~~~~~~~~~ @@ -3841,18 +4019,6 @@ xsane-save.c:7660:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] 7660 | ssize_t bytes_written; | ^~~~~~~~~~~~~ -xsane-batch-scan.c: In function 'xsane_batch_scan_save_list': -xsane-batch-scan.c:434:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] - 434 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, filename, strerror(errno)); - | ^~ ~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from xsane.h:47, - from xsane-batch-scan.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-save.c: In function 'write_smtp_header': xsane-save.c:7760:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] 7760 | ssize_t bytes_written; @@ -3868,6 +4034,164 @@ xsane-save.c:446:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 446 | fgets(buf, sizeof(buf)-1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-setup.c: In function 'xsane_enhance_notebook': +xsane-setup.c:3364:22: warning: variable 'status' set but not used [-Wunused-but-set-variable] + 3364 | SANE_Status status; + | ^~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from xsane.h:70, + from xsane-scan.c:25: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:24, + from /usr/include/glib-2.0/gobject/gbinding.h:29, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from xsane.h:69, + from xsane-scan.c:25: +/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here + 679 | { + | ^ +xsane-save.c: In function 'xsane_save_image_as_text': +xsane-save.c:6096:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 6096 | setuid(getuid()); + | ^~~~~~~~~~~~~~~~ +xsane-save.c:6142:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 6142 | fgets(buf, sizeof(buf), ocr_progress); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from xsane.h:70, + from xsane.c:25: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:24, + from /usr/include/glib-2.0/gobject/gbinding.h:29, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from xsane.h:69, + from xsane.c:25: +/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here + 679 | { + | ^ +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126, + from xsane.h:70, + from xsane-scan.c:25: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:32, + from /usr/include/glib-2.0/glib.h:30, + from /usr/include/glib-2.0/gobject/gbinding.h:28, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from xsane.h:69, + from xsane-scan.c:25: +/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here + 547 | struct _GTimeVal + | ^~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126, + from xsane.h:70, + from xsane.c:25: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:32, + from /usr/include/glib-2.0/glib.h:30, + from /usr/include/glib-2.0/gobject/gbinding.h:28, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from xsane.h:69, + from xsane.c:25: +/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here + 547 | struct _GTimeVal + | ^~~~~~~~~ +xsane.c: In function 'xsane_scanmode_menu_callback': +xsane.c:1113:32: warning: variable 'opt' set but not used [-Wunused-but-set-variable] + 1113 | const SANE_Option_Descriptor *opt; + | ^~~ +xsane.c: In function 'xsane_update_xsane_callback': +xsane.c:1493:22: warning: variable 'status' set but not used [-Wunused-but-set-variable] + 1493 | SANE_Status status; + | ^~~~~~ +xsane.c:1533:23: warning: variable 'status' set but not used [-Wunused-but-set-variable] + 1533 | SANE_Status status; + | ^~~~~~ +xsane-scan.c: In function 'xsane_read_image_data': +xsane-scan.c:144:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] + 144 | size_t bytes_read; + | ^~~~~~~~~~ +xsane-scan.c: In function 'xsane_scan_done': +xsane-scan.c:1330:12: warning: variable 'printer_resolution' set but not used [-Wunused-but-set-variable] + 1330 | int printer_resolution; + | ^~~~~~~~~~~~~~~~~~ +xsane.c: In function 'xsane_info_dialog': +xsane.c:3284:35: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] + 3284 | else if ((!xsane.xsane_channels > 1) && (xsane.scanner_gamma_gray)) /* gray gamma correction by scanner */ + | ^ +xsane.c:3284:35: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] +xsane.c:3284:13: note: add parentheses around left hand side expression to silence this warning + 3284 | else if ((!xsane.xsane_channels > 1) && (xsane.scanner_gamma_gray)) /* gray gamma correction by scanner */ + | ^~~~~~~~~~~~~~~~~~~~~ + | ( ) +xsane.c:3157:43: warning: variable 'label' set but not used [-Wunused-but-set-variable] + 3157 | GtkWidget *info_dialog, *vbox, *button, *label, *frame, *framebox, *hbox, *table; + | ^~~~~ +xsane-scan.c:1286:11: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] + 1286 | getcwd(pathname, sizeof(pathname)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane.c: In function 'xsane_pref_restore': +xsane.c:2004:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] + 2004 | chdir(preferences.working_directory); /* set working directory */ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane.c: In function 'xsane_show_doc': +xsane.c:3906:7: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 3906 | setuid(getuid()); + | ^~~~~~~~~~~~~~~~ +xsane.c: In function 'xsane_show_doc_via_nsr': +xsane.c:3743:7: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 3743 | setuid(getuid()); + | ^~~~~~~~~~~~~~~~ +xsane.c:3785:7: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 3785 | setuid(getuid()); + | ^~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from /usr/include/memory.h:29, from xsane.h:42, @@ -3882,153 +4206,6 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-save.c: In function 'xsane_save_image_as_text': -xsane-save.c:6096:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 6096 | setuid(getuid()); - | ^~~~~~~~~~~~~~~~ -xsane-save.c:6142:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 6142 | fgets(buf, sizeof(buf), ocr_progress); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-fax-project.c: In function 'xsane_fax_send': -xsane-fax-project.c:1107:36: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 252 [-Wformat-truncation=] - 1107 | snprintf(buf, sizeof(buf), "%s - %s", PROGRESS_CONVERTING_DATA, source_filename); - | ^~ -...... - 1266 | xsane_fax_convert_pnm_to_ps(source_filename, fax_filename); - | ~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from xsane.h:47, - from xsane-fax-project.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-fax-project.c:1171:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] - 1171 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, source_filename, strerror(errno)); - | ^~ -...... - 1266 | xsane_fax_convert_pnm_to_ps(source_filename, fax_filename); - | ~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from xsane.h:47, - from xsane-fax-project.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-fax-project.c:1159:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] - 1159 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, fax_filename, strerror(errno)); - | ^~ -...... - 1266 | xsane_fax_convert_pnm_to_ps(source_filename, fax_filename); - | ~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from xsane.h:47, - from xsane-fax-project.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-fax-project.c:1258:43: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] - 1258 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, fax_filename); - | ^~ ~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from xsane.h:47, - from xsane-fax-project.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-email-project.c: In function 'xsane_email_project_display_status': -xsane-email-project.c:899:56: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] - 899 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.email_status); /* fill 32 characters status line */ - | ^ -In file included from /usr/include/stdio.h:867, - from xsane.h:47, - from xsane-email-project.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-batch-scan.c: In function 'xsane_batch_scan_load_list': -xsane-batch-scan.c:354:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] - 354 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, filename, strerror(errno)); - | ^~ ~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from xsane.h:47, - from xsane-batch-scan.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-multipage-project.c: In function 'xsane_multipage_project_save': -xsane-multipage-project.c:525:58: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] - 525 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.multipage_status); /* fill 32 characters status line */ - | ^ -In file included from /usr/include/stdio.h:867, - from xsane-multipage-project.c:26: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-multipage-project.c:514:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] - 514 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, filename); - | ^~ ~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from xsane-multipage-project.c:26: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-multipage-project.c: In function 'xsane_multipage_save_file': -xsane-multipage-project.c:988:41: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] - 988 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_OPEN_FAILED, multipage_filename); - | ^~ ~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from xsane-multipage-project.c:26: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-multipage-project.c:953:41: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] - 953 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, multipage_filename); - | ^~ ~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from xsane-multipage-project.c:26: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-multipage-project.c:1072:41: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] - 1072 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, source_filename, strerror(errno)); - | ^~ ~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from xsane-multipage-project.c:26: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-multipage-project.c:938:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] - 938 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, multipage_filename); - | ^~ ~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from xsane-multipage-project.c:26: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'xsane_start_scan' at xsane-scan.c:1807:9: /usr/include/i386-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] @@ -4039,113 +4216,18 @@ /usr/include/i386-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4096 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 /usr/include/memory.h:29, - from xsane.h:42, - from xsane-viewer.c:25: -In function 'strncpy', - inlined from 'xsane_viewer_save_callback' at xsane-viewer.c:281:5: -/usr/include/i386-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 'xsane_viewer_save_callback' at xsane-viewer.c:277:5: -/usr/include/i386-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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-viewer.c: In function 'xsane_viewer_read_image.isra': -xsane-viewer.c:2312:46: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 251 [-Wformat-truncation=] - 2312 | snprintf(buf, sizeof(buf), "%s\n%s %s: %s\n", ERR_CMS_CONVERSION, ERR_CMS_OPEN_ICM_FILE, CMS_SCANNER_ICM, image_info.icm_profile); - | ^~ ~~~~~~~~~~~~~~~~~~~~~~ +xsane-save.c: In function 'xsane_create_cms_transform': +xsane-save.c:889:44: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 251 [-Wformat-truncation=] + 889 | snprintf(buf, sizeof(buf), "%s\n%s %s: %s\n", ERR_CMS_CONVERSION, ERR_CMS_OPEN_ICM_FILE, CMS_SCANNER_ICM, image_info->icm_profile); + | ^~ In file included from /usr/include/stdio.h:867, from xsane.h:47, - from xsane-viewer.c:25: + from xsane-save.c:25: /usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-fax-project.c: In function 'xsane_fax_project_save': -xsane-fax-project.c:501:58: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] - 501 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.fax_status); /* fill 32 characters status line */ - | ^ -In file included from /usr/include/stdio.h:867, - from xsane.h:47, - from xsane-fax-project.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-fax-project.c:484:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] - 484 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, filename); - | ^~ ~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from xsane.h:47, - from xsane-fax-project.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-email-project.c: In function 'xsane_email_project_save': -xsane-email-project.c:939:58: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] - 939 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.email_status); /* fill 32 characters status line */ - | ^ -In file included from /usr/include/stdio.h:867, - from xsane.h:47, - from xsane-email-project.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-email-project.c:928:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] - 928 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, filename); - | ^~ ~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from xsane.h:47, - from xsane-email-project.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-fax-project.c: In function 'xsane_fax_entry_insert_callback': -xsane-fax-project.c:931:45: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 1022 [-Wformat-truncation=] - 931 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, destpath); - | ^~ ~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from xsane.h:47, - from xsane-fax-project.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 1024 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-email-project.c: In function 'xsane_email_send': -xsane-email-project.c:1657:59: warning: '%s' directive output may be truncated writing up to 254 bytes into a region of size 238 [-Wformat-truncation=] - 1657 | snprintf(buf, sizeof(buf), "

\r\n", content_id); - | ^~ ~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from xsane.h:47, - from xsane-email-project.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 22 and 276 bytes into a destination of size 255 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-email-project.c:1686:55: warning: '%s' directive output may be truncated writing up to 254 bytes into a region of size 238 [-Wformat-truncation=] - 1686 | snprintf(buf, sizeof(buf), "

\r\n", content_id); - | ^~ ~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from xsane.h:47, - from xsane-email-project.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 22 and 276 bytes into a destination of size 255 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane.c: In function 'xsane_show_doc': xsane.c:3722:42: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 246 [-Wformat-truncation=] 3722 | snprintf(buf, sizeof(buf), "openFile(%s, new-window)", name); @@ -4245,18 +4327,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-save.c: In function 'xsane_create_cms_transform': -xsane-save.c:889:44: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 251 [-Wformat-truncation=] - 889 | snprintf(buf, sizeof(buf), "%s\n%s %s: %s\n", ERR_CMS_CONVERSION, ERR_CMS_OPEN_ICM_FILE, CMS_SCANNER_ICM, image_info->icm_profile); - | ^~ -In file included from /usr/include/stdio.h:867, - from xsane.h:47, - from xsane-save.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-save.c: In function 'xsane_save_image_as': xsane-save.c:6252:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] 6245 | input_filename = temporary_filename; @@ -4339,13 +4409,13 @@ dh_prep dh_installdirs dh_auto_install - make -j18 install DESTDIR=/build/xsane-0.999/debian/tmp AM_UPDATE_INFO_DIR=no + make -j10 install DESTDIR=/build/xsane-0.999/debian/tmp AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/xsane-0.999' for subdir in lib src po doc; do \ target=`echo install-recursive | sed s/-recursive//`; \ echo making $target in $subdir; \ (cd $subdir && make $target) \ - || case "-w -j18 --jobserver-auth=3,4" in *k*) fail=yes;; *) exit 1;; esac; \ + || case "-w -j10 --jobserver-auth=3,4" in *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$fail" making install in lib make[2]: Entering directory '/build/xsane-0.999/lib' @@ -4642,31 +4712,31 @@ dh_perl dh_link dh_strip_nondeterminism - Normalized debian/xsane-common/usr/share/locale/pa/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/sk/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/nl/LC_MESSAGES/xsane.mo Normalized debian/xsane-common/usr/share/locale/es/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/da/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/fi/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/ru/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/pt_BR/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/sr/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/sl/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/pt/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/vi/LC_MESSAGES/xsane.mo Normalized debian/xsane-common/usr/share/locale/pl/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/zh_CN/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/it/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/cs/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/ca/LC_MESSAGES/xsane.mo Normalized debian/xsane-common/usr/share/locale/ja/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/nl/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/ca/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/fi/LC_MESSAGES/xsane.mo Normalized debian/xsane-common/usr/share/locale/fr/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/sk/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/ro/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/pt_BR/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/tr/LC_MESSAGES/xsane.mo Normalized debian/xsane-common/usr/share/locale/sv/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/cs/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/zh_CN/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/pa/LC_MESSAGES/xsane.mo Normalized debian/xsane-common/usr/share/locale/zh/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/sl/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/sr/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/pt/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/ru/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/it/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/da/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/ro/LC_MESSAGES/xsane.mo Normalized debian/xsane-common/usr/share/locale/hu/LC_MESSAGES/xsane.mo Normalized debian/xsane-common/usr/share/locale/de/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/vi/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/tr/LC_MESSAGES/xsane.mo debian/rules override_dh_compress make[1]: Entering directory '/build/xsane-0.999' dh_compress -X.pnm -X.rc -X.xpm @@ -4681,8 +4751,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'xsane-dbgsym' in '../xsane-dbgsym_0.999-10_i386.deb'. dpkg-deb: building package 'xsane' in '../xsane_0.999-10_i386.deb'. +dpkg-deb: building package 'xsane-dbgsym' in '../xsane-dbgsym_0.999-10_i386.deb'. dpkg-deb: building package 'xsane-common' in '../xsane-common_0.999-10_all.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../xsane_0.999-10_i386.changes @@ -4690,12 +4760,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/22323/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/22323/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/24257 and its subdirectories -I: Current time: Mon Jul 18 09:42:00 -12 2022 -I: pbuilder-time-stamp: 1658180520 +I: removing directory /srv/workspace/pbuilder/22323 and its subdirectories +I: Current time: Wed Jun 16 05:27:51 +14 2021 +I: pbuilder-time-stamp: 1623770871