Diff of the two buildlogs: -- --- b1/build.log 2024-05-15 14:03:03.434460028 +0000 +++ b2/build.log 2024-05-15 14:05:29.404248656 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed May 15 01:58:06 -12 2024 -I: pbuilder-time-stamp: 1715781486 +I: Current time: Thu May 16 04:03:13 +14 2024 +I: pbuilder-time-stamp: 1715781793 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -38,52 +38,84 @@ dpkg-source: info: applying implicit-declaration.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1188/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3691/tmp/hooks/D01_modify_environment starting +debug: Running on virt64a. +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 15 14:03 /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/3691/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3691/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='unstable' - 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=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='eba45e6a82c8474ea8b78287ebd41256' - 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='1188' - PS1='# ' - PS2='> ' + INVOCATION_ID=68f4605567924b85beb3faf13b614ba7 + 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=3691 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.O6vRwhf1/pbuilderrc_91Vu --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.O6vRwhf1/b1 --logfile b1/build.log gngb_20060309-6.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.O6vRwhf1/pbuilderrc_9OMo --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.O6vRwhf1/b2 --logfile b2/build.log gngb_20060309-6.dsc' + SUDO_GID=114 + SUDO_UID=108 + 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 wbq0 6.1.0-21-armmp #1 SMP Debian 6.1.90-1 (2024-05-03) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 13 07:46 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1188/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 15 07:44 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3691/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -323,7 +355,7 @@ Get: 196 http://deb.debian.org/debian unstable/main armhf libxxf86vm-dev armhf 1:1.1.4-1+b2 [25.1 kB] Get: 197 http://deb.debian.org/debian unstable/main armhf libsdl2-dev armhf 2.30.2+dfsg-1 [1013 kB] Get: 198 http://deb.debian.org/debian unstable/main armhf libsdl1.2-dev armhf 1.2.68-2 [64.4 kB] -Fetched 81.5 MB in 7s (10.9 MB/s) +Fetched 81.5 MB in 2s (42.0 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 ... 19446 files and directories currently installed.) @@ -961,8 +993,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Wed May 15 14:00:26 UTC 2024. -Universal Time is now: Wed May 15 14:00:26 UTC 2024. +Local time is now: Wed May 15 14:04:18 UTC 2024. +Universal Time is now: Wed May 15 14:04:18 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libsysprof-capture-4-dev:armhf (46.0-1) ... @@ -1146,7 +1178,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/gngb-20060309/ && 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 > ../gngb_20060309-6_source.changes +I: user script /srv/workspace/pbuilder/3691/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/3691/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/gngb-20060309/ && 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 > ../gngb_20060309-6_source.changes dpkg-buildpackage: info: source package gngb dpkg-buildpackage: info: source version 20060309-6 dpkg-buildpackage: info: source distribution unstable @@ -1258,7 +1294,7 @@ config.status: creating config.h config.status: executing depfiles commands dh_auto_build - make -j3 + make -j4 make[1]: Entering directory '/build/reproducible-path/gngb-20060309' make all-recursive make[2]: Entering directory '/build/reproducible-path/gngb-20060309' @@ -1267,6 +1303,12 @@ gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gngb-20060309=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o cpu.o cpu.c gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gngb-20060309=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o emu.o emu.c gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gngb-20060309=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o frame_skip.o frame_skip.c +gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gngb-20060309=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o interrupt.o interrupt.c +In file included from emu.h:22, + from emu.c:32: +global.h:28: warning: "__inline__" redefined + 28 | #define __inline__ inline + | In file included from rom.h:23, from cpu.c:22: global.h:28: warning: "__inline__" redefined @@ -1279,11 +1321,6 @@ /usr/include/SDL/begin_code.h:112: note: this is the location of the previous definition 112 | #define __inline__ __inline__ | -In file included from emu.h:22, - from emu.c:32: -global.h:28: warning: "__inline__" redefined - 28 | #define __inline__ inline - | In file included from /usr/include/SDL/SDL_stdinc.h:118, from /usr/include/SDL/SDL_main.h:29, from /usr/include/SDL/SDL.h:29, @@ -1343,32 +1380,6 @@ emu.c:284:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 284 | fgets(buf,510,f); | ^~~~~~~~~~~~~~~~ -cpu.c: In function 'gbcpu_exec_one': -cpu.c:884:14: warning: self-comparison always evaluates to false [-Wtautological-compare] - 884 | ((A>A)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); - | ^ -cpu.c:885:21: warning: self-comparison always evaluates to false [-Wtautological-compare] - 885 | (((A&0x0f)>(A&0x0f))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); - | ^ -In file included from emu.h:22, - from frame_skip.c:34: -global.h:28: warning: "__inline__" redefined - 28 | #define __inline__ inline - | -In file included from /usr/include/SDL/SDL_stdinc.h:118, - from /usr/include/SDL/SDL_main.h:29, - from /usr/include/SDL/SDL.h:29, - from frame_skip.c:31: -/usr/include/SDL/begin_code.h:112: note: this is the location of the previous definition - 112 | #define __inline__ __inline__ - | -emu.c:301:13: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] - 301 | strncpy(*((char **) config_var[i].var),val,strlen(val)+1); - | ^ -emu.c:301:56: note: length computed here - 301 | strncpy(*((char **) config_var[i].var),val,strlen(val)+1); - | ^~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gngb-20060309=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o interrupt.o interrupt.c In file included from interrupt.h:22, from interrupt.c:21: global.h:28: warning: "__inline__" redefined @@ -1381,6 +1392,13 @@ /usr/include/SDL/begin_code.h:112: note: this is the location of the previous definition 112 | #define __inline__ __inline__ | +cpu.c: In function 'gbcpu_exec_one': +cpu.c:884:14: warning: self-comparison always evaluates to false [-Wtautological-compare] + 884 | ((A>A)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); + | ^ +cpu.c:885:21: warning: self-comparison always evaluates to false [-Wtautological-compare] + 885 | (((A&0x0f)>(A&0x0f))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); + | ^ In file included from interrupt.c:25: cpu.h:83:17: warning: inline function 'cpu_run' declared but never defined 83 | __inline__ void cpu_run(void); @@ -1396,6 +1414,24 @@ interrupt.c:511:1: warning: control reaches end of non-void function [-Wreturn-type] 511 | } | ^ +In file included from emu.h:22, + from frame_skip.c:34: +global.h:28: warning: "__inline__" redefined + 28 | #define __inline__ inline + | +In file included from /usr/include/SDL/SDL_stdinc.h:118, + from /usr/include/SDL/SDL_main.h:29, + from /usr/include/SDL/SDL.h:29, + from frame_skip.c:31: +/usr/include/SDL/begin_code.h:112: note: this is the location of the previous definition + 112 | #define __inline__ __inline__ + | +emu.c:301:13: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] + 301 | strncpy(*((char **) config_var[i].var),val,strlen(val)+1); + | ^ +emu.c:301:56: note: length computed here + 301 | strncpy(*((char **) config_var[i].var),val,strlen(val)+1); + | ^~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gngb-20060309=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o main.o main.c In file included from main.c:32: global.h:28: warning: "__inline__" redefined @@ -1420,6 +1456,7 @@ 82 | __inline__ Uint8 gbcpu_exec_one(void); | ^~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gngb-20060309=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o memory.o memory.c +gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gngb-20060309=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o message.o message.c In file included from memory.h:23, from memory.c:24: global.h:28: warning: "__inline__" redefined @@ -1432,6 +1469,10 @@ /usr/include/SDL/begin_code.h:112: note: this is the location of the previous definition 112 | #define __inline__ __inline__ | +In file included from message.c:23: +global.h:28: warning: "__inline__" redefined + 28 | #define __inline__ inline + | memory.c:78:25: warning: data definition has no type or storage class 78 | Sint16 joy_x_min=-32767;joy_x_max=32767;joy_y_min=-32767;joy_y_max=32767; | ^~~~~~~~~ @@ -1444,34 +1485,6 @@ 78 | Sint16 joy_x_min=-32767;joy_x_max=32767;joy_y_min=-32767;joy_y_max=32767; | ^~~~~~~~~ memory.c:78:58: warning: type defaults to 'int' in declaration of 'joy_y_max' [-Wimplicit-int] -memory.c: In function 'set_active_wram_page': -memory.c:188:7: warning: unused variable 'i' [-Wunused-variable] - 188 | int i; - | ^ -memory.c: In function 'do_gdma': -memory.c:503:10: warning: unused variable 'd' [-Wunused-variable] - 503 | Uint8 *d=&vram_page[active_vram_page][dma_info.dest&0x1fff]; - | ^ -memory.c:502:9: warning: unused variable 'bk' [-Wunused-variable] - 502 | Uint8 bk; - | ^~ -In file included from memory.c:28: -vram.h: At top level: -vram.h:108:18: warning: inline function 'get_nb_spr' declared but never defined - 108 | __inline__ Uint8 get_nb_spr(void); - | ^~~~~~~~~~ -In file included from memory.c:26: -cpu.h:83:17: warning: inline function 'cpu_run' declared but never defined - 83 | __inline__ void cpu_run(void); - | ^~~~~~~ -cpu.h:82:18: warning: inline function 'gbcpu_exec_one' declared but never defined - 82 | __inline__ Uint8 gbcpu_exec_one(void); - | ^~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gngb-20060309=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o message.o message.c -In file included from message.c:23: -global.h:28: warning: "__inline__" redefined - 28 | #define __inline__ inline - | In file included from /usr/include/SDL/SDL_stdinc.h:118, from /usr/include/SDL/SDL_main.h:29, from /usr/include/SDL/SDL.h:29, @@ -1479,6 +1492,10 @@ /usr/include/SDL/begin_code.h:112: note: this is the location of the previous definition 112 | #define __inline__ __inline__ | +memory.c: In function 'set_active_wram_page': +memory.c:188:7: warning: unused variable 'i' [-Wunused-variable] + 188 | int i; + | ^ In file included from message.c:28: video_std.h:54:17: warning: inline function 'draw_obj_std' declared but never defined 54 | __inline__ void draw_obj_std(Uint16 *buf); @@ -1520,7 +1537,27 @@ vram.h:108:18: warning: inline function 'get_nb_spr' declared but never defined 108 | __inline__ Uint8 get_nb_spr(void); | ^~~~~~~~~~ +memory.c: In function 'do_gdma': +memory.c:503:10: warning: unused variable 'd' [-Wunused-variable] + 503 | Uint8 *d=&vram_page[active_vram_page][dma_info.dest&0x1fff]; + | ^ +memory.c:502:9: warning: unused variable 'bk' [-Wunused-variable] + 502 | Uint8 bk; + | ^~ +In file included from memory.c:28: +vram.h: At top level: +vram.h:108:18: warning: inline function 'get_nb_spr' declared but never defined + 108 | __inline__ Uint8 get_nb_spr(void); + | ^~~~~~~~~~ +In file included from memory.c:26: +cpu.h:83:17: warning: inline function 'cpu_run' declared but never defined + 83 | __inline__ void cpu_run(void); + | ^~~~~~~ +cpu.h:82:18: warning: inline function 'gbcpu_exec_one' declared but never defined + 82 | __inline__ Uint8 gbcpu_exec_one(void); + | ^~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gngb-20060309=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o rom.o rom.c +gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gngb-20060309=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o serial.o serial.c In file included from rom.h:23, from rom.c:38: global.h:28: warning: "__inline__" redefined @@ -1547,7 +1584,6 @@ cpu.h:82:18: warning: inline function 'gbcpu_exec_one' declared but never defined 82 | __inline__ Uint8 gbcpu_exec_one(void); | ^~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gngb-20060309=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o serial.o serial.c In file included from serial.h:22, from serial.c:43: global.h:28: warning: "__inline__" redefined @@ -1618,6 +1654,7 @@ /usr/include/arm-linux-gnueabihf/bits/unistd.h:26:1: note: in a call to function 'read' declared with attribute 'access (write_only, 2, 3)' 26 | read (int __fd, void *__buf, size_t __nbytes) | ^~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gngb-20060309=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o sgb.o sgb.c In file included from /usr/include/features.h:502, from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, @@ -1627,7 +1664,7 @@ /usr/include/arm-linux-gnueabihf/bits/unistd.h:28:10: warning: call to '__read_chk_warn' declared with attribute warning: read called with bigger length than size of the destination buffer [-Wattribute-warning] 28 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gngb-20060309=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o sgb.o sgb.c +gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gngb-20060309=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o sound.o sound.c In file included from memory.h:23, from sgb.c:22: global.h:28: warning: "__inline__" redefined @@ -1686,7 +1723,6 @@ vram.h:108:18: warning: inline function 'get_nb_spr' declared but never defined 108 | __inline__ Uint8 get_nb_spr(void); | ^~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gngb-20060309=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o sound.o sound.c In file included from emu.h:22, from sound.c:25: global.h:28: warning: "__inline__" redefined @@ -1885,6 +1921,7 @@ 108 | __inline__ Uint8 get_nb_spr(void); | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gngb-20060309=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o video_yuv.o video_yuv.c +gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gngb-20060309=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o video_yv12.o video_yv12.c In file included from cpu.h:23, from video_yuv.c:21: global.h:28: warning: "__inline__" redefined @@ -1907,7 +1944,7 @@ cpu.h:82:18: warning: inline function 'gbcpu_exec_one' declared but never defined 82 | __inline__ Uint8 gbcpu_exec_one(void); | ^~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gngb-20060309=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o video_yv12.o video_yv12.c +gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gngb-20060309=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o video_std.o video_std.c In file included from video_yv12.c:20: global.h:28: warning: "__inline__" redefined 28 | #define __inline__ inline @@ -1960,8 +1997,6 @@ vram.h:108:18: warning: inline function 'get_nb_spr' declared but never defined 108 | __inline__ Uint8 get_nb_spr(void); | ^~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gngb-20060309=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o video_std.o video_std.c -gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gngb-20060309=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o video_gl.o video_gl.c In file included from video_std.c:20: global.h:28: warning: "__inline__" redefined 28 | #define __inline__ inline @@ -1990,6 +2025,8 @@ vram.h:108:18: warning: inline function 'get_nb_spr' declared but never defined 108 | __inline__ Uint8 get_nb_spr(void); | ^~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gngb-20060309=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o video_gl.o video_gl.c +gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gngb-20060309=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o menu.o menu.c In file included from video_gl.c:5: global.h:28: warning: "__inline__" redefined 28 | #define __inline__ inline @@ -2001,7 +2038,19 @@ /usr/include/SDL/begin_code.h:112: note: this is the location of the previous definition 112 | #define __inline__ __inline__ | -In file included from video_gl.c:13: +In file included from ./memory.h:23, + from menu.c:20: +./global.h:28: warning: "__inline__" redefined + 28 | #define __inline__ inline + | +In file included from /usr/include/SDL/SDL_stdinc.h:118, + from /usr/include/SDL/SDL_main.h:29, + from /usr/include/SDL/SDL.h:29, + from ./global.h:23: +/usr/include/SDL/begin_code.h:112: note: this is the location of the previous definition + 112 | #define __inline__ __inline__ + | +In file included from menu.c:29: video_std.h:54:17: warning: inline function 'draw_obj_std' declared but never defined 54 | __inline__ void draw_obj_std(Uint16 *buf); | ^~~~~~~~~~~~ @@ -2038,24 +2087,11 @@ video_std.h:41:17: warning: inline function 'draw_back_sgb_std' declared but never defined 41 | __inline__ void draw_back_sgb_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~~ -In file included from video_gl.c:7: +In file included from menu.c:28: vram.h:108:18: warning: inline function 'get_nb_spr' declared but never defined 108 | __inline__ Uint8 get_nb_spr(void); | ^~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gngb-20060309=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o menu.o menu.c -In file included from ./memory.h:23, - from menu.c:20: -./global.h:28: warning: "__inline__" redefined - 28 | #define __inline__ inline - | -In file included from /usr/include/SDL/SDL_stdinc.h:118, - from /usr/include/SDL/SDL_main.h:29, - from /usr/include/SDL/SDL.h:29, - from ./global.h:23: -/usr/include/SDL/begin_code.h:112: note: this is the location of the previous definition - 112 | #define __inline__ __inline__ - | -In file included from menu.c:29: +In file included from video_gl.c:13: video_std.h:54:17: warning: inline function 'draw_obj_std' declared but never defined 54 | __inline__ void draw_obj_std(Uint16 *buf); | ^~~~~~~~~~~~ @@ -2092,7 +2128,7 @@ video_std.h:41:17: warning: inline function 'draw_back_sgb_std' declared but never defined 41 | __inline__ void draw_back_sgb_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~~ -In file included from menu.c:28: +In file included from video_gl.c:7: vram.h:108:18: warning: inline function 'get_nb_spr' declared but never defined 108 | __inline__ Uint8 get_nb_spr(void); | ^~~~~~~~~~ @@ -2214,31 +2250,6 @@ save.c:143:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 143 | fscanf(stream,"%ld",&dt); | ^~~~~~~~~~~~~~~~~~~~~~~~ -save.c:180:24: warning: array subscript 5 is above array bounds of 'Uint8[5]' {aka 'unsigned char[5]'} [-Warray-bounds=] - 180 | dd=((rom_timer->reg[5]&0x01)<<9)|rom_timer->reg[4]; - | ~~~~~~~~~~~~~~^~~ -In file included from save.c:3: -rom.h:51:9: note: while referencing 'reg' - 51 | Uint8 reg[5]; - | ^~~ -save.c:185:21: warning: array subscript 5 is above array bounds of 'Uint8[5]' {aka 'unsigned char[5]'} [-Warray-bounds=] - 185 | rom_timer->reg[5]|=0x80; // set carry - | ~~~~~~~~~~~~~~^~~ -rom.h:51:9: note: while referencing 'reg' - 51 | Uint8 reg[5]; - | ^~~ -save.c:189:38: warning: array subscript 5 is above array bounds of 'Uint8[5]' {aka 'unsigned char[5]'} [-Warray-bounds=] - 189 | rom_timer->reg[5]=(rom_timer->reg[5]&0xfe)|((dd&0x100)>>9); - | ~~~~~~~~~~~~~~^~~ -rom.h:51:9: note: while referencing 'reg' - 51 | Uint8 reg[5]; - | ^~~ -save.c:189:19: warning: array subscript 5 is above array bounds of 'Uint8[5]' {aka 'unsigned char[5]'} [-Warray-bounds=] - 189 | rom_timer->reg[5]=(rom_timer->reg[5]&0xfe)|((dd&0x100)>>9); - | ~~~~~~~~~~~~~~^~~ -rom.h:51:9: note: while referencing 'reg' - 51 | Uint8 reg[5]; - | ^~~ gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gngb-20060309=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o unzip.o unzip.c unzip.c: In function 'unzClose': unzip.c:449:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] @@ -2286,6 +2297,31 @@ unzip.c:187:9: note: 'i' was declared here 187 | int i; | ^ +save.c:180:24: warning: array subscript 5 is above array bounds of 'Uint8[5]' {aka 'unsigned char[5]'} [-Warray-bounds=] + 180 | dd=((rom_timer->reg[5]&0x01)<<9)|rom_timer->reg[4]; + | ~~~~~~~~~~~~~~^~~ +In file included from save.c:3: +rom.h:51:9: note: while referencing 'reg' + 51 | Uint8 reg[5]; + | ^~~ +save.c:185:21: warning: array subscript 5 is above array bounds of 'Uint8[5]' {aka 'unsigned char[5]'} [-Warray-bounds=] + 185 | rom_timer->reg[5]|=0x80; // set carry + | ~~~~~~~~~~~~~~^~~ +rom.h:51:9: note: while referencing 'reg' + 51 | Uint8 reg[5]; + | ^~~ +save.c:189:38: warning: array subscript 5 is above array bounds of 'Uint8[5]' {aka 'unsigned char[5]'} [-Warray-bounds=] + 189 | rom_timer->reg[5]=(rom_timer->reg[5]&0xfe)|((dd&0x100)>>9); + | ~~~~~~~~~~~~~~^~~ +rom.h:51:9: note: while referencing 'reg' + 51 | Uint8 reg[5]; + | ^~~ +save.c:189:19: warning: array subscript 5 is above array bounds of 'Uint8[5]' {aka 'unsigned char[5]'} [-Warray-bounds=] + 189 | rom_timer->reg[5]=(rom_timer->reg[5]&0xfe)|((dd&0x100)>>9); + | ~~~~~~~~~~~~~~^~~ +rom.h:51:9: note: while referencing 'reg' + 51 | Uint8 reg[5]; + | ^~~ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gngb-20060309=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -Wl,-z,relro -Wl,-z,now -o gngb cpu.o emu.o frame_skip.o interrupt.o main.o memory.o message.o rom.o serial.o sgb.o sound.o vram.o video_yuy2.o video_yuv.o video_yv12.o video_std.o video_gl.o menu.o fileio.o save.o unzip.o -lz -lSDL -lpthread -lSDL -lGL make[3]: Leaving directory '/build/reproducible-path/gngb-20060309/src' make[3]: Entering directory '/build/reproducible-path/gngb-20060309' @@ -2293,7 +2329,7 @@ make[2]: Leaving directory '/build/reproducible-path/gngb-20060309' make[1]: Leaving directory '/build/reproducible-path/gngb-20060309' dh_auto_test - make -j3 check "TESTSUITEFLAGS=-j3 --verbose" VERBOSE=1 + make -j4 check "TESTSUITEFLAGS=-j4 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/gngb-20060309' Making check in src make[2]: Entering directory '/build/reproducible-path/gngb-20060309/src' @@ -2305,7 +2341,7 @@ create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install --destdir=debian/gngb/ - make -j3 install DESTDIR=/build/reproducible-path/gngb-20060309/debian/gngb AM_UPDATE_INFO_DIR=no + make -j4 install DESTDIR=/build/reproducible-path/gngb-20060309/debian/gngb AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/reproducible-path/gngb-20060309' Making install in src make[2]: Entering directory '/build/reproducible-path/gngb-20060309/src' @@ -2341,8 +2377,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'gngb' in '../gngb_20060309-6_armhf.deb'. dpkg-deb: building package 'gngb-dbgsym' in '../gngb-dbgsym_20060309-6_armhf.deb'. +dpkg-deb: building package 'gngb' in '../gngb_20060309-6_armhf.deb'. dpkg-genbuildinfo --build=binary -O../gngb_20060309-6_armhf.buildinfo dpkg-genchanges --build=binary -O../gngb_20060309-6_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2350,12 +2386,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/3691/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3691/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/1188 and its subdirectories -I: Current time: Wed May 15 02:02:58 -12 2024 -I: pbuilder-time-stamp: 1715781778 +I: removing directory /srv/workspace/pbuilder/3691 and its subdirectories +I: Current time: Thu May 16 04:05:24 +14 2024 +I: pbuilder-time-stamp: 1715781924