Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/g/gngb/gngb_20060309-5_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/gngb-20060309-5nn9f8198/gngb_20060309-5_amd64.buildinfo Get source package info: gngb=20060309-5 Source URL: http://snapshot.notset.fr/mr/package/gngb/20060309-5/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-11.1 automake=1:1.16.2-3 autopoint=0.19.8.1-10 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.47 bash=5.0-6 binutils=2.34.90.20200706-1 binutils-common=2.34.90.20200706-1 binutils-x86-64-linux-gnu=2.34.90.20200706-1 bsdextrautils=2.36-1 bsdutils=1:2.35.2-9 build-essential=12.8 bzip2=1.0.8-4 coreutils=8.32-3 cpp=4:10.1.0-1 cpp-10=10.1.0-6 dash=0.5.10.2-7 debconf=1.5.74 debhelper=13.2 debianutils=4.11 dh-autoreconf=19 dh-strip-nondeterminism=1.9.0-1 diffutils=1:3.7-3 dpkg=1.20.5 dpkg-dev=1.20.5 dwz=0.13-5 file=1:5.38-5 findutils=4.7.0-1 g++=4:10.1.0-1 g++-10=10.1.0-6 gcc=4:10.1.0-1 gcc-10=10.1.0-6 gcc-10-base=10.1.0-6 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 grep=3.4-1 groff-base=1.22.4-5 gzip=1.10-2 hostname=3.23 init-system-helpers=1.58 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-8 libarchive-zip-perl=1.68-1 libasan6=10.1.0-6 libasound2=1.2.2-2.3 libasound2-data=1.2.2-2.3 libasound2-dev=1.2.2-2.3 libasyncns0=0.8-6+b1 libatomic1=10.1.0-6 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-3 libaudit1=1:2.8.5-3+b1 libbinutils=2.34.90.20200706-1 libblkid-dev=2.36-1 libblkid1=2.36-1 libbsd0=0.10.0-1 libbz2-1.0=1.0.8-4 libc-bin=2.31-1 libc-dev-bin=2.31-1 libc6=2.31-1 libc6-dev=2.31-1 libcaca-dev=0.99.beta19-2.1 libcaca0=0.99.beta19-2.1 libcap-ng0=0.7.9-2.2 libcc1-0=10.1.0-6 libcroco3=0.6.13-1 libcrypt-dev=1:4.4.16-1 libcrypt1=1:4.4.16-1 libctf-nobfd0=2.34.90.20200706-1 libctf0=2.34.90.20200706-1 libdb5.3=5.3.28+dfsg1-0.6 libdbus-1-3=1.12.20-1 libdebconfclient0=0.253 libdebhelper-perl=13.2 libdpkg-perl=1.20.5 libdrm-amdgpu1=2.4.102-1 libdrm-common=2.4.102-1 libdrm-intel1=2.4.102-1 libdrm-nouveau2=2.4.102-1 libdrm-radeon1=2.4.102-1 libdrm2=2.4.102-1 libedit2=3.1-20191231-1 libegl-dev=1.3.1-1 libegl-mesa0=20.1.2-1 libegl1=1.3.1-1 libelf1=0.176-1.1 libexpat1=2.2.9-1 libffi-dev=3.3-4 libffi7=3.3-4 libfile-stripnondeterminism-perl=1.9.0-1 libflac8=1.3.3-1 libgbm1=20.1.2-1 libgcc-10-dev=10.1.0-6 libgcc-s1=10.1.0-6 libgcrypt20=1.8.6-2 libgdbm-compat4=1.18.1-5 libgdbm6=1.18.1-5 libgl-dev=1.3.1-1 libgl1=1.3.1-1 libgl1-mesa-dev=20.1.2-1 libgl1-mesa-dri=20.1.2-1 libglapi-mesa=20.1.2-1 libgles-dev=1.3.1-1 libgles1=1.3.1-1 libgles2=1.3.1-1 libglib2.0-0=2.64.4-1 libglib2.0-bin=2.64.4-1 libglib2.0-data=2.64.4-1 libglib2.0-dev=2.64.4-1 libglib2.0-dev-bin=2.64.4-1 libglu1-mesa=9.0.1-1 libglu1-mesa-dev=9.0.1-1 libglvnd-dev=1.3.1-1 libglvnd0=1.3.1-1 libglx-dev=1.3.1-1 libglx-mesa0=20.1.2-1 libglx0=1.3.1-1 libgmp10=2:6.2.0+dfsg-6 libgomp1=10.1.0-6 libgpg-error0=1.38-2 libicu67=67.1-3 libisl22=0.22.1-1 libitm1=10.1.0-6 libllvm10=1:10.0.1-1 liblsan0=10.1.0-6 liblz4-1=1.9.2-2 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.38-5 libmagic1=1:5.38-5 libmount-dev=2.36-1 libmount1=2.36-1 libmpc3=1.1.0-1 libmpdec2=2.4.2-3 libmpfr6=4.1.0-3 libncursesw6=6.2-1 libogg0=1.3.2-1+b1 libopengl-dev=1.3.1-1 libopengl0=1.3.1-1 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libpciaccess0=0.14-1 libpcre16-3=2:8.39-13 libpcre2-16-0=10.34-7 libpcre2-32-0=10.34-7 libpcre2-8-0=10.34-7 libpcre2-dev=10.34-7 libpcre2-posix2=10.34-7 libpcre3=2:8.39-13 libpcre3-dev=2:8.39-13 libpcre32-3=2:8.39-13 libpcrecpp0v5=2:8.39-13 libperl5.30=5.30.3-4 libpipeline1=1.5.2-2 libpng-dev=1.6.37-2 libpng16-16=1.6.37-2 libpthread-stubs0-dev=0.4-1 libpulse-dev=13.0-5 libpulse-mainloop-glib0=13.0-5 libpulse0=13.0-5 libpython3-stdlib=3.8.2-3 libpython3.8-minimal=3.8.5-1 libpython3.8-stdlib=3.8.5-1 libquadmath0=10.1.0-6 libreadline8=8.0-4 libsdl1.2-dev=1.2.15+dfsg2-5 libsdl1.2debian=1.2.15+dfsg2-5 libseccomp2=2.4.3-1+b1 libselinux1=3.1-2 libselinux1-dev=3.1-2 libsensors-config=1:3.6.0-2 libsensors5=1:3.6.0-2 libsepol1=3.1-1 libsepol1-dev=3.1-1 libsigsegv2=2.12-2 libslang2=2.3.2-5 libslang2-dev=2.3.2-5 libsmartcols1=2.35.2-9 libsndfile1=1.0.28-8 libsqlite3-0=3.32.3-1 libssl1.1=1.1.1g-1 libstdc++-10-dev=10.1.0-6 libstdc++6=10.1.0-6 libsub-override-perl=0.09-2 libsystemd0=245.6-3 libtinfo6=6.2-1 libtool=2.4.6-14 libtsan0=10.1.0-6 libubsan1=10.1.0-6 libuchardet0=0.0.7-1 libudev1=245.6-3 libunistring2=0.9.10-4 libuuid1=2.36-1 libvorbis0a=1.3.6-2 libvorbisenc2=1.3.6-2 libvulkan1=1.2.141.0-1 libwayland-client0=1.18.0-1 libwayland-server0=1.18.0-1 libwrap0=7.6.q-30 libx11-6=2:1.6.9-2+b1 libx11-data=2:1.6.9-2 libx11-dev=2:1.6.9-2+b1 libx11-xcb1=2:1.6.9-2+b1 libxau-dev=1:1.0.8-1+b2 libxau6=1:1.0.8-1+b2 libxcb-dri2-0=1.14-2 libxcb-dri3-0=1.14-2 libxcb-glx0=1.14-2 libxcb-present0=1.14-2 libxcb-sync1=1.14-2 libxcb-xfixes0=1.14-2 libxcb1=1.14-2 libxcb1-dev=1.14-2 libxdamage1=1:1.1.5-2 libxdmcp-dev=1:1.1.2-3 libxdmcp6=1:1.1.2-3 libxext-dev=2:1.3.3-1+b2 libxext6=2:1.3.3-1+b2 libxfixes3=1:5.0.3-2 libxml2=2.9.10+dfsg-5+b1 libxshmfence1=1.3-1 libxxf86vm1=1:1.1.4-1+b2 libz3-4=4.8.8-1 libzstd1=1.4.5+dfsg-3 linux-libc-dev=5.7.6-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-4 make=4.3-4 man-db=2.9.3-2 mawk=1.3.4.20200120-2 mime-support=3.64 ncurses-base=6.2-1 ncurses-bin=6.2-1 patch=2.7.6-6 perl=5.30.3-4 perl-base=5.30.3-4 perl-modules-5.30=5.30.3-4 pkg-config=0.29.2-1 po-debconf=1.0.21 python3=3.8.2-3 python3-distutils=3.8.5-1 python3-lib2to3=3.8.5-1 python3-minimal=3.8.2-3 python3.8=3.8.5-1 python3.8-minimal=3.8.5-1 readline-common=8.0-4 sed=4.7-1 sensible-utils=0.0.12+nmu1 sysvinit-utils=2.96-3 tar=1.30+dfsg-7 util-linux=2.35.2-9 uuid-dev=2.36-1 x11proto-core-dev=2020.1-1 x11proto-dev=2020.1-1 x11proto-xext-dev=2020.1-1 xorg-sgml-doctools=1:1.11-1 xtrans-dev=1.4.0-1 xz-utils=5.2.4-1+b1 zlib1g=1:1.2.11.dfsg-2 zlib1g-dev=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20200801T150407Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20200723T030638Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d gngb=20060309-5 && mkdir -p /build/gngb-LzUkM6 && dpkg-source --no-check -x /*.dsc /build/gngb-LzUkM6/gngb-20060309 && chown -R builduser:builduser /build/gngb-LzUkM6" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/gngb-LzUkM6/gngb-20060309 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1595767988" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/gngb-LzUkM6 /tmp/gngb-20060309-5nn9f8198 bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20200723T030638Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.R1gg3KQfs9 as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.R1gg3KQfs9 Reading package lists... Building dependency tree... util-linux is already the newest version (2.35.2-9). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 132 kB of archives. After this operation, 393 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20200723T030638Z unstable/main amd64 libfakeroot amd64 1.24-1 [45.7 kB] Get:2 http://snapshot.notset.fr/archive/debian/20200723T030638Z unstable/main amd64 fakeroot amd64 1.24-1 [85.9 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 132 kB in 0s (841 kB/s) Selecting previously unselected package libfakeroot: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 ... 4579 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.24-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.24-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.24-1_amd64.deb ... Unpacking fakeroot (1.24-1) ... Setting up libfakeroot:amd64 (1.24-1) ... Setting up fakeroot (1.24-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-1) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20200801T150407Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20200723T030638Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.R1gg3KQfs9 Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Get:2 http://snapshot.notset.fr/archive/debian/20200801T150407Z unstable InRelease [146 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20200723T030638Z unstable InRelease Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Ign:6 http://snapshot.notset.fr/archive/debian/20200801T150407Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20200801T150407Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20200801T150407Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20200801T150407Z unstable/main amd64 Packages [11.3 MB] Fetched 34.0 MB in 33s (1024 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.R1gg3KQfs9 I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d gngb=20060309-5 && mkdir -p /build/gngb-LzUkM6 && dpkg-source --no-check -x /*.dsc /build/gngb-LzUkM6/gngb-20060309 && chown -R builduser:builduser /build/gngb-LzUkM6"' exec /tmp/mmdebstrap.R1gg3KQfs9 Reading package lists... NOTICE: 'gngb' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/games-team/gngb.git Please use: git clone https://salsa.debian.org/games-team/gngb.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 179 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main gngb 20060309-5 (dsc) [2067 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main gngb 20060309-5 (tar) [169 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main gngb 20060309-5 (diff) [8716 B] Fetched 179 kB in 0s (1124 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'gngb_20060309-5.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting gngb in /build/gngb-LzUkM6/gngb-20060309 dpkg-source: info: unpacking gngb_20060309.orig.tar.gz dpkg-source: info: unpacking gngb_20060309-5.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying fix_gngb.1_manpage.patch dpkg-source: info: applying FTBFS_with_gcc-3.4_conflicting_types.patch dpkg-source: info: applying gngb_fcc5_fix.patch dpkg-source: info: applying gcc7.patch dpkg-source: info: applying reproducible-build.patch dpkg-source: info: applying joystick-axis.patch dpkg-source: info: applying clang-ftbfs.patch dpkg-source: info: applying manpage-spelling.patch dpkg-source: info: applying sample_gngbrc.patch dpkg-source: info: applying gcc10.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/gngb-LzUkM6/gngb-20060309 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1595767988" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.R1gg3KQfs9 dpkg-buildpackage: info: source package gngb dpkg-buildpackage: info: source version 20060309-5 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Reiner Herrmann dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean dh_clean debian/rules binary-arch dh binary-arch dh_update_autotools_config -a dh_autoreconf -a aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:4: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:4: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:15: installing './compile' src/Makefile.am: installing './depcomp' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' dh_auto_configure -a ./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 thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes 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 ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking for pthread_create in -lpthread... yes checking for sdl-config... yes checking for SDL_Init in -lSDL... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking for vprintf... yes checking for _doprnt... no checking for gettimeofday... yes checking for sleep... yes checking for mkdir... yes checking for socket... yes checking for strtol... yes checking for getopt_long... yes checking bzlib.h usability... no checking bzlib.h presence... no checking for bzlib.h... no checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for gzopen in -lz... yes checking GL/gl.h usability... yes checking GL/gl.h presence... yes checking for GL/gl.h... yes checking for glBegin in -lGL... yes Architeture: x86_64 System: Linux checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands dh_auto_build -a make -j4 make[1]: Entering directory '/build/gngb-LzUkM6/gngb-20060309' make all-recursive make[2]: Entering directory '/build/gngb-LzUkM6/gngb-20060309' Making all in src make[3]: Entering directory '/build/gngb-LzUkM6/gngb-20060309/src' gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gngb-LzUkM6/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 cpu.o cpu.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gngb-LzUkM6/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 emu.o emu.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gngb-LzUkM6/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 frame_skip.o frame_skip.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gngb-LzUkM6/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 interrupt.o interrupt.c 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); | ^~~~~~~~~~ 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); | ^~~~~~~~~~~~ video_std.h:53:17: warning: inline function ‘draw_spr_std’ declared but never defined 53 | __inline__ void draw_spr_std(Uint16 *buf,GB_SPRITE *sp); | ^~~~~~~~~~~~ video_std.h:52:17: warning: inline function ‘draw_win_std’ declared but never defined 52 | __inline__ void draw_win_std(Uint16 *buf); | ^~~~~~~~~~~~ video_std.h:51:17: warning: inline function ‘draw_back_std’ declared but never defined 51 | __inline__ void draw_back_std(Uint16 *buf); | ^~~~~~~~~~~~~ video_std.h:49:17: warning: inline function ‘draw_obj_col_std’ declared but never defined 49 | __inline__ void draw_obj_col_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:48:17: warning: inline function ‘draw_spr_col_std’ declared but never defined 48 | __inline__ void draw_spr_col_std(Uint16 *buf,GB_SPRITE *sp); | ^~~~~~~~~~~~~~~~ video_std.h:47:17: warning: inline function ‘draw_win_col_std’ declared but never defined 47 | __inline__ void draw_win_col_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:46:17: warning: inline function ‘draw_back_col_std’ declared but never defined 46 | __inline__ void draw_back_col_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~~ video_std.h:44:17: warning: inline function ‘draw_obj_sgb_std’ declared but never defined 44 | __inline__ void draw_obj_sgb_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:43:17: warning: inline function ‘draw_spr_sgb_std’ declared but never defined 43 | __inline__ void draw_spr_sgb_std(Uint16 *buf,GB_SPRITE *sp); | ^~~~~~~~~~~~~~~~ video_std.h:42:17: warning: inline function ‘draw_win_sgb_std’ declared but never defined 42 | __inline__ void draw_win_sgb_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:41:17: warning: inline function ‘draw_back_sgb_std’ declared but never defined 41 | __inline__ void draw_back_sgb_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~~ In file included from 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); | ^~~~~~~~~~ interrupt.c: In function ‘gblcdc_update3’: interrupt.c:511:1: warning: control reaches end of non-void function [-Wreturn-type] 511 | } | ^ 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); | ^~~~~~~~~~~~~~~~ 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)); | ^ cpu.c: In function ‘cpu_run’: 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/x86_64-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); | ^~~~~~~~~~~ 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 gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gngb-LzUkM6/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 main.o main.c In file included from main.c:37: vram.h:108:18: warning: inline function ‘get_nb_spr’ declared but never defined 108 | __inline__ Uint8 get_nb_spr(void); | ^~~~~~~~~~ In file included from main.c:35: cpu.h:83:17: warning: inline function ‘cpu_run’ declared but never defined 83 | __inline__ void cpu_run(void); | ^~~~~~~ cpu.h:82:18: warning: inline function ‘gbcpu_exec_one’ declared but never defined 82 | __inline__ Uint8 gbcpu_exec_one(void); | ^~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gngb-LzUkM6/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 memory.o memory.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gngb-LzUkM6/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 message.o message.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] 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 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); | ^~~~~~~~~~~~ video_std.h:53:17: warning: inline function ‘draw_spr_std’ declared but never defined 53 | __inline__ void draw_spr_std(Uint16 *buf,GB_SPRITE *sp); | ^~~~~~~~~~~~ video_std.h:52:17: warning: inline function ‘draw_win_std’ declared but never defined 52 | __inline__ void draw_win_std(Uint16 *buf); | ^~~~~~~~~~~~ video_std.h:51:17: warning: inline function ‘draw_back_std’ declared but never defined 51 | __inline__ void draw_back_std(Uint16 *buf); | ^~~~~~~~~~~~~ video_std.h:49:17: warning: inline function ‘draw_obj_col_std’ declared but never defined 49 | __inline__ void draw_obj_col_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:48:17: warning: inline function ‘draw_spr_col_std’ declared but never defined 48 | __inline__ void draw_spr_col_std(Uint16 *buf,GB_SPRITE *sp); | ^~~~~~~~~~~~~~~~ video_std.h:47:17: warning: inline function ‘draw_win_col_std’ declared but never defined 47 | __inline__ void draw_win_col_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:46:17: warning: inline function ‘draw_back_col_std’ declared but never defined 46 | __inline__ void draw_back_col_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~~ video_std.h:44:17: warning: inline function ‘draw_obj_sgb_std’ declared but never defined 44 | __inline__ void draw_obj_sgb_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:43:17: warning: inline function ‘draw_spr_sgb_std’ declared but never defined 43 | __inline__ void draw_spr_sgb_std(Uint16 *buf,GB_SPRITE *sp); | ^~~~~~~~~~~~~~~~ video_std.h:42:17: warning: inline function ‘draw_win_sgb_std’ declared but never defined 42 | __inline__ void draw_win_sgb_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:41:17: warning: inline function ‘draw_back_sgb_std’ declared but never defined 41 | __inline__ void draw_back_sgb_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~~ In file included from video_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-LzUkM6/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 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); | ^~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gngb-LzUkM6/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-LzUkM6/gngb-20060309=. -fstack-protector-strong -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o sgb.o sgb.c serial.c: In function ‘gbserial_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/x86_64-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); | ^~~~~~~~~~~~~~~~~~~~~~~ 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 /usr/include/unistd.h:1166, from serial.c:22: In function ‘read’, inlined from ‘gbserial_read’ at serial.c:312:8: /usr/include/x86_64-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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gngb-LzUkM6/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 sound.c:670:17: warning: ‘poly_counter’ is static but declared in inline function ‘update_snd_m4’ which is not static 670 | static Uint32 poly_counter; | ^~~~~~~~~~~~ sound.c:669:14: warning: ‘cur_env_step’ is static but declared in inline function ‘update_snd_m4’ which is not static 669 | static int cur_env_step; | ^~~~~~~~~~~~ sound.c:668:14: warning: ‘ep’ is static but declared in inline function ‘update_snd_m4’ which is not static 668 | static int ep=0; | ^~ sound.c:667:14: warning: ‘lp’ is static but declared in inline function ‘update_snd_m4’ which is not static 667 | static int lp=0; | ^~ sound.c:666:14: warning: ‘sp’ is static but declared in inline function ‘update_snd_m4’ which is not static 666 | static int sp=0; | ^~ sound.c:665:14: warning: ‘env’ is static but declared in inline function ‘update_snd_m4’ which is not static 665 | static int env=0; | ^~~ sound.c:664:16: warning: ‘cp’ is static but declared in inline function ‘update_snd_m4’ which is not static 664 | static float cp=0; | ^~ sound.c:575:14: warning: ‘val’ is static but declared in inline function ‘update_snd_m3’ which is not static 575 | static int val=0; | ^~~ sound.c:574:14: warning: ‘sp’ is static but declared in inline function ‘update_snd_m3’ which is not static 574 | static int sp=0; | ^~ sound.c:573:14: warning: ‘lp’ is static but declared in inline function ‘update_snd_m3’ which is not static 573 | static int lp=0; | ^~ sound.c:490:14: warning: ‘cur_env_step’ is static but declared in inline function ‘update_snd_m2’ which is not static 490 | static int cur_env_step; | ^~~~~~~~~~~~ sound.c:489:14: warning: ‘ep’ is static but declared in inline function ‘update_snd_m2’ which is not static 489 | static int ep=0; | ^~ sound.c:488:14: warning: ‘lp’ is static but declared in inline function ‘update_snd_m2’ which is not static 488 | static int lp=0; | ^~ sound.c:487:14: warning: ‘sp’ is static but declared in inline function ‘update_snd_m2’ which is not static 487 | static int sp=0; | ^~ sound.c:486:14: warning: ‘env’ is static but declared in inline function ‘update_snd_m2’ which is not static 486 | static int env=0; | ^~~ sound.c:372:14: warning: ‘cur_env_step’ is static but declared in inline function ‘update_snd_m1’ which is not static 372 | static int cur_env_step; | ^~~~~~~~~~~~ sound.c:371:14: warning: ‘cur_swp_shift’ is static but declared in inline function ‘update_snd_m1’ which is not static 371 | static int cur_swp_shift; | ^~~~~~~~~~~~~ sound.c:370:14: warning: ‘fp’ is static but declared in inline function ‘update_snd_m1’ which is not static 370 | static int fp=0; | ^~ sound.c:369:14: warning: ‘ep’ is static but declared in inline function ‘update_snd_m1’ which is not static 369 | static int ep=0; | ^~ sound.c:368:14: warning: ‘lp’ is static but declared in inline function ‘update_snd_m1’ which is not static 368 | static int lp=0; | ^~ sound.c:367:15: warning: ‘sp’ is static but declared in inline function ‘update_snd_m1’ which is not static 367 | static char sp=0; | ^~ sound.c:366:14: warning: ‘env’ is static but declared in inline function ‘update_snd_m1’ which is not static 366 | static int env=0; | ^~~ In file included from sound.c:29: cpu.h:83:17: warning: inline function ‘cpu_run’ declared but never defined 83 | __inline__ void cpu_run(void); | ^~~~~~~ cpu.h:82:18: warning: inline function ‘gbcpu_exec_one’ declared but never defined 82 | __inline__ Uint8 gbcpu_exec_one(void); | ^~~~~~~~~~~~~~ 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-LzUkM6/gngb-20060309=. -fstack-protector-strong -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o vram.o vram.c In file included from 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); | ^~~~~~~~~~~~ video_std.h:53:17: warning: inline function ‘draw_spr_std’ declared but never defined 53 | __inline__ void draw_spr_std(Uint16 *buf,GB_SPRITE *sp); | ^~~~~~~~~~~~ video_std.h:52:17: warning: inline function ‘draw_win_std’ declared but never defined 52 | __inline__ void draw_win_std(Uint16 *buf); | ^~~~~~~~~~~~ video_std.h:51:17: warning: inline function ‘draw_back_std’ declared but never defined 51 | __inline__ void draw_back_std(Uint16 *buf); | ^~~~~~~~~~~~~ video_std.h:49:17: warning: inline function ‘draw_obj_col_std’ declared but never defined 49 | __inline__ void draw_obj_col_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:48:17: warning: inline function ‘draw_spr_col_std’ declared but never defined 48 | __inline__ void draw_spr_col_std(Uint16 *buf,GB_SPRITE *sp); | ^~~~~~~~~~~~~~~~ video_std.h:47:17: warning: inline function ‘draw_win_col_std’ declared but never defined 47 | __inline__ void draw_win_col_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:46:17: warning: inline function ‘draw_back_col_std’ declared but never defined 46 | __inline__ void draw_back_col_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~~ video_std.h:44:17: warning: inline function ‘draw_obj_sgb_std’ declared but never defined 44 | __inline__ void draw_obj_sgb_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:43:17: warning: inline function ‘draw_spr_sgb_std’ declared but never defined 43 | __inline__ void draw_spr_sgb_std(Uint16 *buf,GB_SPRITE *sp); | ^~~~~~~~~~~~~~~~ video_std.h:42:17: warning: inline function ‘draw_win_sgb_std’ declared but never defined 42 | __inline__ void draw_win_sgb_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:41:17: warning: inline function ‘draw_back_sgb_std’ declared but never defined 41 | __inline__ void draw_back_sgb_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gngb-LzUkM6/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 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); | ^~~~~~~~~~~~ video_std.h:53:17: warning: inline function ‘draw_spr_std’ declared but never defined 53 | __inline__ void draw_spr_std(Uint16 *buf,GB_SPRITE *sp); | ^~~~~~~~~~~~ video_std.h:52:17: warning: inline function ‘draw_win_std’ declared but never defined 52 | __inline__ void draw_win_std(Uint16 *buf); | ^~~~~~~~~~~~ video_std.h:51:17: warning: inline function ‘draw_back_std’ declared but never defined 51 | __inline__ void draw_back_std(Uint16 *buf); | ^~~~~~~~~~~~~ video_std.h:49:17: warning: inline function ‘draw_obj_col_std’ declared but never defined 49 | __inline__ void draw_obj_col_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:48:17: warning: inline function ‘draw_spr_col_std’ declared but never defined 48 | __inline__ void draw_spr_col_std(Uint16 *buf,GB_SPRITE *sp); | ^~~~~~~~~~~~~~~~ video_std.h:47:17: warning: inline function ‘draw_win_col_std’ declared but never defined 47 | __inline__ void draw_win_col_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:46:17: warning: inline function ‘draw_back_col_std’ declared but never defined 46 | __inline__ void draw_back_col_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~~ video_std.h:44:17: warning: inline function ‘draw_obj_sgb_std’ declared but never defined 44 | __inline__ void draw_obj_sgb_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:43:17: warning: inline function ‘draw_spr_sgb_std’ declared but never defined 43 | __inline__ void draw_spr_sgb_std(Uint16 *buf,GB_SPRITE *sp); | ^~~~~~~~~~~~~~~~ video_std.h:42:17: warning: inline function ‘draw_win_sgb_std’ declared but never defined 42 | __inline__ void draw_win_sgb_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:41:17: warning: inline function ‘draw_back_sgb_std’ declared but never defined 41 | __inline__ void draw_back_sgb_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~~ In file included from video_yuy2.c:24: 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-LzUkM6/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 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 -fdebug-prefix-map=/build/gngb-LzUkM6/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 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); | ^~~~~~~~~~~~ video_std.h:53:17: warning: inline function ‘draw_spr_std’ declared but never defined 53 | __inline__ void draw_spr_std(Uint16 *buf,GB_SPRITE *sp); | ^~~~~~~~~~~~ video_std.h:52:17: warning: inline function ‘draw_win_std’ declared but never defined 52 | __inline__ void draw_win_std(Uint16 *buf); | ^~~~~~~~~~~~ video_std.h:51:17: warning: inline function ‘draw_back_std’ declared but never defined 51 | __inline__ void draw_back_std(Uint16 *buf); | ^~~~~~~~~~~~~ video_std.h:49:17: warning: inline function ‘draw_obj_col_std’ declared but never defined 49 | __inline__ void draw_obj_col_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:48:17: warning: inline function ‘draw_spr_col_std’ declared but never defined 48 | __inline__ void draw_spr_col_std(Uint16 *buf,GB_SPRITE *sp); | ^~~~~~~~~~~~~~~~ video_std.h:47:17: warning: inline function ‘draw_win_col_std’ declared but never defined 47 | __inline__ void draw_win_col_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:46:17: warning: inline function ‘draw_back_col_std’ declared but never defined 46 | __inline__ void draw_back_col_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~~ video_std.h:44:17: warning: inline function ‘draw_obj_sgb_std’ declared but never defined 44 | __inline__ void draw_obj_sgb_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:43:17: warning: inline function ‘draw_spr_sgb_std’ declared but never defined 43 | __inline__ void draw_spr_sgb_std(Uint16 *buf,GB_SPRITE *sp); | ^~~~~~~~~~~~~~~~ video_std.h:42:17: warning: inline function ‘draw_win_sgb_std’ declared but never defined 42 | __inline__ void draw_win_sgb_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:41:17: warning: inline function ‘draw_back_sgb_std’ declared but never defined 41 | __inline__ void draw_back_sgb_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~~ In file included from video_yv12.c:23: 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-LzUkM6/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_std.c:22: vram.h:108:18: warning: inline function ‘get_nb_spr’ declared but never defined 108 | __inline__ Uint8 get_nb_spr(void); | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gngb-LzUkM6/gngb-20060309=. -fstack-protector-strong -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o video_gl.o video_gl.c In file included from video_gl.c:13: video_std.h:54:17: warning: inline function ‘draw_obj_std’ declared but never defined 54 | __inline__ void draw_obj_std(Uint16 *buf); | ^~~~~~~~~~~~ video_std.h:53:17: warning: inline function ‘draw_spr_std’ declared but never defined 53 | __inline__ void draw_spr_std(Uint16 *buf,GB_SPRITE *sp); | ^~~~~~~~~~~~ video_std.h:52:17: warning: inline function ‘draw_win_std’ declared but never defined 52 | __inline__ void draw_win_std(Uint16 *buf); | ^~~~~~~~~~~~ video_std.h:51:17: warning: inline function ‘draw_back_std’ declared but never defined 51 | __inline__ void draw_back_std(Uint16 *buf); | ^~~~~~~~~~~~~ video_std.h:49:17: warning: inline function ‘draw_obj_col_std’ declared but never defined 49 | __inline__ void draw_obj_col_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:48:17: warning: inline function ‘draw_spr_col_std’ declared but never defined 48 | __inline__ void draw_spr_col_std(Uint16 *buf,GB_SPRITE *sp); | ^~~~~~~~~~~~~~~~ video_std.h:47:17: warning: inline function ‘draw_win_col_std’ declared but never defined 47 | __inline__ void draw_win_col_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:46:17: warning: inline function ‘draw_back_col_std’ declared but never defined 46 | __inline__ void draw_back_col_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~~ video_std.h:44:17: warning: inline function ‘draw_obj_sgb_std’ declared but never defined 44 | __inline__ void draw_obj_sgb_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:43:17: warning: inline function ‘draw_spr_sgb_std’ declared but never defined 43 | __inline__ void draw_spr_sgb_std(Uint16 *buf,GB_SPRITE *sp); | ^~~~~~~~~~~~~~~~ video_std.h:42:17: warning: inline function ‘draw_win_sgb_std’ declared but never defined 42 | __inline__ void draw_win_sgb_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:41:17: warning: inline function ‘draw_back_sgb_std’ declared but never defined 41 | __inline__ void draw_back_sgb_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~~ In file included from video_gl.c:7: vram.h:108:18: warning: inline function ‘get_nb_spr’ declared but never defined 108 | __inline__ Uint8 get_nb_spr(void); | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gngb-LzUkM6/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 menu.c: In function ‘action_save_state’: menu.c:63:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 63 | int i=(int)self->user_data; | ^ menu.c: In function ‘action_load_state’: menu.c:70:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 70 | int i=(int)self->user_data; | ^ menu.c: In function ‘menu_draw_state’: menu.c:77:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 77 | int i=(int)self->user_data; | ^ menu.c: In function ‘menu_draw_pal’: menu.c:122:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 122 | int pal=(int)self->user_data; | ^ menu.c: In function ‘action_setpal’: menu.c:143:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 143 | int p=(int)self->user_data; | ^ menu.c: In function ‘action_set_filter’: menu.c:189:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 189 | int p=(int)self->user_data; | ^ menu.c: In function ‘init_menu’: menu.c:447:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 447 | item->user_data=(void*)i; | ^ menu.c:458:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 458 | item->user_data=(void*)i; | ^ menu.c:475:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 475 | item->user_data=(void*)i; | ^ menu.c:498:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 498 | item->user_data=(void*)i; | ^ In file included from menu.c:29: menu.c: At top level: video_std.h:54:17: warning: inline function ‘draw_obj_std’ declared but never defined 54 | __inline__ void draw_obj_std(Uint16 *buf); | ^~~~~~~~~~~~ video_std.h:53:17: warning: inline function ‘draw_spr_std’ declared but never defined 53 | __inline__ void draw_spr_std(Uint16 *buf,GB_SPRITE *sp); | ^~~~~~~~~~~~ video_std.h:52:17: warning: inline function ‘draw_win_std’ declared but never defined 52 | __inline__ void draw_win_std(Uint16 *buf); | ^~~~~~~~~~~~ video_std.h:51:17: warning: inline function ‘draw_back_std’ declared but never defined 51 | __inline__ void draw_back_std(Uint16 *buf); | ^~~~~~~~~~~~~ video_std.h:49:17: warning: inline function ‘draw_obj_col_std’ declared but never defined 49 | __inline__ void draw_obj_col_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:48:17: warning: inline function ‘draw_spr_col_std’ declared but never defined 48 | __inline__ void draw_spr_col_std(Uint16 *buf,GB_SPRITE *sp); | ^~~~~~~~~~~~~~~~ video_std.h:47:17: warning: inline function ‘draw_win_col_std’ declared but never defined 47 | __inline__ void draw_win_col_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:46:17: warning: inline function ‘draw_back_col_std’ declared but never defined 46 | __inline__ void draw_back_col_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~~ video_std.h:44:17: warning: inline function ‘draw_obj_sgb_std’ declared but never defined 44 | __inline__ void draw_obj_sgb_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:43:17: warning: inline function ‘draw_spr_sgb_std’ declared but never defined 43 | __inline__ void draw_spr_sgb_std(Uint16 *buf,GB_SPRITE *sp); | ^~~~~~~~~~~~~~~~ video_std.h:42:17: warning: inline function ‘draw_win_sgb_std’ declared but never defined 42 | __inline__ void draw_win_sgb_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:41:17: warning: inline function ‘draw_back_sgb_std’ declared but never defined 41 | __inline__ void draw_back_sgb_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~~ In file included from menu.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-LzUkM6/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 fileio.c: In function ‘get_type_file’: fileio.c:63:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 63 | fread(str,1,10,file_tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/gngb-LzUkM6/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-LzUkM6/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 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); | ^~~~~~~~~ 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)); | ^~~~ 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); | ^~~~~~~~~~~~~~ save.c: In function ‘save_state’: save.c:530:5: warning: implicit declaration of function ‘get_ext_nb’ [-Wimplicit-function-declaration] 530 | get_ext_nb(t,n); | ^~~~~~~~~~ save.c: In function ‘load_state’: save.c:639:5: warning: implicit declaration of function ‘update_sound_reg’ [-Wimplicit-function-declaration] 639 | update_sound_reg(); | ^~~~~~~~~~~~~~~~ save.c: At top level: save.c:648:24: warning: initialization of ‘char’ from ‘void *’ makes integer from pointer without a cast [-Wint-conversion] 648 | GNGB_MOVIE gngb_movie={NULL,0,NULL}; | ^~~~ save.c:648:24: note: (near initialization for ‘gngb_movie.name[0]’) save.c:648:31: warning: initialization of ‘char’ from ‘void *’ makes integer from pointer without a cast [-Wint-conversion] 648 | GNGB_MOVIE gngb_movie={NULL,0,NULL}; | ^~~~ save.c:648:31: note: (near initialization for ‘gngb_movie.name[2]’) save.c:648:23: warning: missing braces around initializer [-Wmissing-braces] 648 | GNGB_MOVIE gngb_movie={NULL,0,NULL}; | ^ In file included from save.c:7: 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 save.c:5: vram.h:108:18: warning: inline function ‘get_nb_spr’ declared but never defined 108 | __inline__ Uint8 get_nb_spr(void); | ^~~~~~~~~~ save.c: In function ‘load_rom_timer’: save.c:134:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 134 | fscanf(stream,"%02x",&t); | ^~~~~~~~~~~~~~~~~~~~~~~~ save.c:137:3: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 137 | fscanf(stream,"%ld",&dt); | ^~~~~~~~~~~~~~~~~~~~~~~~ unzip.c: In function ‘unzClose’: unzip.c:449:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 449 | if (s->pfile_in_zip_read!=NULL) | ^~ unzip.c:452: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; | ~~^~~~~~~~~~ unzip.c: In function ‘unzlocal_getLong’: unzip.c:191:7: warning: ‘i’ may be used uninitialized in this function [-Wmaybe-uninitialized] 191 | x = (uLong)i; | ~~^~~~~~~~~~ save.c:174:24: warning: array subscript 5 is above array bounds of ‘Uint8[5]’ {aka ‘unsigned char[5]’} [-Warray-bounds] 174 | dd=((rom_timer->reg[5]&0x01)<<9)|rom_timer->reg[4]; | ~~~~~~~~~~~~~~^~~ In file included from save.c:3: rom.h:51:9: note: while referencing ‘reg’ 51 | Uint8 reg[5]; | ^~~ save.c:179:24: warning: array subscript 5 is above array bounds of ‘Uint8[5]’ {aka ‘unsigned char[5]’} [-Warray-bounds] 179 | rom_timer->reg[5]|=0x80; // set carry | ~~~~~~~~~~~~~~~~~^~~~~~ In file included from save.c:3: rom.h:51:9: note: while referencing ‘reg’ 51 | Uint8 reg[5]; | ^~~ save.c:183:38: warning: array subscript 5 is above array bounds of ‘Uint8[5]’ {aka ‘unsigned char[5]’} [-Warray-bounds] 183 | rom_timer->reg[5]=(rom_timer->reg[5]&0xfe)|((dd&0x100)>>9); | ~~~~~~~~~~~~~~^~~ In file included from save.c:3: rom.h:51:9: note: while referencing ‘reg’ 51 | Uint8 reg[5]; | ^~~ save.c:183:19: warning: array subscript 5 is above array bounds of ‘Uint8[5]’ {aka ‘unsigned char[5]’} [-Warray-bounds] 183 | rom_timer->reg[5]=(rom_timer->reg[5]&0xfe)|((dd&0x100)>>9); | ~~~~~~~~~~~~~~^~~ In file included from save.c:3: rom.h:51:9: note: while referencing ‘reg’ 51 | Uint8 reg[5]; | ^~~ gcc -g -O2 -fdebug-prefix-map=/build/gngb-LzUkM6/gngb-20060309=. -fstack-protector-strong -Wformat -Werror=format-security -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -Wl,-z,relro -Wl,-z,now -o gngb cpu.o emu.o frame_skip.o interrupt.o main.o memory.o message.o rom.o serial.o sgb.o sound.o vram.o video_yuy2.o video_yuv.o video_yv12.o video_std.o video_gl.o menu.o fileio.o save.o unzip.o -lz -lSDL -lpthread -L/usr/lib/x86_64-linux-gnu -lSDL -lGL make[3]: Leaving directory '/build/gngb-LzUkM6/gngb-20060309/src' make[3]: Entering directory '/build/gngb-LzUkM6/gngb-20060309' make[3]: Leaving directory '/build/gngb-LzUkM6/gngb-20060309' make[2]: Leaving directory '/build/gngb-LzUkM6/gngb-20060309' make[1]: Leaving directory '/build/gngb-LzUkM6/gngb-20060309' dh_auto_test -a make -j4 check VERBOSE=1 make[1]: Entering directory '/build/gngb-LzUkM6/gngb-20060309' Making check in src make[2]: Entering directory '/build/gngb-LzUkM6/gngb-20060309/src' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/build/gngb-LzUkM6/gngb-20060309/src' make[2]: Entering directory '/build/gngb-LzUkM6/gngb-20060309' make[2]: Leaving directory '/build/gngb-LzUkM6/gngb-20060309' make[1]: Leaving directory '/build/gngb-LzUkM6/gngb-20060309' create-stamp debian/debhelper-build-stamp dh_testroot -a dh_prep -a dh_auto_install -a make -j4 install DESTDIR=/build/gngb-LzUkM6/gngb-20060309/debian/gngb AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/gngb-LzUkM6/gngb-20060309' Making install in src make[2]: Entering directory '/build/gngb-LzUkM6/gngb-20060309/src' make[3]: Entering directory '/build/gngb-LzUkM6/gngb-20060309/src' make[3]: Nothing to be done for 'install-data-am'. /bin/mkdir -p '/build/gngb-LzUkM6/gngb-20060309/debian/gngb/usr/bin' /usr/bin/install -c gngb '/build/gngb-LzUkM6/gngb-20060309/debian/gngb/usr/bin' make[3]: Leaving directory '/build/gngb-LzUkM6/gngb-20060309/src' make[2]: Leaving directory '/build/gngb-LzUkM6/gngb-20060309/src' make[2]: Entering directory '/build/gngb-LzUkM6/gngb-20060309' make[3]: Entering directory '/build/gngb-LzUkM6/gngb-20060309' make[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/build/gngb-LzUkM6/gngb-20060309/debian/gngb/usr/share/man/man1' /usr/bin/install -c -m 644 gngb.1 '/build/gngb-LzUkM6/gngb-20060309/debian/gngb/usr/share/man/man1' make[3]: Leaving directory '/build/gngb-LzUkM6/gngb-20060309' make[2]: Leaving directory '/build/gngb-LzUkM6/gngb-20060309' make[1]: Leaving directory '/build/gngb-LzUkM6/gngb-20060309' dh_installdocs -a dh_installchangelogs -a dh_installexamples -a dh_installman -a dh_perl -a dh_link -a dh_strip_nondeterminism -a dh_compress -a dh_fixperms -a dh_missing -a dh_dwz -a -a dh_strip -a -a dh_makeshlibs -a -a dh_shlibdeps -a -a dh_installdeb -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a dpkg-deb: building package 'gngb' in '../gngb_20060309-5_amd64.deb'. dpkg-deb: building package 'gngb-dbgsym' in '../gngb-dbgsym_20060309-5_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../gngb_20060309-5_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/gngb-LzUkM6 /tmp/gngb-20060309-5nn9f8198 I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.R1gg3KQfs9... I: success in 553.6354 seconds md5: gngb-dbgsym_20060309-5_amd64.deb: OK md5: gngb_20060309-5_amd64.deb: OK sha1: gngb-dbgsym_20060309-5_amd64.deb: OK sha1: gngb_20060309-5_amd64.deb: OK sha256: gngb-dbgsym_20060309-5_amd64.deb: OK sha256: gngb_20060309-5_amd64.deb: OK Checksums: OK