Diff of the two buildlogs: -- --- b1/build.log 2023-04-23 00:24:15.937405612 +0000 +++ b2/build.log 2023-04-23 00:26:23.307761195 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri May 24 18:46:03 -12 2024 -I: pbuilder-time-stamp: 1716619563 +I: Current time: Sun Apr 23 14:24:20 +14 2023 +I: pbuilder-time-stamp: 1682209460 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./gngb_20060309.orig.tar.gz] I: copying [./gngb_20060309-5.debian.tar.xz] I: Extracting source -gpgv: Signature made Sun Jul 26 01:28:11 2020 -12 +gpgv: Signature made Mon Jul 27 03:28:11 2020 +14 gpgv: using RSA key ACF3D088EF32EDEF6A1A835FD9AD14B9513B51E4 gpgv: issuer "apo@debian.org" gpgv: Can't check signature: No public key @@ -37,52 +37,84 @@ dpkg-source: info: applying gcc10.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/15698/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/16321/tmp/hooks/D01_modify_environment starting +debug: Running on codethink12-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 23 14:24 /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/16321/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/16321/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='15698' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=16321 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.UXHWNMrL/pbuilderrc_QL5u --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.UXHWNMrL/b1 --logfile b1/build.log gngb_20060309-5.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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.UXHWNMrL/pbuilderrc_IVqF --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.UXHWNMrL/b2 --logfile b2/build.log --extrapackages usrmerge gngb_20060309-5.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink11-arm64 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 24 04:47 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/15698/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 22 00:25 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/16321/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -261,7 +293,7 @@ Get: 135 http://deb.debian.org/debian bookworm/main arm64 libsdl1.2debian arm64 1.2.15+dfsg2-8 [182 kB] Get: 136 http://deb.debian.org/debian bookworm/main arm64 libxext-dev arm64 2:1.3.4-1+b1 [107 kB] Get: 137 http://deb.debian.org/debian bookworm/main arm64 libsdl1.2-dev arm64 1.2.15+dfsg2-8 [722 kB] -Fetched 75.8 MB in 1s (52.2 MB/s) +Fetched 75.8 MB in 2s (44.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:arm64. (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 ... 19616 files and directories currently installed.) @@ -826,8 +858,17 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/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-5_source.changes +I: user script /srv/workspace/pbuilder/16321/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/16321/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/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-5_source.changes dpkg-buildpackage: info: source package gngb dpkg-buildpackage: info: source version 20060309-5 dpkg-buildpackage: info: source distribution unstable @@ -951,6 +992,17 @@ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/gngb-20060309=. -fstack-protector-strong -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.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/gngb-20060309=. -fstack-protector-strong -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 gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/gngb-20060309=. -fstack-protector-strong -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 +In file included from main.c:37: +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 main.c:35: +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); + | ^~~~~~~~~~~~~~ In file included from emu.c:44: video_std.h:54:17: warning: inline function 'draw_obj_std' declared but never defined 54 | __inline__ void draw_obj_std(Uint16 *buf); @@ -1003,6 +1055,22 @@ emu.c:284:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 284 | fgets(buf,510,f); | ^~~~~~~~~~~~~~~~ +memory.c:74:25: warning: data definition has no type or storage class + 74 | Sint16 joy_x_min=-32767;joy_x_max=32767;joy_y_min=-32767;joy_y_max=32767; + | ^~~~~~~~~ +memory.c:74:25: warning: type defaults to 'int' in declaration of 'joy_x_max' [-Wimplicit-int] +memory.c:74:41: warning: data definition has no type or storage class + 74 | Sint16 joy_x_min=-32767;joy_x_max=32767;joy_y_min=-32767;joy_y_max=32767; + | ^~~~~~~~~ +memory.c:74:41: warning: type defaults to 'int' in declaration of 'joy_y_min' [-Wimplicit-int] +memory.c:74:58: warning: data definition has no type or storage class + 74 | Sint16 joy_x_min=-32767;joy_x_max=32767;joy_y_min=-32767;joy_y_max=32767; + | ^~~~~~~~~ +memory.c:74:58: warning: type defaults to 'int' in declaration of 'joy_y_max' [-Wimplicit-int] +memory.c: In function 'set_active_wram_page': +memory.c:184:7: warning: unused variable 'i' [-Wunused-variable] + 184 | int i; + | ^ 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); @@ -1014,26 +1082,6 @@ vram.h:108:18: warning: inline function 'get_nb_spr' declared but never defined 108 | __inline__ Uint8 get_nb_spr(void); | ^~~~~~~~~~ -interrupt.c: In function 'gblcdc_update3': -interrupt.c:511:1: warning: control reaches end of non-void function [-Wreturn-type] - 511 | } - | ^ -cpu.c: In function 'gbcpu_exec_one': -cpu.c:881:14: warning: self-comparison always evaluates to false [-Wtautological-compare] - 881 | ((A>A)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); - | ^ -cpu.c:882:21: warning: self-comparison always evaluates to false [-Wtautological-compare] - 882 | (((A&0x0f)>(A&0x0f))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); - | ^ -cpu.c: In function 'cpu_run': -cpu.c:2913:24: warning: implicit declaration of function 'gbserial_read'; did you mean 'gbserial_send'? [-Wimplicit-function-declaration] - 2913 | SB=gbserial_read(); - | ^~~~~~~~~~~~~ - | gbserial_send -cpu.c:2920:21: warning: implicit declaration of function 'gbserial_write'; did you mean 'gbserial_init'? [-Wimplicit-function-declaration] - 2920 | gbserial_write(SB); - | ^~~~~~~~~~~~~~ - | gbserial_init 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); @@ -1075,22 +1123,10 @@ vram.h:108:18: warning: inline function 'get_nb_spr' declared but never defined 108 | __inline__ Uint8 get_nb_spr(void); | ^~~~~~~~~~ -memory.c:74:25: warning: data definition has no type or storage class - 74 | Sint16 joy_x_min=-32767;joy_x_max=32767;joy_y_min=-32767;joy_y_max=32767; - | ^~~~~~~~~ -memory.c:74:25: warning: type defaults to 'int' in declaration of 'joy_x_max' [-Wimplicit-int] -memory.c:74:41: warning: data definition has no type or storage class - 74 | Sint16 joy_x_min=-32767;joy_x_max=32767;joy_y_min=-32767;joy_y_max=32767; - | ^~~~~~~~~ -memory.c:74:41: warning: type defaults to 'int' in declaration of 'joy_y_min' [-Wimplicit-int] -memory.c:74:58: warning: data definition has no type or storage class - 74 | Sint16 joy_x_min=-32767;joy_x_max=32767;joy_y_min=-32767;joy_y_max=32767; - | ^~~~~~~~~ -memory.c:74:58: warning: type defaults to 'int' in declaration of 'joy_y_max' [-Wimplicit-int] -memory.c: In function 'set_active_wram_page': -memory.c:184:7: warning: unused variable 'i' [-Wunused-variable] - 184 | int i; - | ^ +interrupt.c: In function 'gblcdc_update3': +interrupt.c:511:1: warning: control reaches end of non-void function [-Wreturn-type] + 511 | } + | ^ memory.c: In function 'do_gdma': memory.c:499:10: warning: unused variable 'd' [-Wunused-variable] 499 | Uint8 *d=&vram_page[active_vram_page][dma_info.dest&0x1fff]; @@ -1098,43 +1134,17 @@ memory.c:498:9: warning: unused variable 'bk' [-Wunused-variable] 498 | Uint8 bk; | ^~ -In file included from main.c:37: -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 main.c:35: -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); - | ^~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~ -rom.c: In function 'open_rom': -rom.c:124:11: warning: implicit declaration of function 'zip_file_open_next_rom' [-Wimplicit-function-declaration] - 124 | if (zip_file_open_next_rom(stream->stream)<0) return -1; - | ^~~~~~~~~~~~~~~~~~~~~~ memory.c: In function 'update_gb_pad': memory.c:817:26: warning: implicit declaration of function 'movie_add_pad' [-Wimplicit-function-declaration] 817 | if (conf.save_movie) movie_add_pad(gb_pad); | ^~~~~~~~~~~~~ -In file included from rom.c:43: -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 rom.c:41: -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); - | ^~~~~~~~~~~~~~ +cpu.c: In function 'gbcpu_exec_one': +cpu.c:881:14: warning: self-comparison always evaluates to false [-Wtautological-compare] + 881 | ((A>A)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); + | ^ +cpu.c:882:21: warning: self-comparison always evaluates to false [-Wtautological-compare] + 882 | (((A&0x0f)>(A&0x0f))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); + | ^ memory.c:819:12: warning: implicit declaration of function 'movie_get_next_pad' [-Wimplicit-function-declaration] 819 | gb_pad=movie_get_next_pad(); | ^~~~~~~~~~~~~~~~~~ @@ -1156,6 +1166,37 @@ 82 | __inline__ Uint8 gbcpu_exec_one(void); | ^~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/gngb-20060309=. -fstack-protector-strong -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 +rom.c: In function 'open_rom': +rom.c:124:11: warning: implicit declaration of function 'zip_file_open_next_rom' [-Wimplicit-function-declaration] + 124 | if (zip_file_open_next_rom(stream->stream)<0) return -1; + | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from rom.c:43: +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 rom.c:41: +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); + | ^~~~~~~~~~~~~~ +cpu.c: In function 'cpu_run': +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); + | ^~~~~~~~~~~ +cpu.c:2913:24: warning: implicit declaration of function 'gbserial_read'; did you mean 'gbserial_send'? [-Wimplicit-function-declaration] + 2913 | SB=gbserial_read(); + | ^~~~~~~~~~~~~ + | gbserial_send +cpu.c:2920:21: warning: implicit declaration of function 'gbserial_write'; did you mean 'gbserial_init'? [-Wimplicit-function-declaration] + 2920 | gbserial_write(SB); + | ^~~~~~~~~~~~~~ + | gbserial_init gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/gngb-20060309=. -fstack-protector-strong -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.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/gngb-20060309=. -fstack-protector-strong -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 serial.c: In function 'gbserial_init': @@ -1224,7 +1265,6 @@ sgb.c:379:14: warning: 'i' is static but declared in inline function 'sgb_1chr_mode' which is not static 379 | static int i; | ^ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/gngb-20060309=. -fstack-protector-strong -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o vram.o vram.c sgb.c:378:18: warning: 'J' is static but declared in inline function 'sgb_1chr_mode' which is not static 378 | static Uint8 I,J; | ^ @@ -1263,8 +1303,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.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/gngb-20060309=. -fstack-protector-strong -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o video_yuy2.o video_yuy2.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/gngb-20060309=. -fstack-protector-strong -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 sound.c: In function 'update_snd_m1': sound.c:371:14: warning: variable 'cur_swp_shift' set but not used [-Wunused-but-set-variable] 371 | static int cur_swp_shift; @@ -1347,7 +1385,19 @@ sound.c:951:7: warning: ignoring return value of 'realloc' declared with attribute 'warn_unused_result' [-Wunused-result] 951 | realloc((void*)playbuf,desired.size+1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from video_yuy2.c:25: +In file included from /usr/include/features.h:489, + from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from serial.c:20: +In function 'read', + inlined from 'gbserial_read' at serial.c:312:8: +/usr/include/aarch64-linux-gnu/bits/unistd.h:38:10: warning: call to '__read_chk_warn' declared with attribute warning: read called with bigger length than size of the destination buffer [-Wattribute-warning] + 38 | return __glibc_fortify (read, __nbytes, sizeof (char), + | ^~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/gngb-20060309=. -fstack-protector-strong -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o vram.o vram.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/gngb-20060309=. -fstack-protector-strong -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o video_yuy2.o video_yuy2.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/gngb-20060309=. -fstack-protector-strong -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 +In file included from vram.c:27: video_std.h:54:17: warning: inline function 'draw_obj_std' declared but never defined 54 | __inline__ void draw_obj_std(Uint16 *buf); | ^~~~~~~~~~~~ @@ -1384,11 +1434,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 video_yuy2.c:24: -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 vram.c:27: +In file included from video_yuy2.c:25: video_std.h:54:17: warning: inline function 'draw_obj_std' declared but never defined 54 | __inline__ void draw_obj_std(Uint16 *buf); | ^~~~~~~~~~~~ @@ -1425,13 +1471,10 @@ 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); | ^~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/gngb-20060309=. -fstack-protector-strong -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 /usr/include/features.h:489, - from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from serial.c:20: -In function 'read', - inlined from 'gbserial_read' at serial.c:312:8: +In file included from video_yuy2.c:24: +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 video_yuv.c:23: vram.h:108:18: warning: inline function 'get_nb_spr' declared but never defined 108 | __inline__ Uint8 get_nb_spr(void); @@ -1443,9 +1486,7 @@ cpu.h:82:18: warning: inline function 'gbcpu_exec_one' declared but never defined 82 | __inline__ Uint8 gbcpu_exec_one(void); | ^~~~~~~~~~~~~~ -/usr/include/aarch64-linux-gnu/bits/unistd.h:38:10: warning: call to '__read_chk_warn' declared with attribute warning: read called with bigger length than size of the destination buffer [-Wattribute-warning] - 38 | return __glibc_fortify (read, __nbytes, sizeof (char), - | ^~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/gngb-20060309=. -fstack-protector-strong -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.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/gngb-20060309=. -fstack-protector-strong -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:24: video_std.h:54:17: warning: inline function 'draw_obj_std' declared but never defined @@ -1488,7 +1529,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.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/gngb-20060309=. -fstack-protector-strong -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 video_std.c: In function 'draw_back_std': video_std.c:572:7: warning: variable 'y' set but not used [-Wunused-but-set-variable] 572 | int y,x,i; @@ -1506,6 +1546,7 @@ 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.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/gngb-20060309=. -fstack-protector-strong -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.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/gngb-20060309=. -fstack-protector-strong -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 menu.c: In function 'action_save_state': menu.c:63:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] @@ -1549,10 +1590,6 @@ video_std.h:54:17: warning: inline function 'draw_obj_std' declared but never defined 54 | __inline__ void draw_obj_std(Uint16 *buf); | ^~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~ video_std.h:53:17: warning: inline function 'draw_spr_std' declared but never defined 53 | __inline__ void draw_spr_std(Uint16 *buf,GB_SPRITE *sp); | ^~~~~~~~~~~~ @@ -1586,10 +1623,14 @@ 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); | ^~~~~~~~~~ +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); + | ^~~~~~~~~~~~ video_std.h:53:17: warning: inline function 'draw_spr_std' declared but never defined 53 | __inline__ void draw_spr_std(Uint16 *buf,GB_SPRITE *sp); | ^~~~~~~~~~~~ @@ -1623,11 +1664,15 @@ 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); | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/gngb-20060309=. -fstack-protector-strong -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o fileio.o fileio.c +fileio.c: In function 'get_type_file': +fileio.c:63:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 63 | fread(str,1,10,file_tmp); + | ^~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/gngb-20060309=. -fstack-protector-strong -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o save.o save.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/gngb-20060309=. -fstack-protector-strong -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 save.c: In function 'get_filename_ext': @@ -1646,10 +1691,6 @@ save.c:140:15: warning: variable 'd' set but not used [-Wunused-but-set-variable] 140 | int h,m,s,d,dd; | ^ -fileio.c: In function 'get_type_file': -fileio.c:63:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 63 | fread(str,1,10,file_tmp); - | ^~~~~~~~~~~~~~~~~~~~~~~~ save.c: In function 'get_surface_of_save_state': save.c:485:3: warning: implicit declaration of function 'get_bmp_ext_nb' [-Wimplicit-function-declaration] 485 | get_bmp_ext_nb(t,n); @@ -1690,6 +1731,13 @@ save.c:612:9: warning: unused variable 'section_id' [-Wunused-variable] 612 | Uint8 section_id; | ^~~~~~~~~~ +unzip.c: In function 'unzClose': +unzip.c:449:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 449 | if (s->pfile_in_zip_read!=NULL) + | ^~ +unzip.c:452:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 452 | fclose(s->file); + | ^~~~~~ save.c:609:7: warning: unused variable 'i' [-Wunused-variable] 609 | int i; | ^ @@ -1731,6 +1779,20 @@ vram.h:108:18: warning: inline function 'get_nb_spr' declared but never defined 108 | __inline__ Uint8 get_nb_spr(void); | ^~~~~~~~~~ +unzip.c: In function 'unzLocateFile': +unzip.c:770:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 770 | if (strlen(szFileName)>=UNZ_MAXFILENAMEINZIP) + | ^~ +unzip.c:773:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 773 | s=(unz_s*)file; + | ^ +unzip.c: In function 'unzlocal_CheckCurrentFileCoherencyHeader': +unzip.c:849:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 849 | if ((err==UNZ_OK) && (s->cur_file_info.compression_method!=0) && + | ^~ +unzip.c:853:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 853 | if (unzlocal_getLong(s->file,&uData) != UNZ_OK) /* date/time */ + | ^~ save.c:706:14: warning: 'read_int8' declared 'static' but never defined [-Wunused-function] 706 | static Uint8 read_int8(void *data); | ^~~~~~~~~ @@ -1749,34 +1811,6 @@ save.c:711:14: warning: 'write_int32' declared 'static' but never defined [-Wunused-function] 711 | static Uint8 write_int32(void *data); | ^~~~~~~~~~~ -save.c: In function 'load_rom_timer': -save.c:134:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 134 | fscanf(stream,"%02x",&t); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -save.c:137:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 137 | fscanf(stream,"%ld",&dt); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -unzip.c: In function 'unzClose': -unzip.c:449:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 449 | if (s->pfile_in_zip_read!=NULL) - | ^~ -unzip.c:452:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 452 | fclose(s->file); - | ^~~~~~ -unzip.c: In function 'unzLocateFile': -unzip.c:770:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 770 | if (strlen(szFileName)>=UNZ_MAXFILENAMEINZIP) - | ^~ -unzip.c:773:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 773 | s=(unz_s*)file; - | ^ -unzip.c: In function 'unzlocal_CheckCurrentFileCoherencyHeader': -unzip.c:849:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 849 | if ((err==UNZ_OK) && (s->cur_file_info.compression_method!=0) && - | ^~ -unzip.c:853:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 853 | if (unzlocal_getLong(s->file,&uData) != UNZ_OK) /* date/time */ - | ^~ unzip.c: In function 'unzOpenCurrentFile': unzip.c:914:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 914 | if (s->pfile_in_zip_read != NULL) @@ -1784,6 +1818,13 @@ unzip.c:917:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 917 | if (unzlocal_CheckCurrentFileCoherencyHeader(s,&iSizeVar, | ^~ +save.c: In function 'load_rom_timer': +save.c:134:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 134 | fscanf(stream,"%02x",&t); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +save.c:137:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 137 | fscanf(stream,"%ld",&dt); + | ^~~~~~~~~~~~~~~~~~~~~~~~ unzip.c: In function 'unzGetGlobalComment': unzip.c:1272:13: warning: unused variable 'err' [-Wunused-variable] 1272 | int err=UNZ_OK; @@ -1891,12 +1932,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/16321/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/16321/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/15698 and its subdirectories -I: Current time: Fri May 24 18:47:14 -12 2024 -I: pbuilder-time-stamp: 1716619634 +I: removing directory /srv/workspace/pbuilder/16321 and its subdirectories +I: Current time: Sun Apr 23 14:26:22 +14 2023 +I: pbuilder-time-stamp: 1682209582