Diff of the two buildlogs: -- --- b1/build.log 2021-06-19 13:28:04.113179792 +0000 +++ b2/build.log 2021-06-19 13:28:46.495559135 +0000 @@ -1,8 +1,6 @@ -unshare: unshare failed: Cannot allocate memory -W: pbuilder: unshare CLONE_NEWNET not available -I: pbuilder: network access is available during build! -I: Current time: Sat Jun 19 01:23:42 -12 2021 -I: pbuilder-time-stamp: 1624109022 +I: pbuilder: network access will be disabled during build +I: Current time: Sat Jul 23 09:51:03 +14 2022 +I: pbuilder-time-stamp: 1658519463 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -19,8 +17,8 @@ I: copying [./gngb_20060309-5.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.Dd6_AR5L/trustedkeys.kbx': General error -gpgv: Signature made Sun Jul 26 01:28:11 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.LGgC8XQs/trustedkeys.kbx': General error +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 @@ -41,137 +39,171 @@ dpkg-source: info: applying gcc10.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/29106/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/12744/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 +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by 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/12744/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/12744/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,-fixfilepath parallel=10' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.1.4(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,-fixfilepath parallel=18' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='62ee93379314446fb6bc4db4ebc792d4' - 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='29106' - PS1='# ' - PS2='> ' + INVOCATION_ID=d6964e6a0ee048378615064e1ff97724 + 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=12744 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/tmp.Kr5vXAxhX4/pbuilderrc_QZf5 --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.Kr5vXAxhX4/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/tmp.Kr5vXAxhX4/pbuilderrc_w9fQ --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.Kr5vXAxhX4/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 ionos12-i386 4.19.0-16-686-pae #1 SMP Debian 4.19.181-1 (2021-03-19) i686 GNU/Linux + Linux i-capture-the-hostname 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 GNU/Linux I: ls -l /bin total 5776 - -rwxr-xr-x 1 root root 1367848 Feb 24 08:57 bash - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 17768 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 38824 Sep 22 2020 cat - -rwxr-xr-x 1 root root 71624 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 67528 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 75752 Sep 22 2020 chown - -rwxr-xr-x 1 root root 157960 Sep 22 2020 cp - -rwxr-xr-x 1 root root 128724 Dec 10 2020 dash - -rwxr-xr-x 1 root root 124904 Sep 22 2020 date - -rwxr-xr-x 1 root root 92172 Sep 22 2020 dd - -rwxr-xr-x 1 root root 100752 Sep 22 2020 df - -rwxr-xr-x 1 root root 153964 Sep 22 2020 dir - -rwxr-xr-x 1 root root 83644 Feb 7 02:38 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 34664 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 34664 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 71928 Feb 7 02:38 findmnt - -rwsr-xr-x 1 root root 30112 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 210488 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe - -rwxr-xr-x 1 root root 100952 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 21916 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 83980 Sep 22 2020 ln - -rwxr-xr-x 1 root root 55572 Feb 7 2020 login - -rwxr-xr-x 1 root root 153964 Sep 22 2020 ls - -rwxr-xr-x 1 root root 153124 Feb 7 02:38 lsblk - -rwxr-xr-x 1 root root 96328 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 79912 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 47048 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 58920 Feb 7 02:38 more - -rwsr-xr-x 1 root root 50720 Feb 7 02:38 mount - -rwxr-xr-x 1 root root 13856 Feb 7 02:38 mountpoint - -rwxr-xr-x 1 root root 157996 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38824 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Feb 24 08:57 rbash -> bash - -rwxr-xr-x 1 root root 46984 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 75720 Sep 22 2020 rm - -rwxr-xr-x 1 root root 46984 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 22292 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jun 17 21:27 sh -> dash - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 83880 Sep 22 2020 stty - -rwsr-xr-x 1 root root 79396 Feb 7 02:38 su - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sync - -rwxr-xr-x 1 root root 602584 Feb 16 21:55 tar - -rwxr-xr-x 1 root root 13860 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 108520 Sep 22 2020 touch - -rwxr-xr-x 1 root root 34664 Sep 22 2020 true - -rwxr-xr-x 1 root root 17768 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Feb 7 02:38 umount - -rwxr-xr-x 1 root root 34664 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 153964 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 63024 Feb 7 02:38 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless - -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew -I: user script /srv/workspace/pbuilder/29106/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1367848 Feb 25 2021 bash + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 17768 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 38824 Sep 23 2020 cat + -rwxr-xr-x 1 root root 71624 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 67528 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 75752 Sep 23 2020 chown + -rwxr-xr-x 1 root root 157960 Sep 23 2020 cp + -rwxr-xr-x 1 root root 128724 Dec 11 2020 dash + -rwxr-xr-x 1 root root 124904 Sep 23 2020 date + -rwxr-xr-x 1 root root 92172 Sep 23 2020 dd + -rwxr-xr-x 1 root root 100752 Sep 23 2020 df + -rwxr-xr-x 1 root root 153964 Sep 23 2020 dir + -rwxr-xr-x 1 root root 83644 Feb 8 2021 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 34664 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 34664 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 71928 Feb 8 2021 findmnt + -rwsr-xr-x 1 root root 30112 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 210488 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 100952 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 21916 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 83980 Sep 23 2020 ln + -rwxr-xr-x 1 root root 55572 Feb 8 2020 login + -rwxr-xr-x 1 root root 153964 Sep 23 2020 ls + -rwxr-xr-x 1 root root 153124 Feb 8 2021 lsblk + -rwxr-xr-x 1 root root 96328 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 79912 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 47048 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 58920 Feb 8 2021 more + -rwsr-xr-x 1 root root 50720 Feb 8 2021 mount + -rwxr-xr-x 1 root root 13856 Feb 8 2021 mountpoint + -rwxr-xr-x 1 root root 157996 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38824 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Feb 25 2021 rbash -> bash + -rwxr-xr-x 1 root root 46984 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 75720 Sep 23 2020 rm + -rwxr-xr-x 1 root root 46984 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 22292 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jul 23 09:51 sh -> bash + lrwxrwxrwx 1 root root 4 Jul 22 05:46 sh.distrib -> dash + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 83880 Sep 23 2020 stty + -rwsr-xr-x 1 root root 79396 Feb 8 2021 su + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sync + -rwxr-xr-x 1 root root 602584 Feb 17 2021 tar + -rwxr-xr-x 1 root root 13860 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 108520 Sep 23 2020 touch + -rwxr-xr-x 1 root root 34664 Sep 23 2020 true + -rwxr-xr-x 1 root root 17768 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Feb 8 2021 umount + -rwxr-xr-x 1 root root 34664 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 153964 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 63024 Feb 8 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/12744/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -368,7 +400,7 @@ Get: 153 http://deb.debian.org/debian bullseye/main i386 x11proto-xext-dev all 2020.1-1 [3404 B] Get: 154 http://deb.debian.org/debian bullseye/main i386 libxext-dev i386 2:1.3.3-1.1 [111 kB] Get: 155 http://deb.debian.org/debian bullseye/main i386 libsdl1.2-dev i386 1.2.15+dfsg2-6 [753 kB] -Fetched 80.5 MB in 16s (5154 kB/s) +Fetched 80.5 MB in 3s (24.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19675 files and directories currently installed.) @@ -1006,8 +1038,44 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main i386 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main i386 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main i386 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main i386 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (5315 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(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 ... 25979 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. 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 +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 dpkg-buildpackage: info: source package gngb dpkg-buildpackage: info: source version 20060309-5 dpkg-buildpackage: info: source distribution unstable @@ -1032,7 +1100,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 thread-safe mkdir -p... /bin/mkdir -p +checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes @@ -1050,8 +1118,8 @@ checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E -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 ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes @@ -1097,7 +1165,7 @@ checking GL/gl.h presence... 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 @@ -1106,7 +1174,7 @@ config.status: creating config.h config.status: executing depfiles commands dh_auto_build - make -j10 + make -j18 make[1]: Entering directory '/build/gngb-20060309' make all-recursive make[2]: Entering directory '/build/gngb-20060309' @@ -1122,7 +1190,56 @@ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-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 rom.o rom.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-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 -fdebug-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 -In file included from emu.c:44: +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-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 +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); + | ^~~~~~~~~~ +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); | ^~~~~~~~~~~~ @@ -1159,36 +1276,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 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 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: +In file included from video_std.h:22, + from message.c:28: vram.h:108:18: warning: inline function 'get_nb_spr' declared but never defined 108 | __inline__ Uint8 get_nb_spr(void); | ^~~~~~~~~~ -emu.c: In function 'open_conf': -emu.c:284:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 284 | fgets(buf,510,f); - | ^~~~~~~~~~~~~~~~ -interrupt.c: In function 'gblcdc_update3': -interrupt.c:511:1: warning: control reaches end of non-void function [-Wreturn-type] - 511 | } - | ^ 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; | ^~~~~~~~~ @@ -1201,115 +1293,18 @@ 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] -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: -rom.c: At top level: -vram.h:108:18: warning: inline function 'get_nb_spr' declared but never defined - 108 | __inline__ Uint8 get_nb_spr(void); - | ^~~~~~~~~~ -In file included from rom.c:41: -cpu.h:83:17: warning: inline function 'cpu_run' declared but never defined - 83 | __inline__ void cpu_run(void); - | ^~~~~~~ -cpu.h:82:18: warning: inline function 'gbcpu_exec_one' declared but never defined - 82 | __inline__ Uint8 gbcpu_exec_one(void); - | ^~~~~~~~~~~~~~ -cpu.c: In function 'gbcpu_exec_one': -cpu.c:881:7: warning: self-comparison always evaluates to false [-Wtautological-compare] - 881 | ((A>A)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); - | ^ -cpu.c:882:14: 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); - | ^~~~~~~~~~~~~ -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:4: 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: -memory.c: 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 main.c:37: -vram.h:108:18: warning: inline function 'get_nb_spr' declared but never defined - 108 | __inline__ Uint8 get_nb_spr(void); - | ^~~~~~~~~~ -In file included from main.c:35: +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); | ^~~~~~~~~~~~~~ -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: +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); | ^~~~~~~~~~ -cpu.c: In function 'cpu_run': -cpu.c:2913:10: warning: implicit declaration of function 'gbserial_read'; did you mean 'gbserial_send'? [-Wimplicit-function-declaration] - 2913 | SB=gbserial_read(); - | ^~~~~~~~~~~~~ - | gbserial_send -cpu.c:2920:7: warning: implicit declaration of function 'gbserial_write'; did you mean 'gbserial_init'? [-Wimplicit-function-declaration] - 2920 | gbserial_write(SB); - | ^~~~~~~~~~~~~~ - | gbserial_init -In file included from message.c:28: +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); | ^~~~~~~~~~~~ @@ -1346,165 +1341,25 @@ 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, - from message.c:28: -vram.h:108:18: warning: inline function 'get_nb_spr' declared but never defined - 108 | __inline__ Uint8 get_nb_spr(void); - | ^~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-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 -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:233:28: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' - 233 | 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:366:45: note: expected 'const void *' but argument is of type 'Uint8' {aka 'unsigned char'} - 366 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur; - | ~~~~~~~~~~~~^~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/string.h:495, - from emu.c:29: -In function 'strncpy', - inlined from 'open_conf' at emu.c:301:6: -/usr/include/i386-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -emu.c: In function 'open_conf': -emu.c:301:49: note: length computed here - 301 | strncpy(*((char **) config_var[i].var),val,strlen(val)+1); - | ^~~~~~~~~~~ -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; - | ^~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-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 -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: +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); | ^~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-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 -sound.c: In function 'gbsound_init': -sound.c:951:7: warning: ignoring return value of 'realloc' declared with attribute 'warn_unused_result' [-Wunused-result] - 951 | realloc((void*)playbuf,desired.size+1); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-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 -In file included from /usr/include/unistd.h:1166, - from serial.c:22: -In function 'read', - inlined from 'gbserial_read' at serial.c:312:8: -/usr/include/i386-linux-gnu/bits/unistd.h:42:9: warning: call to '__read_chk_warn' declared with attribute warning: read called with bigger length than size of the destination buffer [-Wattribute-warning] - 42 | return __read_chk_warn (__fd, __buf, __nbytes, __bos0 (__buf)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from video_yuv.c:23: +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_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); - | ^~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~ +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); + | ^~~~~~~~~~ video_std.h:53:17: warning: inline function 'draw_spr_std' declared but never defined 53 | __inline__ void draw_spr_std(Uint16 *buf,GB_SPRITE *sp); | ^~~~~~~~~~~~ @@ -1514,9 +1369,16 @@ video_std.h:51:17: warning: inline function 'draw_back_std' declared but never defined 51 | __inline__ void draw_back_std(Uint16 *buf); | ^~~~~~~~~~~~~ +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); + | ^~~~~~~ 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); | ^~~~~~~~~~~~~~~~ +cpu.h:82:18: warning: inline function 'gbcpu_exec_one' declared but never defined + 82 | __inline__ Uint8 gbcpu_exec_one(void); + | ^~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~ @@ -1542,7 +1404,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 vram.c:27: +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; + | ^~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~ +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; + | ^~~ +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); | ^~~~~~~~~~~~ @@ -1558,6 +1448,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:574:14: warning: 'sp' is static but declared in inline function 'update_snd_m3' which is not static + 574 | static int sp=0; + | ^~ 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); | ^~~~~~~~~~~~~~~~ @@ -1579,11 +1472,38 @@ video_std.h:41:17: warning: inline function 'draw_back_sgb_std' declared but never defined 41 | __inline__ void draw_back_sgb_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-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 -fdebug-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 -fdebug-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 -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-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 video_yv12.c:24: +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; + | ^~ +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); + | ^~~~~~~~~~ +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; + | ^~ +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); | ^~~~~~~~~~~~ @@ -1593,6 +1513,9 @@ video_std.h:52:17: warning: inline function 'draw_win_std' declared but never defined 52 | __inline__ void draw_win_std(Uint16 *buf); | ^~~~~~~~~~~~ +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; + | ^~ video_std.h:51:17: warning: inline function 'draw_back_std' declared but never defined 51 | __inline__ void draw_back_std(Uint16 *buf); | ^~~~~~~~~~~~~ @@ -1608,6 +1531,9 @@ 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); | ^~~~~~~~~~~~~~~~~ +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; + | ^~ video_std.h:44:17: warning: inline function 'draw_obj_sgb_std' declared but never defined 44 | __inline__ void draw_obj_sgb_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ @@ -1620,15 +1546,85 @@ 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: +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); + | ^~~~~~~~~~~~~~ +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 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_std.c:22: +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); + | ^~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +memory.c:819:12: warning: implicit declaration of function 'movie_get_next_pad' [-Wimplicit-function-declaration] + 819 | gb_pad=movie_get_next_pad(); + | ^~~~~~~~~~~~~~~~~~ +cpu.c: In function 'gbcpu_exec_one': +cpu.c:881:7: warning: self-comparison always evaluates to false [-Wtautological-compare] + 881 | ((A>A)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); + | ^ +cpu.c:882:14: 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 'mem_write_ff': +memory.c:984:4: warning: implicit declaration of function 'gbserial_write'; did you mean 'gbserial_init'? [-Wimplicit-function-declaration] + 984 | 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 memory.c:28: +memory.c: At top level: vram.h:108:18: warning: inline function 'get_nb_spr' declared but never defined 108 | __inline__ Uint8 get_nb_spr(void); | ^~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-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 memory.c:26: +cpu.h:83:17: warning: inline function 'cpu_run' declared but never defined + 83 | __inline__ void cpu_run(void); + | ^~~~~~~ +cpu.h:82:18: warning: inline function 'gbcpu_exec_one' declared but never defined + 82 | __inline__ Uint8 gbcpu_exec_one(void); + | ^~~~~~~~~~~~~~ +In file included from rom.c:43: +rom.c: 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 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); @@ -1670,11 +1666,59 @@ 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 -fdebug-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); - | ^~~~~~~~~~~~~~~~~~~~~~~~ +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:233:28: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' + 233 | 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:366:45: note: expected 'const void *' but argument is of type 'Uint8' {aka 'unsigned char'} + 366 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur; + | ~~~~~~~~~~~~^~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~ +cpu.c: In function 'cpu_run': +cpu.c:2913:10: warning: implicit declaration of function 'gbserial_read'; did you mean 'gbserial_send'? [-Wimplicit-function-declaration] + 2913 | SB=gbserial_read(); + | ^~~~~~~~~~~~~ + | gbserial_send +cpu.c:2920:7: warning: implicit declaration of function 'gbserial_write'; did you mean 'gbserial_init'? [-Wimplicit-function-declaration] + 2920 | gbserial_write(SB); + | ^~~~~~~~~~~~~~ + | gbserial_init In file included from 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); @@ -1716,10 +1760,63 @@ 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 -fdebug-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 -fdebug-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 -fdebug-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/string.h:495, + from emu.c:29: +In function 'strncpy', + inlined from 'open_conf' at emu.c:301:6: +/usr/include/i386-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +emu.c: In function 'open_conf': +emu.c:301:49: note: length computed here + 301 | strncpy(*((char **) config_var[i].var),val,strlen(val)+1); + | ^~~~~~~~~~~ +In file included from /usr/include/unistd.h:1166, + from serial.c:22: +In function 'read', + inlined from 'gbserial_read' at serial.c:312:8: +/usr/include/i386-linux-gnu/bits/unistd.h:42:9: warning: call to '__read_chk_warn' declared with attribute warning: read called with bigger length than size of the destination buffer [-Wattribute-warning] + 42 | return __read_chk_warn (__fd, __buf, __nbytes, __bos0 (__buf)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +fileio.c: In function 'get_type_file': +fileio.c:63:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 63 | fread(str,1,10,file_tmp); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +unzip.c: In function 'unzClose': +unzip.c:449:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 449 | if (s->pfile_in_zip_read!=NULL) + | ^~ +unzip.c:452:2: 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:2: 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:2: 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 'get_filename_ext': save.c:25:3: warning: implicit declaration of function 'check_dir' [-Wimplicit-function-declaration] 25 | check_dir(f); | ^~~~~~~~~ +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:2: 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 'save_rom_timer': save.c:112:30: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] 112 | fprintf(stream,"%ld",(long)time(NULL)); @@ -1766,35 +1863,6 @@ save.c:137:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 137 | fscanf(stream,"%ld",&dt); | ^~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-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:2: 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:2: 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:2: 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:2: 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 in this function [-Wmaybe-uninitialized] 169 | x = (uLong)i; @@ -1838,7 +1906,7 @@ make[2]: Leaving directory '/build/gngb-20060309' make[1]: Leaving directory '/build/gngb-20060309' dh_auto_test - make -j10 check VERBOSE=1 + make -j18 check VERBOSE=1 make[1]: Entering directory '/build/gngb-20060309' Making check in src make[2]: Entering directory '/build/gngb-20060309/src' @@ -1850,20 +1918,20 @@ create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install - make -j10 install DESTDIR=/build/gngb-20060309/debian/gngb AM_UPDATE_INFO_DIR=no + make -j18 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' @@ -1893,12 +1961,15 @@ dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) +I: copying local configuration +I: user script /srv/workspace/pbuilder/12744/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/12744/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/29106 and its subdirectories -I: Current time: Sat Jun 19 01:28:03 -12 2021 -I: pbuilder-time-stamp: 1624109283 +I: removing directory /srv/workspace/pbuilder/12744 and its subdirectories +I: Current time: Sat Jul 23 09:51:44 +14 2022 +I: pbuilder-time-stamp: 1658519504