Diff of the two buildlogs: -- --- b1/build.log 2025-07-13 08:52:10.946697288 +0000 +++ b2/build.log 2025-07-13 08:53:09.351086664 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Jul 12 20:51:17 -12 2025 -I: pbuilder-time-stamp: 1752396677 +I: Current time: Sun Aug 16 05:15:13 +14 2026 +I: pbuilder-time-stamp: 1786806913 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -35,52 +35,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/186032/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/53723/tmp/hooks/D01_modify_environment starting +debug: Running on codethink03-arm64. +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 Aug 15 15:15 /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/53723/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/53723/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='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="aarch64-unknown-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=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='857042e1c32746d3b4e95e662c4b5189' - 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='186032' - PS1='# ' - PS2='> ' + INVOCATION_ID=e71cfc6917f54f11828653c8d14ec363 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=53723 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.Z3RISsnv/pbuilderrc_0w3a --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.Z3RISsnv/b1 --logfile b1/build.log mtink_1.0.16-17.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4: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.Z3RISsnv/pbuilderrc_F69S --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.Z3RISsnv/b2 --logfile b2/build.log mtink_1.0.16-17.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink04-arm64 6.1.0-37-cloud-arm64 #1 SMP Debian 6.1.140-1 (2025-05-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-37-cloud-arm64 #1 SMP Debian 6.1.140-1 (2025-05-22) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 12 19:25 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/186032/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 12 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/53723/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -242,7 +274,7 @@ Get: 102 http://deb.debian.org/debian trixie/main arm64 opensp arm64 1.5.2-15.2 [442 kB] Get: 103 http://deb.debian.org/debian trixie/main arm64 po4a all 0.73-2 [2155 kB] Get: 104 http://deb.debian.org/debian trixie/main arm64 xsltproc arm64 1.1.35-1.2 [115 kB] -Fetched 32.5 MB in 0s (79.0 MB/s) +Fetched 32.5 MB in 0s (135 MB/s) Preconfiguring packages ... 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 ... 19964 files and directories currently installed.) @@ -681,7 +713,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-17_source.changes +I: user script /srv/workspace/pbuilder/53723/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/53723/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-17_source.changes dpkg-buildpackage: info: source package mtink dpkg-buildpackage: info: source version 1.0.16-17 dpkg-buildpackage: info: source distribution unstable @@ -1101,25 +1137,19 @@ make -j12 "INSTALL=install --strip-program=true" make[2]: Entering directory '/build/reproducible-path/mtink-1.0.16' Compile mtink.c -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 -mbranch-protection=standard -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/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 -mbranch-protection=standard -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 -mbranch-protection=standard -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DDEBUG=0 -DPTIME=0 Compile cfg1.c 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 -mbranch-protection=standard -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 -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 -mbranch-protection=standard -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 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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 cfg2.c -Compile alignbt.c 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 -mbranch-protection=standard -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/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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 ) @@ -1130,29 +1160,27 @@ /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) - | ~~~~~~~~~~~~~~~^~~ -Compile rcfile.c -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 -mbranch-protection=standard -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 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)) | ^ mainSrc/rdPrtDesc.c:57:41: note: in expansion of macro 'OFFSET' 57 | { ".name:", A_STR, OFFSET(name) }, | ^~~~~~ +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/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)) | ^ mainSrc/rdPrtDesc.c:58:41: note: in expansion of macro 'OFFSET' 58 | { ".colorsNb:", A_NB, OFFSET(colors) }, | ^~~~~~ +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) + | ~~~~~~~~~~~~~~~^~~ 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)) | ^ @@ -1237,18 +1265,12 @@ mainSrc/rdPrtDesc.c:72:41: note: in expansion of macro 'OFFSET' 72 | { ".alignFunctionName:", A_FNAME, OFFSET(alignFunction) }, | ^~~~~~ -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 -mbranch-protection=standard -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 -mbranch-protection=standard -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/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; - | ^ +Compile alignbt.c +Compile scrtxt.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 -mbranch-protection=standard -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/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 -mbranch-protection=standard -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 -mbranch-protection=standard -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/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 ) @@ -1257,15 +1279,33 @@ mainSrc/cfg2.c:462:11: warning: variable 'fsb' set but not used [-Wunused-but-set-variable] 462 | Widget fsb = NULL; | ^~~ +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; + | ^ +Compile rcfile.c +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 -mbranch-protection=standard -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 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/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/mtink.c: In function 'help_CB': -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/mtink.c:2992:5: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 2992 | getcwd(localDir, sizeof(localDir)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1276,32 +1316,28 @@ mainSrc/mtink.c:2945:10: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2945 | system(command); | ^~~~~~~~~~~~~~~ +Compile cmd.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 -mbranch-protection=standard -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 tooltip.c +Compile wheelmouse.c +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 -mbranch-protection=standard -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/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 -mbranch-protection=standard -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 -mbranch-protection=standard -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/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 -mbranch-protection=standard -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 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/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/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 wheelmouse.c -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); - | ^ -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 -mbranch-protection=standard -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 -mbranch-protection=standard -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/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 -mbranch-protection=standard -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 checkenv.c 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 -mbranch-protection=standard -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 @@ -1309,21 +1345,21 @@ 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 -mbranch-protection=standard -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 ttink.c -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 -mbranch-protection=standard -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 +Compile cmd.c as nXcmd.o 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 -mbranch-protection=standard -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 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 -mbranch-protection=standard -Wall -Wdate-time -D_FORTIFY_SOURCE=2 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 -mbranch-protection=standard -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\" -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); - | ^~~~~~~~~~~~~~~ Compile cmd.c Compile d4lib.c 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 -mbranch-protection=standard -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\" 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 -mbranch-protection=standard -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: In function 'callPrg': +mainSrc/cmd.c:494:11: warning: variable 'answered' set but not used [-Wunused-but-set-variable] + 494 | int answered; + | ^~~~~~~~ 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; @@ -1332,64 +1368,26 @@ mainSrc/ttink.c:1201:10: warning: variable 'prot' set but not used [-Wunused-but-set-variable] 1201 | int prot; | ^~~~ -mainSrc/mtink.c: In function 'help_CB': -mainSrc/mtink.c:3000:24: warning: '/mtink.' directive writing 7 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] - 3000 | sprintf(file,"%s/mtink.%s.html", dir[0],guiLanguage ); - | ^~~~~~~ -In file included from /usr/include/stdio.h:970, - from mainSrc/mtink.c:24: -In function 'sprintf', - inlined from 'help_CB' at mainSrc/mtink.c:3000:8: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 13 and 1045 bytes into a destination of size 1024 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -mainSrc/mtink.c: In function 'help_CB': -mainSrc/mtink.c:3008:27: warning: '/mtink.html' directive writing 11 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] - 3008 | sprintf(file,"%s/mtink.html", dir[0]); - | ^~~~~~~~~~~ -In function 'sprintf', - inlined from 'help_CB' at mainSrc/mtink.c:3008:11: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 12 and 1035 bytes into a destination of size 1024 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -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; - | ^~~~~~~~ -Compile and link askPrinter.c mainSrc/cmd.c: In function 'd4Reset': -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 -mbranch-protection=standard -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -I. -Idetect mainSrc/cmd.c:2468:8: warning: variable 'dataChannelOpen' set but not used [-Wunused-but-set-variable] 2468 | int dataChannelOpen = 0; | ^~~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~ +Compile and link askPrinter.c +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 -mbranch-protection=standard -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -I. -Idetect +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; + | ^~~~~~ 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 -mbranch-protection=standard -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now 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; - | ^~~~~ -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); | ^~~~~~~~~~~~~~~~~~~~~ @@ -1411,25 +1409,46 @@ /usr/include/aarch64-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/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; + | ^~~~~ Compile rdPrtDesc.c 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 -mbranch-protection=standard -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 -mbranch-protection=standard -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -ImainSrc -DRESCHECK=1 -mainSrc/rdRes.c: In function 'searchCmp': -mainSrc/rdRes.c:583:11: warning: unused variable 'cmp' [-Wunused-variable] - 583 | char **cmp = res; - | ^~~ -mainSrc/rdRes.c: In function 'checkForMissing': -mainSrc/rdRes.c:618:11: warning: unused variable 'lang' [-Wunused-variable] - 618 | char lang[20]; - | ^~~~ -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; - | ^~~~~~~~~~ -mainSrc/rdRes.c:655:11: warning: variable 'entriesRef' set but not used [-Wunused-but-set-variable] - 655 | int entriesRef; - | ^~~~~~~~~~ +mainSrc/mtink.c: In function 'help_CB': +mainSrc/mtink.c:3000:24: warning: '/mtink.' directive writing 7 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] + 3000 | sprintf(file,"%s/mtink.%s.html", dir[0],guiLanguage ); + | ^~~~~~~ +In file included from /usr/include/stdio.h:970, + from mainSrc/mtink.c:24: +In function 'sprintf', + inlined from 'help_CB' at mainSrc/mtink.c:3000:8: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 13 and 1045 bytes into a destination of size 1024 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +mainSrc/mtink.c: In function 'help_CB': +mainSrc/mtink.c:3008:27: warning: '/mtink.html' directive writing 11 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] + 3008 | sprintf(file,"%s/mtink.html", dir[0]); + | ^~~~~~~~~~~ +In function 'sprintf', + inlined from 'help_CB' at mainSrc/mtink.c:3008:11: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 12 and 1035 bytes into a destination of size 1024 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ 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)) | ^ @@ -1553,12 +1572,29 @@ /usr/include/aarch64-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] 316 | return __fgets_chk_warn (__s, __sz, __n, __stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 -mbranch-protection=standard -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 +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 -mbranch-protection=standard -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -ImainSrc -DRESCHECK=1 +mainSrc/rdRes.c: In function 'searchCmp': +mainSrc/rdRes.c:583:11: warning: unused variable 'cmp' [-Wunused-variable] + 583 | char **cmp = res; + | ^~~ +mainSrc/rdRes.c: In function 'checkForMissing': +mainSrc/rdRes.c:618:11: warning: unused variable 'lang' [-Wunused-variable] + 618 | char lang[20]; + | ^~~~ +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; + | ^~~~~~~~~~ +mainSrc/rdRes.c:655:11: warning: variable 'entriesRef' set but not used [-Wunused-but-set-variable] + 655 | int entriesRef; + | ^~~~~~~~~~ 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 -mbranch-protection=standard -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 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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 @@ -1625,8 +1661,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'mtink-dbgsym' in '../mtink-dbgsym_1.0.16-17_arm64.deb'. dpkg-deb: building package 'mtink' in '../mtink_1.0.16-17_arm64.deb'. +dpkg-deb: building package 'mtink-dbgsym' in '../mtink-dbgsym_1.0.16-17_arm64.deb'. dpkg-deb: building package 'mtink-doc' in '../mtink-doc_1.0.16-17_all.deb'. dpkg-genbuildinfo --build=binary -O../mtink_1.0.16-17_arm64.buildinfo dpkg-genchanges --build=binary -O../mtink_1.0.16-17_arm64.changes @@ -1635,12 +1671,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/53723/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/53723/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/186032 and its subdirectories -I: Current time: Sat Jul 12 20:52:10 -12 2025 -I: pbuilder-time-stamp: 1752396730 +I: removing directory /srv/workspace/pbuilder/53723 and its subdirectories +I: Current time: Sun Aug 16 05:16:07 +14 2026 +I: pbuilder-time-stamp: 1786806967