Diff of the two buildlogs: -- --- b1/build.log 2021-07-29 05:29:45.858429510 +0000 +++ b2/build.log 2021-07-29 05:35:09.174247134 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Aug 30 23:52:14 -12 2022 -I: pbuilder-time-stamp: 1661946734 +I: Current time: Thu Jul 29 19:29:49 +14 2021 +I: pbuilder-time-stamp: 1627536589 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 [./gpm_1.20.7-8.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.QW3FhMAG/trustedkeys.kbx': General error -gpgv: Signature made Sun Jan 24 07:17:40 2021 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.nDfuQaW3/trustedkeys.kbx': General error +gpgv: Signature made Mon Jan 25 09:17:40 2021 +14 gpgv: using RSA key 468C89793B429819E9D761266BE663C75A35C975 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./gpm_1.20.7-8.dsc @@ -48,137 +48,171 @@ dpkg-source: info: applying 95_fix-compilation-with-gcc-10.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/60996/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/9417/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/9417/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/9417/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=16' - 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=7' + 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='64ad57fc662742b0ac2580e0197e623b' - 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='60996' - PS1='# ' - PS2='> ' + INVOCATION_ID=d31ec41a7ec94157bb06dc54933bac30 + 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=9417 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.MnC9moOA5S/pbuilderrc_jHC3 --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.MnC9moOA5S/b1 --logfile b1/build.log gpm_1.20.7-8.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.MnC9moOA5S/pbuilderrc_pc9k --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.MnC9moOA5S/b2 --logfile b2/build.log --extrapackages usrmerge gpm_1.20.7-8.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-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux + Linux i-capture-the-hostname 4.19.0-17-686-pae #1 SMP Debian 4.19.194-3 (2021-07-18) i686 GNU/Linux I: ls -l /bin total 5776 - -rwxr-xr-x 1 root root 1367848 Jun 21 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 Jun 21 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 Aug 30 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/60996/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1367848 Jun 22 16:25 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 Jun 22 16:25 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 Jul 29 19:32 sh -> bash + lrwxrwxrwx 1 root root 4 Jul 28 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/9417/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -261,7 +295,7 @@ Get: 39 http://deb.debian.org/debian bullseye/main i386 libxml-sax-perl all 1.02+dfsg-1 [59.0 kB] Get: 40 http://deb.debian.org/debian bullseye/main i386 libxml-libxml-perl i386 2.0134+dfsg-2+b1 [353 kB] Get: 41 http://deb.debian.org/debian bullseye/main i386 texinfo i386 6.7.0.dfsg.2-6 [1766 kB] -Fetched 22.2 MB in 0s (83.7 MB/s) +Fetched 22.2 MB in 8s (2723 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19675 files and directories currently installed.) @@ -451,8 +485,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 (413 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 ... 23192 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/gpm-1.20.7/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/gpm-1.20.7/ && 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 gpm dpkg-buildpackage: info: source version 1.20.7-8 dpkg-buildpackage: info: source distribution unstable @@ -465,7 +535,7 @@ make[1]: Entering directory '/build/gpm-1.20.7' # for gpm_has_mouse_control if [ -d contrib/control ]; then dh_auto_clean -Dcontrib/control; fi - cd contrib/control && make -j16 clean + cd contrib/control && make -j7 clean make[2]: Entering directory '/build/gpm-1.20.7/contrib/control' rm -f gpm_has_mouse_control make[2]: Leaving directory '/build/gpm-1.20.7/contrib/control' @@ -524,10 +594,10 @@ checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to print strings... printf -checking for a sed that does not truncate output... /bin/sed -checking for grep that handles long lines and -e... /bin/grep -checking for egrep... /bin/grep -E -checking for fgrep... /bin/grep -F +checking for a sed that does not truncate output... /usr/bin/sed +checking for grep that handles long lines and -e... /usr/bin/grep +checking for egrep... /usr/bin/grep -E +checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B @@ -549,8 +619,8 @@ checking for mawk... mawk checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no -checking for a working dd... /bin/dd -checking how to truncate binary pipes... /bin/dd bs=4096 count=1 +checking for a working dd... /usr/bin/dd +checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E @@ -589,7 +659,7 @@ checking for texindex... /usr/bin/texindex checking for makeinfo... /usr/bin/makeinfo checking for diff... /usr/bin/diff -checking for sed... (cached) /bin/sed +checking for sed... (cached) /usr/bin/sed checking for emacs... no checking syslog.h usability... yes checking syslog.h presence... yes @@ -633,12 +703,12 @@ make[1]: Entering directory '/build/gpm-1.20.7' # for gpm_has_mouse_control dh_auto_build -Dcontrib/control - cd contrib/control && make -j16 "INSTALL=install --strip-program=true" + cd contrib/control && make -j7 "INSTALL=install --strip-program=true" make[2]: Entering directory '/build/gpm-1.20.7/contrib/control' gcc -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -o gpm_has_mouse_control -Wall gpm_has_mouse_control.c make[2]: Leaving directory '/build/gpm-1.20.7/contrib/control' dh_auto_build - make -j16 + make -j7 make[2]: Entering directory '/build/gpm-1.20.7' touch src/.depend # to prevent unecessary warnings make -C src dep @@ -649,7 +719,7 @@ # create dependencies for DEPS in `echo *.c */*.c`; do \ gcc -I. -I /build/gpm-1.20.7/src -M -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 $DEPS | \ -/bin/sed 's/^\(.*\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> .depend ; done +/usr/bin/sed 's/^\(.*\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> .depend ; done prog/display-buttons.c:39:10: fatal error: gpm.h: No such file or directory 39 | #include /* gpm information */ | ^~~~~~~ @@ -667,7 +737,7 @@ # create dependencies for DEPS in `echo *.c */*.c`; do \ gcc -I. -I /build/gpm-1.20.7/src -M -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 $DEPS | \ -/bin/sed 's/^\(.*\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> .depend ; done +/usr/bin/sed 's/^\(.*\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> .depend ; done prog/display-buttons.c:39:10: fatal error: gpm.h: No such file or directory 39 | #include /* gpm information */ | ^~~~~~~ @@ -689,54 +759,10 @@ gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/init_mice.o daemon/init_mice.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/reset_mice.o daemon/reset_mice.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/build_argv.o daemon/build_argv.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/disable_paste.o daemon/disable_paste.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/do_client.o daemon/do_client.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/do_selection.o daemon/do_selection.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/get_console_size.o daemon/get_console_size.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/get_data.o daemon/get_data.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/getmousedata.o daemon/getmousedata.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/gpm.o daemon/gpm.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/gpm-killed.o daemon/gpm-killed.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/header.o daemon/header.c daemon/add_mouse.c: In function 'add_mouse': daemon/add_mouse.c:89:15: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 89 | if (!strcmp(value, "types")) exit(M_listTypes()); | ^~~~~~ -daemon/do_client.c: In function 'do_client': -daemon/do_client.c:51:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 51 | write(fd,event, sizeof(Gpm_Event)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/main.o daemon/main.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/old_main.o daemon/old_main.c -daemon/getmousedata.c: In function 'getMouseData': -daemon/getmousedata.c:39:16: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] - 39 | char *edata=data+type->packetlen; - | ^~~~ -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/open_console.o daemon/open_console.c -daemon/getmousedata.c:58:17: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] - 58 | return data; - | ^~~~ -daemon/getmousedata.c:90:11: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] - 90 | return data; - | ^~~~ -daemon/getmousedata.c:52:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 52 | write(fifofd, data, howmany); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -daemon/getmousedata.c:76:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 76 | write(fifofd, edata-i, j); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -twiddler.c: In function 'twiddler_key': -twiddler.c:253:10: warning: variable 'val' set but not used [-Wunused-but-set-variable] - 253 | char *val; - | ^~~ -twiddler.c: In function 'twiddler_exec': -twiddler.c:179:10: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] - 179 | dup(1); - | ^~~~~~ -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/check_kill.o daemon/check_kill.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/gpm_exited.o daemon/gpm_exited.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o generic/isodigit.o generic/isodigit.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o generic/getsym.o generic/getsym.c mice.c: In function 'option_modem_lines': mice.c:189:37: warning: pointer targets in initialization of 'int *' from 'unsigned int *' differ in signedness [-Wpointer-sign] 189 | {"dtr", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_DTR}, @@ -757,7 +783,10 @@ mice.c:347:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 347 | if (y<0) y=0; if (y>summamaxy) y=summamaxy; | ^~ -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/processspecial.o daemon/processspecial.c +twiddler.c: In function 'twiddler_key': +twiddler.c:253:10: warning: variable 'val' set but not used [-Wunused-but-set-variable] + 253 | char *val; + | ^~~ mice.c: In function 'R_msc': mice.c:539:12: warning: variable 'dy' set but not used [-Wunused-but-set-variable] 539 | int dx, dy; @@ -765,12 +794,16 @@ mice.c:539:8: warning: variable 'dx' set but not used [-Wunused-but-set-variable] 539 | int dx, dy; | ^~ -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/processconn.o daemon/processconn.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/disable_paste.o daemon/disable_paste.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/do_client.o daemon/do_client.c +twiddler.c: In function 'twiddler_exec': +twiddler.c:179:10: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] + 179 | dup(1); + | ^~~~~~ mice.c: In function 'M_wacom': mice.c:896:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 896 | if (x>wmaxx) x=wmaxx; if (x<0) x=0; | ^~ -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/processmouse.o daemon/processmouse.c mice.c:896:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 896 | if (x>wmaxx) x=wmaxx; if (x<0) x=0; | ^~ @@ -786,7 +819,6 @@ mice.c:907:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 907 | || abs(y-oy)>(wmaxy/wcmodell[WacomModell].treshold) ) ox=x; oy=y; | ^~ -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/processrequest.o daemon/processrequest.c mice.c: In function 'M_gunze': mice.c:1340:18: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 1340 | if(sscanf(data+1, "%d,%d", &x, &y)!= 2) { @@ -816,17 +848,74 @@ mice.c:1451:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1451 | if (x<0) x = 0; if (x > REALPOS_MAX) x = REALPOS_MAX; | ^~ -daemon/processconn.c:23: warning: "_GNU_SOURCE" redefined - 23 | #define _GNU_SOURCE /* needed for struct ucred */ - | -: note: this is the location of the previous definition mice.c:1452:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1452 | if (y<0) y = 0; if (y > REALPOS_MAX) y = REALPOS_MAX; | ^~ -synaptics.c: In function 'tp_hextoint': mice.c:1452:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1452 | if (y<0) y = 0; if (y > REALPOS_MAX) y = REALPOS_MAX; | ^~ +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/do_selection.o daemon/do_selection.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/get_console_size.o daemon/get_console_size.c +mice.c: In function 'I_wp': +mice.c:2380:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 2380 | write(fd, ":S", 2); + | ^~~~~~~~~~~~~~~~~~ +mice.c:2384:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 2384 | write(fd, "T", 1); + | ^~~~~~~~~~~~~~~~~ +mice.c:2413:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 2413 | write(fd, "O", 1); + | ^~~~~~~~~~~~~~~~~ +mice.c: In function 'I_wacom': +mice.c:1871:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 1871 | write(fd,UD_SENDCOORDS,4); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +mice.c: In function 'I_wacom_reset_wacom': +mice.c:1765:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 1765 | write(fd, UD_RESETBAUD, strlen(UD_RESETBAUD)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +daemon/do_client.c: In function 'do_client': +daemon/do_client.c:51:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 51 | write(fd,event, sizeof(Gpm_Event)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mice.c:1768:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 1768 | write(fd, UD_RESET, strlen(UD_RESET)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mice.c:1773:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 1773 | write(fd, UD_RESET, strlen(UD_RESET)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mice.c:1775:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 1775 | write(fd, UD_STOP, strlen(UD_STOP)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mice.c: In function 'setspeed': +mice.c:1618:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 1618 | if (needtowrite) write(fd, c, 2); + | ^~~~~~~~~~~~~~~ +mice.c: In function 'I_wacom_RequestData': +mice.c:1804:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 1804 | if (cmd) write(fd,cmd,strlen(cmd)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +mice.c: In function 'I_netmouse': +mice.c:745:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 745 | write( fd, magic+i, 1 ); + | ^~~~~~~~~~~~~~~~~~~~~~~ +mice.c:746:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 746 | read( fd, &c, 1 ); + | ^~~~~~~~~~~~~~~~~ +mice.c:754:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 754 | read( fd, rep, 1 ); + | ^~~~~~~~~~~~~~~~~~ +mice.c:755:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 755 | read( fd, rep+1, 1 ); + | ^~~~~~~~~~~~~~~~~~~~ +mice.c:756:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 756 | read( fd, rep+2, 1 ); + | ^~~~~~~~~~~~~~~~~~~~ +mice.c: In function 'I_mtouch': +mice.c:2240:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 2240 | write(fd,"\001MS\r\n\001FT\r\n",10); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +synaptics.c: In function 'tp_hextoint': synaptics.c:2253:11: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 2253 | sscanf (bytes, "%x", &result); | ^~~~~ @@ -836,8 +925,11 @@ /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 399 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/selection_copy.o daemon/selection_copy.c +mice.c: In function 'I_logi': synaptics.c: In function 'tp_serial_send_cmd': +mice.c:1740:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 1740 | write(fd, "S", 1); + | ^~~~~~~~~~~~~~~~~ synaptics.c:2320:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2320 | write (fd, cmd, strlen (cmd)); | ^~~ @@ -847,6 +939,9 @@ /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'unsigned char *' 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +mice.c:1746:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 1746 | write(fd,sampletab[i].code,1); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ synaptics.c:2321:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2321 | tp_serial_read (fd, junk, strlen (cmd)); | ^~~ @@ -875,6 +970,7 @@ | ^~~~ | | | char * +mice.c: In function 'I_gunze': synaptics.c:2315:26: note: expected 'unsigned char *' but argument is of type 'char *' 2315 | unsigned char *cmd) | ~~~~~~~~~~~~~~~^~~ @@ -884,6 +980,9 @@ | ^~~~ | | | char * +mice.c:2285:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 2285 | fgets(s, 80, f); /* discard the comment */ + | ^~~~~~~~~~~~~~~ synaptics.c:2315:26: note: expected 'unsigned char *' but argument is of type 'char *' 2315 | unsigned char *cmd) | ~~~~~~~~~~~~~~~^~~ @@ -896,129 +995,6 @@ synaptics.c:2315:26: note: expected 'unsigned char *' but argument is of type 'char *' 2315 | unsigned char *cmd) | ~~~~~~~~~~~~~~~^~~ -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/selection_paste.o daemon/selection_paste.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/cmdline.o daemon/cmdline.c -daemon/open_console.c: In function 'open_console': -daemon/open_console.c:53:21: warning: 'si.line' may be used uninitialized in this function [-Wmaybe-uninitialized] - 53 | if (si.line > 0) { - | ~~^~~~~ -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/loadlut.o daemon/loadlut.c -daemon/old_main.c: In function 'old_main': -synaptics.c: In function 'tp_ps2_putbyte': -daemon/old_main.c:208:16: warning: value computed is not used [-Wunused-value] - 208 | || do_selection(&event); - | ^~ -synaptics.c:2532:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 2532 | write(fd, &b, 1); - | ^~~~~~~~~~~~~~~~ -synaptics.c:2533:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 2533 | read(fd, &ack, 1); - | ^~~~~~~~~~~~~~~~~ -synaptics.c:2536:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 2536 | write(fd, &b, 1); - | ^~~~~~~~~~~~~~~~ -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/find_mouse_by_name.o daemon/find_mouse_by_name.c -synaptics.c:2537:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 2537 | read(fd, &ack, 1); - | ^~~~~~~~~~~~~~~~~ -synaptics.c: In function 'tp_ps2_getbyte': -synaptics.c:2512:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 2512 | read(fd, &b, 1); - | ^~~~~~~~~~~~~~~ -mice.c: In function 'I_wp': -mice.c:2380:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 2380 | write(fd, ":S", 2); - | ^~~~~~~~~~~~~~~~~~ -synaptics.c: In function 'tp_serial_send_cmd': -mice.c:2384:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 2384 | write(fd, "T", 1); - | ^~~~~~~~~~~~~~~~~ -synaptics.c:2320:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 2320 | write (fd, cmd, strlen (cmd)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -synaptics.c: In function 'tp_serial_flush_input': -mice.c:2413:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 2413 | write(fd, "O", 1); - | ^~~~~~~~~~~~~~~~~ -synaptics.c:2274:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 2274 | read (fd, &junk, 1); - | ^~~~~~~~~~~~~~~~~~~ -mice.c: In function 'I_wacom': -mice.c:1871:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 1871 | write(fd,UD_SENDCOORDS,4); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -mice.c: In function 'I_wacom_reset_wacom': -mice.c:1765:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 1765 | write(fd, UD_RESETBAUD, strlen(UD_RESETBAUD)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mice.c:1768:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 1768 | write(fd, UD_RESET, strlen(UD_RESET)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mice.c:1773:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 1773 | write(fd, UD_RESET, strlen(UD_RESET)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mice.c:1775:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 1775 | write(fd, UD_STOP, strlen(UD_STOP)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mice.c: In function 'setspeed': -mice.c:1618:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 1618 | if (needtowrite) write(fd, c, 2); - | ^~~~~~~~~~~~~~~ -synaptics.c: In function 'tp_ps2_disable_data': -mice.c: In function 'I_wacom_RequestData': -synaptics.c:2799:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 2799 | write(fd,&cmd,1); - | ^~~~~~~~~~~~~~~~ -mice.c:1804:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 1804 | if (cmd) write(fd,cmd,strlen(cmd)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -synaptics.c:2804:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 2804 | read (fd, &status, 1); - | ^~~~~~~~~~~~~~~~~~~~~ -synaptics.c: In function 'syn_ps2_send_reset': -synaptics.c:2851:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 2851 | write(fd,&reset_cmd,1); - | ^~~~~~~~~~~~~~~~~~~~~~ -mice.c: In function 'I_netmouse': -mice.c:745:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 745 | write( fd, magic+i, 1 ); - | ^~~~~~~~~~~~~~~~~~~~~~~ -mice.c:746:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 746 | read( fd, &c, 1 ); - | ^~~~~~~~~~~~~~~~~ -mice.c:754:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 754 | read( fd, rep, 1 ); - | ^~~~~~~~~~~~~~~~~~ -mice.c:755:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 755 | read( fd, rep+1, 1 ); - | ^~~~~~~~~~~~~~~~~~~~ -mice.c:756:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 756 | read( fd, rep+2, 1 ); - | ^~~~~~~~~~~~~~~~~~~~ -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/usage.o daemon/usage.c -mice.c: In function 'I_mtouch': -mice.c:2240:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 2240 | write(fd,"\001MS\r\n\001FT\r\n",10); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mice.c: In function 'I_logi': -mice.c:1740:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 1740 | write(fd, "S", 1); - | ^~~~~~~~~~~~~~~~~ -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/check_uniqueness.o daemon/check_uniqueness.c -mice.c:1746:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 1746 | write(fd,sampletab[i].code,1); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -daemon/processmouse.c: In function 'processMouse': -daemon/processmouse.c:83:57: warning: pointer targets in passing argument 2 of 'which_mouse->m_type->fun' differ in signedness [-Wpointer-sign] - 83 | || ((*((which_mouse->m_type)->fun))(&nEvent,data)==-1) ) { - | ^~~~ - | | - | char * -daemon/processmouse.c:83:57: note: expected 'unsigned char *' but argument is of type 'char *' -mice.c: In function 'I_gunze': -mice.c:2285:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 2285 | fgets(s, 80, f); /* discard the comment */ - | ^~~~~~~~~~~~~~~ mice.c: In function 'read_mouse_id': mice.c:1916:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1916 | write(fd, &c, 1); @@ -1033,53 +1009,20 @@ mice.c:2337:2: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2337 | fgets(s, 80, f); /* discard the comment */ | ^~~~~~~~~~~~~~~ +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/get_data.o daemon/get_data.c mice.c: In function 'I_summa': -daemon/processrequest.c: In function 'processRequest': -daemon/processrequest.c:102:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 102 | write(ci->fd,&event,sizeof(Gpm_Event)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:2171:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2171 | write(fd, SS_PROMPT_MODE, strlen(SS_PROMPT_MODE)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:2177:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2177 | write(fd, SS_FIRMID, strlen(SS_FIRMID)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/startup.o daemon/startup.c mice.c:2181:10: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2181 | read(fd, buffer, 255); /* Read Firm-ID */ | ^~~~~~~~~~~~~~~~~~~~~ -daemon/cmdline.c: In function 'cmdline': -daemon/cmdline.c:46:20: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 46 | if (optarg) - | ^~ -daemon/cmdline.c:47:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 47 | opt_age_limit = atoi(optarg); break; - | ^~~~~ mice.c:2187:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2187 | write(fd,GEN_MMSERIES,1); | ^~~~~~~~~~~~~~~~~~~~~~~~ -daemon/cmdline.c:75:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] - 75 | else (which_mouse->opt_scale)=100/(which_mouse->opt_scale); break; - | ^~~~ -daemon/cmdline.c:75:88: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' - 75 | else (which_mouse->opt_scale)=100/(which_mouse->opt_scale); break; - | ^~~~~ -daemon/cmdline.c:79:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] - 79 | else option.repeater_type = "msc"; break; - | ^~~~ -daemon/processspecial.c: In function 'processSpecial': -daemon/cmdline.c:79:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' - 79 | else option.repeater_type = "msc"; break; - | ^~~~~ -daemon/processspecial.c:158:7: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] - 158 | dup(1); /* stderr */ - | ^~~~~~ -daemon/cmdline.c:82:20: warning: this 'else' clause does not guard... [-Wmisleading-indentation] - 82 | else opt_special=""; break; - | ^~~~ -daemon/cmdline.c:82:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' - 82 | else opt_special=""; break; - | ^~~~~ mice.c:2188:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2188 | write(fd,&GEN_MODELL,1); /* Read modell */ | ^~~~~~~~~~~~~~~~~~~~~~~ @@ -1104,33 +1047,116 @@ mice.c:2217:19: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2217 | if (summaid<0) write(fd,SS_500LPI SS_TABID0 SS_BINARY_FMT,4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +synaptics.c: In function 'tp_ps2_putbyte': mice.c: In function 'I_summa_reset_summa': +synaptics.c:2532:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 2532 | write(fd, &b, 1); + | ^~~~~~~~~~~~~~~~ mice.c:2132:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2132 | write(fd,0,1); /* Reset */ | ^~~~~~~~~~~~~ +synaptics.c:2533:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 2533 | read(fd, &ack, 1); + | ^~~~~~~~~~~~~~~~~ mice.c: In function 'I_serial': +synaptics.c:2536:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 2536 | write(fd, &b, 1); + | ^~~~~~~~~~~~~~~~ mice.c:1659:30: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1659 | if (type->fun==M_logimsc) write(fd, "QU", 2 ); | ^~~~~~~~~~~~~~~~~~~ +synaptics.c:2537:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 2537 | read(fd, &ack, 1); + | ^~~~~~~~~~~~~~~~~ mice.c:1681:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1681 | write(fd, "*X", 2); | ^~~~~~~~~~~~~~~~~~ +synaptics.c: In function 'tp_ps2_getbyte': mice.c:1689:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1689 | write(fd, ":" ,1); | ^~~~~~~~~~~~~~~~~ mice.c:1690:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1690 | write(fd, "E" ,1); /* setup tablet. relative mode, resolution... */ | ^~~~~~~~~~~~~~~~~ +synaptics.c:2512:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 2512 | read(fd, &b, 1); + | ^~~~~~~~~~~~~~~ mice.c:1691:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1691 | write(fd, "@" ,1); /* setup tablet. relative mode, resolution... */ | ^~~~~~~~~~~~~~~~~ mice.c:1707:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1707 | write(fd, "R", 1); /* initialize a mouse; without getting an "R" */ | ^~~~~~~~~~~~~~~~~ +synaptics.c: In function 'tp_serial_send_cmd': +synaptics.c:2320:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 2320 | write (fd, cmd, strlen (cmd)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +synaptics.c: In function 'tp_serial_flush_input': +synaptics.c:2274:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 2274 | read (fd, &junk, 1); + | ^~~~~~~~~~~~~~~~~~~ +synaptics.c: In function 'tp_ps2_disable_data': mice.c: In function 'I_wacom': +synaptics.c:2799:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 2799 | write(fd,&cmd,1); + | ^~~~~~~~~~~~~~~~ mice.c:1842:10: warning: 'p' is used uninitialized in this function [-Wuninitialized] 1842 | while(I_wacom_RequestData(NULL, fd, buffer, BUFFER_SIZE, p)) ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +synaptics.c:2804:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 2804 | read (fd, &status, 1); + | ^~~~~~~~~~~~~~~~~~~~~ +synaptics.c: In function 'syn_ps2_send_reset': +synaptics.c:2851:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 2851 | write(fd,&reset_cmd,1); + | ^~~~~~~~~~~~~~~~~~~~~~ +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/getmousedata.o daemon/getmousedata.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/gpm.o daemon/gpm.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/gpm-killed.o daemon/gpm-killed.c +daemon/getmousedata.c: In function 'getMouseData': +daemon/getmousedata.c:39:16: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] + 39 | char *edata=data+type->packetlen; + | ^~~~ +daemon/getmousedata.c:58:17: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] + 58 | return data; + | ^~~~ +daemon/getmousedata.c:90:11: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] + 90 | return data; + | ^~~~ +daemon/getmousedata.c:52:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 52 | write(fifofd, data, howmany); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +daemon/getmousedata.c:76:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 76 | write(fifofd, edata-i, j); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/header.o daemon/header.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/main.o daemon/main.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/old_main.o daemon/old_main.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/open_console.o daemon/open_console.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/check_kill.o daemon/check_kill.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/gpm_exited.o daemon/gpm_exited.c +daemon/open_console.c: In function 'open_console': +daemon/open_console.c:53:21: warning: 'si.line' may be used uninitialized in this function [-Wmaybe-uninitialized] + 53 | if (si.line > 0) { + | ~~^~~~~ +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o generic/isodigit.o generic/isodigit.c +daemon/old_main.c: In function 'old_main': +daemon/old_main.c:208:16: warning: value computed is not used [-Wunused-value] + 208 | || do_selection(&event); + | ^~ +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o generic/getsym.o generic/getsym.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/processspecial.o daemon/processspecial.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/processconn.o daemon/processconn.c +daemon/processconn.c:23: warning: "_GNU_SOURCE" redefined + 23 | #define _GNU_SOURCE /* needed for struct ucred */ + | +: note: this is the location of the previous definition +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/processmouse.o daemon/processmouse.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/processrequest.o daemon/processrequest.c +daemon/processspecial.c: In function 'processSpecial': +daemon/processspecial.c:158:7: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] + 158 | dup(1); /* stderr */ + | ^~~~~~ In file included from /usr/include/string.h:495, from /usr/include/i386-linux-gnu/sys/un.h:37, from daemon/processconn.c:27: @@ -1143,6 +1169,48 @@ daemon/processconn.c:118:40: note: length computed here 118 | strncpy(tty, option.consolename, strlen(option.consolename) - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +daemon/processrequest.c: In function 'processRequest': +daemon/processrequest.c:102:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 102 | write(ci->fd,&event,sizeof(Gpm_Event)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +daemon/processmouse.c: In function 'processMouse': +daemon/processmouse.c:83:57: warning: pointer targets in passing argument 2 of 'which_mouse->m_type->fun' differ in signedness [-Wpointer-sign] + 83 | || ((*((which_mouse->m_type)->fun))(&nEvent,data)==-1) ) { + | ^~~~ + | | + | char * +daemon/processmouse.c:83:57: note: expected 'unsigned char *' but argument is of type 'char *' +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/selection_copy.o daemon/selection_copy.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/selection_paste.o daemon/selection_paste.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/cmdline.o daemon/cmdline.c +daemon/cmdline.c: In function 'cmdline': +daemon/cmdline.c:46:20: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 46 | if (optarg) + | ^~ +daemon/cmdline.c:47:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 47 | opt_age_limit = atoi(optarg); break; + | ^~~~~ +daemon/cmdline.c:75:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] + 75 | else (which_mouse->opt_scale)=100/(which_mouse->opt_scale); break; + | ^~~~ +daemon/cmdline.c:75:88: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' + 75 | else (which_mouse->opt_scale)=100/(which_mouse->opt_scale); break; + | ^~~~~ +daemon/cmdline.c:79:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] + 79 | else option.repeater_type = "msc"; break; + | ^~~~ +daemon/cmdline.c:79:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' + 79 | else option.repeater_type = "msc"; break; + | ^~~~~ +daemon/cmdline.c:82:20: warning: this 'else' clause does not guard... [-Wmisleading-indentation] + 82 | else opt_special=""; break; + | ^~~~ +daemon/cmdline.c:82:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' + 82 | else opt_special=""; break; + | ^~~~~ +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/loadlut.o daemon/loadlut.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/find_mouse_by_name.o daemon/find_mouse_by_name.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/usage.o daemon/usage.c daemon/loadlut.c: In function 'loadlut': daemon/loadlut.c:53:26: warning: pointer targets in passing argument 1 of 'getsym' differ in signedness [-Wpointer-sign] 53 | i += getsym(charset+i, &this); @@ -1162,15 +1230,15 @@ /build/gpm-1.20.7/src/headers/daemon.h:197:35: note: expected 'const unsigned char *' but argument is of type 'char *' 197 | int getsym(const unsigned char *p0, unsigned char *res); | ~~~~~~~~~~~~~~~~~~~~~^~ +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/check_uniqueness.o daemon/check_uniqueness.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/startup.o daemon/startup.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o daemon/wait_text.o daemon/wait_text.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o report.o report.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o tools.o tools.c daemon/check_uniqueness.c: In function 'check_uniqueness': daemon/check_uniqueness.c:38:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 38 | fscanf(fp, "%d", &old_pid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o report.o report.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o tools.o tools.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -DPIC -fPIC -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lib/liblow.lo lib/liblow.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -DPIC -fPIC -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lib/libhigh.lo lib/libhigh.c daemon/startup.c: In function 'startup': daemon/startup.c:104:15: warning: implicit declaration of function 'M_listMice' [-Wimplicit-function-declaration] 104 | exit(M_listMice()); @@ -1178,12 +1246,9 @@ daemon/startup.c:38:14: warning: unused variable 'opt' [-Wunused-variable] 38 | int i, j, opt; | ^~~ +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -DPIC -fPIC -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lib/liblow.lo lib/liblow.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -DPIC -fPIC -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lib/libhigh.lo lib/libhigh.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -DPIC -fPIC -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lib/libxtra.lo lib/libxtra.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -DPIC -fPIC -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lib/report-lib.lo lib/report-lib.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -DPIC -fPIC -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o tools.lo tools.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -DPIC -fPIC -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lib/libcurses.lo lib/libcurses.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lib/liblow.o lib/liblow.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lib/libhigh.o lib/libhigh.c lib/libxtra.c: In function 'Gpm_GetServerVersion': lib/libxtra.c:64:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 64 | fgets(line, 128, f); @@ -1192,6 +1257,11 @@ lib/libxtra.c:126:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 126 | write(gpm_fd, &conn, sizeof(Gpm_Connect)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -DPIC -fPIC -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lib/report-lib.lo lib/report-lib.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -DPIC -fPIC -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o tools.lo tools.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -DPIC -fPIC -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lib/libcurses.lo lib/libcurses.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lib/liblow.o lib/liblow.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lib/libhigh.o lib/libhigh.c lib/libcurses.c: In function 'Gpm_Wgetch': lib/libcurses.c:154:25: warning: pointer targets in passing argument 1 of 'gpm_convert_event' differ in signedness [-Wpointer-sign] 154 | gpm_convert_event(mdata,&ev); @@ -1204,10 +1274,6 @@ gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lib/libxtra.o lib/libxtra.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lib/report-lib.o lib/report-lib.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lib/libcurses.o lib/libcurses.c -gcc -Iheaders -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o prog/mev.o prog/mev.c -gcc -Iheaders -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o prog/hltest.o prog/hltest.c -gcc -Iheaders -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o prog/mouse-test.o prog/mouse-test.c -gcc -Iheaders -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o prog/open_console.o prog/open_console.c lib/libxtra.c: In function 'Gpm_GetServerVersion': lib/libxtra.c:64:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 64 | fgets(line, 128, f); @@ -1216,7 +1282,6 @@ lib/libxtra.c:126:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 126 | write(gpm_fd, &conn, sizeof(Gpm_Connect)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -Iheaders -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o prog/disable-paste.o prog/disable-paste.c lib/libcurses.c: In function 'Gpm_Wgetch': lib/libcurses.c:154:25: warning: pointer targets in passing argument 1 of 'gpm_convert_event' differ in signedness [-Wpointer-sign] 154 | gpm_convert_event(mdata,&ev); @@ -1226,9 +1291,11 @@ lib/libcurses.c:104:40: note: expected 'char *' but argument is of type 'unsigned char *' 104 | extern int gpm_convert_event(char *data, Gpm_Event *event); | ~~~~~~^~~~ -gcc -Iheaders -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o prog/display-buttons.o prog/display-buttons.c -gcc -Iheaders -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o prog/display-coords.o prog/display-coords.c -gcc -Iheaders -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o prog/get-versions.o prog/get-versions.c +gcc -Iheaders -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o prog/mev.o prog/mev.c +gcc -Iheaders -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o prog/hltest.o prog/hltest.c +gcc -Iheaders -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o prog/mouse-test.o prog/mouse-test.c +gcc -Iheaders -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o prog/open_console.o prog/open_console.c +gcc -Iheaders -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o prog/disable-paste.o prog/disable-paste.c prog/mouse-test.c: In function 'main': prog/mouse-test.c:536:45: warning: pointer targets in passing argument 2 of 'cur->this->fun' differ in signedness [-Wpointer-sign] 536 | if ((*(cur->this->fun))(&event,buf+i)==-1) { @@ -1254,13 +1321,6 @@ prog/mouse-test.c:622:4: note: in expansion of macro 'CHECKFAIL' 622 | CHECKFAIL(typecount); | ^~~~~~~~~ -prog/display-buttons.c: In function 'display_data': -prog/display-buttons.c:52:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'time_t' {aka 'long int'} [-Wformat=] - 52 | printf("[%d] delta: %ds",now,delta); - | ~^ ~~~ - | | | - | int time_t {aka long int} - | %ld prog/mouse-test.c:652:50: warning: pointer targets in passing argument 2 of 'cur->this->fun' differ in signedness [-Wpointer-sign] 652 | if ((*(cur->this->fun))(&event,buf+i)==-1) continue; | ~~~^~ @@ -1277,13 +1337,7 @@ prog/mouse-test.c:269:15: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 269 | else read(fd,buff,buflen); | ^~~~~~~~~~~~~~~~~~~~ -prog/display-coords.c: In function 'display_data': -prog/display-coords.c:53:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'time_t' {aka 'long int'} [-Wformat=] - 53 | printf("[%d] delta: %ds",now,delta); - | ~^ ~~~ - | | | - | int time_t {aka long int} - | %ld +gcc -Iheaders -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o prog/display-buttons.o prog/display-buttons.c prog/mouse-test.c: In function 'main': prog/mouse-test.c:402:11: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 402 | read(cur->fd,buf,80); /* flush */ @@ -1291,12 +1345,27 @@ prog/mouse-test.c:472:4: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 472 | read(mousefd,buf,BUFLEN); /* flush */ | ^~~~~~~~~~~~~~~~~~~~~~~~ +gcc -Iheaders -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o prog/display-coords.o prog/display-coords.c +prog/display-buttons.c: In function 'display_data': +prog/display-buttons.c:52:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'time_t' {aka 'long int'} [-Wformat=] + 52 | printf("[%d] delta: %ds",now,delta); + | ~^ ~~~ + | | | + | int time_t {aka long int} + | %ld +gcc -Iheaders -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/build/gpm-1.20.7=. -fstack-protector-strong -Wformat -Werror=format-security -c -o prog/get-versions.o prog/get-versions.c +prog/display-coords.c: In function 'display_data': +prog/display-coords.c:53:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'time_t' {aka 'long int'} [-Wformat=] + 53 | printf("[%d] delta: %ds",now,delta); + | ~^ ~~~ + | | | + | int time_t {aka long int} + | %ld gcc -fPIC -shared -Wl,-soname,libgpm.so.2 \ -Wl,-z,relro -Wl,-z,now -L/build/gpm-1.20.7/src -Wl,-z,relro -Wl,-z,now -o lib/libgpm.so.2.1.0 lib/liblow.lo lib/libhigh.lo lib/libxtra.lo lib/report-lib.lo tools.lo lib/libcurses.lo ar rc lib/libgpm.a lib/liblow.o lib/libhigh.o lib/libxtra.o lib/report-lib.o tools.o lib/libcurses.o ranlib lib/libgpm.a ln -s -f libgpm.so.2.1.0 lib/libgpm.so.2 -gcc -Wl,-z,relro -Wl,-z,now -L/build/gpm-1.20.7/src -Wl,-z,relro -Wl,-z,now -o prog/hltest prog/hltest.o lib/libgpm.so.2 gcc -Wl,-z,relro -Wl,-z,now -L/build/gpm-1.20.7/src -Wl,-z,relro -Wl,-z,now -o prog/disable-paste prog/disable-paste.o lib/libgpm.so.2 gcc -Wl,-z,relro -Wl,-z,now -L/build/gpm-1.20.7/src -Wl,-z,relro -Wl,-z,now -o prog/display-buttons prog/display-buttons.o lib/libgpm.so.2 gcc -Wl,-z,relro -Wl,-z,now -L/build/gpm-1.20.7/src -Wl,-z,relro -Wl,-z,now -o prog/display-coords prog/display-coords.o lib/libgpm.so.2 @@ -1352,6 +1421,7 @@ /build/gpm-1.20.7/src/prog/gpm-root.y:1230:4: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1230 | chdir("/"); | ^~~~~~~~~~ +gcc -Wl,-z,relro -Wl,-z,now -L/build/gpm-1.20.7/src -Wl,-z,relro -Wl,-z,now -o prog/hltest prog/hltest.o lib/libgpm.so.2 gcc -Wl,-z,relro -Wl,-z,now -L/build/gpm-1.20.7/src -Wl,-z,relro -Wl,-z,now -o gpm mice.o twiddler.o synaptics.o daemon/add_mouse.o daemon/init_mice.o daemon/reset_mice.o daemon/build_argv.o daemon/disable_paste.o daemon/do_client.o daemon/do_selection.o daemon/get_console_size.o daemon/get_data.o daemon/getmousedata.o daemon/gpm.o daemon/gpm-killed.o daemon/header.o daemon/main.o daemon/old_main.o daemon/open_console.o daemon/check_kill.o daemon/gpm_exited.o generic/isodigit.o generic/getsym.o daemon/processspecial.o daemon/processconn.o daemon/processmouse.o daemon/processrequest.o daemon/selection_copy.o daemon/selection_paste.o daemon/cmdline.o daemon/loadlut.o daemon/find_mouse_by_name.o daemon/usage.o daemon/check_uniqueness.o daemon/startup.o daemon/wait_text.o report.o tools.o -lm gcc -Wl,-z,relro -Wl,-z,now -L/build/gpm-1.20.7/src -Wl,-z,relro -Wl,-z,now -o prog/mouse-test prog/mouse-test.o mice.o twiddler.o synaptics.o prog/open_console.o lib/libgpm.so.2 -lm gcc -Wl,-z,relro -Wl,-z,now -L/build/gpm-1.20.7/src -Wl,-z,relro -Wl,-z,now -o prog/gpm-root prog/gpm-root.o lib/libgpm.so.2 @@ -1359,7 +1429,7 @@ make[3]: Leaving directory '/build/gpm-1.20.7/src' make[3]: Entering directory '/build/gpm-1.20.7/doc' awk -f /build/gpm-1.20.7/doc/manpager doc.gpm -/bin/sed -f /build/gpm-1.20.7/doc/infofilter /build/gpm-1.20.7/doc/doc.gpm > /build/gpm-1.20.7/doc/gpm.texinfo +/usr/bin/sed -f /build/gpm-1.20.7/doc/infofilter /build/gpm-1.20.7/doc/doc.gpm > /build/gpm-1.20.7/doc/gpm.texinfo for i in gpm-root.1 gpm-types.7 gpm.8 mev.1 gpm-mouse-test.8; do \ expand $i | sed s/^'[ ]*'//g > $i.new; \ mv $i.new $i; \ @@ -1379,7 +1449,7 @@ make[2]: Leaving directory '/build/gpm-1.20.7' make[1]: Leaving directory '/build/gpm-1.20.7' dh_auto_test - make -j16 check VERBOSE=1 + make -j7 check VERBOSE=1 make[1]: Entering directory '/build/gpm-1.20.7' make -C src dep make[2]: Entering directory '/build/gpm-1.20.7/src' @@ -1388,7 +1458,7 @@ # create dependencies for DEPS in `echo *.c */*.c`; do \ gcc -I. -I /build/gpm-1.20.7/src -M -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/gpm-1.20.7/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 $DEPS | \ -/bin/sed 's/^\(.*\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> .depend ; done +/usr/bin/sed 's/^\(.*\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> .depend ; done prog/display-buttons.c:39:10: fatal error: gpm.h: No such file or directory 39 | #include /* gpm information */ | ^~~~~~~ @@ -1453,23 +1523,25 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'gpm' in '../gpm_1.20.7-8_i386.deb'. dpkg-deb: building package 'gpm-dbgsym' in '../gpm-dbgsym_1.20.7-8_i386.deb'. +dpkg-deb: building package 'libgpm-dev' in '../libgpm-dev_1.20.7-8_i386.deb'. dpkg-deb: building package 'libgpm2' in '../libgpm2_1.20.7-8_i386.deb'. dpkg-deb: building package 'libgpm2-dbgsym' in '../libgpm2-dbgsym_1.20.7-8_i386.deb'. -dpkg-deb: building package 'libgpm-dev' in '../libgpm-dev_1.20.7-8_i386.deb'. +dpkg-deb: building package 'gpm' in '../gpm_1.20.7-8_i386.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../gpm_1.20.7-8_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/9417/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/9417/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/60996 and its subdirectories -I: Current time: Tue Aug 30 23:52:45 -12 2022 -I: pbuilder-time-stamp: 1661946765 +I: removing directory /srv/workspace/pbuilder/9417 and its subdirectories +I: Current time: Thu Jul 29 19:35:08 +14 2021 +I: pbuilder-time-stamp: 1627536908