Diff of the two buildlogs: -- --- b1/build.log 2023-06-05 02:07:27.886694011 +0000 +++ b2/build.log 2023-06-05 02:08:17.496519523 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Jul 6 20:28:57 -12 2024 -I: pbuilder-time-stamp: 1720340937 +I: Current time: Mon Jun 5 16:07:30 +14 2023 +I: pbuilder-time-stamp: 1685930850 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./gngb_20060309.orig.tar.gz] I: copying [./gngb_20060309-5.debian.tar.xz] I: Extracting source -gpgv: Signature made Sun Jul 26 01:28:11 2020 -12 +gpgv: Signature made Mon Jul 27 03:28:11 2020 +14 gpgv: using RSA key ACF3D088EF32EDEF6A1A835FD9AD14B9513B51E4 gpgv: issuer "apo@debian.org" gpgv: Can't check signature: No public key @@ -37,135 +37,167 @@ dpkg-source: info: applying gcc10.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2473602/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1068730/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 5 16:07 /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/1068730/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1068730/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16 ' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="x86_64-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=amd64 + 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=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='85fecab3fab64fc2915a395ffc647e6b' - 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='2473602' - PS1='# ' - PS2='> ' + INVOCATION_ID=da3e9767bee34d758cb97f59adf1290e + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1068730 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.kQCoxnr8/pbuilderrc_2IYj --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.kQCoxnr8/b1 --logfile b1/build.log gngb_20060309-5.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68: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.kQCoxnr8/pbuilderrc_hPbp --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.kQCoxnr8/b2 --logfile b2/build.log --extrapackages usrmerge gngb_20060309-5.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos15-amd64 6.1.0-0.deb11.7-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.20-2~bpo11+1 (2023-04-23) x86_64 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 5632 - -rwxr-xr-x 1 root root 1265648 Apr 23 2023 bash - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 39224 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 39224 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 14568 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 44016 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown - -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp - -rwxr-xr-x 1 root root 125640 Jan 5 2023 dash - -rwxr-xr-x 1 root root 121904 Sep 20 2022 date - -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd - -rwxr-xr-x 1 root root 102200 Sep 20 2022 df - -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir - -rwxr-xr-x 1 root root 88656 Mar 22 2023 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 2022 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 2022 domainname -> hostname - -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 2023 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 2023 fusermount - -rwxr-xr-x 1 root root 203152 Jan 24 2023 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 98136 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22680 Dec 19 2022 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 2023 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 2023 lsblk - -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 59712 Mar 22 2023 more - -rwsr-xr-x 1 root root 59704 Mar 22 2023 mount - -rwxr-xr-x 1 root root 18744 Mar 22 2023 mountpoint - -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 2022 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 2023 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 2023 rbash -> bash - -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm - -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 27560 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 126424 Jan 5 2023 sed - lrwxrwxrwx 1 root root 4 Jan 5 2023 sh -> dash - -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty - -rwsr-xr-x 1 root root 72000 Mar 22 2023 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531984 Apr 6 2023 tar - -rwxr-xr-x 1 root root 14520 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch - -rwxr-xr-x 1 root root 35664 Sep 20 2022 true - -rwxr-xr-x 1 root root 14568 Mar 22 2023 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 2023 umount - -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 72024 Mar 22 2023 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 2022 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/2473602/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Apr 24 11:23 bash + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 39224 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 39224 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 14568 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 44016 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68656 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 64496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 72752 Sep 21 2022 chown + -rwxr-xr-x 1 root root 151152 Sep 21 2022 cp + -rwxr-xr-x 1 root root 125640 Jan 6 03:20 dash + -rwxr-xr-x 1 root root 121904 Sep 21 2022 date + -rwxr-xr-x 1 root root 89240 Sep 21 2022 dd + -rwxr-xr-x 1 root root 102200 Sep 21 2022 df + -rwxr-xr-x 1 root root 151344 Sep 21 2022 dir + -rwxr-xr-x 1 root root 88656 Mar 24 00:02 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 00:02 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 22:35 fusermount + -rwxr-xr-x 1 root root 203152 Jan 25 04:43 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 98136 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22680 Dec 20 03:33 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 02:40 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 00:02 lsblk + -rwxr-xr-x 1 root root 97552 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 72912 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 43952 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 59712 Mar 24 00:02 more + -rwsr-xr-x 1 root root 59704 Mar 24 00:02 mount + -rwxr-xr-x 1 root root 18744 Mar 24 00:02 mountpoint + -rwxr-xr-x 1 root root 142968 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 11:23 rbash -> bash + -rwxr-xr-x 1 root root 52112 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 72752 Sep 21 2022 rm + -rwxr-xr-x 1 root root 56240 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 27560 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 126424 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 9 Jun 5 16:07 sh -> /bin/bash + -rwxr-xr-x 1 root root 43888 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 85008 Sep 21 2022 stty + -rwsr-xr-x 1 root root 72000 Mar 24 00:02 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531984 Apr 7 04:25 tar + -rwxr-xr-x 1 root root 14520 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 109616 Sep 21 2022 touch + -rwxr-xr-x 1 root root 35664 Sep 21 2022 true + -rwxr-xr-x 1 root root 14568 Mar 23 22:35 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 00:02 umount + -rwxr-xr-x 1 root root 43888 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 151344 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 72024 Mar 24 00:02 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 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/1068730/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -346,7 +378,7 @@ Get: 137 http://deb.debian.org/debian bookworm/main amd64 libsdl1.2debian amd64 1.2.15+dfsg2-8 [199 kB] Get: 138 http://deb.debian.org/debian bookworm/main amd64 libxext-dev amd64 2:1.3.4-1+b1 [107 kB] Get: 139 http://deb.debian.org/debian bookworm/main amd64 libsdl1.2-dev amd64 1.2.15+dfsg2-8 [733 kB] -Fetched 81.6 MB in 3s (29.4 MB/s) +Fetched 81.6 MB in 1s (61.4 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19591 files and directories currently installed.) @@ -919,8 +951,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/1068730/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/1068730/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 @@ -970,7 +1013,7 @@ ./configure --build=x86_64-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/x86_64-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 @@ -1003,8 +1046,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 @@ -1030,7 +1073,7 @@ config.status: creating config.h config.status: executing depfiles commands dh_auto_build - make -j16 + make -j15 make[1]: Entering directory '/build/gngb-20060309' make all-recursive make[2]: Entering directory '/build/gngb-20060309' @@ -1051,24 +1094,7 @@ 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 -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:74:25: warning: data definition has no type or storage class - 74 | Sint16 joy_x_min=-32767;joy_x_max=32767;joy_y_min=-32767;joy_y_max=32767; - | ^~~~~~~~~ -memory.c:74:25: warning: type defaults to 'int' in declaration of 'joy_x_max' [-Wimplicit-int] -memory.c:74:41: warning: data definition has no type or storage class - 74 | Sint16 joy_x_min=-32767;joy_x_max=32767;joy_y_min=-32767;joy_y_max=32767; - | ^~~~~~~~~ -memory.c:74:41: warning: type defaults to 'int' in declaration of 'joy_y_min' [-Wimplicit-int] -memory.c:74:58: warning: data definition has no type or storage class - 74 | Sint16 joy_x_min=-32767;joy_x_max=32767;joy_y_min=-32767;joy_y_max=32767; - | ^~~~~~~~~ -memory.c:74:58: warning: type defaults to 'int' in declaration of 'joy_y_max' [-Wimplicit-int] -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); - | ^~~~~~~ -In file included from message.c:28: +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); | ^~~~~~~~~~~~ @@ -1105,35 +1131,26 @@ 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); - | ^~~~~~~~~~ -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 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); | ^~~~~~~~~~ -interrupt.c: In function 'gblcdc_update3': -interrupt.c:511:1: warning: control reaches end of non-void function [-Wreturn-type] - 511 | } - | ^ -memory.c: In function '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); - | ^~~~~~~~~~~~~ -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 -cpu.c: In function 'gbcpu_exec_one': -In file included from emu.c:44: +memory.c:74:25: warning: data definition has no type or storage class + 74 | Sint16 joy_x_min=-32767;joy_x_max=32767;joy_y_min=-32767;joy_y_max=32767; + | ^~~~~~~~~ +memory.c:74:25: warning: type defaults to 'int' in declaration of 'joy_x_max' [-Wimplicit-int] +memory.c:74:41: warning: data definition has no type or storage class + 74 | Sint16 joy_x_min=-32767;joy_x_max=32767;joy_y_min=-32767;joy_y_max=32767; + | ^~~~~~~~~ +memory.c:74:41: warning: type defaults to 'int' in declaration of 'joy_y_min' [-Wimplicit-int] +memory.c:74:58: warning: data definition has no type or storage class + 74 | Sint16 joy_x_min=-32767;joy_x_max=32767;joy_y_min=-32767;joy_y_max=32767; + | ^~~~~~~~~ +memory.c:74:58: warning: type defaults to 'int' in declaration of 'joy_y_max' [-Wimplicit-int] +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; + | ^~~~~~~~~~~~ +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); | ^~~~~~~~~~~~ @@ -1149,6 +1166,9 @@ 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); | ^~~~~~~~~~~~~~~~ +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; + | ^~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~ @@ -1167,116 +1187,13 @@ 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); | ^~~~~~~~~~~~~~~~ -sgb.c:379:14: warning: 'i' is static but declared in inline function 'sgb_1chr_mode' which is not static - 379 | static int i; - | ^ -cpu.c:881:14: warning: self-comparison always evaluates to false [-Wtautological-compare] - 881 | ((A>A)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); - | ^ 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: -cpu.h:83:17: warning: inline function 'cpu_run' declared but never defined - 83 | __inline__ void cpu_run(void); - | ^~~~~~~ -sgb.c:378:18: warning: 'J' is static but declared in inline function 'sgb_1chr_mode' which is not static - 378 | static Uint8 I,J; - | ^ -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: -vram.h:108:18: warning: inline function 'get_nb_spr' declared but never defined - 108 | __inline__ Uint8 get_nb_spr(void); - | ^~~~~~~~~~ -sgb.c:378:16: warning: 'I' is static but declared in inline function 'sgb_1chr_mode' which is not static - 378 | static Uint8 I,J; - | ^ -sgb.c:377:17: warning: 'nb_dataset' is static but declared in inline function 'sgb_1chr_mode' which is not static - 377 | static Uint16 nb_dataset; - | ^~~~~~~~~~ -sgb.c:376:16: warning: 'mode' is static but declared in inline function 'sgb_1chr_mode' which is not static - 376 | static Uint8 mode; - | ^~~~ -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)); - | ^ -sgb.c:325:17: warning: 'nb_dataset' is static but declared in inline function 'sgb_line_mode' which is not static - 325 | static Sint16 nb_dataset; - | ^~~~~~~~~~ -sgb.c:258:16: warning: 'ds_i' is static but declared in inline function 'sgb_block_mode' which is not static - 258 | static Uint8 ds_i; // dataset indice - | ^~~~ -sgb.c:257:16: warning: 'dataset' is static but declared in inline function 'sgb_block_mode' which is not static - 257 | static Uint8 dataset[6]; - | ^~~~~~~ -sgb.c:256:16: warning: 'nb_dataset' is static but declared in inline function 'sgb_block_mode' which is not static - 256 | static Sint8 nb_dataset; - | ^~~~~~~~~~ -sgb.c:131:7: warning: 'sgb_flag' is static but used in inline function 'sgb_draw_one_tile' which is not static - 131 | if (sgb_flag) { - | ^~~~~~~~ -sgb.c:110:7: warning: 'sgb_flag' is static but used in inline function 'sgb_tiles_map_transfer' which is not static - 110 | if (sgb_flag) - | ^~~~~~~~ -sgb.c:99:9: warning: 'sgb_flag' is static but used in inline function 'sgb_tiles_map_transfer' which is not static - 99 | if (sgb_flag) { - | ^~~~~~~~ -In file included from sgb.h:25, - from sgb.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 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); - | ^~~~~~~~~~~~~~ -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; - | ^~~~~~~~~~~~~~~~~~~~~~ -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 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); - | ^~~~~~~~~~~~~~ -In file included from main.c:37: +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 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); - | ^~~~~~~~~~~~~~ -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; | ^~ @@ -1344,21 +1261,84 @@ 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: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); + | ^~~~~~~~~~ +sgb.c:379:14: warning: 'i' is static but declared in inline function 'sgb_1chr_mode' which is not static + 379 | static int i; + | ^ +sgb.c:378:18: warning: 'J' is static but declared in inline function 'sgb_1chr_mode' which is not static + 378 | static Uint8 I,J; + | ^ +sgb.c:378:16: warning: 'I' is static but declared in inline function 'sgb_1chr_mode' which is not static + 378 | static Uint8 I,J; + | ^ +sgb.c:377:17: warning: 'nb_dataset' is static but declared in inline function 'sgb_1chr_mode' which is not static + 377 | static Uint16 nb_dataset; + | ^~~~~~~~~~ +sgb.c:376:16: warning: 'mode' is static but declared in inline function 'sgb_1chr_mode' which is not static + 376 | static Uint8 mode; + | ^~~~ +sgb.c:325:17: warning: 'nb_dataset' is static but declared in inline function 'sgb_line_mode' which is not static + 325 | static Sint16 nb_dataset; + | ^~~~~~~~~~ +sgb.c:258:16: warning: 'ds_i' is static but declared in inline function 'sgb_block_mode' which is not static + 258 | static Uint8 ds_i; // dataset indice + | ^~~~ +sgb.c:257:16: warning: 'dataset' is static but declared in inline function 'sgb_block_mode' which is not static + 257 | static Uint8 dataset[6]; + | ^~~~~~~ +sgb.c:256:16: warning: 'nb_dataset' is static but declared in inline function 'sgb_block_mode' which is not static + 256 | static Sint8 nb_dataset; + | ^~~~~~~~~~ +sgb.c:131:7: warning: 'sgb_flag' is static but used in inline function 'sgb_draw_one_tile' which is not static + 131 | if (sgb_flag) { + | ^~~~~~~~ +sgb.c:110:7: warning: 'sgb_flag' is static but used in inline function 'sgb_tiles_map_transfer' which is not static + 110 | if (sgb_flag) + | ^~~~~~~~ +sgb.c:99:9: warning: 'sgb_flag' is static but used in inline function 'sgb_tiles_map_transfer' which is not static + 99 | if (sgb_flag) { + | ^~~~~~~~ +In file included from sgb.h:25, + from sgb.c:23: +vram.h:108:18: warning: inline function 'get_nb_spr' declared but never defined + 108 | __inline__ Uint8 get_nb_spr(void); + | ^~~~~~~~~~ sound.c: In function 'gbsound_init': +interrupt.c: In function 'gblcdc_update3': +interrupt.c:511:1: warning: control reaches end of non-void function [-Wreturn-type] + 511 | } + | ^ 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_yuv.c:23: +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 video_yuv.c:21: +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); | ^~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~ +memory.c:819:12: warning: implicit declaration of function 'movie_get_next_pad' [-Wimplicit-function-declaration] + 819 | gb_pad=movie_get_next_pad(); + | ^~~~~~~~~~~~~~~~~~ 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); @@ -1396,6 +1376,39 @@ 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); | ^~~~~~~~~~~~~~~~~ +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 +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); + | ^~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~ 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) { @@ -1424,7 +1437,30 @@ /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 | ~~~~~~~~~~~~^~~~~ -In file included from video_yv12.c:24: +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/x86_64-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) + | ^~~~ +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); | ^~~~~~~~~~~~ @@ -1461,11 +1497,42 @@ 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 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 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 video_yuy2.c:25: +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); + | ^~~~~~~~~~~~~~~~ +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 +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_gl.o video_gl.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 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); | ^~~~~~~~~~~~ @@ -1502,56 +1569,41 @@ 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: +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); | ^~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~ +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 +In file included from /usr/include/features.h:489, + from /usr/include/x86_64-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/x86_64-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), + | ^~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~ +emu.c:301:13: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] + 301 | strncpy(*((char **) config_var[i].var),val,strlen(val)+1); + | ^ +emu.c:301:56: note: length computed here + 301 | strncpy(*((char **) config_var[i].var),val,strlen(val)+1); + | ^~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -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 cpu.c: In function 'cpu_run': -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/x86_64-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) - | ^~~~ 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 -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 cpu.c:2920:21: warning: implicit declaration of function 'gbserial_write'; did you mean 'gbserial_init'? [-Wimplicit-function-declaration] 2920 | gbserial_write(SB); | ^~~~~~~~~~~~~~ | gbserial_init -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/gngb-20060309=. -fstack-protector-strong -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -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 -emu.c:301:13: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] - 301 | strncpy(*((char **) config_var[i].var),val,strlen(val)+1); - | ^ -emu.c:301:56: note: length computed here - 301 | strncpy(*((char **) config_var[i].var),val,strlen(val)+1); - | ^~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -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 menu.c: In function 'action_save_state': menu.c:63:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] @@ -1590,10 +1642,6 @@ menu.c:498:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 498 | item->user_data=(void*)i; | ^ -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 menu.c:29: video_std.h: At top level: video_std.h:54:17: warning: inline function 'draw_obj_std' declared but never defined @@ -1636,15 +1684,10 @@ 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 /usr/include/features.h:489, - from /usr/include/x86_64-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/x86_64-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); @@ -1686,6 +1729,13 @@ vram.h:108:18: warning: inline function 'get_nb_spr' declared but never defined 108 | __inline__ Uint8 get_nb_spr(void); | ^~~~~~~~~~ +unzip.c: In function '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_filename_ext': save.c:25:3: warning: implicit declaration of function 'check_dir' [-Wimplicit-function-declaration] 25 | check_dir(f); @@ -1698,6 +1748,27 @@ 7 | #include "cpu.h" +++ |+#include 8 | +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) + | ^~ +unzip.c:917:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 917 | if (unzlocal_CheckCurrentFileCoherencyHeader(s,&iSizeVar, + | ^~ save.c: In function '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); @@ -1740,34 +1811,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) - | ^~ -unzip.c:917:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 917 | if (unzlocal_CheckCurrentFileCoherencyHeader(s,&iSizeVar, - | ^~ unzip.c: In function 'unzlocal_getShort': unzip.c:169:7: warning: 'i' may be used uninitialized [-Wmaybe-uninitialized] 169 | x = (uLong)i; @@ -1814,7 +1857,7 @@ make[2]: Leaving directory '/build/gngb-20060309' make[1]: Leaving directory '/build/gngb-20060309' dh_auto_test - make -j16 check "TESTSUITEFLAGS=-j16 --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' @@ -1826,20 +1869,20 @@ create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install --destdir=debian/gngb/ - make -j16 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' make[3]: Nothing to be done for 'install-data-am'. - /bin/mkdir -p '/build/gngb-20060309/debian/gngb/usr/bin' + /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' @@ -1871,12 +1914,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/1068730/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1068730/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/2473602 and its subdirectories -I: Current time: Sat Jul 6 20:30:38 -12 2024 -I: pbuilder-time-stamp: 1720341038 +I: removing directory /srv/workspace/pbuilder/1068730 and its subdirectories +I: Current time: Mon Jun 5 16:08:17 +14 2023 +I: pbuilder-time-stamp: 1685930897