Diff of the two buildlogs: -- --- b1/build.log 2025-02-27 10:27:55.979475544 +0000 +++ b2/build.log 2025-02-27 10:30:14.841234535 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Feb 26 22:20:44 -12 2025 -I: pbuilder-time-stamp: 1740651644 +I: Current time: Thu Apr 2 06:50:58 +14 2026 +I: pbuilder-time-stamp: 1775062258 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -29,52 +29,84 @@ dpkg-source: info: applying cross.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2553981/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/915445/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-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 Apr 1 16:51 /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/915445/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/915445/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='5f1064a4204544268a3fdc671a982784' - 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='2553981' - PS1='# ' - PS2='> ' + INVOCATION_ID=aa663ac83dbf422ab71b73cca8be03b6 + 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=915445 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.uaw76Unx/pbuilderrc_tEjJ --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.uaw76Unx/b1 --logfile b1/build.log foobillardplus_3.43~svn170+dfsg-7.dsc' - SUDO_GID='111' - SUDO_UID='106' - 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.uaw76Unx/pbuilderrc_SSoH --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.uaw76Unx/b2 --logfile b2/build.log foobillardplus_3.43~svn170+dfsg-7.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos11-amd64 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.9+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.9-1~bpo12+1 (2025-01-19) 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/2553981/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/915445/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -350,7 +382,7 @@ Get: 226 http://deb.debian.org/debian trixie/main amd64 libsdl-mixer1.2-dev amd64 1.2.12-19+b1 [97.9 kB] Get: 227 http://deb.debian.org/debian trixie/main amd64 libsdl-net1.2 amd64 1.2.8-6+b2 [12.8 kB] Get: 228 http://deb.debian.org/debian trixie/main amd64 libsdl-net1.2-dev amd64 1.2.8-6+b2 [23.5 kB] -Fetched 114 MB in 10s (11.4 MB/s) +Fetched 114 MB in 1s (76.1 MB/s) Preconfiguring packages ... Selecting previously unselected package libpython3.13-minimal:amd64. (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 ... 19802 files and directories currently installed.) @@ -1084,8 +1116,8 @@ Setting up tzdata (2025a-2) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu Feb 27 10:24:16 UTC 2025. -Universal Time is now: Thu Feb 27 10:24:16 UTC 2025. +Local time is now: Wed Apr 1 16:52:37 UTC 2026. +Universal Time is now: Wed Apr 1 16:52:37 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libxcb-present0:amd64 (1.17.0-2+b1) ... @@ -1300,7 +1332,11 @@ fakeroot is already the newest version (1.37-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/foobillardplus-3.43~svn170+dfsg/ && 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 > ../foobillardplus_3.43~svn170+dfsg-7_source.changes +I: user script /srv/workspace/pbuilder/915445/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/915445/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/foobillardplus-3.43~svn170+dfsg/ && 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 > ../foobillardplus_3.43~svn170+dfsg-7_source.changes dpkg-buildpackage: info: source package foobillardplus dpkg-buildpackage: info: source version 3.43~svn170+dfsg-7 dpkg-buildpackage: info: source distribution unstable @@ -1468,7 +1504,7 @@ make[1]: Leaving directory '/build/reproducible-path/foobillardplus-3.43~svn170+dfsg' dh_auto_build - make -j20 + make -j42 make[1]: Entering directory '/build/reproducible-path/foobillardplus-3.43~svn170+dfsg' Making all in src make[2]: Entering directory '/build/reproducible-path/foobillardplus-3.43~svn170+dfsg/src' @@ -1494,6 +1530,18 @@ gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I/usr/include/freetype2 -I/usr/include/libpng16 `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -DVMATH_SINGLE_PRECISION -DDATA_DIRECTORY='"/usr/share/games/foobillardplus/data"' -DUSE_DEBIAN `dpkg-buildflags --get CFLAGS` -lm -c -o sound_stuff.o sound_stuff.c gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I/usr/include/freetype2 -I/usr/include/libpng16 `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -DVMATH_SINGLE_PRECISION -DDATA_DIRECTORY='"/usr/share/games/foobillardplus/data"' -DUSE_DEBIAN `dpkg-buildflags --get CFLAGS` -lm -c -o menu.o menu.c gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I/usr/include/freetype2 -I/usr/include/libpng16 `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -DVMATH_SINGLE_PRECISION -DDATA_DIRECTORY='"/usr/share/games/foobillardplus/data"' -DUSE_DEBIAN `dpkg-buildflags --get CFLAGS` -lm -c -o bumpref.o bumpref.c +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I/usr/include/freetype2 -I/usr/include/libpng16 `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -DVMATH_SINGLE_PRECISION -DDATA_DIRECTORY='"/usr/share/games/foobillardplus/data"' -DUSE_DEBIAN `dpkg-buildflags --get CFLAGS` -lm -c -o room.o room.c +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I/usr/include/freetype2 -I/usr/include/libpng16 `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -DVMATH_SINGLE_PRECISION -DDATA_DIRECTORY='"/usr/share/games/foobillardplus/data"' -DUSE_DEBIAN `dpkg-buildflags --get CFLAGS` -lm -c -o mesh.o mesh.c +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I/usr/include/freetype2 -I/usr/include/libpng16 `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -DVMATH_SINGLE_PRECISION -DDATA_DIRECTORY='"/usr/share/games/foobillardplus/data"' -DUSE_DEBIAN `dpkg-buildflags --get CFLAGS` -lm -c -o history.o history.c +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I/usr/include/freetype2 -I/usr/include/libpng16 `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -DVMATH_SINGLE_PRECISION -DDATA_DIRECTORY='"/usr/share/games/foobillardplus/data"' -DUSE_DEBIAN `dpkg-buildflags --get CFLAGS` -lm -c -o fire.o fire.c +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I/usr/include/freetype2 -I/usr/include/libpng16 `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -DVMATH_SINGLE_PRECISION -DDATA_DIRECTORY='"/usr/share/games/foobillardplus/data"' -DUSE_DEBIAN `dpkg-buildflags --get CFLAGS` -lm -c -o fireplace_high.o fireplace_high.c +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I/usr/include/freetype2 -I/usr/include/libpng16 `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -DVMATH_SINGLE_PRECISION -DDATA_DIRECTORY='"/usr/share/games/foobillardplus/data"' -DUSE_DEBIAN `dpkg-buildflags --get CFLAGS` -lm -c -o ceilinglamp_high.o ceilinglamp_high.c +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I/usr/include/freetype2 -I/usr/include/libpng16 `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -DVMATH_SINGLE_PRECISION -DDATA_DIRECTORY='"/usr/share/games/foobillardplus/data"' -DUSE_DEBIAN `dpkg-buildflags --get CFLAGS` -lm -c -o cartoonguy.o cartoonguy.c +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I/usr/include/freetype2 -I/usr/include/libpng16 `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -DVMATH_SINGLE_PRECISION -DDATA_DIRECTORY='"/usr/share/games/foobillardplus/data"' -DUSE_DEBIAN `dpkg-buildflags --get CFLAGS` -lm -c -o sittingboy.o sittingboy.c +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I/usr/include/freetype2 -I/usr/include/libpng16 `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -DVMATH_SINGLE_PRECISION -DDATA_DIRECTORY='"/usr/share/games/foobillardplus/data"' -DUSE_DEBIAN `dpkg-buildflags --get CFLAGS` -lm -c -o flower.o flower.c +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I/usr/include/freetype2 -I/usr/include/libpng16 `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -DVMATH_SINGLE_PRECISION -DDATA_DIRECTORY='"/usr/share/games/foobillardplus/data"' -DUSE_DEBIAN `dpkg-buildflags --get CFLAGS` -lm -c -o bottle.o bottle.c +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I/usr/include/freetype2 -I/usr/include/libpng16 `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -DVMATH_SINGLE_PRECISION -DDATA_DIRECTORY='"/usr/share/games/foobillardplus/data"' -DUSE_DEBIAN `dpkg-buildflags --get CFLAGS` -lm -c -o chess.o chess.c +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I/usr/include/freetype2 -I/usr/include/libpng16 `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -DVMATH_SINGLE_PRECISION -DDATA_DIRECTORY='"/usr/share/games/foobillardplus/data"' -DUSE_DEBIAN `dpkg-buildflags --get CFLAGS` -lm -c -o getopt_long.o getopt_long.c In file included from font.h:33, from helpscreen.c:26: vmath.h:155:14: warning: inline function 'fastatan' declared but never defined @@ -1518,7 +1566,8 @@ 149 | inline double fastexp(const double y); | ^~~~~~~ In file included from options.h:33, - from language.c:27: + from billard.h:29, + from queue.c:37: vmath.h:155:14: warning: inline function 'fastatan' declared but never defined 155 | inline float fastatan(float x); | ^~~~~~~~ @@ -1540,56 +1589,8 @@ vmath.h:149:15: warning: inline function 'fastexp' declared but never defined 149 | inline double fastexp(const double y); | ^~~~~~~ -vmath.c: In function 'fastsqrt': -vmath.c:70:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 70 | #define FP_BITS(fp) (*(uint32_t *)&(fp)) - | ^~~~~~~~~~~~~~~~~ -vmath.c:122:7: note: in expansion of macro 'FP_BITS' - 122 | if (FP_BITS(n) == 0) - | ^~~~~~~ -vmath.c:70:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 70 | #define FP_BITS(fp) (*(uint32_t *)&(fp)) - | ^~~~~~~~~~~~~~~~~ -vmath.c:125:3: note: in expansion of macro 'FP_BITS' - 125 | FP_BITS(n) = fast_sqrt_table[(FP_BITS(n) >> 8) & 0xFFFF] | ((((FP_BITS(n) - 0x3F800000) >> 1) + 0x3F800000) & 0x7F800000); - | ^~~~~~~ -vmath.c:70:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 70 | #define FP_BITS(fp) (*(uint32_t *)&(fp)) - | ^~~~~~~~~~~~~~~~~ -vmath.c:125:33: note: in expansion of macro 'FP_BITS' - 125 | FP_BITS(n) = fast_sqrt_table[(FP_BITS(n) >> 8) & 0xFFFF] | ((((FP_BITS(n) - 0x3F800000) >> 1) + 0x3F800000) & 0x7F800000); - | ^~~~~~~ -vmath.c:70:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 70 | #define FP_BITS(fp) (*(uint32_t *)&(fp)) - | ^~~~~~~~~~~~~~~~~ -vmath.c:125:66: note: in expansion of macro 'FP_BITS' - 125 | FP_BITS(n) = fast_sqrt_table[(FP_BITS(n) >> 8) & 0xFFFF] | ((((FP_BITS(n) - 0x3F800000) >> 1) + 0x3F800000) & 0x7F800000); - | ^~~~~~~ -vmath.c: At top level: -vmath.c:192:14: warning: 'fast_cossin_table' is static but used in inline function 'fastcos' which is not static - 192 | return fast_cossin_table[(i + QUARTER_MAX_CIRCLE_ANGLE)&MASK_MAX_CIRCLE_ANGLE]; - | ^~~~~~~~~~~~~~~~~ -vmath.c:190:14: warning: 'fast_cossin_table' is static but used in inline function 'fastcos' which is not static - 190 | return fast_cossin_table[((-i) + QUARTER_MAX_CIRCLE_ANGLE)&MASK_MAX_CIRCLE_ANGLE]; - | ^~~~~~~~~~~~~~~~~ -vmath.c:177:14: warning: 'fast_cossin_table' is static but used in inline function 'fastsin' which is not static - 177 | return fast_cossin_table[i&MASK_MAX_CIRCLE_ANGLE]; - | ^~~~~~~~~~~~~~~~~ -vmath.c:175:14: warning: 'fast_cossin_table' is static but used in inline function 'fastsin' which is not static - 175 | return fast_cossin_table[(-((-i)&MASK_MAX_CIRCLE_ANGLE)) + MAX_CIRCLE_ANGLE]; - | ^~~~~~~~~~~~~~~~~ -vmath.c:125:16: warning: 'fast_sqrt_table' is static but used in inline function 'fastsqrt' which is not static - 125 | FP_BITS(n) = fast_sqrt_table[(FP_BITS(n) >> 8) & 0xFFFF] | ((((FP_BITS(n) - 0x3F800000) >> 1) + 0x3F800000) & 0x7F800000); - | ^~~~~~~~~~~~~~~ -vmath.c:55:56: warning: 'd2i' is static but used in inline function 'fastexp' which is not static - 55 | return (d2i.n.i = EXP_A*(y)+(1072693248-EXP_C),d2i.d); - | ^~~ -vmath.c:55:17: warning: 'd2i' is static but used in inline function 'fastexp' which is not static - 55 | return (d2i.n.i = EXP_A*(y)+(1072693248-EXP_C),d2i.d); - | ^~~ -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I/usr/include/freetype2 -I/usr/include/libpng16 `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -DVMATH_SINGLE_PRECISION -DDATA_DIRECTORY='"/usr/share/games/foobillardplus/data"' -DUSE_DEBIAN `dpkg-buildflags --get CFLAGS` -lm -c -o room.o room.c -In file included from options.h:33, - from textobj.c:35: +In file included from bumpref.h:29, + from bumpref.c:39: vmath.h:155:14: warning: inline function 'fastatan' declared but never defined 155 | inline float fastatan(float x); | ^~~~~~~~ @@ -1611,10 +1612,7 @@ vmath.h:149:15: warning: inline function 'fastexp' declared but never defined 149 | inline double fastexp(const double y); | ^~~~~~~ -In file included from options.h:33, - from billard.h:29, - from aiplayer.h:27, - from aiplayer.c:26: +In file included from options.c:42: vmath.h:155:14: warning: inline function 'fastatan' declared but never defined 155 | inline float fastatan(float x); | ^~~~~~~~ @@ -1636,24 +1634,8 @@ vmath.h:149:15: warning: inline function 'fastexp' declared but never defined 149 | inline double fastexp(const double y); | ^~~~~~~ -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I/usr/include/freetype2 -I/usr/include/libpng16 `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -DVMATH_SINGLE_PRECISION -DDATA_DIRECTORY='"/usr/share/games/foobillardplus/data"' -DUSE_DEBIAN `dpkg-buildflags --get CFLAGS` -lm -c -o mesh.o mesh.c -billard3d.c: In function 'check_cue': -billard3d.c:2319:41: warning: unused variable 'cue_start_ball' [-Wunused-variable] - 2319 | VMvect dir,cue_start,cue_start_bande,cue_start_ball,nx,ny,pos,hitpoint; - | ^~~~~~~~~~~~~~ -billard3d.c:2319:15: warning: unused variable 'cue_start' [-Wunused-variable] - 2319 | VMvect dir,cue_start,cue_start_bande,cue_start_ball,nx,ny,pos,hitpoint; - | ^~~~~~~~~ -billard3d.c: In function 'init_player_roster': -billard3d.c:2574:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 2574 | if(getenv("USER")) - | ^~ -billard3d.c:2576:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 2576 | strcpy(player[0].name,getenv("USER")); - | ^~~~~~ -In file included from textobj.h:28, - from menu.h:28, - from menu.c:25: +In file included from png_loader.h:28, + from fire.c:29: vmath.h:155:14: warning: inline function 'fastatan' declared but never defined 155 | inline float fastatan(float x); | ^~~~~~~~ @@ -1675,7 +1657,8 @@ vmath.h:149:15: warning: inline function 'fastexp' declared but never defined 149 | inline double fastexp(const double y); | ^~~~~~~ -In file included from options.c:42: +In file included from options.h:33, + from font.c:25: vmath.h:155:14: warning: inline function 'fastatan' declared but never defined 155 | inline float fastatan(float x); | ^~~~~~~~ @@ -1697,9 +1680,8 @@ vmath.h:149:15: warning: inline function 'fastexp' declared but never defined 149 | inline double fastexp(const double y); | ^~~~~~~ -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I/usr/include/freetype2 -I/usr/include/libpng16 `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -DVMATH_SINGLE_PRECISION -DDATA_DIRECTORY='"/usr/share/games/foobillardplus/data"' -DUSE_DEBIAN `dpkg-buildflags --get CFLAGS` -lm -c -o history.o history.c In file included from options.h:33, - from billmove.c:27: + from textobj.c:35: vmath.h:155:14: warning: inline function 'fastatan' declared but never defined 155 | inline float fastatan(float x); | ^~~~~~~~ @@ -1721,11 +1703,8 @@ vmath.h:149:15: warning: inline function 'fastexp' declared but never defined 149 | inline double fastexp(const double y); | ^~~~~~~ -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I/usr/include/freetype2 -I/usr/include/libpng16 `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -DVMATH_SINGLE_PRECISION -DDATA_DIRECTORY='"/usr/share/games/foobillardplus/data"' -DUSE_DEBIAN `dpkg-buildflags --get CFLAGS` -lm -c -o fire.o fire.c In file included from options.h:33, - from billard.h:29, - from billard3d.c:56: -vmath.h: At top level: + from sound_stuff.c:28: vmath.h:155:14: warning: inline function 'fastatan' declared but never defined 155 | inline float fastatan(float x); | ^~~~~~~~ @@ -1747,14 +1726,15 @@ vmath.h:149:15: warning: inline function 'fastexp' declared but never defined 149 | inline double fastexp(const double y); | ^~~~~~~ -In file included from png_loader.h:28, - from room.c:31: +In file included from options.h:33, + from language.c:27: vmath.h:155:14: warning: inline function 'fastatan' declared but never defined 155 | inline float fastatan(float x); | ^~~~~~~~ vmath.h:154:14: warning: inline function 'fastatan2' declared but never defined 154 | inline float fastatan2(float y, float x); | ^~~~~~~~~ +sound_stuff.c: In function 'init_sound': vmath.h:153:14: warning: inline function 'fastsin' declared but never defined 153 | inline float fastsin(float n); | ^~~~~~~ @@ -1767,32 +1747,33 @@ vmath.h:150:14: warning: inline function 'fastsqrt' declared but never defined 150 | inline float fastsqrt(float number); | ^~~~~~~~ +sound_stuff.c:211:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 211 | fread(&ball_ball_snd.data[0], 1, ball_ball_snd.len,f ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vmath.h:149:15: warning: inline function 'fastexp' declared but never defined 149 | inline double fastexp(const double y); | ^~~~~~~ -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I/usr/include/freetype2 -I/usr/include/libpng16 `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -DVMATH_SINGLE_PRECISION -DDATA_DIRECTORY='"/usr/share/games/foobillardplus/data"' -DUSE_DEBIAN `dpkg-buildflags --get CFLAGS` -lm -c -o fireplace_high.o fireplace_high.c -In file included from options.h:33, - from billard.h:29, - from ball.c:41: -vmath.h:155:14: warning: inline function 'fastatan' declared but never defined +In file included from ./sys_stuff.h:28, + from history.c:30: +./vmath.h:155:14: warning: inline function 'fastatan' declared but never defined 155 | inline float fastatan(float x); | ^~~~~~~~ -vmath.h:154:14: warning: inline function 'fastatan2' declared but never defined +./vmath.h:154:14: warning: inline function 'fastatan2' declared but never defined 154 | inline float fastatan2(float y, float x); | ^~~~~~~~~ -vmath.h:153:14: warning: inline function 'fastsin' declared but never defined +./vmath.h:153:14: warning: inline function 'fastsin' declared but never defined 153 | inline float fastsin(float n); | ^~~~~~~ -vmath.h:152:14: warning: inline function 'fastcos' declared but never defined +./vmath.h:152:14: warning: inline function 'fastcos' declared but never defined 152 | inline float fastcos(float n); | ^~~~~~~ -vmath.h:151:15: warning: inline function 'fastpow' declared but never defined +./vmath.h:151:15: warning: inline function 'fastpow' declared but never defined 151 | inline double fastpow(double a, double b); | ^~~~~~~ -vmath.h:150:14: warning: inline function 'fastsqrt' declared but never defined +./vmath.h:150:14: warning: inline function 'fastsqrt' declared but never defined 150 | inline float fastsqrt(float number); | ^~~~~~~~ -vmath.h:149:15: warning: inline function 'fastexp' declared but never defined +./vmath.h:149:15: warning: inline function 'fastexp' declared but never defined 149 | inline double fastexp(const double y); | ^~~~~~~ In file included from options.h:33, @@ -1818,10 +1799,24 @@ vmath.h:149:15: warning: inline function 'fastexp' declared but never defined 149 | inline double fastexp(const double y); | ^~~~~~~ +sys_stuff.c: In function 'get_dialogprog': +sys_stuff.c:124:12: warning: the comparison will always evaluate as 'true' for the address of 'path' will never be NULL [-Waddress] + 124 | if(path!=NULL) { + | ^~ +history.c: In function 'init_history': +sys_stuff.c:117:10: note: 'path' declared here + 117 | char path[2048]; + | ^~~~ +history.c:324:13: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] + 324 | chdir("../.."); + | ^~~~~~~~~~~~~~ +history.c:326:17: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] + 326 | chdir(".."); + | ^~~~~~~~~~~ +vmath.c: In function 'fastsqrt': In file included from options.h:33, from billard.h:29, - from evaluate_move.h:28, - from evaluate_move.c:29: + from table.c:37: vmath.h:155:14: warning: inline function 'fastatan' declared but never defined 155 | inline float fastatan(float x); | ^~~~~~~~ @@ -1843,9 +1838,55 @@ vmath.h:149:15: warning: inline function 'fastexp' declared but never defined 149 | inline double fastexp(const double y); | ^~~~~~~ +vmath.c:70:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 70 | #define FP_BITS(fp) (*(uint32_t *)&(fp)) + | ^~~~~~~~~~~~~~~~~ +vmath.c:122:7: note: in expansion of macro 'FP_BITS' + 122 | if (FP_BITS(n) == 0) + | ^~~~~~~ +vmath.c:70:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 70 | #define FP_BITS(fp) (*(uint32_t *)&(fp)) + | ^~~~~~~~~~~~~~~~~ +vmath.c:125:3: note: in expansion of macro 'FP_BITS' + 125 | FP_BITS(n) = fast_sqrt_table[(FP_BITS(n) >> 8) & 0xFFFF] | ((((FP_BITS(n) - 0x3F800000) >> 1) + 0x3F800000) & 0x7F800000); + | ^~~~~~~ +vmath.c:70:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 70 | #define FP_BITS(fp) (*(uint32_t *)&(fp)) + | ^~~~~~~~~~~~~~~~~ +vmath.c:125:33: note: in expansion of macro 'FP_BITS' + 125 | FP_BITS(n) = fast_sqrt_table[(FP_BITS(n) >> 8) & 0xFFFF] | ((((FP_BITS(n) - 0x3F800000) >> 1) + 0x3F800000) & 0x7F800000); + | ^~~~~~~ +vmath.c:70:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 70 | #define FP_BITS(fp) (*(uint32_t *)&(fp)) + | ^~~~~~~~~~~~~~~~~ +vmath.c:125:66: note: in expansion of macro 'FP_BITS' + 125 | FP_BITS(n) = fast_sqrt_table[(FP_BITS(n) >> 8) & 0xFFFF] | ((((FP_BITS(n) - 0x3F800000) >> 1) + 0x3F800000) & 0x7F800000); + | ^~~~~~~ +vmath.c: At top level: +vmath.c:192:14: warning: 'fast_cossin_table' is static but used in inline function 'fastcos' which is not static + 192 | return fast_cossin_table[(i + QUARTER_MAX_CIRCLE_ANGLE)&MASK_MAX_CIRCLE_ANGLE]; + | ^~~~~~~~~~~~~~~~~ +vmath.c:190:14: warning: 'fast_cossin_table' is static but used in inline function 'fastcos' which is not static + 190 | return fast_cossin_table[((-i) + QUARTER_MAX_CIRCLE_ANGLE)&MASK_MAX_CIRCLE_ANGLE]; + | ^~~~~~~~~~~~~~~~~ +vmath.c:177:14: warning: 'fast_cossin_table' is static but used in inline function 'fastsin' which is not static + 177 | return fast_cossin_table[i&MASK_MAX_CIRCLE_ANGLE]; + | ^~~~~~~~~~~~~~~~~ +vmath.c:175:14: warning: 'fast_cossin_table' is static but used in inline function 'fastsin' which is not static + 175 | return fast_cossin_table[(-((-i)&MASK_MAX_CIRCLE_ANGLE)) + MAX_CIRCLE_ANGLE]; + | ^~~~~~~~~~~~~~~~~ +vmath.c:125:16: warning: 'fast_sqrt_table' is static but used in inline function 'fastsqrt' which is not static + 125 | FP_BITS(n) = fast_sqrt_table[(FP_BITS(n) >> 8) & 0xFFFF] | ((((FP_BITS(n) - 0x3F800000) >> 1) + 0x3F800000) & 0x7F800000); + | ^~~~~~~~~~~~~~~ +vmath.c:55:56: warning: 'd2i' is static but used in inline function 'fastexp' which is not static + 55 | return (d2i.n.i = EXP_A*(y)+(1072693248-EXP_C),d2i.d); + | ^~~ +vmath.c:55:17: warning: 'd2i' is static but used in inline function 'fastexp' which is not static + 55 | return (d2i.n.i = EXP_A*(y)+(1072693248-EXP_C),d2i.d); + | ^~~ In file included from options.h:33, - from billard.h:29, - from billard.c:26: + from sys_stuff.c:25: +vmath.h: At top level: vmath.h:155:14: warning: inline function 'fastatan' declared but never defined 155 | inline float fastatan(float x); | ^~~~~~~~ @@ -1867,8 +1908,13 @@ vmath.h:149:15: warning: inline function 'fastexp' declared but never defined 149 | inline double fastexp(const double y); | ^~~~~~~ +sys_stuff.c: In function 'error_print': +sys_stuff.c:195:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] + 195 | system(newmessage); + | ^~~~~~~~~~~~~~~~~~ In file included from options.h:33, - from font.c:25: + from billard.h:29, + from ball.c:41: vmath.h:155:14: warning: inline function 'fastatan' declared but never defined 155 | inline float fastatan(float x); | ^~~~~~~~ @@ -1890,17 +1936,40 @@ vmath.h:149:15: warning: inline function 'fastexp' declared but never defined 149 | inline double fastexp(const double y); | ^~~~~~~ -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I/usr/include/freetype2 -I/usr/include/libpng16 `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -DVMATH_SINGLE_PRECISION -DDATA_DIRECTORY='"/usr/share/games/foobillardplus/data"' -DUSE_DEBIAN `dpkg-buildflags --get CFLAGS` -lm -c -o ceilinglamp_high.o ceilinglamp_high.c -sys_stuff.c: In function 'get_dialogprog': -sys_stuff.c:124:12: warning: the comparison will always evaluate as 'true' for the address of 'path' will never be NULL [-Waddress] - 124 | if(path!=NULL) { - | ^~ -sys_stuff.c:117:10: note: 'path' declared here - 117 | char path[2048]; - | ^~~~ +In file included from /usr/include/string.h:548, + from /usr/include/SDL/SDL_stdinc.h:35, + from /usr/include/SDL/SDL_main.h:29, + from /usr/include/SDL/SDL.h:29, + from sound_stuff.c:31: +In function 'strcpy', + inlined from 'strsound' at sound_stuff.c:101:7: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:81:10: warning: '__builtin___strcpy_chk' accessing between 1 and 10 bytes at offsets 0 and [0, 5] may overlap up to 10 bytes at offset [0, 9] [-Wrestrict] + 81 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sound_stuff.c: In function 'strsound': +sound_stuff.c:101:19: warning: 's' may be used uninitialized [-Wmaybe-uninitialized] + 101 | strcpy(s,&s[strlen(s)-4]); + | ^~~~~~~~~ +/usr/include/string.h:407:15: note: by argument 1 of type 'const char *' to 'strlen' declared here + 407 | extern size_t strlen (const char *__s) + | ^~~~~~ +sound_stuff.c:99:9: note: 's' declared here + 99 | char s[10]; + | ^ +In function 'strcpy', + inlined from 'strsound' at sound_stuff.c:101:7: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:81:10: warning: 's' may be used uninitialized [-Wmaybe-uninitialized] + 81 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +: In function 'strsound': +: note: by argument 2 of type 'const char *' to '__builtin___strcpy_chk' declared here +sound_stuff.c:99:9: note: 's' declared here + 99 | char s[10]; + | ^ In file included from options.h:33, from billard.h:29, - from queue.c:37: + from aiplayer.h:27, + from aiplayer.c:26: vmath.h:155:14: warning: inline function 'fastatan' declared but never defined 155 | inline float fastatan(float x); | ^~~~~~~~ @@ -1922,9 +1991,23 @@ vmath.h:149:15: warning: inline function 'fastexp' declared but never defined 149 | inline double fastexp(const double y); | ^~~~~~~ -In file included from options.h:33, - from billard.h:29, - from table.c:37: +history.c: In function 'show_history': +history.c:109:34: warning: '%s' directive writing up to 511 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] + 109 | sprintf(workstring," %s%s/html/%s",callstring,file_name,historyfile); + | ^~ ~~~~~~~~~ +In file included from /usr/include/stdio.h:970, + from history.c:25: +In function 'sprintf', + inlined from 'show_history' at history.c:109:4: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 8 or more bytes (assuming 1542) 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 ()); + | ~~~~~~~~~~~~~~~~~ +In file included from png_loader.h:28, + from room.c:31: vmath.h:155:14: warning: inline function 'fastatan' declared but never defined 155 | inline float fastatan(float x); | ^~~~~~~~ @@ -1947,8 +2030,9 @@ 149 | inline double fastexp(const double y); | ^~~~~~~ In file included from options.h:33, - from sys_stuff.c:25: -vmath.h: At top level: + from billard.h:29, + from evaluate_move.h:28, + from evaluate_move.c:29: vmath.h:155:14: warning: inline function 'fastatan' declared but never defined 155 | inline float fastatan(float x); | ^~~~~~~~ @@ -1970,12 +2054,9 @@ vmath.h:149:15: warning: inline function 'fastexp' declared but never defined 149 | inline double fastexp(const double y); | ^~~~~~~ -sys_stuff.c: In function 'error_print': -sys_stuff.c:195:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] - 195 | system(newmessage); - | ^~~~~~~~~~~~~~~~~~ -In file included from bumpref.h:29, - from bumpref.c:39: +In file included from options.h:33, + from billard.h:29, + from billard.c:26: vmath.h:155:14: warning: inline function 'fastatan' declared but never defined 155 | inline float fastatan(float x); | ^~~~~~~~ @@ -1997,8 +2078,25 @@ vmath.h:149:15: warning: inline function 'fastexp' declared but never defined 149 | inline double fastexp(const double y); | ^~~~~~~ -In file included from png_loader.h:28, - from fire.c:29: +history.c: In function 'file_tournament_history': +history.c:141:54: warning: '%04d' directive output may be truncated writing between 4 and 11 bytes into a region of size between 1 and 19 [-Wformat-truncation=] + 141 | snprintf(datestring,sizeof(datestring),"%02d.%02d.%04d %02d:%02d:%02d",timeinfo->tm_mday,timeinfo->tm_mon+1,timeinfo->tm_year+1900,timeinfo->tm_hour,timeinfo->tm_min,timeinfo->tm_sec); + | ^~~~ +history.c:141:43: note: directive argument in the range [-2147481748, 2147483647] + 141 | snprintf(datestring,sizeof(datestring),"%02d.%02d.%04d %02d:%02d:%02d",timeinfo->tm_mday,timeinfo->tm_mon+1,timeinfo->tm_year+1900,timeinfo->tm_hour,timeinfo->tm_min,timeinfo->tm_sec); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'snprintf', + inlined from 'file_tournament_history' at history.c:141:4: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 20 and 72 bytes into a destination of size 25 + 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +In file included from textobj.h:28, + from menu.h:28, + from menu.c:25: vmath.h:155:14: warning: inline function 'fastatan' declared but never defined 155 | inline float fastatan(float x); | ^~~~~~~~ @@ -2021,7 +2119,7 @@ 149 | inline double fastexp(const double y); | ^~~~~~~ In file included from options.h:33, - from sound_stuff.c:28: + from billmove.c:27: vmath.h:155:14: warning: inline function 'fastatan' declared but never defined 155 | inline float fastatan(float x); | ^~~~~~~~ @@ -2043,132 +2141,20 @@ vmath.h:149:15: warning: inline function 'fastexp' declared but never defined 149 | inline double fastexp(const double y); | ^~~~~~~ -sound_stuff.c: In function 'init_sound': -sound_stuff.c:211:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 211 | fread(&ball_ball_snd.data[0], 1, ball_ball_snd.len,f ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ./sys_stuff.h:28, - from history.c:30: -./vmath.h:155:14: warning: inline function 'fastatan' declared but never defined - 155 | inline float fastatan(float x); - | ^~~~~~~~ -./vmath.h:154:14: warning: inline function 'fastatan2' declared but never defined - 154 | inline float fastatan2(float y, float x); - | ^~~~~~~~~ -./vmath.h:153:14: warning: inline function 'fastsin' declared but never defined - 153 | inline float fastsin(float n); - | ^~~~~~~ -./vmath.h:152:14: warning: inline function 'fastcos' declared but never defined - 152 | inline float fastcos(float n); - | ^~~~~~~ -./vmath.h:151:15: warning: inline function 'fastpow' declared but never defined - 151 | inline double fastpow(double a, double b); - | ^~~~~~~ -./vmath.h:150:14: warning: inline function 'fastsqrt' declared but never defined - 150 | inline float fastsqrt(float number); - | ^~~~~~~~ -./vmath.h:149:15: warning: inline function 'fastexp' declared but never defined - 149 | inline double fastexp(const double y); - | ^~~~~~~ -history.c: In function 'init_history': -history.c:324:13: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] - 324 | chdir("../.."); - | ^~~~~~~~~~~~~~ -history.c:326:17: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] - 326 | chdir(".."); - | ^~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I/usr/include/freetype2 -I/usr/include/libpng16 `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -DVMATH_SINGLE_PRECISION -DDATA_DIRECTORY='"/usr/share/games/foobillardplus/data"' -DUSE_DEBIAN `dpkg-buildflags --get CFLAGS` -lm -c -o cartoonguy.o cartoonguy.c -menu.c: In function 'menu_entry_set_settingtext': -menu.c:273:28: warning: ' : ' directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=] - 273 | sprintf(str,"%s : %s",entry->text,entry->settingtext); - | ^~~ -In file included from /usr/include/stdio.h:970, - from menu.c:26: -In function 'sprintf', - inlined from 'menu_entry_set_settingtext' at menu.c:273:13: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 259) into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -menu.c: In function 'menu_create_textobj': -menu.c:292:28: warning: ' : ' directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=] - 292 | sprintf(str,"%s : %s",entry->text,entry->settingtext); - | ^~~ -In function 'sprintf', - inlined from 'menu_create_textobj' at menu.c:292:13, - inlined from 'menu_create_textobj' at menu.c:285:6: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 4 and 514 bytes into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -history.c: In function 'show_history': -history.c:109:34: warning: '%s' directive writing up to 511 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] - 109 | sprintf(workstring," %s%s/html/%s",callstring,file_name,historyfile); - | ^~ ~~~~~~~~~ -In file included from /usr/include/stdio.h:970, - from history.c:25: -In function 'sprintf', - inlined from 'show_history' at history.c:109:4: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 8 or more bytes (assuming 1542) 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 ()); - | ~~~~~~~~~~~~~~~~~ -history.c: In function 'file_tournament_history': -history.c:141:54: warning: '%04d' directive output may be truncated writing between 4 and 11 bytes into a region of size between 1 and 19 [-Wformat-truncation=] - 141 | snprintf(datestring,sizeof(datestring),"%02d.%02d.%04d %02d:%02d:%02d",timeinfo->tm_mday,timeinfo->tm_mon+1,timeinfo->tm_year+1900,timeinfo->tm_hour,timeinfo->tm_min,timeinfo->tm_sec); - | ^~~~ -history.c:141:43: note: directive argument in the range [-2147481748, 2147483647] - 141 | snprintf(datestring,sizeof(datestring),"%02d.%02d.%04d %02d:%02d:%02d",timeinfo->tm_mday,timeinfo->tm_mon+1,timeinfo->tm_year+1900,timeinfo->tm_hour,timeinfo->tm_min,timeinfo->tm_sec); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'snprintf', - inlined from 'file_tournament_history' at history.c:141:4: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 20 and 72 bytes into a destination of size 25 - 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 70 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I/usr/include/freetype2 -I/usr/include/libpng16 `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -DVMATH_SINGLE_PRECISION -DDATA_DIRECTORY='"/usr/share/games/foobillardplus/data"' -DUSE_DEBIAN `dpkg-buildflags --get CFLAGS` -lm -c -o sittingboy.o sittingboy.c -In file included from /usr/include/string.h:548, - from /usr/include/SDL/SDL_stdinc.h:35, - from /usr/include/SDL/SDL_main.h:29, - from /usr/include/SDL/SDL.h:29, - from sound_stuff.c:31: -In function 'strcpy', - inlined from 'strsound' at sound_stuff.c:101:7: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:81:10: warning: '__builtin___strcpy_chk' accessing between 1 and 10 bytes at offsets 0 and [0, 5] may overlap up to 10 bytes at offset [0, 9] [-Wrestrict] - 81 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sound_stuff.c: In function 'strsound': -sound_stuff.c:101:19: warning: 's' may be used uninitialized [-Wmaybe-uninitialized] - 101 | strcpy(s,&s[strlen(s)-4]); - | ^~~~~~~~~ -/usr/include/string.h:407:15: note: by argument 1 of type 'const char *' to 'strlen' declared here - 407 | extern size_t strlen (const char *__s) - | ^~~~~~ -sound_stuff.c:99:9: note: 's' declared here - 99 | char s[10]; - | ^ -In function 'strcpy', - inlined from 'strsound' at sound_stuff.c:101:7: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:81:10: warning: 's' may be used uninitialized [-Wmaybe-uninitialized] - 81 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -: In function 'strsound': -: note: by argument 2 of type 'const char *' to '__builtin___strcpy_chk' declared here -sound_stuff.c:99:9: note: 's' declared here - 99 | char s[10]; - | ^ +billard3d.c: In function 'check_cue': +billard3d.c:2319:41: warning: unused variable 'cue_start_ball' [-Wunused-variable] + 2319 | VMvect dir,cue_start,cue_start_bande,cue_start_ball,nx,ny,pos,hitpoint; + | ^~~~~~~~~~~~~~ +billard3d.c:2319:15: warning: unused variable 'cue_start' [-Wunused-variable] + 2319 | VMvect dir,cue_start,cue_start_bande,cue_start_ball,nx,ny,pos,hitpoint; + | ^~~~~~~~~ +billard3d.c: In function 'init_player_roster': +billard3d.c:2574:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 2574 | if(getenv("USER")) + | ^~ +billard3d.c:2576:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 2576 | strcpy(player[0].name,getenv("USER")); + | ^~~~~~ history.c: In function 'file_history': history.c:202:54: warning: '%04d' directive output may be truncated writing between 4 and 11 bytes into a region of size between 1 and 19 [-Wformat-truncation=] 202 | snprintf(datestring,sizeof(datestring),"%02d.%02d.%04d %02d:%02d:%02d",timeinfo->tm_mday,timeinfo->tm_mon+1,timeinfo->tm_year+1900,timeinfo->tm_hour,timeinfo->tm_min,timeinfo->tm_sec); @@ -2185,7 +2171,29 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I/usr/include/freetype2 -I/usr/include/libpng16 `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -DVMATH_SINGLE_PRECISION -DDATA_DIRECTORY='"/usr/share/games/foobillardplus/data"' -DUSE_DEBIAN `dpkg-buildflags --get CFLAGS` -lm -c -o flower.o flower.c +In file included from png_loader.h:28, + from fireplace_high.c:26: +vmath.h:155:14: warning: inline function 'fastatan' declared but never defined + 155 | inline float fastatan(float x); + | ^~~~~~~~ +vmath.h:154:14: warning: inline function 'fastatan2' declared but never defined + 154 | inline float fastatan2(float y, float x); + | ^~~~~~~~~ +vmath.h:153:14: warning: inline function 'fastsin' declared but never defined + 153 | inline float fastsin(float n); + | ^~~~~~~ +vmath.h:152:14: warning: inline function 'fastcos' declared but never defined + 152 | inline float fastcos(float n); + | ^~~~~~~ +vmath.h:151:15: warning: inline function 'fastpow' declared but never defined + 151 | inline double fastpow(double a, double b); + | ^~~~~~~ +vmath.h:150:14: warning: inline function 'fastsqrt' declared but never defined + 150 | inline float fastsqrt(float number); + | ^~~~~~~~ +vmath.h:149:15: warning: inline function 'fastexp' declared but never defined + 149 | inline double fastexp(const double y); + | ^~~~~~~ history.c: In function 'init_history': history.c:306:32: warning: '%s' directive writing 11 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 306 | sprintf(copy_file,"%s/%s",directorycheck,"history.xsl"); @@ -2264,15 +2272,39 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I/usr/include/freetype2 -I/usr/include/libpng16 `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -DVMATH_SINGLE_PRECISION -DDATA_DIRECTORY='"/usr/share/games/foobillardplus/data"' -DUSE_DEBIAN `dpkg-buildflags --get CFLAGS` -lm -c -o bottle.o bottle.c -billard3d.c: In function 'process_option': -billard3d.c:1319:12: warning: '__builtin_strncpy' specified bound 3 equals destination size [-Wstringop-truncation] - 1319 | strncpy(options_language,optarg,sizeof(options_language)); - | ^ -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I/usr/include/freetype2 -I/usr/include/libpng16 `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -DVMATH_SINGLE_PRECISION -DDATA_DIRECTORY='"/usr/share/games/foobillardplus/data"' -DUSE_DEBIAN `dpkg-buildflags --get CFLAGS` -lm -c -o chess.o chess.c -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I/usr/include/freetype2 -I/usr/include/libpng16 `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -DVMATH_SINGLE_PRECISION -DDATA_DIRECTORY='"/usr/share/games/foobillardplus/data"' -DUSE_DEBIAN `dpkg-buildflags --get CFLAGS` -lm -c -o getopt_long.o getopt_long.c -In file included from png_loader.h:28, - from mesh.c:36: +menu.c: In function 'menu_entry_set_settingtext': +menu.c:273:28: warning: ' : ' directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=] + 273 | sprintf(str,"%s : %s",entry->text,entry->settingtext); + | ^~~ +In file included from /usr/include/stdio.h:970, + from menu.c:26: +In function 'sprintf', + inlined from 'menu_entry_set_settingtext' at menu.c:273:13: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 259) into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +menu.c: In function 'menu_create_textobj': +menu.c:292:28: warning: ' : ' directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=] + 292 | sprintf(str,"%s : %s",entry->text,entry->settingtext); + | ^~~ +In function 'sprintf', + inlined from 'menu_create_textobj' at menu.c:292:13, + inlined from 'menu_create_textobj' at menu.c:285:6: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 4 and 514 bytes into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +In file included from options.h:33, + from billard.h:29, + from billard3d.c:56: +vmath.h: At top level: vmath.h:155:14: warning: inline function 'fastatan' declared but never defined 155 | inline float fastatan(float x); | ^~~~~~~~ @@ -2295,7 +2327,7 @@ 149 | inline double fastexp(const double y); | ^~~~~~~ In file included from png_loader.h:28, - from fireplace_high.c:26: + from mesh.c:36: vmath.h:155:14: warning: inline function 'fastatan' declared but never defined 155 | inline float fastatan(float x); | ^~~~~~~~ @@ -2317,6 +2349,10 @@ vmath.h:149:15: warning: inline function 'fastexp' declared but never defined 149 | inline double fastexp(const double y); | ^~~~~~~ +billard3d.c: In function 'process_option': +billard3d.c:1319:12: warning: '__builtin_strncpy' specified bound 3 equals destination size [-Wstringop-truncation] + 1319 | strncpy(options_language,optarg,sizeof(options_language)); + | ^ gcc -Wall -I/usr/include/freetype2 -I/usr/include/libpng16 `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -DVMATH_SINGLE_PRECISION -DDATA_DIRECTORY='"/usr/share/games/foobillardplus/data"' -DUSE_DEBIAN `dpkg-buildflags --get CFLAGS` -lm -lfreetype `sdl-config --libs` -Wl,-z,relro -Wl,--as-needed -o foobillardplus billard3d.o language.o billmove.o billard.o vmath.o ball.o png_loader.o table.o queue.o aiplayer.o options.o evaluate_move.o helpscreen.o textobj.o font.o sys_stuff.o net_socket.o sound_stuff.o menu.o bumpref.o room.o mesh.o history.o fire.o fireplace_high.o ceilinglamp_high.o cartoonguy.o sittingboy.o flower.o bottle.o chess.o getopt_long.o -lGL -lGLU -lpng -lfreetype -lSDL_mixer -lm -lSDL_mixer -lSDL_net -lSDL -lSDL -lpng make[3]: Leaving directory '/build/reproducible-path/foobillardplus-3.43~svn170+dfsg/src' make[2]: Leaving directory '/build/reproducible-path/foobillardplus-3.43~svn170+dfsg/src' @@ -2325,7 +2361,7 @@ make[2]: Leaving directory '/build/reproducible-path/foobillardplus-3.43~svn170+dfsg' make[1]: Leaving directory '/build/reproducible-path/foobillardplus-3.43~svn170+dfsg' dh_auto_test - make -j20 check "TESTSUITEFLAGS=-j20 --verbose" VERBOSE=1 + make -j42 check "TESTSUITEFLAGS=-j42 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/foobillardplus-3.43~svn170+dfsg' Making check in src make[2]: Entering directory '/build/reproducible-path/foobillardplus-3.43~svn170+dfsg/src' @@ -2337,13 +2373,13 @@ create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install - make -j20 install DESTDIR=/build/reproducible-path/foobillardplus-3.43\~svn170\+dfsg/debian/tmp AM_UPDATE_INFO_DIR=no + make -j42 install DESTDIR=/build/reproducible-path/foobillardplus-3.43\~svn170\+dfsg/debian/tmp AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/reproducible-path/foobillardplus-3.43~svn170+dfsg' Making install in src make[2]: Entering directory '/build/reproducible-path/foobillardplus-3.43~svn170+dfsg/src' make[3]: Entering directory '/build/reproducible-path/foobillardplus-3.43~svn170+dfsg/src' - /usr/bin/mkdir -p '/build/reproducible-path/foobillardplus-3.43~svn170+dfsg/debian/tmp/usr' make[3]: Nothing to be done for 'install-data-am'. + /usr/bin/mkdir -p '/build/reproducible-path/foobillardplus-3.43~svn170+dfsg/debian/tmp/usr' /usr/bin/install -c foobillardplus '/build/reproducible-path/foobillardplus-3.43~svn170+dfsg/debian/tmp/usr' make[3]: Leaving directory '/build/reproducible-path/foobillardplus-3.43~svn170+dfsg/src' make[2]: Leaving directory '/build/reproducible-path/foobillardplus-3.43~svn170+dfsg/src' @@ -2374,8 +2410,8 @@ dh_md5sums dh_builddeb dpkg-deb: building package 'foobillardplus' in '../foobillardplus_3.43~svn170+dfsg-7_amd64.deb'. -dpkg-deb: building package 'foobillardplus-data' in '../foobillardplus-data_3.43~svn170+dfsg-7_all.deb'. dpkg-deb: building package 'foobillardplus-dbgsym' in '../foobillardplus-dbgsym_3.43~svn170+dfsg-7_amd64.deb'. +dpkg-deb: building package 'foobillardplus-data' in '../foobillardplus-data_3.43~svn170+dfsg-7_all.deb'. dpkg-genbuildinfo --build=binary -O../foobillardplus_3.43~svn170+dfsg-7_amd64.buildinfo dpkg-genchanges --build=binary -O../foobillardplus_3.43~svn170+dfsg-7_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2383,12 +2419,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/915445/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/915445/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/2553981 and its subdirectories -I: Current time: Wed Feb 26 22:27:55 -12 2025 -I: pbuilder-time-stamp: 1740652075 +I: removing directory /srv/workspace/pbuilder/915445 and its subdirectories +I: Current time: Thu Apr 2 06:53:13 +14 2026 +I: pbuilder-time-stamp: 1775062393