Diff of the two buildlogs: -- --- b1/build.log 2024-04-13 16:02:06.333455395 +0000 +++ b2/build.log 2024-04-13 16:02:50.591560043 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Apr 13 04:00:57 -12 2024 -I: pbuilder-time-stamp: 1713024057 +I: Current time: Sat May 17 12:25:09 +14 2025 +I: pbuilder-time-stamp: 1747434309 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -32,54 +32,86 @@ 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/9507/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/120568/tmp/hooks/D01_modify_environment starting +debug: Running on ionos6-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 16 22:25 /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/120568/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/120568/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=11 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='i386' + 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]="i686-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=21 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='168c72e3ec7540fea2449628997bb90a' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='9507' - PS1='# ' - PS2='> ' + INVOCATION_ID=0812fef4bc744bcdbec83cd162028bb8 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=120568 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.x1poIeV5/pbuilderrc_es6C --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.x1poIeV5/b1 --logfile b1/build.log mah-jong_1.16-1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97: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.x1poIeV5/pbuilderrc_IC6R --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.x1poIeV5/b2 --logfile b2/build.log mah-jong_1.16-1.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos12-i386 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 10 11:24 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/9507/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 14 17:47 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/120568/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -320,7 +352,7 @@ Get: 199 http://deb.debian.org/debian trixie/main i386 libxdamage-dev i386 1:1.1.6-1 [15.3 kB] Get: 200 http://deb.debian.org/debian trixie/main i386 libxml2-utils i386 2.9.14+dfsg-1.3+b2 [99.4 kB] Get: 201 http://deb.debian.org/debian trixie/main i386 libgtk2.0-dev i386 2.24.33-3 [796 kB] -Fetched 85.5 MB in 2s (34.7 MB/s) +Fetched 85.5 MB in 3s (24.9 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:i386. (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 ... 19874 files and directories currently installed.) @@ -969,8 +1001,8 @@ Setting up tzdata (2024a-1) ... Current default time zone: 'Etc/UTC' -Local time is now: Sat Apr 13 16:01:36 UTC 2024. -Universal Time is now: Sat Apr 13 16:01:36 UTC 2024. +Local time is now: Fri May 16 22:25:34 UTC 2025. +Universal Time is now: Fri May 16 22:25:34 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up xtrans-dev (1.4.0-1) ... @@ -1152,7 +1184,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/120568/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/120568/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 @@ -1167,7 +1203,7 @@ cp Makefile debian/Makefile.sav make[1]: Leaving directory '/build/reproducible-path/mah-jong-1.16' dh_auto_clean - make -j11 distclean + make -j21 distclean make[1]: Entering directory '/build/reproducible-path/mah-jong-1.16' rm -f xmj mj-server mj-player rm -f *.o core errs *~ @@ -1211,7 +1247,7 @@ make[1]: Leaving directory '/build/reproducible-path/mah-jong-1.16' dh_auto_configure dh_auto_build - make -j11 "INSTALL=install --strip-program=true" + make -j21 "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 -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 -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 @@ -1225,6 +1261,9 @@ gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/mah-jong-1.16=. -fstack-protector-strong -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 -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 -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 +gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/mah-jong-1.16=. -fstack-protector-strong -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 -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 -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 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); @@ -1237,8 +1276,8 @@ 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: + from vlazyfixed.h:27, + from vlazyfixed.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -1257,13 +1296,9 @@ 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/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - 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 /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); | ^~~~ @@ -1275,16 +1310,20 @@ 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/gtk.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/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: + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + 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: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -1296,10 +1335,23 @@ 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: + from /usr/include/gtk-2.0/gtk/gtk.h:32: /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, + from /usr/include/gtk-2.0/gtk/gtk.h:126: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:34, + from /usr/include/glib-2.0/glib.h:32, + from /usr/include/glib-2.0/gobject/gbinding.h:30: +/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here + 580 | struct _GTimeVal + | ^~~~~~~~~ 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, @@ -1309,7 +1361,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-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); | ^~~~ @@ -1325,22 +1377,22 @@ /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 -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 -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 -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 -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, - from /usr/include/gtk-2.0/gtk/gtk.h:126: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:34, - from /usr/include/glib-2.0/glib.h:32, - from /usr/include/glib-2.0/gobject/gbinding.h:30: -/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here - 580 | struct _GTimeVal - | ^~~~~~~~~ +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" : ""); + | ^~~~~~~~ +In file included from /usr/include/stdio.h:906, + from sysdep.h:55, + from scoring.c:24: +In function 'sprintf', + inlined from 'score_of_hand' at scoring.c:365:5: +/usr/include/i386-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 10 and 20 bytes into a destination of size 16 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ 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, @@ -1366,22 +1418,6 @@ gui.c:4388:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 4388 | fgets(inbuf,1024,ncf); | ^~~~~~~~~~~~~~~~~~~~~ -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" : ""); - | ^~~~~~~~ -In file included from /usr/include/stdio.h:906, - from sysdep.h:55, - from scoring.c:24: -In function 'sprintf', - inlined from 'score_of_hand' at scoring.c:365:5: -/usr/include/i386-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 10 and 20 bytes into a destination of size 16 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ 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=] @@ -1396,6 +1432,10 @@ controller.c:511:29: warning: '%s' directive argument is null [-Wformat-overflow=] 511 | fprintf(logfile,"