Diff of the two buildlogs: -- --- b1/build.log 2024-12-11 06:10:47.736126842 +0000 +++ b2/build.log 2024-12-11 06:11:58.988893637 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Dec 10 18:06:23 -12 2024 -I: pbuilder-time-stamp: 1733897183 +I: Current time: Wed Jan 14 02:33:48 +14 2026 +I: pbuilder-time-stamp: 1768307628 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -38,52 +38,84 @@ dpkg-source: info: applying gcc-10 I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/556831/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/180281/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-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 Jan 13 12:34 /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/180281/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/180281/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=20 ' - 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]="37" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.37(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=42 ' + 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='9a299307e9364cafa052e66291320d6a' - 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='556831' - PS1='# ' - PS2='> ' + INVOCATION_ID=5bce17a2c2d54ab2a30c210c4f428ea1 + 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=180281 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.l5SQvYa4/pbuilderrc_X23u --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.l5SQvYa4/b1 --logfile b1/build.log mtink_1.0.16-16.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://46.16.76.132: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.l5SQvYa4/pbuilderrc_D3MK --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.l5SQvYa4/b2 --logfile b2/build.log mtink_1.0.16-16.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos1-amd64 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.11.5+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.11.5-1~bpo12+1 (2024-11-11) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/556831/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/180281/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -243,7 +275,7 @@ Get: 100 http://deb.debian.org/debian trixie/main amd64 opensp amd64 1.5.2-15 [450 kB] Get: 101 http://deb.debian.org/debian trixie/main amd64 po4a all 0.73-2 [2155 kB] Get: 102 http://deb.debian.org/debian trixie/main amd64 xsltproc amd64 1.1.35-1.1+b1 [115 kB] -Fetched 40.9 MB in 2s (17.2 MB/s) +Fetched 40.9 MB in 1s (59.4 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package x11-common. (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 ... 19965 files and directories currently installed.) @@ -674,7 +706,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/mtink-1.0.16/ && 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 > ../mtink_1.0.16-16_source.changes +I: user script /srv/workspace/pbuilder/180281/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/180281/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/mtink-1.0.16/ && 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 > ../mtink_1.0.16-16_source.changes dpkg-buildpackage: info: source package mtink dpkg-buildpackage: info: source version 1.0.16-16 dpkg-buildpackage: info: source distribution unstable @@ -1091,86 +1127,54 @@ Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/perso ttink Note: Writing ttink.1 dh_auto_build - make -j20 "INSTALL=install --strip-program=true" + make -j42 "INSTALL=install --strip-program=true" make[2]: Entering directory '/build/reproducible-path/mtink-1.0.16' Compile mtink.c -gcc -c -o mainSrc/mtink.o mainSrc/mtink.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" -DDEBUG=0 -DPTIME=0 -DWITH_X=1 Compile rw.c +gcc -c -o mainSrc/mtink.o mainSrc/mtink.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" -DDEBUG=0 -DPTIME=0 -DWITH_X=1 gcc -c -o mainSrc/rw.o mainSrc/rw.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DDEBUG=0 -DPTIME=0 Compile d4lib.c -gcc -c -o mainSrc/d4lib.o mainSrc/d4lib.c -DRDTIMEOUT=20000 -DWRTIMEOUT=2000 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DDEBUG=0 -DPTIME=0 Compile cfg1.c +gcc -c -o mainSrc/d4lib.o mainSrc/d4lib.c -DRDTIMEOUT=20000 -DWRTIMEOUT=2000 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DDEBUG=0 -DPTIME=0 gcc -c -o mainSrc/cfg1.o mainSrc/cfg1.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" -DWITH_X=1 Compile rdPrtDesc.c -Compile fsb.c gcc -c -o mainSrc/rdPrtDesc.o mainSrc/rdPrtDesc.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" -DBLD_UTIL=0 -gcc -c -o mainSrc/fsb.o mainSrc/fsb.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" -DWITH_X=1 +Compile fsb.c Compile cfg2.c -Compile alignbt.c +gcc -c -o mainSrc/fsb.o mainSrc/fsb.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" -DWITH_X=1 gcc -c -o mainSrc/cfg2.o mainSrc/cfg2.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" -DWITH_X=1 +Compile alignbt.c gcc -c -o mainSrc/alignbt.o mainSrc/alignbt.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" -DWITH_X=1 Compile scrtxt.c -gcc -c -o mainSrc/scrtxt.o mainSrc/scrtxt.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" -DWITH_X=1 Compile resource.c -gcc -c -o mainSrc/resource.o mainSrc/resource.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" -DDEBUG=0 -DPTIME=0 -DWITH_X=1 -mainSrc/rw.c: In function 'readLine': -mainSrc/rw.c:53:24: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 53 | if ( strncmp(buf, "Recv:",5) == 0 ) - | ^~~ - | | - | unsigned char * -In file included from mainSrc/rw.c:22: -/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' - 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ -mainSrc/rw.c: In function 'devRead': -mainSrc/rw.c:123:25: warning: pointer targets in passing argument 2 of 'readLine' differ in signedness [-Wpointer-sign] - 123 | if ( readLine(fd, buffer, sizeof(buffer)) >= 0 ) - | ^~~~~~ - | | - | char * -mainSrc/rw.c:42:41: note: expected 'unsigned char *' but argument is of type 'char *' - 42 | ssize_t readLine(int fd, unsigned char *buf, size_t sz) - | ~~~~~~~~~~~~~~~^~~ +gcc -c -o mainSrc/scrtxt.o mainSrc/scrtxt.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" -DWITH_X=1 Compile rcfile.c -Compile cmd.c +gcc -c -o mainSrc/resource.o mainSrc/resource.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" -DDEBUG=0 -DPTIME=0 -DWITH_X=1 gcc -c -o mainSrc/rcfile.o mainSrc/rcfile.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" -DWITH_X=1 -gcc -c -o mainSrc/cmd.o mainSrc/cmd.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" -DDEBUG=0 -DPTIME=0 -DRDTIMEOUT=20000 -DWRTIMEOUT=2000 -DWITH_X=1 -DSERVER=0 +Compile cmd.c Compile tooltip.c +gcc -c -o mainSrc/cmd.o mainSrc/cmd.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" -DDEBUG=0 -DPTIME=0 -DRDTIMEOUT=20000 -DWRTIMEOUT=2000 -DWITH_X=1 -DSERVER=0 gcc -c -o mainSrc/tooltip.o mainSrc/tooltip.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" -DDEBUG=0 -DPTIME=0 -DWITH_X=1 Compile wheelmouse.c gcc -c -o mainSrc/wheelmouse.o mainSrc/wheelmouse.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" -DDEBUG=0 -DPTIME=0 -DWITH_X=1 Compile usbHlp.c -gcc -c -o mainSrc/usbHlp.o mainSrc/usbHlp.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" -DDEBUG=0 -DPTIME=0 Compile micon.c +gcc -c -o mainSrc/usbHlp.o mainSrc/usbHlp.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" -DDEBUG=0 -DPTIME=0 Compile checkenv.c gcc -c -o mainSrc/micon.o mainSrc/micon.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" -DWITH_X=1 gcc -c -o mainSrc/checkenv.o mainSrc/checkenv.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" Compile access.c gcc -c -o mainSrc/access.o mainSrc/access.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DDEBUG=0 -DPTIME=0 Compile and link mtinkc.c -gcc -o mtinkc chooser/mtinkc.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" -Wl,-z,relro -Wl,-z,now -g -L/usr/X11R6/lib64 -L/usr/X11R6/lib -L/usr/dt/lib -lXm -lXext -lXt -lX11 -mainSrc/alignbt.c: In function 'createAlignButtons': -mainSrc/alignbt.c:172:74: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 172 | XtAddCallback(align_PB[(i*5)+j], XmNactivateCallback, align_CB, (XtPointer) (i*5)+j); - | ^ -mainSrc/alignbt.c: In function 'align_CB': -mainSrc/alignbt.c:265:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 265 | int where = (int)clientData; - | ^ -mainSrc/alignbt.c: In function 'popupAlignNextWindow': -mainSrc/alignbt.c:355:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 355 | align_CB(NULL,(XtPointer)(data->choices/2), NULL); - | ^ Compile ttink.c -gcc -c -o mainSrc/ttink.o mainSrc/ttink.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" -DDEBUG=0 -DPTIME=0 -DWITH_X=0 -mainSrc/rcfile.c: In function 'saveConfig': -mainSrc/rcfile.c:180:16: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 180 | seteuid(getuid()); - | ^~~~~~~~~~~~~~~~~ +gcc -o mtinkc chooser/mtinkc.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" -Wl,-z,relro -Wl,-z,now -g -L/usr/X11R6/lib64 -L/usr/X11R6/lib -L/usr/dt/lib -lXm -lXext -lXt -lX11 Compile cmd.c as nXcmd.o +gcc -c -o mainSrc/ttink.o mainSrc/ttink.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" -DDEBUG=0 -DPTIME=0 -DWITH_X=0 gcc -c -o mainSrc/nXcmd.o mainSrc/cmd.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" -DDEBUG=0 -DPTIME=0 -DRDTIMEOUT=20000 -DWRTIMEOUT=2000 -DWITH_X=0 -DSERVER=0 Compile rdRes.c +Compile mtinkd.c +gcc -c -o mainSrc/rdRes.o mainSrc/rdRes.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 +gcc -c -o server/mtinkd.o server/mtinkd.c -DSERVER=1 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ @@ -1225,7 +1229,6 @@ mainSrc/rdPrtDesc.c:65:41: note: in expansion of macro 'OFFSET' 65 | { ".alignProt:", A_PROT, OFFSET(align) }, | ^~~~~~ -gcc -c -o mainSrc/rdRes.o mainSrc/rdRes.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ @@ -1268,111 +1271,30 @@ mainSrc/rdPrtDesc.c:72:41: note: in expansion of macro 'OFFSET' 72 | { ".alignFunctionName:", A_FNAME, OFFSET(alignFunction) }, | ^~~~~~ -Compile mtinkd.c -gcc -c -o server/mtinkd.o server/mtinkd.c -DSERVER=1 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" -mainSrc/cfg2.c: In function 'cfg2Device_CB': -mainSrc/cfg2.c:370:15: warning: the address of 'retBuf' will always evaluate as 'true' [-Waddress] - 370 | if ( retBuf && *retBuf ) - | ^~~~~~ -mainSrc/cfg2.c: In function 'selectFile_CB': -mainSrc/cfg2.c:462:11: warning: variable 'fsb' set but not used [-Wunused-but-set-variable] - 462 | Widget fsb = NULL; - | ^~~ -mainSrc/ttink.c: In function 'main': -mainSrc/ttink.c:404:20: warning: variable 'data' set but not used [-Wunused-but-set-variable] - 404 | wConfig_data_t data; - | ^~~~ Compile cmd.c -mainSrc/cmd.c: In function 'callPrg': gcc -c -o server/cmd.o mainSrc/cmd.c -DSERVER=1 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" -mainSrc/cmd.c:494:11: warning: variable 'answered' set but not used [-Wunused-but-set-variable] - 494 | int answered; - | ^~~~~~~~ -mainSrc/ttink.c: In function 'alignHeads': -mainSrc/ttink.c:1201:10: warning: variable 'prot' set but not used [-Wunused-but-set-variable] - 1201 | int prot; - | ^~~~ -mainSrc/cmd.c: In function 'd4Reset': -mainSrc/cmd.c:2468:8: warning: variable 'dataChannelOpen' set but not used [-Wunused-but-set-variable] - 2468 | int dataChannelOpen = 0; - | ^~~~~~~~~~~~~~~ Compile d4lib.c gcc -c -o server/d4lib.o mainSrc/d4lib.c -DRDTIMEOUT=20000 -DWRTIMEOUT=2000 -DDEBUG=0 -DPTIME=0 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" -mainSrc/mtink.c: In function 'main': -mainSrc/mtink.c:1208:18: warning: variable 'prot' set but not used [-Wunused-but-set-variable] - 1208 | int prot = 0; - | ^~~~ -mainSrc/mtink.c: In function 'decodeStatus': -mainSrc/mtink.c:2568:18: warning: variable 's' set but not used [-Wunused-but-set-variable] - 2568 | char *s; - | ^ -mainSrc/mtink.c: In function 'deleteWindow_CB': -mainSrc/mtink.c:477:14: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 477 | seteuid(getuid()); - | ^~~~~~~~~~~~~~~~~ -mainSrc/mtink.c: In function 'help_CB': -mainSrc/mtink.c:2992:5: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] - 2992 | getcwd(localDir, sizeof(localDir)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mainSrc/mtink.c: In function 'callBrowser': -mainSrc/mtink.c:2944:10: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 2944 | seteuid(getuid()); - | ^~~~~~~~~~~~~~~~~ -mainSrc/mtink.c:2945:10: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] - 2945 | system(command); - | ^~~~~~~~~~~~~~~ -chooser/mtinkc.c: In function 'callCommand': -chooser/mtinkc.c:289:4: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] - 289 | system(command); - | ^~~~~~~~~~~~~~~ -mainSrc/cmd.c: In function 'callPrg': -mainSrc/cmd.c:494:11: warning: variable 'answered' set but not used [-Wunused-but-set-variable] - 494 | int answered; - | ^~~~~~~~ -mainSrc/cmd.c: In function 'd4Reset': -mainSrc/cmd.c:2468:8: warning: variable 'dataChannelOpen' set but not used [-Wunused-but-set-variable] - 2468 | int dataChannelOpen = 0; - | ^~~~~~~~~~~~~~~ -server/mtinkd.c: In function 'main': -server/mtinkd.c:785:20: warning: variable 'sockId' set but not used [-Wunused-but-set-variable] - 785 | int sockId = 0; - | ^~~~~~ -mainSrc/cmd.c: In function 'd4Reset': -mainSrc/cmd.c:2468:8: warning: variable 'dataChannelOpen' set but not used [-Wunused-but-set-variable] - 2468 | int dataChannelOpen = 0; - | ^~~~~~~~~~~~~~~ -server/mtinkd.c:993:7: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] - 993 | chown(fifoName, 0, 0); - | ^~~~~~~~~~~~~~~~~~~~~ -server/mtinkd.c:1086:4: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] - 1086 | chown(fifoName, sBuf.st_uid, sBuf.st_gid); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -server/mtinkd.c:1641:19: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] - 1641 | chown(fifoName, sBuf.st_uid, sBuf.st_gid); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mainSrc/cmd.c: At top level: -mainSrc/cmd.c:248:13: warning: 'sigChild' defined but not used [-Wunused-function] - 248 | static void sigChild(int code) - | ^~~~~~~~ -mainSrc/cmd.c:101:14: warning: 'pid' defined but not used [-Wunused-variable] - 101 | static pid_t pid = -1; - | ^~~ -mainSrc/cmd.c:98:14: warning: 'shmid' defined but not used [-Wunused-variable] - 98 | static int shmid = -1; - | ^~~~~ -server/mtinkd.c: In function 'killServer': -server/mtinkd.c:247:18: warning: 'fgets' writing 112 bytes into a region of size 100 overflows the destination [-Wstringop-overflow=] - 247 | if ( fgets(ibuf, sizeof(buf), fp) ) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -server/mtinkd.c:215:20: note: destination object 'ibuf' of size 100 - 215 | char ibuf[100]; - | ^~~~ -In file included from /usr/include/stdio.h:970, - from server/mtinkd.c:28: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:305:1: note: in a call to function 'fgets' declared with attribute 'access (write_only, 1, 2)' - 305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n, - | ^~~~~ +mainSrc/rw.c: In function 'readLine': +mainSrc/rw.c:53:24: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 53 | if ( strncmp(buf, "Recv:",5) == 0 ) + | ^~~ + | | + | unsigned char * Compile and link askPrinter.c +In file included from mainSrc/rw.c:22: +/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' + 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ +mainSrc/rw.c: In function 'devRead': +mainSrc/rw.c:123:25: warning: pointer targets in passing argument 2 of 'readLine' differ in signedness [-Wpointer-sign] + 123 | if ( readLine(fd, buffer, sizeof(buffer)) >= 0 ) + | ^~~~~~ + | | + | char * +mainSrc/rw.c:42:41: note: expected 'unsigned char *' but argument is of type 'char *' + 42 | ssize_t readLine(int fd, unsigned char *buf, size_t sz) + | ~~~~~~~~~~~~~~~^~~ gcc -o detect/askPrinter detect/askPrinter.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -I. -Idetect Compile bldRes.c gcc -o utils/bldRes utils/bldRes.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now @@ -1380,6 +1302,30 @@ gcc -o utils/rdPrtDesc mainSrc/rdPrtDesc.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -ImainSrc Compile chckRes gcc -o utils/chckRes mainSrc/rdRes.c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -ImainSrc -DRESCHECK=1 +mainSrc/rcfile.c: In function 'saveConfig': +mainSrc/rcfile.c:180:16: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 180 | seteuid(getuid()); + | ^~~~~~~~~~~~~~~~~ +mainSrc/ttink.c: In function 'main': +mainSrc/ttink.c:404:20: warning: variable 'data' set but not used [-Wunused-but-set-variable] + 404 | wConfig_data_t data; + | ^~~~ +mainSrc/ttink.c: In function 'alignHeads': +mainSrc/ttink.c:1201:10: warning: variable 'prot' set but not used [-Wunused-but-set-variable] + 1201 | int prot; + | ^~~~ +mainSrc/alignbt.c: In function 'createAlignButtons': +mainSrc/alignbt.c:172:74: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 172 | XtAddCallback(align_PB[(i*5)+j], XmNactivateCallback, align_CB, (XtPointer) (i*5)+j); + | ^ +mainSrc/alignbt.c: In function 'align_CB': +mainSrc/alignbt.c:265:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 265 | int where = (int)clientData; + | ^ +mainSrc/alignbt.c: In function 'popupAlignNextWindow': +mainSrc/alignbt.c:355:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 355 | align_CB(NULL,(XtPointer)(data->choices/2), NULL); + | ^ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ @@ -1452,6 +1398,7 @@ mainSrc/rdPrtDesc.c:68:41: note: in expansion of macro 'OFFSET' 68 | { ".choicesNb:", A_NB, OFFSET(choices) }, | ^~~~~~ +mainSrc/cmd.c: In function 'callPrg': mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ @@ -1470,6 +1417,9 @@ mainSrc/rdPrtDesc.c:71:41: note: in expansion of macro 'OFFSET' 71 | { ".checkNozzleNeedReset:",A_FLAG, OFFSET(checkNeedReset) }, | ^~~~~~ +mainSrc/cmd.c:494:11: warning: variable 'answered' set but not used [-Wunused-but-set-variable] + 494 | int answered; + | ^~~~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ @@ -1482,6 +1432,10 @@ | ~^~ ~~~~~~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} +mainSrc/cmd.c: In function 'callPrg': +mainSrc/cmd.c:494:11: warning: variable 'answered' set but not used [-Wunused-but-set-variable] + 494 | int answered; + | ^~~~~~~~ mainSrc/rdPrtDesc.c: In function 'main': mainSrc/rdPrtDesc.c:609:18: warning: unused variable 'mode' [-Wunused-variable] 609 | int mode = 0; @@ -1498,14 +1452,74 @@ mainSrc/rdPrtDesc.c:605:18: warning: unused variable 'i' [-Wunused-variable] 605 | int i; | ^ +mainSrc/mtink.c: In function 'main': +mainSrc/mtink.c:1208:18: warning: variable 'prot' set but not used [-Wunused-but-set-variable] + 1208 | int prot = 0; + | ^~~~ +mainSrc/cmd.c: In function 'd4Reset': +mainSrc/cmd.c:2468:8: warning: variable 'dataChannelOpen' set but not used [-Wunused-but-set-variable] + 2468 | int dataChannelOpen = 0; + | ^~~~~~~~~~~~~~~ +mainSrc/mtink.c: In function 'decodeStatus': +mainSrc/mtink.c:2568:18: warning: variable 's' set but not used [-Wunused-but-set-variable] + 2568 | char *s; + | ^ +mainSrc/cmd.c: In function 'd4Reset': +mainSrc/cmd.c:2468:8: warning: variable 'dataChannelOpen' set but not used [-Wunused-but-set-variable] + 2468 | int dataChannelOpen = 0; + | ^~~~~~~~~~~~~~~ +mainSrc/mtink.c: In function 'deleteWindow_CB': +mainSrc/mtink.c:477:14: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 477 | seteuid(getuid()); + | ^~~~~~~~~~~~~~~~~ +mainSrc/mtink.c: In function 'help_CB': +mainSrc/mtink.c:2992:5: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] + 2992 | getcwd(localDir, sizeof(localDir)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mainSrc/mtink.c: In function 'callBrowser': +mainSrc/mtink.c:2944:10: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 2944 | seteuid(getuid()); + | ^~~~~~~~~~~~~~~~~ +mainSrc/mtink.c:2945:10: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] + 2945 | system(command); + | ^~~~~~~~~~~~~~~ +server/mtinkd.c: In function 'main': +server/mtinkd.c:785:20: warning: variable 'sockId' set but not used [-Wunused-but-set-variable] + 785 | int sockId = 0; + | ^~~~~~ +server/mtinkd.c:993:7: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] + 993 | chown(fifoName, 0, 0); + | ^~~~~~~~~~~~~~~~~~~~~ +server/mtinkd.c:1086:4: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] + 1086 | chown(fifoName, sBuf.st_uid, sBuf.st_gid); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +server/mtinkd.c:1641:19: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] + 1641 | chown(fifoName, sBuf.st_uid, sBuf.st_gid); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mainSrc/rdRes.c: In function 'searchCmp': mainSrc/rdRes.c:583:11: warning: unused variable 'cmp' [-Wunused-variable] 583 | char **cmp = res; | ^~~ +server/mtinkd.c: In function 'killServer': +server/mtinkd.c:247:18: warning: 'fgets' writing 112 bytes into a region of size 100 overflows the destination [-Wstringop-overflow=] + 247 | if ( fgets(ibuf, sizeof(buf), fp) ) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +server/mtinkd.c:215:20: note: destination object 'ibuf' of size 100 + 215 | char ibuf[100]; + | ^~~~ +In file included from /usr/include/stdio.h:970, + from server/mtinkd.c:28: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:305:1: note: in a call to function 'fgets' declared with attribute 'access (write_only, 1, 2)' + 305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n, + | ^~~~~ mainSrc/rdRes.c: In function 'checkForMissing': mainSrc/rdRes.c:618:11: warning: unused variable 'lang' [-Wunused-variable] 618 | char lang[20]; | ^~~~ +chooser/mtinkc.c: In function 'callCommand': +chooser/mtinkc.c:289:4: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] + 289 | system(command); + | ^~~~~~~~~~~~~~~ mainSrc/rdRes.c: In function 'main': mainSrc/rdRes.c:656:11: warning: variable 'entriesCmp' set but not used [-Wunused-but-set-variable] 656 | int entriesCmp; @@ -1513,6 +1527,28 @@ mainSrc/rdRes.c:655:11: warning: variable 'entriesRef' set but not used [-Wunused-but-set-variable] 655 | int entriesRef; | ^~~~~~~~~~ +mainSrc/cfg2.c: In function 'cfg2Device_CB': +mainSrc/cfg2.c:370:15: warning: the address of 'retBuf' will always evaluate as 'true' [-Waddress] + 370 | if ( retBuf && *retBuf ) + | ^~~~~~ +mainSrc/cfg2.c: In function 'selectFile_CB': +mainSrc/cfg2.c:462:11: warning: variable 'fsb' set but not used [-Wunused-but-set-variable] + 462 | Widget fsb = NULL; + | ^~~ +mainSrc/cmd.c: In function 'd4Reset': +mainSrc/cmd.c:2468:8: warning: variable 'dataChannelOpen' set but not used [-Wunused-but-set-variable] + 2468 | int dataChannelOpen = 0; + | ^~~~~~~~~~~~~~~ +mainSrc/cmd.c: At top level: +mainSrc/cmd.c:248:13: warning: 'sigChild' defined but not used [-Wunused-function] + 248 | static void sigChild(int code) + | ^~~~~~~~ +mainSrc/cmd.c:101:14: warning: 'pid' defined but not used [-Wunused-variable] + 101 | static pid_t pid = -1; + | ^~~ +mainSrc/cmd.c:98:14: warning: 'shmid' defined but not used [-Wunused-variable] + 98 | static int shmid = -1; + | ^~~~~ In function 'fgets', inlined from 'killServer' at server/mtinkd.c:247:18: /usr/include/x86_64-linux-gnu/bits/stdio2.h:316:12: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer [-Wattribute-warning] @@ -1548,10 +1584,10 @@ | ~~~~~~~~~~~~~~~~~ Link mtinkd gcc -o mtinkd server/mtinkd.o mainSrc/rw.o server/cmd.o server/d4lib.o mainSrc/usbHlp.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" -Wl,-z,relro -Wl,-z,now -Link mtink -gcc -o mtink mainSrc/mtink.o mainSrc/rw.o mainSrc/d4lib.o mainSrc/cfg1.o mainSrc/rdPrtDesc.o mainSrc/fsb.o mainSrc/cfg2.o mainSrc/alignbt.o mainSrc/scrtxt.o mainSrc/resource.o mainSrc/rcfile.o mainSrc/cmd.o mainSrc/tooltip.o mainSrc/wheelmouse.o mainSrc/usbHlp.o mainSrc/micon.o mainSrc/checkenv.o mainSrc/access.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" -Wl,-z,relro -Wl,-z,now -g -L/usr/X11R6/lib64 -L/usr/X11R6/lib -L/usr/dt/lib -lXm -lXext -lXt -lX11 -DRDTIMEOUT=20000 -DWRTIMEOUT=2000 -DDEBUG=0 -DPTIME=0 -DWITH_X=1 Link ttink gcc -o ttink mainSrc/ttink.o mainSrc/rw.o mainSrc/d4lib.o mainSrc/rdPrtDesc.o mainSrc/nXcmd.o mainSrc/usbHlp.o mainSrc/rdRes.o mainSrc/access.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" -Wl,-z,relro -Wl,-z,now -DRDTIMEOUT=20000 -DWRTIMEOUT=2000 -DDEBUG=0 -DPTIME=0 -DWITH_X=0 +Link mtink +gcc -o mtink mainSrc/mtink.o mainSrc/rw.o mainSrc/d4lib.o mainSrc/cfg1.o mainSrc/rdPrtDesc.o mainSrc/fsb.o mainSrc/cfg2.o mainSrc/alignbt.o mainSrc/scrtxt.o mainSrc/resource.o mainSrc/rcfile.o mainSrc/cmd.o mainSrc/tooltip.o mainSrc/wheelmouse.o mainSrc/usbHlp.o mainSrc/micon.o mainSrc/checkenv.o mainSrc/access.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mtink-1.0.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -I. -I./mainSrc -I/usr/X11R6/include -I/usr/dt/include -DWAIT_FOR_PRINTER=0 -DMOTIF_XPM -DPREFIX=\"debian/mtink/usr\" -Wl,-z,relro -Wl,-z,now -g -L/usr/X11R6/lib64 -L/usr/X11R6/lib -L/usr/dt/lib -lXm -lXext -lXt -lX11 -DRDTIMEOUT=20000 -DWRTIMEOUT=2000 -DDEBUG=0 -DPTIME=0 -DWITH_X=1 make[2]: Leaving directory '/build/reproducible-path/mtink-1.0.16' make[1]: Leaving directory '/build/reproducible-path/mtink-1.0.16' dh_auto_test @@ -1614,9 +1650,9 @@ dh_gencontrol dh_md5sums dh_builddeb +dpkg-deb: building package 'mtink' in '../mtink_1.0.16-16_amd64.deb'. dpkg-deb: building package 'mtink-dbgsym' in '../mtink-dbgsym_1.0.16-16_amd64.deb'. dpkg-deb: building package 'mtink-doc' in '../mtink-doc_1.0.16-16_all.deb'. -dpkg-deb: building package 'mtink' in '../mtink_1.0.16-16_amd64.deb'. dpkg-genbuildinfo --build=binary -O../mtink_1.0.16-16_amd64.buildinfo dpkg-genchanges --build=binary -O../mtink_1.0.16-16_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1624,12 +1660,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/180281/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/180281/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/556831 and its subdirectories -I: Current time: Tue Dec 10 18:10:46 -12 2024 -I: pbuilder-time-stamp: 1733897446 +I: removing directory /srv/workspace/pbuilder/180281 and its subdirectories +I: Current time: Wed Jan 14 02:34:56 +14 2026 +I: pbuilder-time-stamp: 1768307696