Diff of the two buildlogs: -- --- b1/build.log 2023-06-09 02:19:18.155245931 +0000 +++ b2/build.log 2023-06-09 02:20:14.584780551 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Jun 8 14:18:11 -12 2023 -I: pbuilder-time-stamp: 1686277091 +I: Current time: Thu Jul 11 22:42:17 +14 2024 +I: pbuilder-time-stamp: 1720687337 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,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 @@ -38,137 +38,169 @@ dpkg-source: info: applying gcc10.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/30650/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/36443/tmp/hooks/D01_modify_environment starting +debug: Running on ionos16-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jul 11 22:42 /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/36443/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/36443/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8 ' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="i686-pc-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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15 ' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='37de84db64cc4abc9859301380e96b20' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='30650' - PS1='# ' - PS2='> ' + INVOCATION_ID=356750208ae2499081b87a68fc245592 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=36443 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.Ahr3FyLF/pbuilderrc_DHT6 --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.Ahr3FyLF/b1 --logfile b1/build.log gngb_20060309-5.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.Ahr3FyLF/pbuilderrc_vPlc --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.Ahr3FyLF/b2 --logfile b2/build.log --extrapackages usrmerge gngb_20060309-5.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos2-i386 5.10.0-23-686-pae #1 SMP Debian 5.10.179-1 (2023-05-12) i686 GNU/Linux + Linux i-capture-the-hostname 5.10.0-23-amd64 #1 SMP Debian 5.10.179-1 (2023-05-12) x86_64 GNU/Linux I: ls -l /bin total 6036 - -rwxr-xr-x 1 root root 1408088 Apr 23 09:24 bash - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 17892 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 42920 Sep 20 2022 cat - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chown - -rwxr-xr-x 1 root root 162024 Sep 20 2022 cp - -rwxr-xr-x 1 root root 136916 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 137160 Sep 20 2022 date - -rwxr-xr-x 1 root root 100364 Sep 20 2022 dd - -rwxr-xr-x 1 root root 108940 Sep 20 2022 df - -rwxr-xr-x 1 root root 162152 Sep 20 2022 dir - -rwxr-xr-x 1 root root 87760 Mar 22 22:20 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 38760 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 34664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 84272 Mar 22 22:20 findmnt - -rwsr-xr-x 1 root root 30240 Mar 22 20:38 fusermount - -rwxr-xr-x 1 root root 218680 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 100952 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 21916 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 75756 Sep 20 2022 ln - -rwxr-xr-x 1 root root 55600 Mar 22 23:43 login - -rwxr-xr-x 1 root root 162152 Sep 20 2022 ls - -rwxr-xr-x 1 root root 214568 Mar 22 22:20 lsblk - -rwxr-xr-x 1 root root 96328 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 84008 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 38792 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 63016 Mar 22 22:20 more - -rwsr-xr-x 1 root root 58912 Mar 22 22:20 mount - -rwxr-xr-x 1 root root 13856 Mar 22 22:20 mountpoint - -rwxr-xr-x 1 root root 157932 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38792 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:24 rbash -> bash - -rwxr-xr-x 1 root root 51080 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 75720 Sep 20 2022 rm - -rwxr-xr-x 1 root root 51080 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 22308 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 133224 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 38760 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 87976 Sep 20 2022 stty - -rwsr-xr-x 1 root root 83492 Mar 22 22:20 su - -rwxr-xr-x 1 root root 38792 Sep 20 2022 sync - -rwxr-xr-x 1 root root 598456 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 13860 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 120776 Sep 20 2022 touch - -rwxr-xr-x 1 root root 34664 Sep 20 2022 true - -rwxr-xr-x 1 root root 17892 Mar 22 20:38 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Mar 22 22:20 umount - -rwxr-xr-x 1 root root 38760 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 162152 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 71216 Mar 22 22:20 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/30650/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1408088 Apr 24 2023 bash + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 17892 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 42920 Sep 21 2022 cat + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chown + -rwxr-xr-x 1 root root 162024 Sep 21 2022 cp + -rwxr-xr-x 1 root root 136916 Jan 6 2023 dash + -rwxr-xr-x 1 root root 137160 Sep 21 2022 date + -rwxr-xr-x 1 root root 100364 Sep 21 2022 dd + -rwxr-xr-x 1 root root 108940 Sep 21 2022 df + -rwxr-xr-x 1 root root 162152 Sep 21 2022 dir + -rwxr-xr-x 1 root root 87760 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 38760 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 34664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 84272 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 30240 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 218680 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 100952 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 21916 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 75756 Sep 21 2022 ln + -rwxr-xr-x 1 root root 55600 Mar 24 2023 login + -rwxr-xr-x 1 root root 162152 Sep 21 2022 ls + -rwxr-xr-x 1 root root 214568 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 96328 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 84008 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 38792 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 63016 Mar 24 2023 more + -rwsr-xr-x 1 root root 58912 Mar 24 2023 mount + -rwxr-xr-x 1 root root 13856 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 157932 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38792 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 2023 rbash -> bash + -rwxr-xr-x 1 root root 51080 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 75720 Sep 21 2022 rm + -rwxr-xr-x 1 root root 51080 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 22308 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 133224 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 Jul 11 22:42 sh -> /bin/bash + -rwxr-xr-x 1 root root 38760 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 87976 Sep 21 2022 stty + -rwsr-xr-x 1 root root 83492 Mar 24 2023 su + -rwxr-xr-x 1 root root 38792 Sep 21 2022 sync + -rwxr-xr-x 1 root root 598456 Apr 7 2023 tar + -rwxr-xr-x 1 root root 13860 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 120776 Sep 21 2022 touch + -rwxr-xr-x 1 root root 34664 Sep 21 2022 true + -rwxr-xr-x 1 root root 17892 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Mar 24 2023 umount + -rwxr-xr-x 1 root root 38760 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 162152 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 71216 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/36443/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -349,7 +381,7 @@ Get: 137 http://deb.debian.org/debian bookworm/main i386 libsdl1.2debian i386 1.2.15+dfsg2-8 [213 kB] Get: 138 http://deb.debian.org/debian bookworm/main i386 libxext-dev i386 2:1.3.4-1+b1 [110 kB] Get: 139 http://deb.debian.org/debian bookworm/main i386 libsdl1.2-dev i386 1.2.15+dfsg2-8 [755 kB] -Fetched 86.6 MB in 3s (26.5 MB/s) +Fetched 86.6 MB in 3s (28.7 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:i386. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19599 files and directories currently installed.) @@ -922,8 +954,19 @@ 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/36443/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/36443/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +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 @@ -973,7 +1016,7 @@ ./configure --build=i686-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/i386-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes -checking for a race-free mkdir -p... /bin/mkdir -p +checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes @@ -1006,8 +1049,8 @@ checking for SDL_Init in -lSDL... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required -checking for grep that handles long lines and -e... /bin/grep -checking for egrep... /bin/grep -E +checking for grep that handles long lines and -e... /usr/bin/grep +checking for egrep... /usr/bin/grep -E checking for fcntl.h... yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes @@ -1024,7 +1067,7 @@ checking for gzopen in -lz... yes checking for GL/gl.h... yes checking for glBegin in -lGL... yes -Architeture: i686 +Architeture: x86_64 System: Linux checking that generated files are newer than configure... done configure: creating ./config.status @@ -1033,7 +1076,7 @@ config.status: creating config.h config.status: executing depfiles commands dh_auto_build - make -j8 + make -j15 make[1]: Entering directory '/build/gngb-20060309' make all-recursive make[2]: Entering directory '/build/gngb-20060309' @@ -1099,6 +1142,40 @@ emu.c:284:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 284 | fgets(buf,510,f); | ^~~~~~~~~~~~~~~~ +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 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o serial.o serial.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 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o sgb.o sgb.c +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)); + | ^ +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); + | ^~~~~~~ +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: +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 | } + | ^ +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 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o sound.o sound.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 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -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 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -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 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o video_yuv.o video_yuv.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 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o video_yv12.o video_yv12.c +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 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); @@ -1110,6 +1187,10 @@ cpu.h:82:18: warning: inline function 'gbcpu_exec_one' declared but never defined 82 | __inline__ Uint8 gbcpu_exec_one(void); | ^~~~~~~~~~~~~~ +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 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; | ^~~~~~~~~ @@ -1122,33 +1203,6 @@ 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] -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: 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 interrupt.c:25: -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: -vram.h:108:18: warning: inline function 'get_nb_spr' declared but never defined - 108 | __inline__ Uint8 get_nb_spr(void); - | ^~~~~~~~~~ -memory.c:819:12: warning: implicit declaration of function 'movie_get_next_pad' [-Wimplicit-function-declaration] - 819 | gb_pad=movie_get_next_pad(); - | ^~~~~~~~~~~~~~~~~~ -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 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o serial.o serial.c -memory.c: In function 'mem_write_ff': 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); @@ -1190,110 +1244,19 @@ 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 'update_gb_pad': +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 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o video_std.o video_std.c +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); + | ^~~~~~~~~~~~~ +memory.c:819:12: warning: implicit declaration of function 'movie_get_next_pad' [-Wimplicit-function-declaration] + 819 | gb_pad=movie_get_next_pad(); + | ^~~~~~~~~~~~~~~~~~ +memory.c: In function 'mem_write_ff': memory.c:984:11: warning: implicit declaration of function 'gbserial_write'; did you mean 'gbserial_init'? [-Wimplicit-function-declaration] 984 | gbserial_write(SB); | ^~~~~~~~~~~~~~ | gbserial_init -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 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); - | ^~~~~~~~~~~~~~ -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 -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); - | ^~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~ -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) { - | ^~~~ - | | - | int * -In file included from serial.c:26: -/usr/include/i386-linux-gnu/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' - 307 | socklen_t *__restrict __addr_len); - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -serial.c: In function 'gbserial_receive': -serial.c:226:10: warning: assignment to 'Uint8' {aka 'unsigned char'} from 'Uint8 *' {aka 'unsigned char *'} makes integer from pointer without a cast [-Wint-conversion] - 226 | else SB=c; - | ^ -In file included from serial.c:45: -serial.c: In function 'gbserial_wait_data': -memory.h:59:18: warning: passing argument 2 of 'write' makes pointer from integer without a cast [-Wint-conversion] - 59 | #define SB (himem[0x61]) - | ~~~~~~^~~~~~~ - | | - | Uint8 {aka unsigned char} -serial.c:266:21: note: in expansion of macro 'SB' - 266 | write(dest_socket,SB,1); - | ^~ -In file included from serial.c:22: -/usr/include/unistd.h:378:45: note: expected 'const void *' but argument is of type 'Uint8' {aka 'unsigned char'} - 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur - | ~~~~~~~~~~~~^~~~~ -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 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o sgb.o sgb.c -serial.c: In function 'gbserial_send': -serial.c:206:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 206 | write(dest_socket,&b,sizeof(Uint8)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -serial.c: In function 'gbserial_wait_data': -serial.c:266:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 266 | write(dest_socket,SB,1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -serial.c: In function 'gbserial_write': -serial.c:321:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 321 | write(dest_socket,&b,1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -serial.c: In function 'gbserial_read': -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; - | ~^~~~~~~~~~~~~~~~~~~~~~~ -serial.c:309:9: note: destination object 'b' of size 1 - 309 | Uint8 b; - | ^ -In file included from /usr/include/unistd.h:1214: -/usr/include/i386-linux-gnu/bits/unistd.h:36:1: note: in a call to function 'read' declared with attribute 'access (write_only, 2, 3)' - 36 | read (int __fd, void *__buf, size_t __nbytes) - | ^~~~ -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 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o sound.o sound.c sgb.c:379:14: warning: 'i' is static but declared in inline function 'sgb_1chr_mode' which is not static 379 | static int i; | ^ @@ -1335,85 +1298,19 @@ 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 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o vram.o vram.c -In file included from /usr/include/features.h:489, - from /usr/include/i386-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/i386-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 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -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 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o video_yuv.o video_yuv.c -sound.c:670:17: warning: 'poly_counter' is static but declared in inline function 'update_snd_m4' which is not static - 670 | static Uint32 poly_counter; - | ^~~~~~~~~~~~ -sound.c:669:14: warning: 'cur_env_step' is static but declared in inline function 'update_snd_m4' which is not static - 669 | static int cur_env_step; - | ^~~~~~~~~~~~ -sound.c:668:14: warning: 'ep' is static but declared in inline function 'update_snd_m4' which is not static - 668 | static int ep=0; - | ^~ -sound.c:667:14: warning: 'lp' is static but declared in inline function 'update_snd_m4' which is not static - 667 | static int lp=0; - | ^~ -sound.c:666:14: warning: 'sp' is static but declared in inline function 'update_snd_m4' which is not static - 666 | static int sp=0; - | ^~ -sound.c:665:14: warning: 'env' is static but declared in inline function 'update_snd_m4' which is not static - 665 | static int env=0; - | ^~~ -sound.c:664:16: warning: 'cp' is static but declared in inline function 'update_snd_m4' which is not static - 664 | static float cp=0; - | ^~ -sound.c:575:14: warning: 'val' is static but declared in inline function 'update_snd_m3' which is not static - 575 | static int val=0; - | ^~~ -sound.c:574:14: warning: 'sp' is static but declared in inline function 'update_snd_m3' which is not static - 574 | static int sp=0; - | ^~ -sound.c:573:14: warning: 'lp' is static but declared in inline function 'update_snd_m3' which is not static - 573 | static int lp=0; - | ^~ -sound.c:490:14: warning: 'cur_env_step' is static but declared in inline function 'update_snd_m2' which is not static - 490 | static int cur_env_step; - | ^~~~~~~~~~~~ -sound.c:489:14: warning: 'ep' is static but declared in inline function 'update_snd_m2' which is not static - 489 | static int ep=0; - | ^~ -sound.c:488:14: warning: 'lp' is static but declared in inline function 'update_snd_m2' which is not static - 488 | static int lp=0; - | ^~ -sound.c:487:14: warning: 'sp' is static but declared in inline function 'update_snd_m2' which is not static - 487 | static int sp=0; - | ^~ -sound.c:486:14: warning: 'env' is static but declared in inline function 'update_snd_m2' which is not static - 486 | static int env=0; - | ^~~ -sound.c:372:14: warning: 'cur_env_step' is static but declared in inline function 'update_snd_m1' which is not static - 372 | static int cur_env_step; - | ^~~~~~~~~~~~ -sound.c:371:14: warning: 'cur_swp_shift' is static but declared in inline function 'update_snd_m1' which is not static - 371 | static int cur_swp_shift; - | ^~~~~~~~~~~~~ -sound.c:370:14: warning: 'fp' is static but declared in inline function 'update_snd_m1' which is not static - 370 | static int fp=0; - | ^~ -sound.c:369:14: warning: 'ep' is static but declared in inline function 'update_snd_m1' which is not static - 369 | static int ep=0; - | ^~ -sound.c:368:14: warning: 'lp' is static but declared in inline function 'update_snd_m1' which is not static - 368 | static int lp=0; - | ^~ -sound.c:367:15: warning: 'sp' is static but declared in inline function 'update_snd_m1' which is not static - 367 | static char sp=0; - | ^~ -sound.c:366:14: warning: 'env' is static but declared in inline function 'update_snd_m1' which is not static - 366 | static int env=0; - | ^~~ -In file included from vram.c:27: +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); + | ^~~~~~~~~~~~~~ +In file included from video_yv12.c:24: video_std.h:54:17: warning: inline function 'draw_obj_std' declared but never defined 54 | __inline__ void draw_obj_std(Uint16 *buf); | ^~~~~~~~~~~~ @@ -1432,16 +1329,9 @@ 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); | ^~~~~~~~~~~~~~~~ -In file included from sound.c:29: -cpu.h:83:17: warning: inline function 'cpu_run' declared but never defined - 83 | __inline__ void cpu_run(void); - | ^~~~~~~ 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); | ^~~~~~~~~~~~~~~~ -cpu.h:82:18: warning: inline function 'gbcpu_exec_one' declared but never defined - 82 | __inline__ Uint8 gbcpu_exec_one(void); - | ^~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~ @@ -1457,11 +1347,17 @@ 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); | ^~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from video_yuy2.c:25: +In file included from video_yv12.c:23: +vram.h:108:18: warning: inline function 'get_nb_spr' declared but never defined + 108 | __inline__ Uint8 get_nb_spr(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); + | ^~~~~~~~~~~ +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); | ^~~~~~~~~~~~ @@ -1498,25 +1394,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_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); - | ^~~~~~~~~~ -In file included from video_yuv.c:21: -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.. -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 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -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 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o video_std.o video_std.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 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o video_gl.o video_gl.c -In file included from video_yv12.c:24: +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 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); | ^~~~~~~~~~~~ @@ -1553,14 +1435,183 @@ 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_yv12.c:23: +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); + | ^~~~~~~~~~ +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:21: +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); + | ^~~~~~~~~~~~~~ +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) { + | ^~~~ + | | + | int * +In file included from serial.c:26: +/usr/include/i386-linux-gnu/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' + 307 | socklen_t *__restrict __addr_len); + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~ +serial.c: In function 'gbserial_receive': +serial.c:226:10: warning: assignment to 'Uint8' {aka 'unsigned char'} from 'Uint8 *' {aka 'unsigned char *'} makes integer from pointer without a cast [-Wint-conversion] + 226 | else SB=c; + | ^ +In file included from serial.c:45: +serial.c: In function 'gbserial_wait_data': +memory.h:59:18: warning: passing argument 2 of 'write' makes pointer from integer without a cast [-Wint-conversion] + 59 | #define SB (himem[0x61]) + | ~~~~~~^~~~~~~ + | | + | Uint8 {aka unsigned char} +serial.c:266:21: note: in expansion of macro 'SB' + 266 | write(dest_socket,SB,1); + | ^~ +In file included from serial.c:22: +/usr/include/unistd.h:378:45: note: expected 'const void *' but argument is of type 'Uint8' {aka 'unsigned char'} + 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur + | ~~~~~~~~~~~~^~~~~ +sound.c:670:17: warning: 'poly_counter' is static but declared in inline function 'update_snd_m4' which is not static + 670 | static Uint32 poly_counter; + | ^~~~~~~~~~~~ +sound.c:669:14: warning: 'cur_env_step' is static but declared in inline function 'update_snd_m4' which is not static + 669 | static int cur_env_step; + | ^~~~~~~~~~~~ +sound.c:668:14: warning: 'ep' is static but declared in inline function 'update_snd_m4' which is not static + 668 | static int ep=0; + | ^~ +sound.c:667:14: warning: 'lp' is static but declared in inline function 'update_snd_m4' which is not static + 667 | static int lp=0; + | ^~ +sound.c:666:14: warning: 'sp' is static but declared in inline function 'update_snd_m4' which is not static + 666 | static int sp=0; + | ^~ +sound.c:665:14: warning: 'env' is static but declared in inline function 'update_snd_m4' which is not static + 665 | static int env=0; + | ^~~ +sound.c:664:16: warning: 'cp' is static but declared in inline function 'update_snd_m4' which is not static + 664 | static float cp=0; + | ^~ +sound.c:575:14: warning: 'val' is static but declared in inline function 'update_snd_m3' which is not static + 575 | static int val=0; + | ^~~ +sound.c:574:14: warning: 'sp' is static but declared in inline function 'update_snd_m3' which is not static + 574 | static int sp=0; + | ^~ +sound.c:573:14: warning: 'lp' is static but declared in inline function 'update_snd_m3' which is not static + 573 | static int lp=0; + | ^~ +sound.c:490:14: warning: 'cur_env_step' is static but declared in inline function 'update_snd_m2' which is not static + 490 | static int cur_env_step; + | ^~~~~~~~~~~~ +sound.c:489:14: warning: 'ep' is static but declared in inline function 'update_snd_m2' which is not static + 489 | static int ep=0; + | ^~ +sound.c:488:14: warning: 'lp' is static but declared in inline function 'update_snd_m2' which is not static + 488 | static int lp=0; + | ^~ +sound.c:487:14: warning: 'sp' is static but declared in inline function 'update_snd_m2' which is not static + 487 | static int sp=0; + | ^~ +sound.c:486:14: warning: 'env' is static but declared in inline function 'update_snd_m2' which is not static + 486 | static int env=0; + | ^~~ +sound.c:372:14: warning: 'cur_env_step' is static but declared in inline function 'update_snd_m1' which is not static + 372 | static int cur_env_step; + | ^~~~~~~~~~~~ +sound.c:371:14: warning: 'cur_swp_shift' is static but declared in inline function 'update_snd_m1' which is not static + 371 | static int cur_swp_shift; + | ^~~~~~~~~~~~~ +sound.c:370:14: warning: 'fp' is static but declared in inline function 'update_snd_m1' which is not static + 370 | static int fp=0; + | ^~ +sound.c:369:14: warning: 'ep' is static but declared in inline function 'update_snd_m1' which is not static + 369 | static int ep=0; + | ^~ +sound.c:368:14: warning: 'lp' is static but declared in inline function 'update_snd_m1' which is not static + 368 | static int lp=0; + | ^~ +sound.c:367:15: warning: 'sp' is static but declared in inline function 'update_snd_m1' which is not static + 367 | static char sp=0; + | ^~ +sound.c:366:14: warning: 'env' is static but declared in inline function 'update_snd_m1' which is not static + 366 | static int env=0; + | ^~~ +In file included from sound.c:29: +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); + | ^~~~~~~~~~~~~~ +serial.c: In function 'gbserial_send': +serial.c:206:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 206 | write(dest_socket,&b,sizeof(Uint8)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +serial.c: In function 'gbserial_wait_data': +serial.c:266:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 266 | write(dest_socket,SB,1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +serial.c: In function 'gbserial_write': +serial.c:321:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 321 | write(dest_socket,&b,1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +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_read': +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; + | ~^~~~~~~~~~~~~~~~~~~~~~~ +serial.c:309:9: note: destination object 'b' of size 1 + 309 | Uint8 b; + | ^ +In file included from /usr/include/unistd.h:1214: +/usr/include/i386-linux-gnu/bits/unistd.h:36:1: note: in a call to function 'read' declared with attribute 'access (write_only, 2, 3)' + 36 | read (int __fd, void *__buf, size_t __nbytes) + | ^~~~ +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 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o video_gl.o video_gl.c In file included from video_std.c:22: 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 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o menu.o menu.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 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o fileio.o fileio.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 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -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 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o unzip.o unzip.c +In file included from /usr/include/features.h:489, + from /usr/include/i386-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/i386-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), + | ^~~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~ 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); @@ -1602,8 +1653,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 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o menu.o menu.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 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o fileio.o fileio.c 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); @@ -1645,11 +1694,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 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o save.o save.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); - | ^~~~~~~~~~~~~~~~~~~~~~~~ save.c: In function 'get_filename_ext': save.c:25:3: warning: implicit declaration of function 'check_dir' [-Wimplicit-function-declaration] 25 | check_dir(f); @@ -1662,11 +1706,25 @@ 7 | #include "cpu.h" +++ |+#include 8 | -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 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -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] + 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: 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); | ^~~~~~~~~~~~~~ +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': save.c: In function 'save_state': save.c:530:5: warning: implicit declaration of function 'get_ext_nb' [-Wimplicit-function-declaration] 530 | get_ext_nb(t,n); @@ -1698,6 +1756,12 @@ vram.h:108:18: warning: inline function 'get_nb_spr' declared but never defined 108 | __inline__ Uint8 get_nb_spr(void); | ^~~~~~~~~~ +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: 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); @@ -1705,27 +1769,6 @@ 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) @@ -1740,6 +1783,13 @@ unzip.c:165:9: note: 'i' was declared here 165 | int i; | ^ +unzip.c: In function 'unzlocal_getLong': +unzip.c:191:7: warning: 'i' may be used uninitialized [-Wmaybe-uninitialized] + 191 | x = (uLong)i; + | ~~^~~~~~~~~~ +unzip.c:187:9: note: 'i' was declared here + 187 | int i; + | ^ save.c:174:24: warning: array subscript 5 is above array bounds of 'Uint8[5]' {aka 'unsigned char[5]'} [-Warray-bounds] 174 | dd=((rom_timer->reg[5]&0x01)<<9)|rom_timer->reg[4]; | ~~~~~~~~~~~~~~^~~ @@ -1765,13 +1815,6 @@ rom.h:51:9: note: while referencing 'reg' 51 | Uint8 reg[5]; | ^~~ -unzip.c: In function 'unzlocal_getLong': -unzip.c:191:7: warning: 'i' may be used uninitialized [-Wmaybe-uninitialized] - 191 | x = (uLong)i; - | ~~^~~~~~~~~~ -unzip.c:187:9: note: 'i' was declared here - 187 | int i; - | ^ gcc -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 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -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 -L/usr/lib/i386-linux-gnu -lSDL -lGL make[3]: Leaving directory '/build/gngb-20060309/src' make[3]: Entering directory '/build/gngb-20060309' @@ -1779,7 +1822,7 @@ make[2]: Leaving directory '/build/gngb-20060309' make[1]: Leaving directory '/build/gngb-20060309' dh_auto_test - make -j8 check "TESTSUITEFLAGS=-j8 --verbose" VERBOSE=1 + make -j15 check "TESTSUITEFLAGS=-j15 --verbose" VERBOSE=1 make[1]: Entering directory '/build/gngb-20060309' Making check in src make[2]: Entering directory '/build/gngb-20060309/src' @@ -1791,20 +1834,20 @@ create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install --destdir=debian/gngb/ - make -j8 install DESTDIR=/build/gngb-20060309/debian/gngb AM_UPDATE_INFO_DIR=no + make -j15 install DESTDIR=/build/gngb-20060309/debian/gngb AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/gngb-20060309' Making install in src make[2]: Entering directory '/build/gngb-20060309/src' make[3]: Entering directory '/build/gngb-20060309/src' - /bin/mkdir -p '/build/gngb-20060309/debian/gngb/usr/bin' make[3]: Nothing to be done for 'install-data-am'. + /usr/bin/mkdir -p '/build/gngb-20060309/debian/gngb/usr/bin' /usr/bin/install -c gngb '/build/gngb-20060309/debian/gngb/usr/bin' make[3]: Leaving directory '/build/gngb-20060309/src' make[2]: Leaving directory '/build/gngb-20060309/src' make[2]: Entering directory '/build/gngb-20060309' make[3]: Entering directory '/build/gngb-20060309' make[3]: Nothing to be done for 'install-exec-am'. - /bin/mkdir -p '/build/gngb-20060309/debian/gngb/usr/share/man/man1' + /usr/bin/mkdir -p '/build/gngb-20060309/debian/gngb/usr/share/man/man1' /usr/bin/install -c -m 644 gngb.1 '/build/gngb-20060309/debian/gngb/usr/share/man/man1' make[3]: Leaving directory '/build/gngb-20060309' make[2]: Leaving directory '/build/gngb-20060309' @@ -1836,12 +1879,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/36443/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/36443/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/30650 and its subdirectories -I: Current time: Thu Jun 8 14:19:17 -12 2023 -I: pbuilder-time-stamp: 1686277157 +I: removing directory /srv/workspace/pbuilder/36443 and its subdirectories +I: Current time: Thu Jul 11 22:43:12 +14 2024 +I: pbuilder-time-stamp: 1720687392