Diff of the two buildlogs: -- --- b1/build.log 2024-05-12 13:36:07.167594491 +0000 +++ b2/build.log 2024-05-12 13:38:23.721781168 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Jun 14 07:57:42 -12 2025 -I: pbuilder-time-stamp: 1749931062 +I: Current time: Mon May 13 03:36:09 +14 2024 +I: pbuilder-time-stamp: 1715520969 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -48,52 +48,84 @@ dpkg-source: info: applying 097-implicit I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/365022/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1493419/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 12 13:36 /bin/sh -> /bin/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/1493419/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1493419/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='72d3949d6f04444dbcce97471ef480e8' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='365022' - PS1='# ' - PS2='> ' + INVOCATION_ID=edbf99a6f75442f980fddbf1ca498b59 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1493419 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.dzoUweKy/pbuilderrc_eSG3 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.dzoUweKy/b1 --logfile b1/build.log gpm_1.20.7-11.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.dzoUweKy/pbuilderrc_eEOe --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.dzoUweKy/b2 --logfile b2/build.log gpm_1.20.7-11.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos5-amd64 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 13 17:46 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/365022/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 11 11:25 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1493419/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -176,7 +208,7 @@ Get: 39 http://deb.debian.org/debian trixie/main amd64 tex-common all 6.18 [32.5 kB] Get: 40 http://deb.debian.org/debian trixie/main amd64 texinfo-lib amd64 7.1-3+b1 [224 kB] Get: 41 http://deb.debian.org/debian trixie/main amd64 texinfo all 7.1-3 [1748 kB] -Fetched 22.8 MB in 7s (3329 kB/s) +Fetched 22.8 MB in 5s (4624 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 19700 files and directories currently installed.) @@ -366,7 +398,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/gpm-1.20.7/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../gpm_1.20.7-11_source.changes +I: user script /srv/workspace/pbuilder/1493419/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1493419/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/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 && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../gpm_1.20.7-11_source.changes dpkg-buildpackage: info: source package gpm dpkg-buildpackage: info: source version 1.20.7-11 dpkg-buildpackage: info: source distribution unstable @@ -379,7 +415,7 @@ make[1]: Entering directory '/build/reproducible-path/gpm-1.20.7' # for gpm_has_mouse_control if [ -d contrib/control ]; then dh_auto_clean -Dcontrib/control; fi - cd contrib/control && make -j42 clean + cd contrib/control && make -j20 clean make[2]: Entering directory '/build/reproducible-path/gpm-1.20.7/contrib/control' rm -f gpm_has_mouse_control make[2]: Leaving directory '/build/reproducible-path/gpm-1.20.7/contrib/control' @@ -583,12 +619,12 @@ make[1]: Entering directory '/build/reproducible-path/gpm-1.20.7' # for gpm_has_mouse_control dh_auto_build -Dcontrib/control - cd contrib/control && make -j42 "INSTALL=install --strip-program=true" + cd contrib/control && make -j20 "INSTALL=install --strip-program=true" make[2]: Entering directory '/build/reproducible-path/gpm-1.20.7/contrib/control' gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/gpm-1.20.7/contrib/control' dh_auto_build - make -j42 + make -j20 make[2]: Entering directory '/build/reproducible-path/gpm-1.20.7' touch src/.depend # to prevent unecessary warnings make -C src dep @@ -652,41 +688,10 @@ gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o daemon/old_main.o daemon/old_main.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o daemon/open_console.o daemon/open_console.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o daemon/check_kill.o daemon/check_kill.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o daemon/gpm_exited.o daemon/gpm_exited.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o generic/isodigit.o generic/isodigit.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o generic/getsym.o generic/getsym.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o daemon/processspecial.o daemon/processspecial.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o daemon/processconn.o daemon/processconn.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o daemon/processmouse.o daemon/processmouse.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o daemon/processrequest.o daemon/processrequest.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o daemon/selection_copy.o daemon/selection_copy.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o daemon/selection_paste.o daemon/selection_paste.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o daemon/cmdline.o daemon/cmdline.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o daemon/loadlut.o daemon/loadlut.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o daemon/find_mouse_by_name.o daemon/find_mouse_by_name.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o daemon/usage.o daemon/usage.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o daemon/check_uniqueness.o daemon/check_uniqueness.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o daemon/startup.o daemon/startup.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o daemon/wait_text.o daemon/wait_text.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o report.o report.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tools.o tools.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o lib/liblow.lo lib/liblow.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o lib/libhigh.lo lib/libhigh.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o lib/libxtra.lo lib/libxtra.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o lib/report-lib.lo lib/report-lib.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/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tools.lo tools.c 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/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o lib/libcurses.lo lib/libcurses.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o lib/liblow.o lib/liblow.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o lib/libhigh.o lib/libhigh.c -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o lib/libxtra.o lib/libxtra.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; @@ -697,61 +702,12 @@ 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/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 *' 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -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; - | ^~~~~ -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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o lib/report-lib.o lib/report-lib.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; - | ^~~ -twiddler.c: In function 'twiddler_rest_to_value': -twiddler.c:432:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 432 | return (char *)twiddler_escape_sequence(ptr+1, &len /* unused */); - | ^ 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}, @@ -760,18 +716,11 @@ mice.c:190:37: warning: pointer targets in initialization of 'int *' from 'unsigned int *' differ in signedness [-Wpointer-sign] 190 | {"rts", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_RTS}, | ^ -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o lib/libcurses.o lib/libcurses.c mice.c:190:37: note: (near initialization for 'optioninfo[1].u.iptr') mice.c:191:37: warning: pointer targets in initialization of 'int *' from 'unsigned int *' differ in signedness [-Wpointer-sign] 191 | {"both", ARGV_BOOL, u: {iptr: &lines}, value: TIOCM_DTR | TIOCM_RTS}, | ^ mice.c:191:37: note: (near initialization for 'optioninfo[2].u.iptr') -gcc -Iheaders -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o prog/mev.o prog/mev.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); - | ^~~~~~ -gcc -Iheaders -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o prog/hltest.o prog/hltest.c mice.c: In function 'M_summa': mice.c:347:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 347 | if (y<0) y=0; if (y>summamaxy) y=summamaxy; @@ -779,81 +728,23 @@ 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 -Iheaders -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o prog/mouse-test.o prog/mouse-test.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); - | ~~~~~~~^~ - | | - | char * -daemon/old_main.c: In function 'old_main': -daemon/open_console.c: In function 'open_console': -daemon/old_main.c:208:16: warning: value computed is not used [-Wunused-value] - 208 | || do_selection(&event); - | ^~ -In file included from daemon/loadlut.c:30: -/build/reproducible-path/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); - | ~~~~~~~~~~~~~~~~~~~~~^~ -daemon/open_console.c:53:21: warning: 'si.line' may be used uninitialized [-Wmaybe-uninitialized] - 53 | if (si.line > 0) { - | ~~^~~~~ -daemon/loadlut.c:55:31: warning: pointer targets in passing argument 1 of 'getsym' differ in signedness [-Wpointer-sign] - 55 | i += getsym(charset+i+1, &next) + 1; - | ~~~~~~~~~^~ - | | - | char * -/build/reproducible-path/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); - | ~~~~~~~~~~~~~~~~~~~~~^~ -daemon/open_console.c:44:25: note: 'si' declared here - 44 | struct serial_struct si; - | ^~ -gcc -Iheaders -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o prog/open_console.o prog/open_console.c -lib/report-lib.c: In function 'gpm_report': -lib/report-lib.c:50:23: warning: '%s' directive argument is null [-Wformat-overflow=] - 50 | syslog(log_level, "%s", string); - | ^~ mice.c: In function 'R_msc': -In file included from /usr/include/x86_64-linux-gnu/sys/syslog.h:207, - from /usr/include/syslog.h:1, - from /build/reproducible-path/gpm-1.20.7/src/headers/message.h:235, - from lib/report-lib.c:25: -In function 'syslog', - inlined from 'gpm_report' at lib/report-lib.c:50:4: -/usr/include/x86_64-linux-gnu/bits/syslog.h:37:3: warning: 'log_level' may be used uninitialized [-Wmaybe-uninitialized] - 37 | __syslog_chk (__pri, __USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -lib/report-lib.c: In function 'gpm_report': -lib/report-lib.c:30:8: note: 'log_level' was declared here - 30 | int log_level; - | ^~~~~~~~~ mice.c:539:12: warning: variable 'dy' set but not used [-Wunused-but-set-variable] 539 | int dx, dy; | ^~ -gcc -Iheaders -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o prog/disable-paste.o prog/disable-paste.c mice.c:539:8: warning: variable 'dx' set but not used [-Wunused-but-set-variable] 539 | int dx, dy; | ^~ -gcc -Iheaders -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o prog/display-buttons.o prog/display-buttons.c 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; | ^~ -daemon/startup.c: In function 'startup': -daemon/startup.c:38:14: warning: unused variable 'opt' [-Wunused-variable] - 38 | int i, j, opt; - | ^~~ 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; | ^~ -daemon/processspecial.c: In function 'processSpecial': mice.c:897:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 897 | if (y>wmaxy) y=wmaxy; if (y<0) y=0; | ^~ -daemon/processspecial.c:158:7: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] - 158 | dup(1); /* stderr */ - | ^~~~~~ mice.c:897:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 897 | if (y>wmaxy) y=wmaxy; if (y<0) y=0; | ^~ @@ -863,14 +754,12 @@ 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 -Iheaders -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o prog/display-coords.o prog/display-coords.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) { | ~~~~^~ | | | unsigned char * -gcc -Iheaders -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o prog/get-versions.o prog/get-versions.c In file included from mice.c:46: /usr/include/stdio.h:428:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 428 | extern int sscanf (const char *__restrict __s, @@ -888,13 +777,6 @@ 1356 | if (y<0) y = 0; if (y > REALPOS_MAX) y = REALPOS_MAX; | ^~ mice.c: In function 'M_etouch': -daemon/processconn.c: In function 'processConn': -daemon/processconn.c:118:7: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] - 118 | strncpy(tty, option.consolename, strlen(option.consolename) - 1); - | ^ -daemon/processconn.c:118:40: note: length computed here - 118 | strncpy(tty, option.consolename, strlen(option.consolename) - 1); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:1451:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1451 | if (x<0) x = 0; if (x > REALPOS_MAX) x = REALPOS_MAX; | ^~ @@ -907,153 +789,53 @@ 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; | ^~ -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); - | ^~~~~~~~~~~~~~~~~~~ -lib/libxtra.c: In function 'Gpm_GetSnapshot': -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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~ - | | - | unsigned char * -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); - | ~~~~~~^~~~ -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); - | ^~~~~ - | | - | unsigned char * -In file included from synaptics.c:213: -/usr/include/stdio.h:428:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' - 428 | extern int sscanf (const char *__restrict __s, - | ~~~~~~~~~~~~~~~~~~~~~~~^~~ -synaptics.c: In function 'tp_serial_send_cmd': -synaptics.c:2320:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 2320 | write (fd, cmd, strlen (cmd)); - | ^~~ - | | - | unsigned char * -In file included from synaptics.c:216: -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -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)); - | ^~~ - | | - | unsigned char * -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -synaptics.c: In function 'syn_serial_set_mode': +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_rest_to_value': +twiddler.c:432:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 432 | return (char *)twiddler_escape_sequence(ptr+1, &len /* unused */); + | ^ +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 'I_wp': -synaptics.c:2334:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 2334 | sprintf (bytes, "%%C3B%02X5555", mode); - | ^~~~~ - | | - | unsigned char * -In file included from /usr/include/features.h:502, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/math.h:27, - from synaptics.c:212: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -lib/report-lib.c: In function 'gpm_report': -lib/report-lib.c:50:23: warning: '%s' directive argument is null [-Wformat-overflow=] - 50 | syslog(log_level, "%s", string); - | ^~ -synaptics.c: In function 'syn_serial_read_ident': -In file included from /usr/include/x86_64-linux-gnu/sys/syslog.h:207, - from /usr/include/syslog.h:1, - from /build/reproducible-path/gpm-1.20.7/src/headers/message.h:235, - from lib/report-lib.c:25: -In function 'syslog', - inlined from 'gpm_report' at lib/report-lib.c:50:4: -/usr/include/x86_64-linux-gnu/bits/syslog.h:37:3: warning: 'log_level' may be used uninitialized [-Wmaybe-uninitialized] - 37 | __syslog_chk (__pri, __USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -lib/report-lib.c: In function 'gpm_report': -lib/report-lib.c:30:8: note: 'log_level' was declared here - 30 | int log_level; - | ^~~~~~~~~ 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:2347:27: warning: pointer targets in passing argument 2 of 'tp_serial_send_cmd' differ in signedness [-Wpointer-sign] - 2347 | tp_serial_send_cmd (fd, "%A"); - | ^~~~ - | | - | char * 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:2315:47: note: expected 'unsigned char *' but argument is of type 'char *' - 2315 | unsigned char *cmd) - | ~~~~~~~~~~~~~~~^~~ -synaptics.c: In function 'syn_serial_read_model_id': 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:2388:29: warning: pointer targets in passing argument 2 of 'tp_serial_send_cmd' differ in signedness [-Wpointer-sign] - 2388 | tp_serial_send_cmd (fd, "%D"); - | ^~~~ - | | - | char * -synaptics.c:2315:47: note: expected 'unsigned char *' but argument is of type 'char *' - 2315 | unsigned char *cmd) - | ~~~~~~~~~~~~~~~^~~ mice.c: In function 'I_wacom': -synaptics.c: In function 'syn_serial_read_cap': -synaptics.c:2416:27: warning: pointer targets in passing argument 2 of 'tp_serial_send_cmd' differ in signedness [-Wpointer-sign] - 2416 | tp_serial_send_cmd (fd, "%B"); - | ^~~~ - | | - | char * mice.c:1871:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1871 | write(fd,UD_SENDCOORDS,4); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -synaptics.c:2315:47: note: expected 'unsigned char *' but argument is of type 'char *' - 2315 | unsigned char *cmd) - | ~~~~~~~~~~~~~~~^~~ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~ - | | - | unsigned char * -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); - | ~~~~~~^~~~ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~ +daemon/open_console.c: In function 'open_console': +daemon/open_console.c:53:21: warning: 'si.line' may be used uninitialized [-Wmaybe-uninitialized] + 53 | if (si.line > 0) { + | ~~^~~~~ +daemon/open_console.c:44:25: note: 'si' declared here + 44 | struct serial_struct si; + | ^~ 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': -lib/libxtra.c: In function 'Gpm_GetSnapshot': -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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~ @@ -1081,78 +863,43 @@ 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_ps2_putbyte': -synaptics.c:2532:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 2532 | write(fd, &b, 1); - | ^~~~~~~~~~~~~~~~ +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); + | ^~ mice.c: In function 'I_logi': -prog/display-buttons.c: In function 'display_data': -prog/display-buttons.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 -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:1740:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1740 | write(fd, "S", 1); | ^~~~~~~~~~~~~~~~~ -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: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:2537:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 2537 | read(fd, &ack, 1); - | ^~~~~~~~~~~~~~~~~ mice.c: In function 'I_gunze': -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: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: 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': mice.c: In function 'read_mouse_id': -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:1916:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1916 | write(fd, &c, 1); | ^~~~~~~~~~~~~~~~ +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o daemon/gpm_exited.o daemon/gpm_exited.c mice.c:1917:4: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1917 | read(fd, &c, 1); | ^~~~~~~~~~~~~~~ mice.c:1921:4: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1921 | read(fd, &id, 1); | ^~~~~~~~~~~~~~~~ +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o generic/isodigit.o generic/isodigit.c mice.c: In function 'I_etouch': -synaptics.c: In function 'tp_ps2_disable_data': mice.c:2337:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2337 | fgets(s, 80, f); /* discard the comment */ | ^~~~~~~~~~~~~~~ -synaptics.c:2799:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 2799 | write(fd,&cmd,1); - | ^~~~~~~~~~~~~~~~ -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': +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o generic/getsym.o generic/getsym.c mice.c: In function 'I_summa': -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: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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o daemon/processspecial.o daemon/processspecial.c 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1162,34 +909,34 @@ mice.c:2187:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2187 | write(fd,GEN_MMSERIES,1); | ^~~~~~~~~~~~~~~~~~~~~~~~ +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o daemon/processconn.o daemon/processconn.c 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 */ | ^~~~~~~~~~~~~~~~~~~~~~~ -prog/display-coords.c: In function 'display_data': -prog/display-coords.c:54:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'time_t' {aka 'long int'} [-Wformat=] - 54 | printf("[%d] delta: %ds",now,delta); - | ~^ ~~~ - | | | - | int time_t {aka long int} - | %ld +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o daemon/processmouse.o daemon/processmouse.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o daemon/processrequest.o daemon/processrequest.c mice.c:2195:16: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2195 | read(fd,&config,1); | ^~~~~~~~~~~~~~~~~~ +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o daemon/selection_copy.o daemon/selection_copy.c mice.c:2205:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2205 | write(fd, SS_BINARY_FMT SS_PROMPT_MODE, 3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:2210:34: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2210 | if (!((err == -1) || (!err))) read(fd,buffer,sizeof(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o daemon/selection_paste.o daemon/selection_paste.c mice.c:2211:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2211 | write(fd,SS_READCONFIG,1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o daemon/cmdline.o daemon/cmdline.c mice.c:2212:4: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2212 | read(fd,&config,5); | ^~~~~~~~~~~~~~~~~~ mice.c:2216:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2216 | write(fd,SS_ABSOLUTE SS_STREAM_MODE SS_UPPER_ORIGIN,3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o daemon/loadlut.o daemon/loadlut.c 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1197,25 +944,95 @@ 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: 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); + | ^~~~~ + | | + | unsigned char * mice.c: In function 'I_serial': +In file included from synaptics.c:213: +/usr/include/stdio.h:428:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' + 428 | extern int sscanf (const char *__restrict __s, + | ~~~~~~~~~~~~~~~~~~~~~~~^~~ 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: In function 'tp_serial_send_cmd': +synaptics.c:2320:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 2320 | write (fd, cmd, strlen (cmd)); + | ^~~ + | | + | unsigned char * mice.c:1681:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1681 | write(fd, "*X", 2); | ^~~~~~~~~~~~~~~~~~ +In file included from synaptics.c:216: +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +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)); + | ^~~ + | | + | unsigned char * +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +synaptics.c: In function 'syn_serial_set_mode': mice.c:1689:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1689 | write(fd, ":" ,1); | ^~~~~~~~~~~~~~~~~ +synaptics.c:2334:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 2334 | sprintf (bytes, "%%C3B%02X5555", mode); + | ^~~~~ + | | + | unsigned char * +In file included from /usr/include/features.h:502, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/math.h:27, + from synaptics.c:212: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +synaptics.c: In function 'syn_serial_read_ident': 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:2347:27: warning: pointer targets in passing argument 2 of 'tp_serial_send_cmd' differ in signedness [-Wpointer-sign] + 2347 | tp_serial_send_cmd (fd, "%A"); + | ^~~~ + | | + | char * +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o daemon/find_mouse_by_name.o daemon/find_mouse_by_name.c 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... */ | ^~~~~~~~~~~~~~~~~ +synaptics.c:2315:47: note: expected 'unsigned char *' but argument is of type 'char *' + 2315 | unsigned char *cmd) + | ~~~~~~~~~~~~~~~^~~ +synaptics.c: In function 'syn_serial_read_model_id': 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:2388:29: warning: pointer targets in passing argument 2 of 'tp_serial_send_cmd' differ in signedness [-Wpointer-sign] + 2388 | tp_serial_send_cmd (fd, "%D"); + | ^~~~ + | | + | char * +synaptics.c:2315:47: note: expected 'unsigned char *' but argument is of type 'char *' + 2315 | unsigned char *cmd) + | ~~~~~~~~~~~~~~~^~~ +synaptics.c: In function 'syn_serial_read_cap': +synaptics.c:2416:27: warning: pointer targets in passing argument 2 of 'tp_serial_send_cmd' differ in signedness [-Wpointer-sign] + 2416 | tp_serial_send_cmd (fd, "%B"); + | ^~~~ + | | + | char * +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o daemon/usage.o daemon/usage.c +synaptics.c:2315:47: note: expected 'unsigned char *' but argument is of type 'char *' + 2315 | unsigned char *cmd) + | ~~~~~~~~~~~~~~~^~~ mice.c: In function 'I_summa_reset_summa': mice.c:2132:4: warning: argument 2 is null but the corresponding size argument 3 value is 1 [-Wnonnull] 2132 | write(fd,0,1); /* Reset */ @@ -1225,12 +1042,231 @@ 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^~~~~ mice.c: In function 'I_wacom': +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o daemon/check_uniqueness.o daemon/check_uniqueness.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o daemon/startup.o daemon/startup.c mice.c:1842:10: warning: 'p' is used uninitialized [-Wuninitialized] 1842 | while(I_wacom_RequestData(NULL, fd, buffer, BUFFER_SIZE, p)) ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mice.c:1819:31: note: 'p' was declared here 1819 | char buffer[BUFFER_SIZE], *p; | ^ +synaptics.c: In function 'tp_ps2_putbyte': +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); + | ^~~~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~ +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': +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 +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': +synaptics.c:2799:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 2799 | write(fd,&cmd,1); + | ^~~~~~~~~~~~~~~~ +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/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o daemon/wait_text.o daemon/wait_text.c +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/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o report.o report.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tools.o tools.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/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o lib/liblow.lo lib/liblow.c +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/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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +daemon/startup.c: In function 'startup': +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/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o lib/libhigh.lo lib/libhigh.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); + | ~~~~~~~^~ + | | + | char * +In file included from daemon/loadlut.c:30: +/build/reproducible-path/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); + | ~~~~~~~~~~~~~~~~~~~~~^~ +daemon/loadlut.c:55:31: warning: pointer targets in passing argument 1 of 'getsym' differ in signedness [-Wpointer-sign] + 55 | i += getsym(charset+i+1, &next) + 1; + | ~~~~~~~~~^~ + | | + | char * +/build/reproducible-path/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); + | ~~~~~~~~~~~~~~~~~~~~~^~ +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 */ + | ^~~~~~ +daemon/processconn.c: In function 'processConn': +daemon/processconn.c:118:7: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] + 118 | strncpy(tty, option.consolename, strlen(option.consolename) - 1); + | ^ +daemon/processconn.c:118:40: note: length computed here + 118 | strncpy(tty, option.consolename, strlen(option.consolename) - 1); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o lib/libxtra.lo lib/libxtra.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o lib/report-lib.lo lib/report-lib.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tools.lo tools.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o lib/libcurses.lo lib/libcurses.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o lib/liblow.o lib/liblow.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o lib/libhigh.o lib/libhigh.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o lib/libxtra.o lib/libxtra.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o lib/report-lib.o lib/report-lib.c +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o lib/libcurses.o lib/libcurses.c +gcc -Iheaders -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o prog/mev.o prog/mev.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); + | ^~~~~ + | | + | unsigned char * +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/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o prog/hltest.o prog/hltest.c +gcc -Iheaders -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o prog/mouse-test.o prog/mouse-test.c +lib/report-lib.c: In function 'gpm_report': +lib/report-lib.c:50:23: warning: '%s' directive argument is null [-Wformat-overflow=] + 50 | syslog(log_level, "%s", string); + | ^~ +In file included from /usr/include/x86_64-linux-gnu/sys/syslog.h:207, + from /usr/include/syslog.h:1, + from /build/reproducible-path/gpm-1.20.7/src/headers/message.h:235, + from lib/report-lib.c:25: +In function 'syslog', + inlined from 'gpm_report' at lib/report-lib.c:50:4: +/usr/include/x86_64-linux-gnu/bits/syslog.h:37:3: warning: 'log_level' may be used uninitialized [-Wmaybe-uninitialized] + 37 | __syslog_chk (__pri, __USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +lib/report-lib.c: In function 'gpm_report': +lib/report-lib.c:30:8: note: 'log_level' was declared here + 30 | int log_level; + | ^~~~~~~~~ +gcc -Iheaders -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o prog/open_console.o prog/open_console.c +gcc -Iheaders -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o prog/disable-paste.o prog/disable-paste.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); + | ^~~~~~~~~~~~~~~~~~~ +lib/libxtra.c: In function 'Gpm_GetSnapshot': +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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~ +lib/libxtra.c: In function 'Gpm_GetSnapshot': +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/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o prog/display-buttons.o prog/display-buttons.c +lib/report-lib.c: In function 'gpm_report': +lib/report-lib.c:50:23: warning: '%s' directive argument is null [-Wformat-overflow=] + 50 | syslog(log_level, "%s", string); + | ^~ +In file included from /usr/include/x86_64-linux-gnu/sys/syslog.h:207, + from /usr/include/syslog.h:1, + from /build/reproducible-path/gpm-1.20.7/src/headers/message.h:235, + from lib/report-lib.c:25: +In function 'syslog', + inlined from 'gpm_report' at lib/report-lib.c:50:4: +/usr/include/x86_64-linux-gnu/bits/syslog.h:37:3: warning: 'log_level' may be used uninitialized [-Wmaybe-uninitialized] + 37 | __syslog_chk (__pri, __USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +lib/report-lib.c: In function 'gpm_report': +lib/report-lib.c:30:8: note: 'log_level' was declared here + 30 | int log_level; + | ^~~~~~~~~ +gcc -Iheaders -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o prog/display-coords.o prog/display-coords.c +gcc -Iheaders -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o prog/get-versions.o prog/get-versions.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); + | ^~~~~ + | | + | unsigned char * +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); + | ~~~~~~^~~~ +prog/display-buttons.c: In function 'display_data': +prog/display-buttons.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 +prog/display-coords.c: In function 'display_data': +prog/display-coords.c:54:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'time_t' {aka 'long int'} [-Wformat=] + 54 | printf("[%d] delta: %ds",now,delta); + | ~^ ~~~ + | | | + | int time_t {aka long int} + | %ld prog/mouse-test.c: In function 'main': prog/mouse-test.c:536:52: 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) { @@ -1281,16 +1317,16 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~ gcc -fPIC -shared -Wl,-soname,libgpm.so.2 \ -Wl,-z,relro -Wl,-z,now -L/build/reproducible-path/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/reproducible-path/gpm-1.20.7/src -Wl,-z,relro -Wl,-z,now -o prog/mev prog/mev.o lib/libgpm.so.2 -gcc -Wl,-z,relro -Wl,-z,now -L/build/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/gpm-1.20.7/src -Wl,-z,relro -Wl,-z,now -o prog/display-coords prog/display-coords.o lib/libgpm.so.2 gcc -Wl,-z,relro -Wl,-z,now -L/build/reproducible-path/gpm-1.20.7/src -Wl,-z,relro -Wl,-z,now -o prog/get-versions prog/get-versions.o lib/libgpm.so.2 gcc -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/reproducible-path/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gpm-1.20.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o prog/gpm-root.o prog/gpm-root.c +ar rc lib/libgpm.a lib/liblow.o lib/libhigh.o lib/libxtra.o lib/report-lib.o tools.o lib/libcurses.o +gcc -Wl,-z,relro -Wl,-z,now -L/build/reproducible-path/gpm-1.20.7/src -Wl,-z,relro -Wl,-z,now -o prog/mev prog/mev.o lib/libgpm.so.2 +ranlib lib/libgpm.a +gcc -Wl,-z,relro -Wl,-z,now -L/build/reproducible-path/gpm-1.20.7/src -Wl,-z,relro -Wl,-z,now -o prog/hltest prog/hltest.o lib/libgpm.so.2 /build/reproducible-path/gpm-1.20.7/src/prog/gpm-root.y: In function 'postmenu': /build/reproducible-path/gpm-1.20.7/src/prog/gpm-root.y:1030:32: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1030 | #define PUTS(s,f,b) for(curr2=s;*curr2;PUTC(*(curr2++),f,b)) @@ -1367,7 +1403,7 @@ make[2]: Leaving directory '/build/reproducible-path/gpm-1.20.7' make[1]: Leaving directory '/build/reproducible-path/gpm-1.20.7' dh_auto_test - make -j42 check "TESTSUITEFLAGS=-j42 --verbose" VERBOSE=1 + make -j20 check "TESTSUITEFLAGS=-j20 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/gpm-1.20.7' make -C src dep make[2]: Entering directory '/build/reproducible-path/gpm-1.20.7/src' @@ -1442,9 +1478,9 @@ dh_md5sums dh_builddeb dpkg-deb: building package 'gpm' in '../gpm_1.20.7-11_amd64.deb'. +dpkg-deb: building package 'libgpm2' in '../libgpm2_1.20.7-11_amd64.deb'. dpkg-deb: building package 'gpm-dbgsym' in '../gpm-dbgsym_1.20.7-11_amd64.deb'. dpkg-deb: building package 'libgpm2-dbgsym' in '../libgpm2-dbgsym_1.20.7-11_amd64.deb'. -dpkg-deb: building package 'libgpm2' in '../libgpm2_1.20.7-11_amd64.deb'. dpkg-deb: building package 'libgpm-dev' in '../libgpm-dev_1.20.7-11_amd64.deb'. dpkg-genbuildinfo --build=binary -O../gpm_1.20.7-11_amd64.buildinfo dpkg-genchanges --build=binary -O../gpm_1.20.7-11_amd64.changes @@ -1453,12 +1489,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1493419/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1493419/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/365022 and its subdirectories -I: Current time: Sat Jun 14 07:59:06 -12 2025 -I: pbuilder-time-stamp: 1749931146 +I: removing directory /srv/workspace/pbuilder/1493419 and its subdirectories +I: Current time: Mon May 13 03:38:23 +14 2024 +I: pbuilder-time-stamp: 1715521103