Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/c/chess.app/chess.app_2.8-4_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/chess.app-2.8-4lka1lqlb/chess.app_2.8-4_amd64.buildinfo Get source package info: chess.app=2.8-4 Source URL: http://snapshot.notset.fr/mr/package/chess.app/2.8-4/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-4 autopoint=0.19.8.1-10 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.48 bash=5.1~rc2-1 binutils=2.35.1-2 binutils-common=2.35.1-2 binutils-x86-64-linux-gnu=2.35.1-2 bsdextrautils=2.36.1-1 bsdutils=1:2.36-3+b2 build-essential=12.8 bzip2=1.0.8-4 ca-certificates=20200601 coreutils=8.32-4+b1 cpp=4:10.2.0-1 cpp-10=10.2.0-17 dash=0.5.11+git20200708+dd9ef66-2 debconf=1.5.74 debhelper=13.2.1 debianutils=4.11.2 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+git20201010-2 fontconfig-config=2.13.1-4.2 fonts-dejavu-core=2.37-2 g++=4:10.2.0-1 g++-10=10.2.0-17 gcc=4:10.2.0-1 gcc-10=10.2.0-17 gcc-10-base=10.2.0-17 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 gnustep-base-common=1.27.0-3 gnustep-base-runtime=1.27.0-3 gnustep-common=2.8.0-1 gnustep-gui-common=0.28.0-3 gnustep-gui-runtime=0.28.0-3 gnustep-make=2.8.0-1 gobjc=4:10.2.0-1 gobjc-10=10.2.0-17 grep=3.6-1 groff-base=1.22.4-5 gzip=1.10-2 hicolor-icon-theme=0.17-2 hostname=3.23 imagemagick=8:6.9.11.24+dfsg-1+b2 imagemagick-6-common=8:6.9.11.24+dfsg-1 imagemagick-6.q16=8:6.9.11.24+dfsg-1+b2 init-system-helpers=1.58 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-8 libao-common=1.2.2+20180113-1 libao4=1.2.2+20180113-1+b1 libaom0=1.0.0.errata1-3 libarchive-zip-perl=1.68-1 libasan6=10.2.0-17 libasound2=1.2.3.2-1 libasound2-data=1.2.3.2-1 libaspell15=0.60.8-1 libasyncns0=0.8-6+b1 libatomic1=10.2.0-17 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-3.1 libaudit1=1:2.8.5-3.1 libavahi-client3=0.8-3 libavahi-common-data=0.8-3 libavahi-common3=0.8-3 libbinutils=2.35.1-2 libblas3=3.9.0-3 libblkid1=2.36-3+b2 libbrotli1=1.0.9-2+b1 libbsd0=0.10.0-1 libbz2-1.0=1.0.8-4 libc-bin=2.31-4 libc-dev-bin=2.31-4 libc6=2.31-4 libc6-dev=2.31-4 libcap-ng0=0.7.9-2.2 libcc1-0=10.2.0-17 libcom-err2=1.45.6-1 libcroco3=0.6.13-1 libcrypt-dev=1:4.4.17-1 libcrypt1=1:4.4.17-1 libctf-nobfd0=2.35.1-2 libctf0=2.35.1-2 libcups2=2.3.3-3 libdav1d4=0.7.1-3 libdb5.3=5.3.28+dfsg1-0.6 libdbus-1-3=1.12.20-1 libde265-0=1.0.7-1 libdebconfclient0=0.255 libdebhelper-perl=13.2.1 libdpkg-perl=1.20.5 libelf1=0.182-1 libexpat1=2.2.10-1 libffi7=3.3-5 libfftw3-double3=3.3.8-2 libfile-stripnondeterminism-perl=1.9.0-1 libflac8=1.3.3-1 libflite1=2.2-1 libfontconfig1=2.13.1-4.2 libfreetype6=2.10.2+dfsg-4 libgc1=1:8.0.4-2.1 libgcc-10-dev=10.2.0-17 libgcc-s1=10.2.0-17 libgcrypt20=1.8.7-2 libgdbm-compat4=1.18.1-5.1 libgdbm6=1.18.1-5.1 libgfortran5=10.2.0-17 libgif7=5.1.9-1 libglib2.0-0=2.66.2-1 libgmp10=2:6.2.1+dfsg-1 libgnustep-base-dev=1.27.0-3 libgnustep-base1.27=1.27.0-3 libgnustep-gui-dev=0.28.0-3 libgnustep-gui0.28=0.28.0-3 libgnutls30=3.6.15-4 libgomp1=10.2.0-17 libgpg-error0=1.38-2 libgssapi-krb5-2=1.17-10 libheif1=1.9.1-1 libhogweed6=3.6-2 libicns1=0.8.1-3.1 libicu67=67.1-4 libidn2-0=2.3.0-3 libisl22=0.22.1-1 libitm1=10.2.0-17 libjbig0=2.1-3.1+b2 libjpeg62-turbo=1:2.0.5-1.1 libk5crypto3=1.17-10 libkeyutils1=1.6.1-2 libkrb5-3=1.17-10 libkrb5support0=1.17-10 liblapack3=3.9.0-3 liblcms2-2=2.9-4+b1 liblqr-1-0=0.4.2-2.1 liblsan0=10.2.0-17 libltdl7=2.4.6-14 liblz4-1=1.9.2-2 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.38-5 libmagic1=1:5.38-5 libmagickcore-6.q16-6=8:6.9.11.24+dfsg-1+b2 libmagickwand-6.q16-6=8:6.9.11.24+dfsg-1+b2 libmount1=2.36-3+b2 libmpc3=1.2.0-1 libmpfr6=4.1.0-3 libnettle8=3.6-2 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libnss-nis=3.1-4 libnss-nisplus=1.3-4 libnuma1=2.0.12-1+b1 libobjc-10-dev=10.2.0-17 libobjc4=10.2.0-17 libogg0=1.3.2-1+b1 libopenjp2-7=2.3.1-1 libp11-kit0=0.23.21-2 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libpcre2-8-0=10.34-7 libpcre3=2:8.39-13 libperl5.32=5.32.0-5 libpipeline1=1.5.3-1 libpng16-16=1.6.37-3 libpocketsphinx3=0.8+5prealpha+1-12 libpulse0=13.0-5 libquadmath0=10.2.0-17 libseccomp2=2.5.0-3 libselinux1=3.1-2+b1 libsigsegv2=2.12-2 libsmartcols1=2.36-3+b2 libsndfile1=1.0.28-8 libsphinxbase3=0.8+5prealpha+1-11+b1 libssl1.1=1.1.1h-1 libstdc++-10-dev=10.2.0-17 libstdc++6=10.2.0-17 libsub-override-perl=0.09-2 libsystemd0=246.6-2 libtasn1-6=4.16.0-2 libtiff5=4.1.0+git191117-2 libtinfo6=6.2+20200918-1 libtirpc-common=1.2.6-3 libtirpc-dev=1.2.6-3 libtirpc3=1.2.6-3 libtool=2.4.6-14 libtsan0=10.2.0-17 libubsan1=10.2.0-17 libuchardet0=0.0.7-1 libudev1=246.6-2 libunistring2=0.9.10-4 libuuid1=2.36-3+b2 libvorbis0a=1.3.7-1 libvorbisenc2=1.3.7-1 libwebp6=0.6.1-2+b1 libwebpdemux2=0.6.1-2+b1 libwebpmux3=0.6.1-2+b1 libwrap0=7.6.q-31 libx11-6=2:1.6.12-1 libx11-data=2:1.6.12-1 libx265-192=3.4-2 libxau6=1:1.0.8-1+b2 libxcb1=1.14-2 libxdmcp6=1:1.1.2-3 libxext6=2:1.3.3-1+b2 libxml2=2.9.10+dfsg-6.2 libxslt1.1=1.1.34-4 libzstd1=1.4.5+dfsg-4 linux-libc-dev=5.9.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 ncurses-base=6.2+20200918-1 ncurses-bin=6.2+20200918-1 openssl=1.1.1h-1 patch=2.7.6-6 perl=5.32.0-5 perl-base=5.32.0-5 perl-modules-5.32=5.32.0-5 po-debconf=1.0.21 sed=4.7-1 sensible-utils=0.0.12+nmu1 sysvinit-utils=2.96-5 tar=1.30+dfsg-7 tzdata=2020d-1 ucf=3.0043 util-linux=2.36-3+b2 xz-utils=5.2.4-1+b1 zlib1g=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/20201125T210657Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20201116T092020Z/ 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 chess.app=2.8-4 && mkdir -p /build/chess.app-vJmPnG && dpkg-source --no-check -x /*.dsc /build/chess.app-vJmPnG/chess.app-2.8 && chown -R builduser:builduser /build/chess.app-vJmPnG" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/chess.app-vJmPnG/chess.app-2.8 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1605680501" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/chess.app-vJmPnG /tmp/chess.app-2.8-4lka1lqlb bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20201116T092020Z 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.W4EVbYa4J4 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.W4EVbYa4J4 Reading package lists... Building dependency tree... util-linux is already the newest version (2.36-3+b2). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20201116T092020Z unstable/main amd64 libfakeroot amd64 1.25.3-1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20201116T092020Z unstable/main amd64 fakeroot amd64 1.25.3-1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (747 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 ... 4695 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1_amd64.deb ... Unpacking fakeroot (1.25.3-1) ... Setting up libfakeroot:amd64 (1.25.3-1) ... Setting up fakeroot (1.25.3-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-4) ... 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/20201125T210657Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20201116T092020Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.W4EVbYa4J4 Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Get:2 http://snapshot.notset.fr/archive/debian/20201125T210657Z unstable InRelease [146 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20201116T092020Z 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/20201125T210657Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20201125T210657Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20201125T210657Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20201125T210657Z unstable/main amd64 Packages [11.6 MB] Fetched 34.3 MB in 30s (1149 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.W4EVbYa4J4 I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d chess.app=2.8-4 && mkdir -p /build/chess.app-vJmPnG && dpkg-source --no-check -x /*.dsc /build/chess.app-vJmPnG/chess.app-2.8 && chown -R builduser:builduser /build/chess.app-vJmPnG"' exec /tmp/mmdebstrap.W4EVbYa4J4 Reading package lists... NOTICE: 'chess.app' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/gnustep-team/chess.app.git Please use: git clone https://salsa.debian.org/gnustep-team/chess.app.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 916 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main chess.app 2.8-4 (dsc) [2003 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main chess.app 2.8-4 (tar) [908 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main chess.app 2.8-4 (diff) [6240 B] Fetched 916 kB in 1s (1186 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'chess.app_2.8-4.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting chess.app in /build/chess.app-vJmPnG/chess.app-2.8 dpkg-source: info: unpacking chess.app_2.8.orig.tar.gz dpkg-source: info: unpacking chess.app_2.8-4.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying improve-chessinfo-plist I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/chess.app-vJmPnG/chess.app-2.8 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1605680501" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.W4EVbYa4J4 dpkg-buildpackage: info: source package chess.app dpkg-buildpackage: info: source version 2.8-4 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Gürkan Myczko dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean dh_auto_clean make -j4 distclean make[1]: Entering directory '/build/chess.app-vJmPnG/chess.app-2.8' This is gnustep-make 2.8.0. Type 'make print-gnustep-make-help' for help. Running in gnustep-make version 2 strict mode. rm -rf ./*~ ./obj (cd .; \ rm -rf *.app) make[1]: Leaving directory '/build/chess.app-vJmPnG/chess.app-2.8' dh_clean debian/rules binary-arch dh binary-arch dh_update_autotools_config -a dh_autoreconf -a dh_auto_configure -a debian/rules override_dh_auto_build make[1]: Entering directory '/build/chess.app-vJmPnG/chess.app-2.8' /usr/bin/make messages=yes CFLAGS="-g -O2 -fdebug-prefix-map=/build/chess.app-vJmPnG/chess.app-2.8=. -fstack-protector-strong -Wformat -Werror=format-security" CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" CXXFLAGS="-g -O2 -fdebug-prefix-map=/build/chess.app-vJmPnG/chess.app-2.8=. -fstack-protector-strong -Wformat -Werror=format-security" FCFLAGS="-g -O2 -fdebug-prefix-map=/build/chess.app-vJmPnG/chess.app-2.8=. -fstack-protector-strong" FFLAGS="-g -O2 -fdebug-prefix-map=/build/chess.app-vJmPnG/chess.app-2.8=. -fstack-protector-strong" GCJFLAGS="-g -O2 -fdebug-prefix-map=/build/chess.app-vJmPnG/chess.app-2.8=. -fstack-protector-strong" LDFLAGS="-Wl,-z,relro -Wl,--no-undefined -Wl,--as-needed" OBJCFLAGS="-g -O2 -fdebug-prefix-map=/build/chess.app-vJmPnG/chess.app-2.8=. -fstack-protector-strong -Wformat -Werror=format-security" OBJCXXFLAGS="-g -O2 -fdebug-prefix-map=/build/chess.app-vJmPnG/chess.app-2.8=. -fstack-protector-strong -Wformat -Werror=format-security" make[2]: Entering directory '/build/chess.app-vJmPnG/chess.app-2.8' This is gnustep-make 2.8.0. Type 'make print-gnustep-make-help' for help. Running in gnustep-make version 2 strict mode. mkdir -p ./obj/gnuchess.subproj Making all for app Chess... cd .; \ /usr/share/GNUstep/Makefiles/mkinstalldirs ./obj/Chess.obj/ /usr/share/GNUstep/Makefiles/mkinstalldirs Chess.app/. gcc gnuchess.c -c \ -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -DGNUSTEP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -pthread -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -g -O2 -fdebug-prefix-map=/build/chess.app-vJmPnG/chess.app-2.8=. -fstack-protector-strong -Wformat -Werror=format-security -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep \ -o obj/Chess.obj/gnuchess.c.o gnuchess.c: In function ‘ataks’: gnuchess.c:1749:22: warning: operation on ‘*(a + (sizetype)((long unsigned int)u * 2))’ may be undefined [-Wsequence-point] 1749 | a[u] = ++a[u] | c; | ~~~~~^~~~~~~~~~~~ gnuchess.c:1759:20: warning: operation on ‘*(a + (sizetype)((long unsigned int)u * 2))’ may be undefined [-Wsequence-point] 1759 | a[u] = ++a[u] | c; | ~~~~~^~~~~~~~~~~~ gnuchess.c: In function ‘KingScan’: gnuchess.c:2048:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 2048 | if (color[u] != c2) \ | ^ gnuchess.c:2066:34: note: in expansion of macro ‘ScoreThreat’ 2066 | if (atk2[u] & ctlBQ) ScoreThreat; | ^~~~~~~~~~~ gnuchess.c:2048:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 2048 | if (color[u] != c2) \ | ^ gnuchess.c:2078:34: note: in expansion of macro ‘ScoreThreat’ 2078 | if (atk2[u] & ctlRQ) ScoreThreat; | ^~~~~~~~~~~ gnuchess.c:2048:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 2048 | if (color[u] != c2) \ | ^ gnuchess.c:2088:32: note: in expansion of macro ‘ScoreThreat’ 2088 | if (atk2[u] & ctlNN) ScoreThreat; | ^~~~~~~~~~~ In file included from /usr/include/string.h:495, from gnuchess.c:40: In function ‘strcpy’, inlined from ‘algbr’ at gnuchess.c:538:10, inlined from ‘algbr’ at gnuchess.c:529:6: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:90:10: warning: ‘__builtin___strcpy_chk’ writing 6 bytes into a region of size 5 [-Wstringop-overflow=] 90 | return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnuchess.c: In function ‘algbr’: gnuchess.c:232:16: note: at offset 0 to object ‘mvstr2’ with size 5 declared here 232 | char mvstr1[5],mvstr2[5]; | ^~~~~~ In file included from /usr/include/string.h:495, from gnuchess.c:40: In function ‘strcpy’, inlined from ‘algbr’ at gnuchess.c:538:10, inlined from ‘algbr’ at gnuchess.c:529:6: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:90:10: warning: ‘__builtin___memcpy_chk’ forming offset 5 is out of the bounds [0, 5] of object ‘mvstr2’ with type ‘char[5]’ [-Warray-bounds] 90 | return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnuchess.c: In function ‘algbr’: gnuchess.c:232:16: note: ‘mvstr2’ declared here 232 | char mvstr1[5],mvstr2[5]; | ^~~~~~ gcc Board.m -c \ -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -DGNUSTEP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -g -O2 -fdebug-prefix-map=/build/chess.app-vJmPnG/chess.app-2.8=. -fstack-protector-strong -Wformat -Werror=format-security -fconstant-string-class=NSConstantString -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep \ -o obj/Chess.obj/Board.m.o In file included from Board.m:55: /usr/include/GNUstep/Foundation/NSUtilities.h:28:2: warning: #warning The use of NSUtilities.h is deprecated [-Wcpp] 28 | #warning The use of NSUtilities.h is deprecated | ^~~~~~~ Board.m: In function ‘-[Board mouseDown:]’: Board.m:357:5: warning: ‘NSApplication’ may not respond to ‘-bothsides’ 357 | if ( [NSApp bothsides] ) { | ^~ Board.m:357:5: warning: (messages without a matching method signature will be assumed to return ‘id’ and accept ‘...’ as arguments) Board.m:360:5: warning: ‘NSApplication’ may not respond to ‘-finished’ 360 | else if( [NSApp finished] ) { | ^~~~ Board.m:361:2: warning: ‘NSApplication’ may not respond to ‘-finishedAlert’ 361 | [NSApp finishedAlert]; | ^ Board.m:478:3: warning: ‘NSApplication’ may not respond to ‘-makeMoveFrom::to::’ 478 | if( ! [NSApp makeMoveFrom: r : c to: r2 : c2] ) { | ^~ Board.m:453:3: warning: ‘controlGState’ may be used uninitialized in this function [-Wmaybe-uninitialized] 453 | PScomposite( winP.x, winP.y, backR.size.width, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 454 | backR.size.height, controlGState, (float)0.0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 455 | (float)0.0, NSCompositeCopy ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc Board3D.m -c \ -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -DGNUSTEP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -g -O2 -fdebug-prefix-map=/build/chess.app-vJmPnG/chess.app-2.8=. -fstack-protector-strong -Wformat -Werror=format-security -fconstant-string-class=NSConstantString -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep \ -o obj/Chess.obj/Board3D.m.o In file included from Board3D.m:55: /usr/include/GNUstep/Foundation/NSUtilities.h:28:2: warning: #warning The use of NSUtilities.h is deprecated [-Wcpp] 28 | #warning The use of NSUtilities.h is deprecated | ^~~~~~~ Board3D.m: In function ‘-[Board3D backgroundBitmap]’: Board3D.m:225:1: warning: conflicting types for ‘-(id)backgroundBitmap’ 225 | { | ^ In file included from Board3D.m:61: Board3D.h:62:1: note: previous declaration of ‘-(NSImage *)backgroundBitmap’ 62 | - (NSImage *) backgroundBitmap; | ^ Board3D.m: In function ‘-[Board3D slidePieceFrom::to::]’: Board3D.m:306:31: warning: passing argument 3 of ‘squareOrigin’ from incompatible pointer type [-Wincompatible-pointer-types] 306 | squareOrigin( row2, col2, &endP.x, &endP.y ); | ^~~~~~~ | | | CGFloat * {aka double *} Board3D.m:108:48: note: expected ‘float *’ but argument is of type ‘CGFloat *’ {aka ‘double *’} 108 | static void squareOrigin( int r, int c, float *x, float *y ) | ~~~~~~~^ Board3D.m:306:40: warning: passing argument 4 of ‘squareOrigin’ from incompatible pointer type [-Wincompatible-pointer-types] 306 | squareOrigin( row2, col2, &endP.x, &endP.y ); | ^~~~~~~ | | | CGFloat * {aka double *} Board3D.m:108:58: note: expected ‘float *’ but argument is of type ‘CGFloat *’ {aka ‘double *’} 108 | static void squareOrigin( int r, int c, float *x, float *y ) | ~~~~~~~^ Board3D.m:312:31: warning: passing argument 3 of ‘squareOrigin’ from incompatible pointer type [-Wincompatible-pointer-types] 312 | squareOrigin( row1, col1, &backP.x, &backP.y ); | ^~~~~~~~ | | | CGFloat * {aka double *} Board3D.m:108:48: note: expected ‘float *’ but argument is of type ‘CGFloat *’ {aka ‘double *’} 108 | static void squareOrigin( int r, int c, float *x, float *y ) | ~~~~~~~^ Board3D.m:312:41: warning: passing argument 4 of ‘squareOrigin’ from incompatible pointer type [-Wincompatible-pointer-types] 312 | squareOrigin( row1, col1, &backP.x, &backP.y ); | ^~~~~~~~ | | | CGFloat * {aka double *} Board3D.m:108:58: note: expected ‘float *’ but argument is of type ‘CGFloat *’ {aka ‘double *’} 108 | static void squareOrigin( int r, int c, float *x, float *y ) | ~~~~~~~^ Board3D.m:293:13: warning: variable ‘oldLocation’ set but not used [-Wunused-but-set-variable] 293 | NSRect oldLocation; | ^~~~~~~~~~~ Board3D.m: In function ‘-[Board3D mouseDown:]’: Board3D.m:560:5: warning: ‘NSApplication’ may not respond to ‘-bothsides’ 560 | if ( [NSApp bothsides] ) { | ^~ Board3D.m:560:5: warning: (messages without a matching method signature will be assumed to return ‘id’ and accept ‘...’ as arguments) Board3D.m:563:5: warning: ‘NSApplication’ may not respond to ‘-finished’ 563 | else if( [NSApp finished] ) { | ^~~~ Board3D.m:564:9: warning: ‘NSApplication’ may not respond to ‘-finishedAlert’ 564 | [NSApp finishedAlert]; | ^ Board3D.m:688:25: warning: ‘NSApplication’ may not respond to ‘-makeMoveFrom::to::’ 688 | if( ! [NSApp makeMoveFrom: r : c to: r2 : c2] ) { | ^~ Board3D.m:663:6: warning: ‘controlGState’ may be used uninitialized in this function [-Wmaybe-uninitialized] 663 | PScomposite( roundedBackP.x = floor(backP.x), roundedBackP.y = floor(backP.y), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 664 | BACK_STORE_WIDTH, BACK_STORE_HEIGHT, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 665 | controlGState, (float)0.0, (float)0.0, NSCompositeCopy ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc Chess.m -c \ -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -DGNUSTEP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -g -O2 -fdebug-prefix-map=/build/chess.app-vJmPnG/chess.app-2.8=. -fstack-protector-strong -Wformat -Werror=format-security -fconstant-string-class=NSConstantString -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep \ -o obj/Chess.obj/Chess.m.o Chess.m: In function ‘CL_MakeMove’: Chess.m:83:3: warning: ‘NSApplication’ may not respond to ‘-undoMove:’ 83 | [NSApp undoMove:NSApp]; | ^ Chess.m:83:3: warning: (messages without a matching method signature will be assumed to return ‘id’ and accept ‘...’ as arguments) Chess.m:90:3: warning: ‘NSApplication’ may not respond to ‘-makeMoveFrom::to::’ 90 | [NSApp makeMoveFrom: r : c to: r2 : c2]; | ^ Chess.m: In function ‘-[Chess renderColors:]’: Chess.m:516:3: warning: passing argument 1 of ‘getRed:green:blue:alpha:’ from incompatible pointer type [-Wincompatible-pointer-types] 516 | [white_color getRed:&red green:&green blue:&blue alpha:&alpha]; | ^ | | | float * Chess.m:516:3: note: expected ‘CGFloat *’ {aka ‘double *’} but argument is of type ‘float *’ Chess.m:516:3: warning: passing argument 2 of ‘getRed:green:blue:alpha:’ from incompatible pointer type [-Wincompatible-pointer-types] Chess.m:516:3: note: expected ‘CGFloat *’ {aka ‘double *’} but argument is of type ‘float *’ Chess.m:516:3: warning: passing argument 3 of ‘getRed:green:blue:alpha:’ from incompatible pointer type [-Wincompatible-pointer-types] Chess.m:516:3: note: expected ‘CGFloat *’ {aka ‘double *’} but argument is of type ‘float *’ Chess.m:516:3: warning: passing argument 4 of ‘getRed:green:blue:alpha:’ from incompatible pointer type [-Wincompatible-pointer-types] Chess.m:516:3: note: expected ‘CGFloat *’ {aka ‘double *’} but argument is of type ‘float *’ Chess.m:523:3: warning: passing argument 1 of ‘getRed:green:blue:alpha:’ from incompatible pointer type [-Wincompatible-pointer-types] 523 | [black_color getRed:&red green:&green blue:&blue alpha:&alpha]; | ^ | | | float * Chess.m:523:3: note: expected ‘CGFloat *’ {aka ‘double *’} but argument is of type ‘float *’ Chess.m:523:3: warning: passing argument 2 of ‘getRed:green:blue:alpha:’ from incompatible pointer type [-Wincompatible-pointer-types] Chess.m:523:3: note: expected ‘CGFloat *’ {aka ‘double *’} but argument is of type ‘float *’ Chess.m:523:3: warning: passing argument 3 of ‘getRed:green:blue:alpha:’ from incompatible pointer type [-Wincompatible-pointer-types] Chess.m:523:3: note: expected ‘CGFloat *’ {aka ‘double *’} but argument is of type ‘float *’ Chess.m:523:3: warning: passing argument 4 of ‘getRed:green:blue:alpha:’ from incompatible pointer type [-Wincompatible-pointer-types] Chess.m:523:3: note: expected ‘CGFloat *’ {aka ‘double *’} but argument is of type ‘float *’ Chess.m: In function ‘-[Chess finishedAlert]’: Chess.m:65:96: warning: statement with no effect [-Wunused-value] 65 | #define chess_debug(x) if (sCD || (!sCDInit++ && (sCD = getenv("CHESS_DEBUG")))) NSLog x; else 0 | ^ Chess.m:743:5: note: in expansion of macro ‘chess_debug’ 743 | chess_debug(( @"finished %d", finished )); | ^~~~~~~~~~~ Chess.m: In function ‘-[Chess makeMoveFrom::to::]’: Chess.m:65:96: warning: statement with no effect [-Wunused-value] 65 | #define chess_debug(x) if (sCD || (!sCDInit++ && (sCD = getenv("CHESS_DEBUG")))) NSLog x; else 0 | ^ Chess.m:775:3: note: in expansion of macro ‘chess_debug’ 775 | chess_debug (( @"pawn becomes queen..." )); | ^~~~~~~~~~~ Chess.m:65:96: warning: statement with no effect [-Wunused-value] 65 | #define chess_debug(x) if (sCD || (!sCDInit++ && (sCD = getenv("CHESS_DEBUG")))) NSLog x; else 0 | ^ Chess.m:781:5: note: in expansion of macro ‘chess_debug’ 781 | chess_debug(( @"<<< opponent move time %d move %@", move_time(), move )); | ^~~~~~~~~~~ Chess.m: In function ‘-[Chess peekAndGetLeftMouseDownEvent]’: Chess.m:803:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 803 | if( event = [NSApp nextEventMatchingMask: NSLeftMouseDownMask untilDate: [NSDate date] inMode: NSEventTrackingRunLoopMode dequeue: NO] ) { | ^~~~~ Chess.m: In function ‘-[Chess movePieceFrom::to::]’: Chess.m:65:96: warning: statement with no effect [-Wunused-value] 65 | #define chess_debug(x) if (sCD || (!sCDInit++ && (sCD = getenv("CHESS_DEBUG")))) NSLog x; else 0 | ^ Chess.m:867:5: note: in expansion of macro ‘chess_debug’ 867 | chess_debug( (@">>> computer move time %d move %@", move_time(), move) ); | ^~~~~~~~~~~ Chess.m:65:96: warning: statement with no effect [-Wunused-value] 65 | #define chess_debug(x) if (sCD || (!sCDInit++ && (sCD = getenv("CHESS_DEBUG")))) NSLog x; else 0 | ^ Chess.m:878:3: note: in expansion of macro ‘chess_debug’ 878 | chess_debug (( @"computer pawn becomes queen..." )); | ^~~~~~~~~~~ Chess.m: In function ‘-[Chess application:openFile:withType:]’: Chess.m:65:96: warning: statement with no effect [-Wunused-value] 65 | #define chess_debug(x) if (sCD || (!sCDInit++ && (sCD = getenv("CHESS_DEBUG")))) NSLog x; else 0 | ^ Chess.m:1087:5: note: in expansion of macro ‘chess_debug’ 1087 | chess_debug( (@"Open file: %@ type: %@", path, type) ); | ^~~~~~~~~~~ gcc Chess_main.m -c \ -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -DGNUSTEP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -g -O2 -fdebug-prefix-map=/build/chess.app-vJmPnG/chess.app-2.8=. -fstack-protector-strong -Wformat -Werror=format-security -fconstant-string-class=NSConstantString -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep \ -o obj/Chess.obj/Chess_main.m.o Chess_main.m: In function ‘main’: Chess_main.m:51:36: warning: passing argument 2 of ‘NSApplicationMain’ from incompatible pointer type [-Wincompatible-pointer-types] 51 | return NSApplicationMain(argc, argv); | ^~~~ | | | char ** In file included from /usr/include/GNUstep/AppKit/AppKit.h:52, from Chess_main.m:47: /usr/include/GNUstep/AppKit/NSApplication.h:770:42: note: expected ‘const char **’ but argument is of type ‘char **’ 770 | NSApplicationMain(int argc, const char **argv); | ~~~~~~~~~~~~~^~~~ gcc Clock.m -c \ -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -DGNUSTEP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -g -O2 -fdebug-prefix-map=/build/chess.app-vJmPnG/chess.app-2.8=. -fstack-protector-strong -Wformat -Werror=format-security -fconstant-string-class=NSConstantString -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep \ -o obj/Chess.obj/Clock.m.o gcc ResponseMeter.m -c \ -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -DGNUSTEP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -g -O2 -fdebug-prefix-map=/build/chess.app-vJmPnG/chess.app-2.8=. -fstack-protector-strong -Wformat -Werror=format-security -fconstant-string-class=NSConstantString -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep \ -o obj/Chess.obj/ResponseMeter.m.o ResponseMeter.m: In function ‘-[ResponseMeter displayFilled]’: ResponseMeter.m:74:5: warning: ‘@interface’ of class ‘NSWindow’ not found 74 | [[self window] flushWindow]; | ^ ResponseMeter.m:74:5: warning: no ‘-flushWindow’ method found ResponseMeter.m:74:5: warning: (messages without a matching method signature will be assumed to return ‘id’ and accept ‘...’ as arguments) ResponseMeter.m: In function ‘-[ResponseMeter drawRect:]’: ResponseMeter.m:88:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 88 | if( res_time = response_time() ) { | ^~~~~~~~ gcc Square.m -c \ -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -DGNUSTEP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -g -O2 -fdebug-prefix-map=/build/chess.app-vJmPnG/chess.app-2.8=. -fstack-protector-strong -Wformat -Werror=format-security -fconstant-string-class=NSConstantString -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep \ -o obj/Chess.obj/Square.m.o gcc Square3D.m -c \ -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -DGNUSTEP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -g -O2 -fdebug-prefix-map=/build/chess.app-vJmPnG/chess.app-2.8=. -fstack-protector-strong -Wformat -Werror=format-security -fconstant-string-class=NSConstantString -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep \ -o obj/Chess.obj/Square3D.m.o gcc gnuglue.m -c \ -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -DGNUSTEP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -g -O2 -fdebug-prefix-map=/build/chess.app-vJmPnG/chess.app-2.8=. -fstack-protector-strong -Wformat -Werror=format-security -fconstant-string-class=NSConstantString -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep \ -o obj/Chess.obj/gnuglue.m.o In file included from gnuglue.m:53: gnuchess.h:112: warning: "HZ" redefined 112 | #define HZ 60 | In file included from /usr/include/x86_64-linux-gnu/asm/param.h:1, from /usr/include/linux/param.h:5, from /usr/include/x86_64-linux-gnu/bits/param.h:28, from /usr/include/x86_64-linux-gnu/sys/param.h:31, from /usr/include/GNUstep/GNUstepBase/GSConfig.h:331, from /usr/include/GNUstep/GNUstepBase/GSVersionMacros.h:224, from /usr/include/GNUstep/AppKit/AppKit.h:32, from gnuglue.m:47: /usr/include/asm-generic/param.h:6: note: this is the location of the previous definition 6 | #define HZ 100 | gnuglue.m: In function ‘convert_move’: gnuglue.m:147:6: warning: ‘NSApplication’ may not respond to ‘-pieceTypeAt::’ 147 | type = [NSApp pieceTypeAt: *row1 : *col1]; | ^~~~ gnuglue.m:147:6: warning: (messages without a matching method signature will be assumed to return ‘id’ and accept ‘...’ as arguments) gnuglue.m:147:11: warning: assignment to ‘int’ from ‘id’ makes integer from pointer without a cast [-Wint-conversion] 147 | type = [NSApp pieceTypeAt: *row1 : *col1]; | ^ gnuglue.m: In function ‘OutputMove’: gnuglue.m:273:2: warning: ‘NSApplication’ may not respond to ‘-setFinished:’ 273 | [NSApp setFinished: DRAW_GAME]; | ^ gnuglue.m:274:5: warning: ‘NSApplication’ may not respond to ‘-fillResponseMeter:’ 274 | [NSApp fillResponseMeter: player]; | ^ gnuglue.m:284:5: warning: ‘NSApplication’ may not respond to ‘-movePieceFrom::to::’ 284 | [NSApp movePieceFrom: row1 : col1 to: row2 : col2]; | ^ gnuglue.m:289:2: warning: ‘NSApplication’ may not respond to ‘-movePieceFrom::to::’ 289 | [NSApp movePieceFrom: row1 : 0 to: row2 : 3]; | ^ gnuglue.m:292:2: warning: ‘NSApplication’ may not respond to ‘-movePieceFrom::to::’ 292 | [NSApp movePieceFrom: row1 : 7 to: row2 : 5]; | ^ gnuglue.m: In function ‘ElapsedTime’: gnuglue.m:331:2: warning: ‘NSApplication’ may not respond to ‘-displayResponseMeter:’ 331 | [NSApp displayResponseMeter: player]; | ^ gnuglue.m:359:5: warning: ‘NSApplication’ may not respond to ‘-peekAndGetLeftMouseDownEvent’ 359 | [NSApp peekAndGetLeftMouseDownEvent]; | ^ gnuglue.m: In function ‘GameEnd’: gnuglue.m:418:5: warning: ‘NSApplication’ may not respond to ‘-setFinished:’ 418 | [NSApp setFinished: gameStatus]; | ^ gnuglue.m: In function ‘UpdateDisplay’: gnuglue.m:435:5: warning: ‘NSApplication’ may not respond to ‘-updateBoard’ 435 | [NSApp updateBoard]; | ^ gnuglue.m: In function ‘show_message’: gnuglue.m:541:5: warning: ‘NSApplication’ may not respond to ‘-setTitleMessage:’ 541 | [NSApp setTitleMessage: str]; | ^ gnuglue.m: In function ‘Die’: gnuglue.m:559:5: warning: ‘NSApplication’ may not respond to ‘-canFinishGame’ 559 | if( [NSApp canFinishGame] ) { | ^~ gnuglue.m: In function ‘get_game’: gnuglue.m:668:5: warning: ‘NSApplication’ may not respond to ‘-updateBoard’ 668 | [NSApp updateBoard]; | ^ gnuglue.m: In function ‘undo_move’: gnuglue.m:830:5: warning: ‘NSApplication’ may not respond to ‘-finished’ 830 | if ( [NSApp finished] ) | ^~ gnuglue.m:831:2: warning: ‘NSApplication’ may not respond to ‘-setFinished:’ 831 | [NSApp setFinished: 0]; | ^ gnuglue.m: In function ‘give_hint’: gnuglue.m:846:2: warning: ‘NSApplication’ may not respond to ‘-highlightSquareAt::’ 846 | [NSApp highlightSquareAt: (int)(from / 8) : (int)(from % 8)]; | ^ gnuglue.m:847:2: warning: ‘NSApplication’ may not respond to ‘-highlightSquareAt::’ 847 | [NSApp highlightSquareAt: (int)(to / 8) : (int)(to % 8)]; | ^ gnuglue.m: In function ‘run_computer_game’: gnuglue.m:903:5: warning: ‘NSApplication’ may not respond to ‘-finished’ 903 | while( ! mate && ! quit && ! [NSApp finished] ) | ^~~~~ gnuglue.m:904:2: warning: ‘NSApplication’ may not respond to ‘-selectMove:iop:’ 904 | [NSApp selectMove: player iop: 1]; | ^ gnuglue.m: In function ‘select_computer_move’: gnuglue.m:922:2: warning: ‘NSApplication’ may not respond to ‘-selectMove:iop:’ 922 | [NSApp selectMove: computer iop: 1]; | ^ gnuglue.m: In function ‘get_game’: gnuglue.m:648:11: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 648 | (void)fscanf( fd, "%hd%hd", &computer, &opponent ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnuglue.m:649:11: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 649 | (void)fscanf( fd, "%hd", &Game50 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnuglue.m:650:11: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 650 | (void)fscanf( fd, "%hd%hd", &castld[white], &castld[black] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnuglue.m:651:11: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 651 | (void)fscanf( fd, "%hd%hd", &kingmoved[white], &kingmoved[black] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnuglue.m:652:11: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 652 | (void)fscanf( fd, "%hd%hd", &TCflag, &OperatorTime ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnuglue.m:653:11: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 653 | (void)fscanf( fd, "%ld", &TimeControl.clock[white] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnuglue.m:654:11: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 654 | (void)fscanf( fd, "%ld", &TimeControl.clock[black] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnuglue.m:655:11: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 655 | (void)fscanf( fd, "%hd", &TimeControl.moves[white] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnuglue.m:656:11: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 656 | (void)fscanf( fd, "%hd", &TimeControl.moves[black] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnuglue.m:660:8: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 660 | (void)fscanf( fd, "%hu" , &m ); | ^~~~~~~~~~~~~~~~~~~~~~~~ gnuglue.m: In function ‘OutputMove’: gnuglue.m:284:5: warning: ‘row1’ may be used uninitialized in this function [-Wmaybe-uninitialized] 284 | [NSApp movePieceFrom: row1 : col1 to: row2 : col2]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnuglue.m:284:5: warning: ‘col1’ may be used uninitialized in this function [-Wmaybe-uninitialized] gnuglue.m:284:5: warning: ‘row2’ may be used uninitialized in this function [-Wmaybe-uninitialized] gnuglue.m:284:5: warning: ‘col2’ may be used uninitialized in this function [-Wmaybe-uninitialized] gnuglue.m:285:5: warning: ‘castle_flag’ may be used uninitialized in this function [-Wmaybe-uninitialized] 285 | switch (castle_flag ) { | ^~~~~~ g++ ChessListener.cp -c \ -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -DGNUSTEP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -pthread -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -g -O2 -fdebug-prefix-map=/build/chess.app-vJmPnG/chess.app-2.8=. -fstack-protector-strong -Wformat -Werror=format-security -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep -g -O2 \ -o obj/Chess.obj/ChessListener.cp.o ChessListener.cp: In member function ‘virtual void CLDebugMoveBuilder::Move(int, const CLCoord&, const CLCoord&, bool, bool)’: ChessListener.cp:131:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 131 | static char * pieceName[] = {"", "Pawn", "Knight", "Bishop", "Rook", "Queen", "King"}; | ^~ ChessListener.cp:131:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 131 | static char * pieceName[] = {"", "Pawn", "Knight", "Bishop", "Rook", "Queen", "King"}; | ^~~~~~ ChessListener.cp:131:43: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 131 | static char * pieceName[] = {"", "Pawn", "Knight", "Bishop", "Rook", "Queen", "King"}; | ^~~~~~~~ ChessListener.cp:131:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 131 | static char * pieceName[] = {"", "Pawn", "Knight", "Bishop", "Rook", "Queen", "King"}; | ^~~~~~~~ ChessListener.cp:131:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 131 | static char * pieceName[] = {"", "Pawn", "Knight", "Bishop", "Rook", "Queen", "King"}; | ^~~~~~ ChessListener.cp:131:71: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 131 | static char * pieceName[] = {"", "Pawn", "Knight", "Bishop", "Rook", "Queen", "King"}; | ^~~~~~~ ChessListener.cp:131:80: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 131 | static char * pieceName[] = {"", "Pawn", "Knight", "Bishop", "Rook", "Queen", "King"}; | ^~~~~~ ChessListener.cp: In member function ‘bool CLMoveGenerator::TryMove(int, const CLCoord&, const CLCoord&)’: ChessListener.cp:571:5: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 571 | if (piece == PAWN) // Pawns move straight, capture diagonally | ^ g++ -rdynamic -Wl,-z,relro -Wl,--no-undefined -Wl,--as-needed -pthread -fexceptions -o Chess.app/./Chess \ ./obj/Chess.obj/gnuchess.c.o ./obj/Chess.obj/Board.m.o ./obj/Chess.obj/Board3D.m.o ./obj/Chess.obj/Chess.m.o ./obj/Chess.obj/Chess_main.m.o ./obj/Chess.obj/Clock.m.o ./obj/Chess.obj/ResponseMeter.m.o ./obj/Chess.obj/Square.m.o ./obj/Chess.obj/Square3D.m.o ./obj/Chess.obj/gnuglue.m.o ./obj/Chess.obj/ChessListener.cp.o -L/usr/local/lib -L/usr/lib -lgnustep-gui -lgnustep-base -lobjc -lm /usr/share/GNUstep/Makefiles/mkinstalldirs Chess.app/Resources echo "OLD_GNUSTEP_STAMP_ASTRING = _Chess--Chess-" > ./Chess.app/stamp.make (echo "{"; echo ' NOTE = "Automatically generated, do not edit!";'; \ echo " NSExecutable = \"Chess\";"; \ echo " NSMainNibFile = \"Chess\";"; \ echo " GSMainMarkupFile = \"\";"; \ if [ "" != "" ]; then \ echo " NSIcon = \"\";"; \ fi; \ echo " NSPrincipalClass = \"Chess\";"; \ echo "}") >Chess.app/Resources/Info-gnustep.plist if [ -r "ChessInfo.plist" ]; then \ plmerge Chess.app/Resources/Info-gnustep.plist "ChessInfo.plist"; \ fi pl2link Chess.app/Resources/Info-gnustep.plist ./Chess.app/Resources/Chess.desktop; \ chmod a+x ./Chess.app/Resources/Chess.desktop for f in ApplicationNameImage.tiff ChessApp.tiff ChessDoc.tiff chess.icns chess.tiff gnuchess.subproj/COPYING gnuchess.subproj/gnuchess.book; do \ if [ -f .//$f -o -d .//$f ]; then \ cp -fr .//$f ./Chess.app/Resources/; \ else \ echo "Warning: .//$f not found - ignoring"; \ fi; \ done Warning: .//gnuchess.subproj/COPYING not found - ignoring Warning: .//gnuchess.subproj/gnuchess.book not found - ignoring for l in English; do \ if [ -d .//$l.lproj ]; then \ /usr/share/GNUstep/Makefiles/mkinstalldirs ./Chess.app/Resources/$l.lproj; \ for f in 3d_black_sample.tiff 3d_board.tiff 3d_pieces.tiff 3d_plastic.tiff 3d_white_sample.tiff Chess.nib Credits.rtf Localizable.strings SpeechHelp.xml black.tiff black_bishop.tiff black_king.tiff black_knight.tiff black_pawn.tiff black_queen.tiff black_rook.tiff clock.tiff white.tiff white_bishop.tiff white_king.tiff white_knight.tiff white_pawn.tiff white_queen.tiff white_rook.tiff; do \ if [ -f .//$l.lproj/$f -o -d .//$l.lproj/$f ]; then \ cp -fr .//$l.lproj/$f \ ./Chess.app/Resources/$l.lproj/; \ else \ echo "Warning: .//$l.lproj/$f not found - ignoring"; \ fi; \ done; \ else \ echo "Warning: .//$l.lproj not found - ignoring"; \ fi; \ done make[2]: Leaving directory '/build/chess.app-vJmPnG/chess.app-2.8' make[1]: Leaving directory '/build/chess.app-vJmPnG/chess.app-2.8' dh_auto_test -a make -j4 check make[1]: Entering directory '/build/chess.app-vJmPnG/chess.app-2.8' This is gnustep-make 2.8.0. Type 'make print-gnustep-make-help' for help. Running in gnustep-make version 2 strict mode. make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/build/chess.app-vJmPnG/chess.app-2.8' create-stamp debian/debhelper-build-stamp dh_testroot -a dh_prep -a dh_auto_install -a make -j4 install DESTDIR=/build/chess.app-vJmPnG/chess.app-2.8/debian/chess.app AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/chess.app-vJmPnG/chess.app-2.8' This is gnustep-make 2.8.0. Type 'make print-gnustep-make-help' for help. Running in gnustep-make version 2 strict mode. mkdir -p ./obj/gnuchess.subproj Making all for app Chess... make[4]: Nothing to be done for 'internal-app-compile'. Copying resources into the app wrapper... Warning: .//gnuchess.subproj/COPYING not found - ignoring Warning: .//gnuchess.subproj/gnuchess.book not found - ignoring Copying localized resources into the app wrapper... Making install for app Chess... Creating /build/chess.app-vJmPnG/chess.app-2.8/debian/chess.app//usr/lib/GNUstep/Applications... Installing bundle directory... Creating /build/chess.app-vJmPnG/chess.app-2.8/debian/chess.app//usr/bin/.... make[1]: Leaving directory '/build/chess.app-vJmPnG/chess.app-2.8' dh_installdocs -a dh_installchangelogs -a dh_installman -a dh_perl -a debian/rules override_dh_link make[1]: Entering directory '/build/chess.app-vJmPnG/chess.app-2.8' dh_gnustep dh_installdirs usr/share/GNUstep rm /build/chess.app-vJmPnG/chess.app-2.8/debian/chess.app/usr/lib/GNUstep/Applications/*.app/Resources/*.desktop mv /build/chess.app-vJmPnG/chess.app-2.8/debian/chess.app/usr/lib/GNUstep/Applications/Chess.app/Resources \ /build/chess.app-vJmPnG/chess.app-2.8/debian/chess.app/usr/share/GNUstep/Chess.app dh_link /usr/share/GNUstep/Chess.app \ /usr/lib/GNUstep/Applications/Chess.app/Resources make[1]: Leaving directory '/build/chess.app-vJmPnG/chess.app-2.8' 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 dpkg-gencontrol: warning: Depends field of package chess.app: substitution variable ${gnustep:Depends} used, but is not defined dpkg-gencontrol: warning: Depends field of package chess.app: substitution variable ${gnustep:Depends} used, but is not defined dh_md5sums -a dh_builddeb -a dpkg-deb: building package 'chess.app' in '../chess.app_2.8-4_amd64.deb'. dpkg-deb: building package 'chess.app-dbgsym' in '../chess.app-dbgsym_2.8-4_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../chess.app_2.8-4_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/chess.app-vJmPnG /tmp/chess.app-2.8-4lka1lqlb I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.W4EVbYa4J4... I: success in 669.9651 seconds md5: chess.app-dbgsym_2.8-4_amd64.deb: OK md5: chess.app_2.8-4_amd64.deb: OK sha1: chess.app-dbgsym_2.8-4_amd64.deb: OK sha1: chess.app_2.8-4_amd64.deb: OK sha256: chess.app-dbgsym_2.8-4_amd64.deb: OK sha256: chess.app_2.8-4_amd64.deb: OK Checksums: OK