Diff of the two buildlogs: -- --- b1/build.log 2024-05-31 15:27:07.924022197 +0000 +++ b2/build.log 2024-05-31 15:28:10.917341762 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri May 31 03:25:41 -12 2024 -I: pbuilder-time-stamp: 1717169141 +I: Current time: Sat Jun 1 05:27:11 +14 2024 +I: pbuilder-time-stamp: 1717169231 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/3052109/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1143587/tmp/hooks/D01_modify_environment starting +debug: Running on codethink02-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 May 31 15:27 /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/1143587/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1143587/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='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]="21" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='9dd757c5690740f2a7d6f0bbbde88d83' - 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='3052109' - PS1='# ' - PS2='> ' + INVOCATION_ID=4e0741ed126b4214a2658f38017a967f + 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=1143587 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.xDFtEgBS/pbuilderrc_bQyH --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.xDFtEgBS/b1 --logfile b1/build.log gngb_20060309-6.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4: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.xDFtEgBS/pbuilderrc_xRxq --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.xDFtEgBS/b2 --logfile b2/build.log gngb_20060309-6.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink04-arm64 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 27 07:43 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3052109/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 27 07:42 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1143587/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -319,7 +351,7 @@ Get: 192 http://deb.debian.org/debian unstable/main arm64 libxxf86vm-dev arm64 1:1.1.4-1+b2 [25.1 kB] Get: 193 http://deb.debian.org/debian unstable/main arm64 libsdl2-dev arm64 2.30.3+dfsg-1 [1043 kB] Get: 194 http://deb.debian.org/debian unstable/main arm64 libsdl1.2-dev arm64 1.2.68-2 [64.4 kB] -Fetched 83.3 MB in 0s (182 MB/s) +Fetched 83.3 MB in 0s (205 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 ... 19764 files and directories currently installed.) @@ -944,8 +976,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Fri May 31 15:26:40 UTC 2024. -Universal Time is now: Fri May 31 15:26:40 UTC 2024. +Local time is now: Fri May 31 15:27:40 UTC 2024. +Universal Time is now: Fri May 31 15:27:40 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libsysprof-capture-4-dev:arm64 (46.0-1) ... @@ -1126,7 +1158,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/1143587/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1143587/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 @@ -1256,6 +1292,41 @@ gcc -DHAVE_CONFIG_H -I. -I.. -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 -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gngb-20060309=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o sound.o sound.c gcc -DHAVE_CONFIG_H -I. -I.. -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 -mbranch-protection=standard -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o vram.o vram.c +In file included from interrupt.h:22, + from interrupt.c:21: +global.h:28: warning: "__inline__" redefined + 28 | #define __inline__ inline + | +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, + from interrupt.c:20: +/usr/include/SDL/begin_code.h:112: note: this is the location of the previous definition + 112 | #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 message.c:21: +/usr/include/SDL/begin_code.h:112: note: this is the location of the previous definition + 112 | #define __inline__ __inline__ + | +In file included from memory.h:23, + from memory.c:24: +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 memory.c: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 emu.h:22, from emu.c:32: global.h:28: warning: "__inline__" redefined @@ -1268,7 +1339,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 emu.c:44: +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; + | ^~~~~~~~~ +memory.c:78:25: warning: type defaults to 'int' in declaration of 'joy_x_max' [-Wimplicit-int] +memory.c:78:41: 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; + | ^~~~~~~~~ +memory.c:78:41: warning: type defaults to 'int' in declaration of 'joy_y_min' [-Wimplicit-int] +memory.c:78:58: 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; + | ^~~~~~~~~ +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; + | ^ +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); | ^~~~~~~~~~~~ @@ -1305,33 +1392,29 @@ 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 emu.c:38: +In file included from video_std.h:22: +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': +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); | ^~~~~~~ +memory.c:503:10: warning: unused variable 'd' [-Wunused-variable] + 503 | Uint8 *d=&vram_page[active_vram_page][dma_info.dest&0x1fff]; + | ^ 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:35: +In file included from interrupt.c:24: vram.h:108:18: warning: inline function 'get_nb_spr' declared but never defined 108 | __inline__ Uint8 get_nb_spr(void); | ^~~~~~~~~~ -emu.c: In function 'open_conf': -emu.c:284:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 284 | fgets(buf,510,f); - | ^~~~~~~~~~~~~~~~ -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, - from message.c:21: -/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:28: +memory.c:502:9: warning: unused variable 'bk' [-Wunused-variable] + 502 | Uint8 bk; + | ^~ +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); | ^~~~~~~~~~~~ @@ -1368,141 +1451,53 @@ 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_std.h:22: -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 interrupt.h:22, - from interrupt.c:21: -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 interrupt.c:20: -/usr/include/SDL/begin_code.h:112: note: this is the location of the previous definition - 112 | #define __inline__ __inline__ - | -In file included from rom.h:23, - from cpu.c:22: -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 interrupt.c:25: +In file included from emu.c:38: 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 interrupt.c:24: +In file included from emu.c:35: 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:32: +In file included from memory.h:23, + from sgb.c:22: 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 main.c:25: + from sgb.c:20: /usr/include/SDL/begin_code.h:112: note: this is the location of the previous definition 112 | #define __inline__ __inline__ | +emu.c: In function 'open_conf': +emu.c:284:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 284 | fgets(buf,510,f); + | ^~~~~~~~~~~~~~~~ interrupt.c: In function 'gblcdc_update3': 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__ - | -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 memory.h:23, - from memory.c:24: -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 memory.c:23: -/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)); - | ^ -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; - | ^~~~~~~~~ -In file included from memory.h:23, - from sgb.c:22: +In file included from rom.h:23, + from rom.c:38: 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 sgb.c:20: + from global.h:23: /usr/include/SDL/begin_code.h:112: note: this is the location of the previous definition 112 | #define __inline__ __inline__ | -memory.c:78:25: warning: type defaults to 'int' in declaration of 'joy_x_max' [-Wimplicit-int] -memory.c:78:41: 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; - | ^~~~~~~~~ -memory.c:78:41: warning: type defaults to 'int' in declaration of 'joy_y_min' [-Wimplicit-int] -memory.c:78:58: 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; - | ^~~~~~~~~ -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': sgb.c: In function 'sgb_exec_cmd': sgb.c:542:9: warning: unused variable 'i' [-Wunused-variable] 542 | int i; | ^ -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); - | ^~~~~~~~~~~ sgb.c: At top level: sgb.c:379:14: warning: 'i' is static but declared in inline function 'sgb_1chr_mode' which is not static 379 | static int i; @@ -1545,78 +1540,119 @@ vram.h:108:18: warning: inline function 'get_nb_spr' declared but never defined 108 | __inline__ Uint8 get_nb_spr(void); | ^~~~~~~~~~ -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 emu.h:22, - from sound.c:25: +In file included from memory.c:28: +vram.h: At top level: +rom.c:51:1: warning: parameter names (without types) in function declaration + 51 | int zip_file_open_next_rom(file); + | ^~~ +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); + | ^~~~~~~~~~~~~~ +In file included from rom.c:43: +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); + | ^~~~~~~~~~~~~~ +In file included from rom.h:23, + from cpu.c:22: 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 sound.c:24: + 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 rom.h:23, - from rom.c:38: +In file included from main.c:32: +global.h:28: warning: "__inline__" redefined + 28 | #define __inline__ inline + | +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 global.h:23: + 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__ | -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 vram.h:23, - from vram.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: + from main.c:25: /usr/include/SDL/begin_code.h:112: note: this is the location of the previous definition 112 | #define __inline__ __inline__ | -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); - | ^~~~~~~~~~~~~~ -rom.c:51:1: warning: parameter names (without types) in function declaration - 51 | int zip_file_open_next_rom(file); - | ^~~ -In file included from rom.c:43: +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 rom.c:41: +In file included from vram.h:23, + from vram.c:20: +global.h:28: warning: "__inline__" redefined + 28 | #define __inline__ inline + | +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); | ^~~~~~~~~~~~~~ +cpu.c: In function 'gbcpu_exec_one': +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__ + | +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 sound.c:25: +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 sound.c:24: +/usr/include/SDL/begin_code.h:112: note: this is the location of the previous definition + 112 | #define __inline__ __inline__ + | 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); | ^~~~~~~~~~~~ +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); + | ^~~~~~~~~~~ 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); | ^~~~~~~~~~~~ @@ -1728,11 +1764,6 @@ cpu.h:82:18: warning: inline function 'gbcpu_exec_one' declared but never defined 82 | __inline__ Uint8 gbcpu_exec_one(void); | ^~~~~~~~~~~~~~ -sound.c: In function 'gbsound_init': -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -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 -mbranch-protection=standard -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o video_yuy2.o video_yuy2.c In file included from serial.h:22, from serial.c:43: global.h:28: warning: "__inline__" redefined @@ -1745,7 +1776,10 @@ /usr/include/SDL/begin_code.h:112: note: this is the location of the previous definition 112 | #define __inline__ __inline__ | -gcc -DHAVE_CONFIG_H -I. -I.. -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 -mbranch-protection=standard -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 'gbsound_init': +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ serial.c: In function 'gbserial_init': serial.c:148:47: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 148 | if ((n=accept(s,(struct sockaddr *)&saddr,&len))<0) { @@ -1794,6 +1828,7 @@ 321 | write(dest_socket,&b,1); | ^~~~~~~~~~~~~~~~~~~~~~~ serial.c: In function 'gbserial_read': +gcc -DHAVE_CONFIG_H -I. -I.. -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 -mbranch-protection=standard -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o video_yuy2.o video_yuy2.c serial.c:312:8: warning: 'read' writing 2 bytes into a region of size 1 overflows the destination [-Wstringop-overflow=] 312 | if ((read(dest_socket,&b,2))<=0) return 0xFF; | ~^~~~~~~~~~~~~~~~~~~~~~~ @@ -1804,11 +1839,22 @@ /usr/include/aarch64-linux-gnu/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.. -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 -mbranch-protection=standard -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.. -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 -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gngb-20060309=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 /usr/include/features.h:502, + 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: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), + | ^~~~~~~~~~~~~~~ In file included from video_yuy2.c:21: global.h:28: warning: "__inline__" redefined 28 | #define __inline__ inline | -gcc -DHAVE_CONFIG_H -I. -I.. -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 -mbranch-protection=standard -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/SDL/SDL_stdinc.h:118, from /usr/include/SDL/SDL_main.h:29, from /usr/include/SDL/SDL.h:29, @@ -1857,6 +1903,34 @@ 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_std.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 video_std.c:19: +/usr/include/SDL/begin_code.h:112: note: this is the location of the previous definition + 112 | #define __inline__ __inline__ + | +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; + | ^ +video_std.c: In function 'draw_back_col_std': +video_std.c:703:10: warning: variable 'y' set but not used [-Wunused-but-set-variable] + 703 | Uint16 y,x,i; + | ^ +video_std.c: In function 'draw_back_sgb_std': +video_std.c:830:7: warning: variable 'y' set but not used [-Wunused-but-set-variable] + 830 | int y,x,i; + | ^ +In file included from video_std.c:22: +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 cpu.h:23, from video_yuv.c:21: global.h:28: warning: "__inline__" redefined @@ -1869,7 +1943,7 @@ /usr/include/SDL/begin_code.h:112: note: this is the location of the previous definition 112 | #define __inline__ __inline__ | -gcc -DHAVE_CONFIG_H -I. -I.. -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 -mbranch-protection=standard -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.. -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 -mbranch-protection=standard -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_yuv.c:23: vram.h:108:18: warning: inline function 'get_nb_spr' declared but never defined 108 | __inline__ Uint8 get_nb_spr(void); @@ -1880,6 +1954,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.. -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 -mbranch-protection=standard -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_yv12.c:20: global.h:28: warning: "__inline__" redefined 28 | #define __inline__ inline @@ -1932,48 +2007,19 @@ 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_std.c:20: +gcc -DHAVE_CONFIG_H -I. -I.. -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 -mbranch-protection=standard -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o fileio.o fileio.c +gcc -DHAVE_CONFIG_H -I. -I.. -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 -mbranch-protection=standard -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o save.o save.c +In file included from video_gl.c:5: global.h:28: warning: "__inline__" redefined 28 | #define __inline__ inline | -gcc -DHAVE_CONFIG_H -I. -I.. -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 -mbranch-protection=standard -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 /usr/include/SDL/SDL_stdinc.h:118, from /usr/include/SDL/SDL_main.h:29, from /usr/include/SDL/SDL.h:29, - from video_std.c:19: + from video_gl.c:3: /usr/include/SDL/begin_code.h:112: note: this is the location of the previous definition 112 | #define __inline__ __inline__ | -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; - | ^ -In file included from /usr/include/features.h:502, - 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: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), - | ^~~~~~~~~~~~~~~ -video_std.c: In function 'draw_back_col_std': -video_std.c:703:10: warning: variable 'y' set but not used [-Wunused-but-set-variable] - 703 | Uint16 y,x,i; - | ^ -video_std.c: In function 'draw_back_sgb_std': -video_std.c:830:7: warning: variable 'y' set but not used [-Wunused-but-set-variable] - 830 | int y,x,i; - | ^ -In file included from video_std.c:22: -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); - | ^~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -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 -mbranch-protection=standard -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o menu.o menu.c -gcc -DHAVE_CONFIG_H -I. -I.. -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 -mbranch-protection=standard -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o fileio.o fileio.c -gcc -DHAVE_CONFIG_H -I. -I.. -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 -mbranch-protection=standard -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gngb-20060309=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o unzip.o unzip.c In file included from ./memory.h:23, from menu.c:20: ./global.h:28: warning: "__inline__" redefined @@ -1994,6 +2040,7 @@ menu.c:70:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 70 | int i=(int)self->user_data; | ^ +gcc -DHAVE_CONFIG_H -I. -I.. -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 -mbranch-protection=standard -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wall -c -o unzip.o unzip.c menu.c: In function 'menu_draw_state': menu.c:77:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 77 | int i=(int)self->user_data; @@ -2010,17 +2057,6 @@ menu.c:189:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 189 | int p=(int)self->user_data; | ^ -In file included from video_gl.c:5: -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 video_gl.c:3: -/usr/include/SDL/begin_code.h:112: note: this is the location of the previous definition - 112 | #define __inline__ __inline__ - | menu.c: In function 'init_menu': menu.c:447:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 447 | item->user_data=(void*)i; @@ -2088,6 +2124,51 @@ /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: +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); + | ^~~~~~~~~~~~ +video_std.h:52:17: warning: inline function 'draw_win_std' declared but never defined + 52 | __inline__ void draw_win_std(Uint16 *buf); + | ^~~~~~~~~~~~ +video_std.h:51:17: warning: inline function 'draw_back_std' declared but never defined + 51 | __inline__ void draw_back_std(Uint16 *buf); + | ^~~~~~~~~~~~~ +video_std.h:49:17: warning: inline function 'draw_obj_col_std' declared but never defined + 49 | __inline__ void draw_obj_col_std(Uint16 *buf); + | ^~~~~~~~~~~~~~~~ +video_std.h:48:17: warning: inline function 'draw_spr_col_std' declared but never defined + 48 | __inline__ void draw_spr_col_std(Uint16 *buf,GB_SPRITE *sp); + | ^~~~~~~~~~~~~~~~ +video_std.h:47:17: warning: inline function 'draw_win_col_std' declared but never defined + 47 | __inline__ void draw_win_col_std(Uint16 *buf); + | ^~~~~~~~~~~~~~~~ +video_std.h:46:17: warning: inline function 'draw_back_col_std' declared but never defined + 46 | __inline__ void draw_back_col_std(Uint16 *buf); + | ^~~~~~~~~~~~~~~~~ +video_std.h:44:17: warning: inline function 'draw_obj_sgb_std' declared but never defined + 44 | __inline__ void draw_obj_sgb_std(Uint16 *buf); + | ^~~~~~~~~~~~~~~~ +video_std.h:43:17: warning: inline function 'draw_spr_sgb_std' declared but never defined + 43 | __inline__ void draw_spr_sgb_std(Uint16 *buf,GB_SPRITE *sp); + | ^~~~~~~~~~~~~~~~ +video_std.h:42:17: warning: inline function 'draw_win_sgb_std' declared but never defined + 42 | __inline__ void draw_win_sgb_std(Uint16 *buf); + | ^~~~~~~~~~~~~~~~ +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: +vram.h:108:18: warning: inline function 'get_nb_spr' declared but never defined + 108 | __inline__ Uint8 get_nb_spr(void); + | ^~~~~~~~~~ +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 'load_rom_timer': save.c:146:15: warning: variable 'd' set but not used [-Wunused-but-set-variable] 146 | int h,m,s,d,dd; @@ -2188,51 +2269,6 @@ save.c:143:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 143 | fscanf(stream,"%ld",&dt); | ^~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~ -video_std.h:52:17: warning: inline function 'draw_win_std' declared but never defined - 52 | __inline__ void draw_win_std(Uint16 *buf); - | ^~~~~~~~~~~~ -video_std.h:51:17: warning: inline function 'draw_back_std' declared but never defined - 51 | __inline__ void draw_back_std(Uint16 *buf); - | ^~~~~~~~~~~~~ -video_std.h:49:17: warning: inline function 'draw_obj_col_std' declared but never defined - 49 | __inline__ void draw_obj_col_std(Uint16 *buf); - | ^~~~~~~~~~~~~~~~ -video_std.h:48:17: warning: inline function 'draw_spr_col_std' declared but never defined - 48 | __inline__ void draw_spr_col_std(Uint16 *buf,GB_SPRITE *sp); - | ^~~~~~~~~~~~~~~~ -video_std.h:47:17: warning: inline function 'draw_win_col_std' declared but never defined - 47 | __inline__ void draw_win_col_std(Uint16 *buf); - | ^~~~~~~~~~~~~~~~ -video_std.h:46:17: warning: inline function 'draw_back_col_std' declared but never defined - 46 | __inline__ void draw_back_col_std(Uint16 *buf); - | ^~~~~~~~~~~~~~~~~ -video_std.h:44:17: warning: inline function 'draw_obj_sgb_std' declared but never defined - 44 | __inline__ void draw_obj_sgb_std(Uint16 *buf); - | ^~~~~~~~~~~~~~~~ -video_std.h:43:17: warning: inline function 'draw_spr_sgb_std' declared but never defined - 43 | __inline__ void draw_spr_sgb_std(Uint16 *buf,GB_SPRITE *sp); - | ^~~~~~~~~~~~~~~~ -video_std.h:42:17: warning: inline function 'draw_win_sgb_std' declared but never defined - 42 | __inline__ void draw_win_sgb_std(Uint16 *buf); - | ^~~~~~~~~~~~~~~~ -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: -vram.h:108:18: warning: inline function 'get_nb_spr' declared but never defined - 108 | __inline__ Uint8 get_nb_spr(void); - | ^~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~ 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) @@ -2359,8 +2395,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'gngb-dbgsym' in '../gngb-dbgsym_20060309-6_arm64.deb'. dpkg-deb: building package 'gngb' in '../gngb_20060309-6_arm64.deb'. +dpkg-deb: building package 'gngb-dbgsym' in '../gngb-dbgsym_20060309-6_arm64.deb'. dpkg-genbuildinfo --build=binary -O../gngb_20060309-6_arm64.buildinfo dpkg-genchanges --build=binary -O../gngb_20060309-6_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2368,12 +2404,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/1143587/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1143587/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/3052109 and its subdirectories -I: Current time: Fri May 31 03:27:06 -12 2024 -I: pbuilder-time-stamp: 1717169226 +I: removing directory /srv/workspace/pbuilder/1143587 and its subdirectories +I: Current time: Sat Jun 1 05:28:09 +14 2024 +I: pbuilder-time-stamp: 1717169289