Diff of the two buildlogs: -- --- b1/build.log 2024-04-13 02:39:55.060855491 +0000 +++ b2/build.log 2024-04-13 02:44:05.086209559 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Apr 12 14:37:00 -12 2024 -I: pbuilder-time-stamp: 1712975820 +I: Current time: Sat Apr 13 16:40:15 +14 2024 +I: pbuilder-time-stamp: 1712976015 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -31,52 +31,84 @@ dpkg-source: info: applying gui.c-fix-typo.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/15575/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/18394/tmp/hooks/D01_modify_environment starting +debug: Running on virt64c. +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 Apr 13 02:41 /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/18394/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/18394/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='armhf' + 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]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='044a2206386a4b13b0ac75aee08e40c0' - 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='15575' - PS1='# ' - PS2='> ' + INVOCATION_ID=7d439ddc1d6e42aab8f33ab25ca831b5 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=18394 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.S8AnL1qY/pbuilderrc_5KCQ --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.S8AnL1qY/b1 --logfile b1/build.log mah-jong_1.16-1.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.S8AnL1qY/pbuilderrc_Ei7g --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.S8AnL1qY/b2 --logfile b2/build.log mah-jong_1.16-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt32a 6.1.0-18-armmp-lpae #1 SMP Debian 6.1.76-1 (2024-02-01) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-18-arm64 #1 SMP Debian 6.1.76-1 (2024-02-01) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Apr 10 11:25 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/15575/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/18394/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -317,7 +349,7 @@ Get: 199 http://deb.debian.org/debian trixie/main armhf libxdamage-dev armhf 1:1.1.6-1 [14.5 kB] Get: 200 http://deb.debian.org/debian trixie/main armhf libxml2-utils armhf 2.9.14+dfsg-1.3+b2 [97.8 kB] Get: 201 http://deb.debian.org/debian trixie/main armhf libgtk2.0-dev armhf 2.24.33-3 [796 kB] -Fetched 80.4 MB in 12s (6614 kB/s) +Fetched 80.4 MB in 3s (23.2 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:armhf. (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 ... 19635 files and directories currently installed.) @@ -966,8 +998,8 @@ Setting up tzdata (2024a-1) ... Current default time zone: 'Etc/UTC' -Local time is now: Sat Apr 13 02:38:42 UTC 2024. -Universal Time is now: Sat Apr 13 02:38:42 UTC 2024. +Local time is now: Sat Apr 13 02:42:36 UTC 2024. +Universal Time is now: Sat Apr 13 02:42:36 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up xtrans-dev (1.4.0-1) ... @@ -1149,7 +1181,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/mah-jong-1.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 > ../mah-jong_1.16-1_source.changes +I: user script /srv/workspace/pbuilder/18394/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/18394/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/mah-jong-1.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 > ../mah-jong_1.16-1_source.changes dpkg-buildpackage: info: source package mah-jong dpkg-buildpackage: info: source version 1.16-1 dpkg-buildpackage: info: source distribution unstable @@ -1164,7 +1200,7 @@ cp Makefile debian/Makefile.sav make[1]: Leaving directory '/build/reproducible-path/mah-jong-1.16' dh_auto_clean - make -j3 distclean + make -j4 distclean make[1]: Entering directory '/build/reproducible-path/mah-jong-1.16' rm -f xmj mj-server mj-player rm -f *.o core errs *~ @@ -1208,7 +1244,7 @@ make[1]: Leaving directory '/build/reproducible-path/mah-jong-1.16' dh_auto_configure dh_auto_build - make -j3 "INSTALL=install --strip-program=true" + make -j4 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/mah-jong-1.16' gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/mah-jong-1.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='NULL' -DGTK2=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o gui.o gui.c gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/mah-jong-1.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='NULL' -DGTK2=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o gui-dial.o gui-dial.c @@ -1223,7 +1259,7 @@ from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from gui.h:17, - from gui.c:18: + from gui-dial.c:17: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -1248,10 +1284,11 @@ from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from gui.h:17, - from gui-dial.c:17: + from gui.c:18: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ +gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/mah-jong-1.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='NULL' -DGTK2=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o vlazyfixed.o vlazyfixed.c In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, @@ -1264,6 +1301,27 @@ /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkfixed.h:35, + from lazyfixed.h:28, + from lazyfixed.c:23: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:26, + from /usr/include/glib-2.0/gobject/gbinding.h:31, + from /usr/include/glib-2.0/glib-object.h:24, + from /usr/include/glib-2.0/gio/gioenums.h:30, + from /usr/include/glib-2.0/gio/giotypes.h:30, + from /usr/include/glib-2.0/gio/gio.h:28, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:34: +/usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here + 723 | { + | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, @@ -1290,6 +1348,11 @@ /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ +gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/mah-jong-1.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='NULL' -DGTK2=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o player.o player.c +gui-dial.c: In function 'chooser_callback': +gui-dial.c:1194:7: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] + 1194 | getcwd(cbuf,2*PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'open_connection': gui.c:3438:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 3438 | fgets(buf2,255,serverstream); @@ -1302,32 +1365,6 @@ from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkfixed.h:35, - from lazyfixed.h:28, - from lazyfixed.c:23: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^~~~ -In file included from /usr/include/glib-2.0/gobject/gobject.h:26, - from /usr/include/glib-2.0/gobject/gbinding.h:31, - from /usr/include/glib-2.0/glib-object.h:24, - from /usr/include/glib-2.0/gio/gioenums.h:30, - from /usr/include/glib-2.0/gio/giotypes.h:30, - from /usr/include/glib-2.0/gio/gio.h:28, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:34: -/usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here - 723 | { - | ^ -gui-dial.c: In function 'chooser_callback': -gui-dial.c:1194:7: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] - 1194 | getcwd(cbuf,2*PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/mah-jong-1.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='NULL' -DGTK2=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o vlazyfixed.o vlazyfixed.c -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkfixed.h:35, from vlazyfixed.h:27, from vlazyfixed.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] @@ -1345,7 +1382,9 @@ /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ -gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/mah-jong-1.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='NULL' -DGTK2=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o player.o player.c +gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/mah-jong-1.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='NULL' -DGTK2=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tiles.o tiles.c +perl makefallbacktiles ./tiles-v1 >fbtiles.c +gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/mah-jong-1.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='NULL' -DGTK2=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o protocol.o protocol.c player.c: In function 'player_print_state': player.c:1151:15: warning: ' hand_score: ' directive writing 13 bytes into a region of size between 5 and 184 [-Wformat-overflow=] @@ -1356,10 +1395,17 @@ | ^~~ 1159 | "hand_score: %d\n" | ~~~~~~~~~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/mah-jong-1.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='NULL' -DGTK2=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tiles.o tiles.c -perl makefallbacktiles ./tiles-v1 >fbtiles.c -gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/mah-jong-1.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='NULL' -DGTK2=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o protocol.o protocol.c gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/mah-jong-1.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='NULL' -DGTK2=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o game.o game.c +gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/mah-jong-1.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='NULL' -DGTK2=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sysdep.o sysdep.c +gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/mah-jong-1.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='NULL' -DGTK2=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o controller.o controller.c +controller.c: In function 'handle_pmsg': +controller.c:1044:15: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 1044 | fgets(buf,1024,optfile); + | ^~~~~~~~~~~~~~~~~~~~~~~ +controller.c: In function 'load_wall': +controller.c:3728:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 3728 | fscanf(wfp,"%2s",tn); + | ^~~~~~~~~~~~~~~~~~~~ gui.c: In function 'create_display': gui.c:4737:62: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 4737 | sprintf(buf,"%d tile pixmaps not found: using fallbacks",numfailures); @@ -1379,17 +1425,8 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/mah-jong-1.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='NULL' -DGTK2=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o sysdep.o sysdep.c -gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/mah-jong-1.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='NULL' -DGTK2=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o controller.o controller.c -controller.c: In function 'handle_pmsg': -controller.c:1044:15: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 1044 | fgets(buf,1024,optfile); - | ^~~~~~~~~~~~~~~~~~~~~~~ -controller.c: In function 'load_wall': -controller.c:3728:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 3728 | fscanf(wfp,"%2s",tn); - | ^~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/mah-jong-1.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='NULL' -DGTK2=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o scoring.o scoring.c +gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/mah-jong-1.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='NULL' -DGTK2=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o greedy.o greedy.c scoring.c: In function 'score_of_hand': scoring.c:365:18: warning: ' special' directive writing 8 bytes into a region of size between 6 and 15 [-Wformat-overflow=] 365 | sprintf(s,"%d special%s",p->num_specials,p->num_specials > 1 ? "s" : ""); @@ -1406,24 +1443,23 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/mah-jong-1.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='NULL' -DGTK2=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o greedy.o greedy.c +gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/mah-jong-1.16=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='NULL' -DGTK2=1 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fbtiles.o fbtiles.c +rm -f xmj +gcc -o xmj -g -Wl,-z,relro -Wl,-z,now gui.o gui-dial.o client.o lazyfixed.o vlazyfixed.o player.o tiles.o fbtiles.o protocol.o game.o sysdep.o `pkg-config --libs gtk+-2.0` -lm +rm -f mj-player +gcc -o mj-player -g -Wl,-z,relro -Wl,-z,now greedy.o client.o player.o tiles.o protocol.o game.o sysdep.o controller.c: In function 'main': controller.c:511:29: warning: '%s' directive argument is null [-Wformat-overflow=] 511 | fprintf(logfile,"