Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/m/mah-jong/mah-jong_1.11-2+b2_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/mah-jong-1.11-2+b22m458m6i/mah-jong_1.11-2_amd64.buildinfo Get source package info: mah-jong=1.11-2 Source URL: http://snapshot.notset.fr/mr/package/mah-jong/1.11-2/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-10 automake=1:1.15-6 autopoint=0.19.8.1-2 autotools-dev=20161112.1 base-files=9.8 base-passwd=3.5.43 bash=4.4-4+b1 binutils=2.28-1 bsdmainutils=9.0.12 bsdutils=1:2.29.1-1 build-essential=12.3 bzip2=1.0.6-8.1 coreutils=8.26-3 cpp=4:6.3.0-1 cpp-6=6.3.0-8 dash=0.5.8-2.4 debconf=1.5.60 debhelper=10.2.5 debianutils=4.8.1 dh-autoreconf=13 dh-python=2.20170125 dh-strip-nondeterminism=0.031-1 diffutils=1:3.5-3 dpkg=1.18.22 dpkg-dev=1.18.22 e2fslibs=1.43.4-2 e2fsprogs=1.43.4-2 file=1:5.29-3 findutils=4.6.0+git+20161106-2 fontconfig=2.11.0-6.7+b1 fontconfig-config=2.11.0-6.7 fonts-dejavu-core=2.37-1 g++=4:6.3.0-1 g++-6=6.3.0-8 gcc=4:6.3.0-1 gcc-6=6.3.0-8 gcc-6-base=6.3.0-8 gettext=0.19.8.1-2 gettext-base=0.19.8.1-2 gir1.2-atk-1.0=2.22.0-1 gir1.2-freedesktop=1.50.0-1+b1 gir1.2-gdkpixbuf-2.0=2.36.5-2 gir1.2-glib-2.0=1.50.0-1+b1 gir1.2-gtk-2.0=2.24.31-2 gir1.2-pango-1.0=1.40.4-1 gnome-icon-theme=3.12.0-2 grep=2.27-2 groff-base=1.22.3-9 gtk-update-icon-cache=3.22.9-3 gzip=1.6-5+b1 hicolor-icon-theme=0.15-1 hostname=3.18+b1 icu-devtools=57.1-5 init-system-helpers=1.47 intltool-debian=0.35.0+20060710.4 libacl1=2.2.52-3+b1 libarchive-zip-perl=1.59-1 libasan3=6.3.0-8 libatk1.0-0=2.22.0-1 libatk1.0-data=2.22.0-1 libatk1.0-dev=2.22.0-1 libatomic1=6.3.0-8 libattr1=1:2.4.47-2+b2 libaudit-common=1:2.6.7-1 libaudit1=1:2.6.7-1 libavahi-client3=0.6.32-2 libavahi-common-data=0.6.32-2 libavahi-common3=0.6.32-2 libblkid1=2.29.1-1 libbsd0=0.8.3-1 libbz2-1.0=1.0.6-8.1 libc-bin=2.24-9 libc-dev-bin=2.24-9 libc6=2.24-9 libc6-dev=2.24-9 libcairo-gobject2=1.14.8-1 libcairo-script-interpreter2=1.14.8-1 libcairo2=1.14.8-1 libcairo2-dev=1.14.8-1 libcap-ng0=0.7.7-3+b1 libcc1-0=6.3.0-8 libcilkrts5=6.3.0-8 libcomerr2=1.43.4-2 libcroco3=0.6.11-2 libcups2=2.2.1-8 libdatrie1=0.2.10-4+b1 libdb5.3=5.3.28-12+b1 libdbus-1-3=1.10.16-1 libdebconfclient0=0.225 libdpkg-perl=1.18.22 libelf1=0.168-0.2 libexpat1=2.2.0-2 libexpat1-dev=2.2.0-2 libfdisk1=2.29.1-1 libffi6=3.2.1-6 libfile-stripnondeterminism-perl=0.031-1 libfontconfig1=2.11.0-6.7+b1 libfontconfig1-dev=2.11.0-6.7+b1 libfreetype6=2.6.3-3+b2 libfreetype6-dev=2.6.3-3+b2 libgcc-6-dev=6.3.0-8 libgcc1=1:6.3.0-8 libgcrypt20=1.7.6-1 libgdbm3=1.8.3-14 libgdk-pixbuf2.0-0=2.36.5-2 libgdk-pixbuf2.0-common=2.36.5-2 libgdk-pixbuf2.0-dev=2.36.5-2 libgirepository-1.0-1=1.50.0-1+b1 libglib2.0-0=2.50.3-1 libglib2.0-bin=2.50.3-1 libglib2.0-data=2.50.3-1 libglib2.0-dev=2.50.3-1 libgmp10=2:6.1.2+dfsg-1 libgnutls30=3.5.8-5 libgomp1=6.3.0-8 libgpg-error0=1.26-2 libgraphite2-3=1.3.9-4 libgraphite2-dev=1.3.9-4 libgssapi-krb5-2=1.15-1 libgtk2.0-0=2.24.31-2 libgtk2.0-common=2.24.31-2 libgtk2.0-dev=2.24.31-2 libharfbuzz-dev=1.4.2-1 libharfbuzz-gobject0=1.4.2-1 libharfbuzz-icu0=1.4.2-1 libharfbuzz0b=1.4.2-1 libhogweed4=3.3-1+b1 libice-dev=2:1.0.9-2 libice6=2:1.0.9-2 libicu-dev=57.1-5 libicu57=57.1-5 libidn11=1.33-1 libisl15=0.18-1 libitm1=6.3.0-8 libjbig0=2.1-3.1+b2 libjpeg62-turbo=1:1.5.1-2 libk5crypto3=1.15-1 libkeyutils1=1.5.9-9 libkrb5-3=1.15-1 libkrb5support0=1.15-1 liblsan0=6.3.0-8 liblz4-1=0.0~r131-2+b1 liblzma5=5.2.2-1.2+b1 liblzo2-2=2.08-1.2 libmagic-mgc=1:5.29-3 libmagic1=1:5.29-3 libmount1=2.29.1-1 libmpc3=1.0.3-1 libmpdec2=2.4.2-1 libmpfr4=3.1.5-1 libmpx2=6.3.0-8 libncurses5=6.0+20161126-1 libncursesw5=6.0+20161126-1 libnettle6=3.3-1+b1 libp11-kit0=0.23.3-5 libpam-modules=1.1.8-3.5 libpam-modules-bin=1.1.8-3.5 libpam-runtime=1.1.8-3.5 libpam0g=1.1.8-3.5 libpango-1.0-0=1.40.4-1 libpango1.0-dev=1.40.4-1 libpangocairo-1.0-0=1.40.4-1 libpangoft2-1.0-0=1.40.4-1 libpangoxft-1.0-0=1.40.4-1 libpcre16-3=2:8.39-2.1 libpcre3=2:8.39-2.1 libpcre3-dev=2:8.39-2.1 libpcre32-3=2:8.39-2.1 libpcrecpp0v5=2:8.39-2.1 libperl5.24=5.24.1-1 libpipeline1=1.4.1-2 libpixman-1-0=0.34.0-1 libpixman-1-dev=0.34.0-1 libpng-dev=1.6.28-1 libpng16-16=1.6.28-1 libpthread-stubs0-dev=0.3-4 libpython3-stdlib=3.5.3-1 libpython3.5-minimal=3.5.3-1 libpython3.5-stdlib=3.5.3-1 libquadmath0=6.3.0-8 libreadline7=7.0-2 librsvg2-2=2.40.16-1+b1 librsvg2-common=2.40.16-1+b1 libselinux1=2.6-3 libsemanage-common=2.6-2 libsemanage1=2.6-2 libsepol1=2.6-2 libsigsegv2=2.10-5 libsm-dev=2:1.2.2-1+b1 libsm6=2:1.2.2-1+b1 libsmartcols1=2.29.1-1 libsqlite3-0=3.16.2-3 libss2=1.43.4-2 libssl1.1=1.1.0e-1 libstdc++-6-dev=6.3.0-8 libstdc++6=6.3.0-8 libsystemd0=232-19 libtasn1-6=4.10-1 libthai-data=0.1.26-1 libthai0=0.1.26-1 libtiff5=4.0.7-5 libtimedate-perl=2.3000-2 libtinfo5=6.0+20161126-1 libtool=2.4.6-2 libtsan0=6.3.0-8 libubsan0=6.3.0-8 libudev1=232-19 libunistring0=0.9.6+really0.9.3-0.1 libustr-1.0-1=1.0.4-6 libuuid1=2.29.1-1 libx11-6=2:1.6.4-3 libx11-data=2:1.6.4-3 libx11-dev=2:1.6.4-3 libxau-dev=1:1.0.8-1 libxau6=1:1.0.8-1 libxcb-render0=1.12-1 libxcb-render0-dev=1.12-1 libxcb-shm0=1.12-1 libxcb-shm0-dev=1.12-1 libxcb1=1.12-1 libxcb1-dev=1.12-1 libxcomposite-dev=1:0.4.4-2 libxcomposite1=1:0.4.4-2 libxcursor-dev=1:1.1.14-1+b1 libxcursor1=1:1.1.14-1+b1 libxdamage-dev=1:1.1.4-2+b1 libxdamage1=1:1.1.4-2+b1 libxdmcp-dev=1:1.1.2-3 libxdmcp6=1:1.1.2-3 libxext-dev=2:1.3.3-1 libxext6=2:1.3.3-1 libxfixes-dev=1:5.0.3-1 libxfixes3=1:5.0.3-1 libxft-dev=2.3.2-1 libxft2=2.3.2-1 libxi-dev=2:1.7.9-1 libxi6=2:1.7.9-1 libxinerama-dev=2:1.1.3-1+b1 libxinerama1=2:1.1.3-1+b1 libxml2=2.9.4+dfsg1-2.2 libxml2-utils=2.9.4+dfsg1-2.2 libxrandr-dev=2:1.5.1-1 libxrandr2=2:1.5.1-1 libxrender-dev=1:0.9.10-1 libxrender1=1:0.9.10-1 linux-libc-dev=4.9.13-1 login=1:4.4-4 lsb-base=9.20161125 m4=1.4.18-1 make=4.1-9.1 man-db=2.7.6.1-2 mawk=1.3.3-17+b3 mime-support=3.60 mount=2.29.1-1 multiarch-support=2.24-9 ncurses-base=6.0+20161126-1 ncurses-bin=6.0+20161126-1 passwd=1:4.4-4 patch=2.7.5-1+b2 perl=5.24.1-1 perl-base=5.24.1-1 perl-modules-5.24=5.24.1-1 pkg-config=0.29-4+b1 po-debconf=1.0.20 python3=3.5.3-1 python3-minimal=3.5.3-1 python3.5=3.5.3-1 python3.5-minimal=3.5.3-1 readline-common=7.0-2 sed=4.4-1 sensible-utils=0.0.9 shared-mime-info=1.8-1 sysvinit-utils=2.88dsf-59.9 tar=1.29b-1.1 ucf=3.0036 util-linux=2.29.1-1 x11-common=1:7.7+18 x11proto-composite-dev=1:0.4.2-2 x11proto-core-dev=7.0.31-1 x11proto-damage-dev=1:1.2.1-2 x11proto-fixes-dev=1:5.0-2 x11proto-input-dev=2.3.2-1 x11proto-kb-dev=1.0.7-1 x11proto-randr-dev=1.5.0-1 x11proto-render-dev=2:0.11.1-2 x11proto-xext-dev=7.3.0-1 x11proto-xinerama-dev=1.2.1-2 xorg-sgml-doctools=1:1.11-1 xtrans-dev=1.3.5-1 xz-utils=5.2.2-1.2+b1 zlib1g=1:1.2.8.dfsg-5 zlib1g-dev=1:1.2.8.dfsg-5 --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/20170611T095411Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20170306T032500Z/ 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 mah-jong=1.11-2 && mkdir -p /build/mah-jong-oSU2Dp && dpkg-source --no-check -x /*.dsc /build/mah-jong-oSU2Dp/mah-jong-1.11 && cd /build/mah-jong-oSU2Dp/mah-jong-1.11 && { printf '%s' 'mah-jong (1.11-2+b2) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * rebuild with PIE -- amd64 / i386 Build Daemon (x86-ubc-01) Tue, 03 Jan 2012 00:31:07 +0100 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/mah-jong-oSU2Dp" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/mah-jong-oSU2Dp/mah-jong-1.11 && env DEB_BUILD_OPTIONS="parallel=4" SOURCE_DATE_EPOCH="1325547067" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/mah-jong-oSU2Dp /tmp/mah-jong-1.11-2+b22m458m6i stretch /dev/null deb http://snapshot.notset.fr/archive/debian/20170306T032500Z 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.B4XTRPAlnc 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.B4XTRPAlnc Reading package lists... Building dependency tree... util-linux is already the newest version (2.29.1-1). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 131 kB of archives. After this operation, 374 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20170306T032500Z unstable/main amd64 libfakeroot amd64 1.21-3.1 [45.7 kB] Get:2 http://snapshot.notset.fr/archive/debian/20170306T032500Z unstable/main amd64 fakeroot amd64 1.21-3.1 [85.6 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 131 kB in 0s (999 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 ... 4401 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.21-3.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.21-3.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.21-3.1_amd64.deb ... Unpacking fakeroot (1.21-3.1) ... Processing triggers for libc-bin (2.24-9) ... Setting up libfakeroot:amd64 (1.21-3.1) ... Setting up fakeroot (1.21-3.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.24-9) ... 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/20170611T095411Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20170306T032500Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.B4XTRPAlnc Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Get:2 http://snapshot.notset.fr/archive/debian/20170611T095411Z unstable InRelease [249 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20170306T032500Z 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 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/20170611T095411Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20170611T095411Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20170611T095411Z unstable/main amd64 Packages [10.1 MB] Fetched 32.9 MB in 29s (1106 kB/s) Reading package lists... W: Problem unlinking the file auxfiles - Clean (21: Is a directory) 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.B4XTRPAlnc I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d mah-jong=1.11-2 && mkdir -p /build/mah-jong-oSU2Dp && dpkg-source --no-check -x /*.dsc /build/mah-jong-oSU2Dp/mah-jong-1.11 && cd /build/mah-jong-oSU2Dp/mah-jong-1.11 && { printf '%s' 'mah-jong (1.11-2+b2) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * rebuild with PIE -- amd64 / i386 Build Daemon (x86-ubc-01) Tue, 03 Jan 2012 00:31:07 +0100 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/mah-jong-oSU2Dp"' exec /tmp/mmdebstrap.B4XTRPAlnc Reading package lists... Need to get 436 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main mah-jong 1.11-2 (dsc) [1203 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main mah-jong 1.11-2 (tar) [406 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main mah-jong 1.11-2 (diff) [29.6 kB] Fetched 436 kB in 0s (1179 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'mah-jong_1.11-2.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting mah-jong in /build/mah-jong-oSU2Dp/mah-jong-1.11 dpkg-source: info: unpacking mah-jong_1.11.orig.tar.gz dpkg-source: info: unpacking mah-jong_1.11-2.debian.tar.gz dpkg-source: info: applying manpages_section_6 dpkg-source: info: applying prune_gui_libraries dpkg-source: info: applying extra_gui_libraries dpkg-source: info: applying manpage_cleanup dpkg-source: info: applying autogenerated_files I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/mah-jong-oSU2Dp/mah-jong-1.11 && env DEB_BUILD_OPTIONS="parallel=4" SOURCE_DATE_EPOCH="1325547067" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.B4XTRPAlnc dpkg-buildpackage: info: source package mah-jong dpkg-buildpackage: info: source version 1.11-2+b2 dpkg-buildpackage: info: source distribution sid dpkg-buildpackage: info: source changed by amd64 / i386 Build Daemon (x86-ubc-01) dpkg-source --before-build mah-jong-1.11 dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot [ ! -f Makefile ] || /usr/bin/make clean make[1]: Entering directory '/build/mah-jong-oSU2Dp/mah-jong-1.11' rm -f xmj mj-server mj-player rm -f *.o core errs *~ make[1]: Leaving directory '/build/mah-jong-oSU2Dp/mah-jong-1.11' dh_clean dh_clean: Compatibility levels before 9 are deprecated (level 8 in use) debian/rules build-arch dh_testdir /usr/bin/make CCOPTIONS="-O2 -Wall" CDEBUGFLAGS="-g" TILESETPATH=\""/usr/share/mah-jong"\" make[1]: Entering directory '/build/mah-jong-oSU2Dp/mah-jong-1.11' gcc -g -O2 -Wall `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='"/usr/share/mah-jong"' -DGTK2=1 -c -o gui.o gui.c gui.c: In function ‘server_input_callback’: gui.c:1001:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] conc_callback(pdisps[0].conc[i],(gpointer)(i | 128)); ^ gui.c:1359:13: warning: variable ‘npos’ set but not used [-Wunused-but-set-variable] int i,npos=0; ^~~~ gui.c: In function ‘drag_begin_callback’: gui.c:1630:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] drag_tile = (int)u; ^ gui.c: In function ‘drag_drop_callback’: gui.c:1641:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int new = (int)u; ^ In file included from /usr/include/gtk-2.0/gtk/gtkcalendar.h:40:0, from /usr/include/gtk-2.0/gtk/gtk.h:53, from gui.h:17, from gui.c:18: gui.c: In function ‘playerdisp_init’: gui.c:1794:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] GTK_SIGNAL_FUNC(conc_callback),(gpointer)i); ^ /usr/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro ‘gtk_signal_connect’ gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) ^~~~~~~~~ gui.c:1806:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] GTK_SIGNAL_FUNC(drag_begin_callback),(gpointer)i); ^ /usr/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro ‘gtk_signal_connect’ gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) ^~~~~~~~~ gui.c:1808:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] GTK_SIGNAL_FUNC(drag_motion_callback),(gpointer)i); ^ /usr/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro ‘gtk_signal_connect’ gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) ^~~~~~~~~ gui.c:1810:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] GTK_SIGNAL_FUNC(drag_drop_callback),(gpointer)i); ^ /usr/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro ‘gtk_signal_connect’ gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) ^~~~~~~~~ gui.c: In function ‘maybe_popup_tiletip’: gui.c:1953:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ori = (int)gtk_object_get_data(GTK_OBJECT(w),"ori"); ^ gui.c: In function ‘button_set_tile_aux’: gui.c:2001:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_object_set_user_data(GTK_OBJECT(b),(gpointer)ti); ^ gui.c:2002:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_object_set_data(GTK_OBJECT(b),"ori",(gpointer)ori); ^ gui.c: In function ‘playerdisp_update’: gui.c:2387:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] conc_callback(pd->conc[deftile],(gpointer)(deftile | 128)); ^ gui.c:2393:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] conc_callback(pd->conc[deftile],(gpointer)(deftile | 128)); ^ gui.c:2505:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] conc_callback(pdisps[0].conc[deftile],(gpointer)(deftile | 128)); ^ gui.c:2345:11: warning: variable ‘emptyset’ set but not used [-Wunused-but-set-variable] TileSet emptyset; ^~~~~~~~ gui.c: In function ‘playerdisp_discard’: gui.c:2959:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] anim.t = (int) gtk_object_get_user_data(GTK_OBJECT(b)); ^ gui.c: In function ‘open_connection’: gui.c:3146:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int mode = (int)data; ^ gui.c: In function ‘destroy_display’: gui.c:4797:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if ( messagewindow ) gtk_widget_destroy(messagewindow); messagewindow = NULL; ^~ gui.c:4797:59: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ if ( messagewindow ) gtk_widget_destroy(messagewindow); messagewindow = NULL; ^~~~~~~~~~~~~ gui.c:4798:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if ( status_window ) gtk_widget_destroy(status_window); status_window = NULL; ^~ gui.c:4798:59: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ if ( status_window ) gtk_widget_destroy(status_window); status_window = NULL; ^~~~~~~~~~~~~ gui.c:4799:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if ( textwindow ) gtk_widget_destroy(textwindow); textwindow = NULL; ^~ gui.c:4799:53: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ if ( textwindow ) gtk_widget_destroy(textwindow); textwindow = NULL; ^~~~~~~~~~ gui.c:4800:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if ( warningwindow ) gtk_widget_destroy(warningwindow); warningwindow = NULL; ^~ gui.c:4800:59: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ if ( warningwindow ) gtk_widget_destroy(warningwindow); warningwindow = NULL; ^~~~~~~~~~~~~ gui.c: In function ‘change_tile_selection’: gui.c:4871:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] conc_callback(pdisps[0].conc[i],(gpointer)(i | 128)); ^ gcc -g -O2 -Wall `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='"/usr/share/mah-jong"' -DGTK2=1 -c -o gui-dial.o gui-dial.c gui-dial.c: In function ‘pbar_timeout’: gui-dial.c:159:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ( pbar_timeout_instance != (int) instance ) return FALSE; /* dead timeout */ ^ gui-dial.c: In function ‘discard_dialog_popup’: gui-dial.c:273:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_timeout_add(pinterval,pbar_timeout,(gpointer) ++pbar_timeout_instance); ^ gui-dial.c: In function ‘conc_callback’: gui-dial.c:552:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ( active ) index = ((int)data)& 127; ^ gui-dial.c:553:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] force = (w && (((int)data) & 128)); ^ gui-dial.c:549:21: warning: variable ‘selected’ set but not used [-Wunused-but-set-variable] static GtkWidget *selected = NULL; /* for radiogroup functionality */ ^~~~~~~~ gui-dial.c: In function ‘turn_callback’: gui-dial.c:682:3: warning: case value ‘1000050’ not in enumerated type ‘PlayerMsgType {aka enum }’ [-Wswitch] case PMsgDiscard+1000000: ^~~~ gui-dial.c: In function ‘disc_callback’: gui-dial.c:715:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ( (gint32) data) { ^ gui-dial.c: In function ‘chow_dialog_init’: gui-dial.c:799:61: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] tilesetbox_init(&chowtsbs[i],0,GTK_SIGNAL_FUNC(do_chow),(gpointer)i); ^ In file included from /usr/include/gtk-2.0/gtk/gtkcalendar.h:40:0, from /usr/include/gtk-2.0/gtk/gtk.h:53, from gui.h:17, from gui-dial.c:17: gui-dial.c:817:73: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_signal_connect(GTK_OBJECT(v),"clicked",GTK_SIGNAL_FUNC(do_chow),(gpointer)i); ^ /usr/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro ‘gtk_signal_connect’ gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) ^~~~~~~~~ gui-dial.c: In function ‘openbut_callback’: gui-dial.c:1145:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ( (int)data ) { ^ gui-dial.c:1165:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] gtk_widget_set_sensitive(openplayeroptionboxes[((int)data)-10],active); ^ In file included from /usr/include/gtk-2.0/gtk/gtkcalendar.h:40:0, from /usr/include/gtk-2.0/gtk/gtk.h:53, from gui.h:17, from gui-dial.c:17: gui-dial.c: In function ‘open_dialog_init’: gui-dial.c:1311:83: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_signal_connect(GTK_OBJECT(w1),"toggled",GTK_SIGNAL_FUNC(openbut_callback),(gpointer)(10+i)); ^ /usr/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro ‘gtk_signal_connect’ gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) ^~~~~~~~~ gui-dial.c: In function ‘open_dialog_popup’: gui-dial.c:1403:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ( (int)data == 1 ) new = 1; ^ gui-dial.c:1404:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ( (int)data == 0 ) join = 1; ^ gui-dial.c:1405:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ( (int)data == 2 ) resume = 1; ^ gui-dial.c:1415:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ( (int)data == -1 ) return; ^ gui-dial.c: In function ‘close_saving_posn’: gui-dial.c:1689:50: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_object_set_data(GTK_OBJECT(w),"position-x",(gpointer)x); ^ gui-dial.c:1690:50: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_object_set_data(GTK_OBJECT(w),"position-y",(gpointer)y); ^ gui-dial.c: In function ‘dialog_popup’: gui-dial.c:3653:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (gint)gtk_object_get_data(GTK_OBJECT(dialog),"position-x"), ^ gui-dial.c:3654:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (gint)gtk_object_get_data(GTK_OBJECT(dialog),"position-y")); ^ gui-dial.c:3734:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (gint)gtk_object_get_data(GTK_OBJECT(dialog),"position-x"), ^ gui-dial.c:3735:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (gint)gtk_object_get_data(GTK_OBJECT(dialog),"position-y")); ^ gui-dial.c: In function ‘showraise’: gui-dial.c:3995:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (gint)gtk_object_get_data(GTK_OBJECT(w),"position-x"), ^ gui-dial.c:3996:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (gint)gtk_object_get_data(GTK_OBJECT(w),"position-y")); ^ gui-dial.c: In function ‘nag_callback’: gui-dial.c:4060:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] nag_state = (int) data; ^ At top level: gui-dial.c:22:19: warning: ‘rcs_id’ defined but not used [-Wunused-const-variable=] static const char rcs_id[] = "$Header: /home/jcb/MahJong/newmj/RCS/gui-dial.c,v 12.3 2011/08/28 11:53:36 jcb Exp $"; ^~~~~~ gcc -g -O2 -Wall `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='"/usr/share/mah-jong"' -DGTK2=1 -c -o client.o client.c client.c:20:19: warning: ‘rcs_id’ defined but not used [-Wunused-const-variable=] static const char rcs_id[] = "$Header: /home/jcb/MahJong/newmj/RCS/client.c,v 12.0 2009/06/28 20:43:12 jcb Rel $"; ^~~~~~ gcc -g -O2 -Wall `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='"/usr/share/mah-jong"' -DGTK2=1 -c -o lazyfixed.o lazyfixed.c lazyfixed.c: In function ‘lazy_fixed_class_init’: lazyfixed.c:63:19: warning: variable ‘widget_class’ set but not used [-Wunused-but-set-variable] GtkWidgetClass *widget_class; ^~~~~~~~~~~~ lazyfixed.c:62:19: warning: variable ‘object_class’ set but not used [-Wunused-but-set-variable] GtkObjectClass *object_class; ^~~~~~~~~~~~ gcc -g -O2 -Wall `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='"/usr/share/mah-jong"' -DGTK2=1 -c -o vlazyfixed.o vlazyfixed.c vlazyfixed.c: In function ‘vlazy_fixed_class_init’: vlazyfixed.c:64:19: warning: variable ‘widget_class’ set but not used [-Wunused-but-set-variable] GtkWidgetClass *widget_class; ^~~~~~~~~~~~ vlazyfixed.c:63:19: warning: variable ‘object_class’ set but not used [-Wunused-but-set-variable] GtkObjectClass *object_class; ^~~~~~~~~~~~ gcc -g -O2 -Wall `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='"/usr/share/mah-jong"' -DGTK2=1 -c -o player.o player.c player.c:17:19: warning: ‘rcs_id’ defined but not used [-Wunused-const-variable=] static const char rcs_id[] = "$Header: /home/jcb/MahJong/newmj/RCS/player.c,v 12.0 2009/06/28 20:43:13 jcb Rel $"; ^~~~~~ gcc -g -O2 -Wall `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='"/usr/share/mah-jong"' -DGTK2=1 -c -o tiles.o tiles.c tiles.c:17:19: warning: ‘rcs_id’ defined but not used [-Wunused-const-variable=] static const char rcs_id[] = "$Header: /home/jcb/MahJong/newmj/RCS/tiles.c,v 12.0 2009/06/28 20:43:13 jcb Rel $"; ^~~~~~ gcc -g -O2 -Wall `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='"/usr/share/mah-jong"' -DGTK2=1 -c -o fbtiles.o fbtiles.c gcc -g -O2 -Wall `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='"/usr/share/mah-jong"' -DGTK2=1 -c -o protocol.o protocol.c In file included from protocol.c:227:0: cmsg_size.c:2:1: warning: overflow in implicit constant conversion [-Woverflow] -sizeof(CMsgErrorMsg), ^ cmsg_size.c:3:1: warning: overflow in implicit constant conversion [-Woverflow] -sizeof(CMsgInfoTilesMsg), ^ cmsg_size.c:4:1: warning: overflow in implicit constant conversion [-Woverflow] -sizeof(CMsgStateSavedMsg), ^ cmsg_size.c:12:1: warning: overflow in implicit constant conversion [-Woverflow] -sizeof(CMsgConnectReplyMsg), ^ cmsg_size.c:14:1: warning: overflow in implicit constant conversion [-Woverflow] -sizeof(CMsgAuthReqdMsg), ^ cmsg_size.c:15:1: warning: overflow in implicit constant conversion [-Woverflow] -sizeof(CMsgRedirectMsg), ^ cmsg_size.c:22:1: warning: overflow in implicit constant conversion [-Woverflow] -sizeof(CMsgPlayerMsg), ^ cmsg_size.c:38:1: warning: overflow in implicit constant conversion [-Woverflow] -sizeof(CMsgStopPlayMsg), ^ cmsg_size.c:39:1: warning: overflow in implicit constant conversion [-Woverflow] -sizeof(CMsgPauseMsg), ^ cmsg_size.c:53:1: warning: overflow in implicit constant conversion [-Woverflow] -sizeof(CMsgClaimDeniedMsg), ^ cmsg_size.c:101:1: warning: overflow in implicit constant conversion [-Woverflow] -sizeof(CMsgWashOutMsg), ^ cmsg_size.c:107:1: warning: overflow in implicit constant conversion [-Woverflow] -sizeof(CMsgPlayerShowsTilesMsg), ^ cmsg_size.c:108:1: warning: overflow in implicit constant conversion [-Woverflow] -sizeof(CMsgPlayerSpecialSetMsg), ^ cmsg_size.c:109:1: warning: overflow in implicit constant conversion [-Woverflow] -sizeof(CMsgPlayerFormsClosedSpecialSetMsg), ^ cmsg_size.c:112:1: warning: overflow in implicit constant conversion [-Woverflow] -sizeof(CMsgPlayerOptionSetMsg), ^ cmsg_size.c:117:1: warning: overflow in implicit constant conversion [-Woverflow] -sizeof(CMsgHandScoreMsg), ^ cmsg_size.c:122:1: warning: overflow in implicit constant conversion [-Woverflow] -sizeof(CMsgSettlementMsg), ^ cmsg_size.c:402:1: warning: overflow in implicit constant conversion [-Woverflow] -sizeof(CMsgMessageMsg), ^ cmsg_size.c:902:1: warning: overflow in implicit constant conversion [-Woverflow] -sizeof(CMsgWallMsg), ^ cmsg_size.c:1001:1: warning: overflow in implicit constant conversion [-Woverflow] -sizeof(CMsgCommentMsg), ^ In file included from protocol.c:228:0: pmsg_size.c:3:1: warning: overflow in implicit constant conversion [-Woverflow] -sizeof(PMsgSaveStateMsg), ^ pmsg_size.c:4:1: warning: overflow in implicit constant conversion [-Woverflow] -sizeof(PMsgLoadStateMsg), ^ pmsg_size.c:12:1: warning: overflow in implicit constant conversion [-Woverflow] -sizeof(PMsgConnectMsg), ^ pmsg_size.c:14:1: warning: overflow in implicit constant conversion [-Woverflow] -sizeof(PMsgAuthInfoMsg), ^ pmsg_size.c:15:1: warning: overflow in implicit constant conversion [-Woverflow] -sizeof(PMsgNewAuthInfoMsg), ^ pmsg_size.c:38:1: warning: overflow in implicit constant conversion [-Woverflow] -sizeof(PMsgRequestPauseMsg), ^ pmsg_size.c:112:1: warning: overflow in implicit constant conversion [-Woverflow] -sizeof(PMsgSetPlayerOptionMsg), ^ pmsg_size.c:302:1: warning: overflow in implicit constant conversion [-Woverflow] -sizeof(PMsgSetGameOptionMsg), ^ pmsg_size.c:402:1: warning: overflow in implicit constant conversion [-Woverflow] -sizeof(PMsgSendMessageMsg), ^ protocol.c:17:19: warning: ‘rcs_id’ defined but not used [-Wunused-const-variable=] static const char rcs_id[] = "$Header: /home/jcb/MahJong/newmj/RCS/protocol.c,v 12.0 2009/06/28 20:43:13 jcb Rel $"; ^~~~~~ gcc -g -O2 -Wall `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='"/usr/share/mah-jong"' -DGTK2=1 -c -o game.o game.c game.c: In function ‘game_get_option_value’: game.c:238:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (void *) goe->value.optint; ^ game.c: In function ‘game_handle_cmsg’: game.c:320:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ( (int)game_get_option_value(g,GOSevenPairs,NULL) ) ^ game.c:1429:20: warning: comparison of constant ‘4’ with boolean expression is always false [-Wbool-compare] if ( ! g->state == Discarded ) { ^~ game.c:1429:20: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] At top level: game.c:17:19: warning: ‘rcs_id’ defined but not used [-Wunused-const-variable=] static const char rcs_id[] = "$Header: /home/jcb/MahJong/newmj/RCS/game.c,v 12.1 2011/08/28 11:40:13 jcb Exp $"; ^~~~~~ gcc -g -O2 -Wall `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='"/usr/share/mah-jong"' -DGTK2=1 -c -o sysdep.o sysdep.c sysdep.c: In function ‘set_up_listening_socket’: sysdep.c:316:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (SOCKET) skt_open_transform(sfd); ^ sysdep.c: In function ‘accept_new_connection’: sysdep.c:345:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (SOCKET) skt_open_transform(newfd); ^ sysdep.c: In function ‘_connect_to_host’: sysdep.c:455:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (SOCKET) skt_open_transform(fd); ^ sysdep.c: In function ‘_close_socket’: sysdep.c:473:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return skt_closer((void *)s); ^ sysdep.c: In function ‘_get_line’: sysdep.c:515:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (skt_reader ? skt_reader((void *)fd,buffer+offset,1) ^ sysdep.c: In function ‘_put_line_aux’: sysdep.c:581:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] n = skt_writer ? skt_writer((void *)fd,line,length) ^ At top level: sysdep.c:24:19: warning: ‘rcs_id’ defined but not used [-Wunused-const-variable=] static const char rcs_id[] = "$Header: /home/jcb/MahJong/newmj/RCS/sysdep.c,v 12.1 2009/07/10 14:46:14 jcb Rel $"; ^~~~~~ rm -f xmj gcc -o xmj -g -O2 -Wall gui.o gui-dial.o client.o lazyfixed.o vlazyfixed.o player.o tiles.o fbtiles.o protocol.o game.o sysdep.o -lgtk-x11-2.0 -lgdk-x11-2.0 -lgobject-2.0 -lglib-2.0 -lm gcc -g -O2 -Wall `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='"/usr/share/mah-jong"' -DGTK2=1 -c -o controller.o controller.c controller.c: In function ‘handle_pmsg’: controller.c:604:32: warning: variable ‘seat’ set but not used [-Wunused-but-set-variable] PlayerP p; int id; seats seat; ^~~~ controller.c:604:15: warning: variable ‘p’ set but not used [-Wunused-but-set-variable] PlayerP p; int id; seats seat; ^ controller.c:632:32: warning: variable ‘seat’ set but not used [-Wunused-but-set-variable] PlayerP p; int id; seats seat; ^~~~ controller.c:632:15: warning: variable ‘p’ set but not used [-Wunused-but-set-variable] PlayerP p; int id; seats seat; ^ controller.c:696:32: warning: variable ‘seat’ set but not used [-Wunused-but-set-variable] PlayerP p; int id; seats seat; ^~~~ controller.c:695:20: warning: variable ‘em’ set but not used [-Wunused-but-set-variable] CMsgErrorMsg em; ^~ controller.c:1188:32: warning: variable ‘seat’ set but not used [-Wunused-but-set-variable] PlayerP p; int id; seats seat; ^~~~ controller.c:1188:15: warning: variable ‘p’ set but not used [-Wunused-but-set-variable] PlayerP p; int id; seats seat; ^ controller.c:1319:15: warning: variable ‘p’ set but not used [-Wunused-but-set-variable] PlayerP p; int id; seats seat; ^ controller.c:1357:32: warning: variable ‘seat’ set but not used [-Wunused-but-set-variable] PlayerP p; int id; seats seat; ^~~~ controller.c:1444:32: warning: variable ‘seat’ set but not used [-Wunused-but-set-variable] PlayerP p; int id; seats seat; ^~~~ controller.c:1476:32: warning: variable ‘seat’ set but not used [-Wunused-but-set-variable] PlayerP p; int id; seats seat; ^~~~ controller.c:1476:15: warning: variable ‘p’ set but not used [-Wunused-but-set-variable] PlayerP p; int id; seats seat; ^ controller.c:1780:32: warning: variable ‘seat’ set but not used [-Wunused-but-set-variable] PlayerP p; int id; seats seat; ^~~~ controller.c:1780:15: warning: variable ‘p’ set but not used [-Wunused-but-set-variable] PlayerP p; int id; seats seat; ^ controller.c:1891:32: warning: variable ‘seat’ set but not used [-Wunused-but-set-variable] PlayerP p; int id; seats seat; ^~~~ controller.c:1891:15: warning: variable ‘p’ set but not used [-Wunused-but-set-variable] PlayerP p; int id; seats seat; ^ controller.c:1912:32: warning: variable ‘seat’ set but not used [-Wunused-but-set-variable] PlayerP p; int id; seats seat; ^~~~ controller.c:1912:15: warning: variable ‘p’ set but not used [-Wunused-but-set-variable] PlayerP p; int id; seats seat; ^ controller.c:1959:32: warning: variable ‘seat’ set but not used [-Wunused-but-set-variable] PlayerP p; int id; seats seat; ^~~~ controller.c:1995:32: warning: variable ‘seat’ set but not used [-Wunused-but-set-variable] PlayerP p; int id; seats seat; ^~~~ controller.c:2042:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ( (int)game_get_option_value(the_game,GOSevenPairs,NULL) ) ^ controller.c:2031:32: warning: variable ‘seat’ set but not used [-Wunused-but-set-variable] PlayerP p; int id; seats seat; ^~~~ controller.c:2092:15: warning: variable ‘p’ set but not used [-Wunused-but-set-variable] PlayerP p; int id; ^ controller.c:2307:32: warning: variable ‘seat’ set but not used [-Wunused-but-set-variable] PlayerP p; int id; seats seat; ^~~~ controller.c: In function ‘start_hand’: controller.c:2628:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] random_tiles(g->wall.tiles,(int)game_get_option_value(g,GOFlowers,NULL)); ^ controller.c: In function ‘score_hand’: controller.c:3307:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] eastdoubles = (bool) game_get_option_value(g,GOEastDoubles,NULL); ^ controller.c:3308:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] loserssettle = (bool) game_get_option_value(g,GOLosersSettle,NULL); ^ controller.c:3309:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] discarderdoubles = (bool) game_get_option_value(g,GODiscDoubles,NULL); ^ controller.c:3413:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] && gextras(g)->completed_rounds == (int)game_get_option_value(g,GONumRounds,NULL) - 1 ) // it's the last round ^ controller.c: In function ‘washout’: controller.c:3440:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ( (bool) game_get_option_value(the_game,GOShowOnWashout,NULL) ) { ^ controller.c: In function ‘get_timeout_time’: controller.c:3837:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return ((int)game_get_option_value(g,GOTimeout,NULL)) ^ controller.c:3838:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + (localtimeouts ? (int)game_get_option_value(g,GOTimeoutGrace,NULL) : 0); ^ At top level: controller.c:22:19: warning: ‘rcs_id’ defined but not used [-Wunused-const-variable=] static const char rcs_id[] = "$Header: /home/jcb/MahJong/newmj/RCS/controller.c,v 12.0 2009/06/28 20:43:12 jcb Rel $"; ^~~~~~ gcc -g -O2 -Wall `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='"/usr/share/mah-jong"' -DGTK2=1 -c -o scoring.o scoring.c scoring.c: In function ‘score_of_tileset’: scoring.c:35:15: warning: variable ‘buf’ set but not used [-Wunused-but-set-variable] static char buf[100]; ^~~ scoring.c: In function ‘score_of_hand’: scoring.c:138:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] limit = (int)game_get_option_value(g,GOScoreLimit,NULL); ^ scoring.c:139:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] nolimit = (int)game_get_option_value(g,GONoLimit,NULL); ^ scoring.c:211:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] doscore("basic",(int)game_get_option_value(g,GOMahJongScore,NULL), ^ scoring.c:159:12: note: in definition of macro ‘doscore’ pts = (score) % 10000; \ ^~~~~ scoring.c:211:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] doscore("basic",(int)game_get_option_value(g,GOMahJongScore,NULL), ^ scoring.c:160:14: note: in definition of macro ‘doscore’ dbls = ((score) / 10000) % 100; \ ^~~~~ scoring.c:211:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] doscore("basic",(int)game_get_option_value(g,GOMahJongScore,NULL), ^ scoring.c:161:15: note: in definition of macro ‘doscore’ clims = ((score) / 1000000); \ ^~~~~ scoring.c:357:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] doscore("basic points",(int)game_get_option_value(g,GOSevenPairsVal,NULL),"seven pairs"); ^ scoring.c:159:12: note: in definition of macro ‘doscore’ pts = (score) % 10000; \ ^~~~~ scoring.c:357:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] doscore("basic points",(int)game_get_option_value(g,GOSevenPairsVal,NULL),"seven pairs"); ^ scoring.c:160:14: note: in definition of macro ‘doscore’ dbls = ((score) / 10000) % 100; \ ^~~~~ scoring.c:357:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] doscore("basic points",(int)game_get_option_value(g,GOSevenPairsVal,NULL),"seven pairs"); ^ scoring.c:161:15: note: in definition of macro ‘doscore’ clims = ((score) / 1000000); \ ^~~~~ scoring.c:459:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] doscore("",(int)game_get_option_value(g,GOFlowersOwnEach,NULL), ^ scoring.c:159:12: note: in definition of macro ‘doscore’ pts = (score) % 10000; \ ^~~~~ scoring.c:459:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] doscore("",(int)game_get_option_value(g,GOFlowersOwnEach,NULL), ^ scoring.c:160:14: note: in definition of macro ‘doscore’ dbls = ((score) / 10000) % 100; \ ^~~~~ scoring.c:459:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] doscore("",(int)game_get_option_value(g,GOFlowersOwnEach,NULL), ^ scoring.c:161:15: note: in definition of macro ‘doscore’ clims = ((score) / 1000000); \ ^~~~~ scoring.c:462:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] doscore("",(int)game_get_option_value(g,GOFlowersOwnEach,NULL), ^ scoring.c:159:12: note: in definition of macro ‘doscore’ pts = (score) % 10000; \ ^~~~~ scoring.c:462:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] doscore("",(int)game_get_option_value(g,GOFlowersOwnEach,NULL), ^ scoring.c:160:14: note: in definition of macro ‘doscore’ dbls = ((score) / 10000) % 100; \ ^~~~~ scoring.c:462:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] doscore("",(int)game_get_option_value(g,GOFlowersOwnEach,NULL), ^ scoring.c:161:15: note: in definition of macro ‘doscore’ clims = ((score) / 1000000); \ ^~~~~ scoring.c:465:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] doscore("",(int)game_get_option_value(g,GOFlowersOwnBoth,NULL), ^ scoring.c:159:12: note: in definition of macro ‘doscore’ pts = (score) % 10000; \ ^~~~~ scoring.c:465:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] doscore("",(int)game_get_option_value(g,GOFlowersOwnBoth,NULL), ^ scoring.c:160:14: note: in definition of macro ‘doscore’ dbls = ((score) / 10000) % 100; \ ^~~~~ scoring.c:465:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] doscore("",(int)game_get_option_value(g,GOFlowersOwnBoth,NULL), ^ scoring.c:161:15: note: in definition of macro ‘doscore’ clims = ((score) / 1000000); \ ^~~~~ scoring.c:468:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] doscore("",(int)game_get_option_value(g,GOFlowersBouquet,NULL), ^ scoring.c:159:12: note: in definition of macro ‘doscore’ pts = (score) % 10000; \ ^~~~~ scoring.c:468:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] doscore("",(int)game_get_option_value(g,GOFlowersBouquet,NULL), ^ scoring.c:160:14: note: in definition of macro ‘doscore’ dbls = ((score) / 10000) % 100; \ ^~~~~ scoring.c:468:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] doscore("",(int)game_get_option_value(g,GOFlowersBouquet,NULL), ^ scoring.c:161:15: note: in definition of macro ‘doscore’ clims = ((score) / 1000000); \ ^~~~~ scoring.c:471:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] doscore("",(int)game_get_option_value(g,GOFlowersBouquet,NULL), ^ scoring.c:159:12: note: in definition of macro ‘doscore’ pts = (score) % 10000; \ ^~~~~ scoring.c:471:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] doscore("",(int)game_get_option_value(g,GOFlowersBouquet,NULL), ^ scoring.c:160:14: note: in definition of macro ‘doscore’ dbls = ((score) / 10000) % 100; \ ^~~~~ scoring.c:471:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] doscore("",(int)game_get_option_value(g,GOFlowersBouquet,NULL), ^ scoring.c:161:15: note: in definition of macro ‘doscore’ clims = ((score) / 1000000); \ ^~~~~ scoring.c:525:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] doscore("",(int)game_get_option_value( ^ scoring.c:159:12: note: in definition of macro ‘doscore’ pts = (score) % 10000; \ ^~~~~ scoring.c:525:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] doscore("",(int)game_get_option_value( ^ scoring.c:160:14: note: in definition of macro ‘doscore’ dbls = ((score) / 10000) % 100; \ ^~~~~ scoring.c:525:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] doscore("",(int)game_get_option_value( ^ scoring.c:161:15: note: in definition of macro ‘doscore’ clims = ((score) / 1000000); \ ^~~~~ scoring.c:553:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] doscore("",(int)game_get_option_value( ^ scoring.c:159:12: note: in definition of macro ‘doscore’ pts = (score) % 10000; \ ^~~~~ scoring.c:553:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] doscore("",(int)game_get_option_value( ^ scoring.c:160:14: note: in definition of macro ‘doscore’ dbls = ((score) / 10000) % 100; \ ^~~~~ scoring.c:553:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] doscore("",(int)game_get_option_value( ^ scoring.c:161:15: note: in definition of macro ‘doscore’ clims = ((score) / 1000000); \ ^~~~~ scoring.c:557:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] doscore("",(int)game_get_option_value( ^ scoring.c:159:12: note: in definition of macro ‘doscore’ pts = (score) % 10000; \ ^~~~~ scoring.c:557:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] doscore("",(int)game_get_option_value( ^ scoring.c:160:14: note: in definition of macro ‘doscore’ dbls = ((score) / 10000) % 100; \ ^~~~~ scoring.c:557:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] doscore("",(int)game_get_option_value( ^ scoring.c:161:15: note: in definition of macro ‘doscore’ clims = ((score) / 1000000); \ ^~~~~ At top level: scoring.c:18:19: warning: ‘rcs_id’ defined but not used [-Wunused-const-variable=] static const char rcs_id[] = "$Header: /home/jcb/MahJong/newmj/RCS/scoring.c,v 12.0 2009/06/28 20:43:13 jcb Rel $"; ^~~~~~ rm -f mj-server gcc -o mj-server -g -O2 -Wall controller.o player.o tiles.o protocol.o game.o scoring.o sysdep.o gcc -g -O2 -Wall `pkg-config --cflags gtk+-2.0` -DTILESET='NULL' -DTILESETPATH='"/usr/share/mah-jong"' -DGTK2=1 -c -o greedy.o greedy.c greedy.c: In function ‘eval’: greedy.c:44:14: warning: comparison between ‘enum ’ and ‘TileWind {aka const enum }’ [-Wenum-compare] (suit_of(t) == our_player->wind || suit_of(t) == the_game->round))) ^ greedy.c:1030:12: note: in expansion of macro ‘is_doubler’ if ( is_doubler(tp[0]) ) val += (-strat->chowness) * magic2[0]; ^~~~~~~~~~ greedy.c:44:48: warning: comparison between ‘enum ’ and ‘TileWind {aka enum }’ [-Wenum-compare] (suit_of(t) == our_player->wind || suit_of(t) == the_game->round))) ^ greedy.c:1030:12: note: in expansion of macro ‘is_doubler’ if ( is_doubler(tp[0]) ) val += (-strat->chowness) * magic2[0]; ^~~~~~~~~~ greedy.c:44:14: warning: comparison between ‘enum ’ and ‘TileWind {aka const enum }’ [-Wenum-compare] (suit_of(t) == our_player->wind || suit_of(t) == the_game->round))) ^ greedy.c:1064:12: note: in expansion of macro ‘is_doubler’ if ( is_doubler(tp[0]) ) val += 2 - (strat->chowness)*4.0; ^~~~~~~~~~ greedy.c:44:48: warning: comparison between ‘enum ’ and ‘TileWind {aka enum }’ [-Wenum-compare] (suit_of(t) == our_player->wind || suit_of(t) == the_game->round))) ^ greedy.c:1064:12: note: in expansion of macro ‘is_doubler’ if ( is_doubler(tp[0]) ) val += 2 - (strat->chowness)*4.0; ^~~~~~~~~~ greedy.c:44:14: warning: comparison between ‘enum ’ and ‘TileWind {aka const enum }’ [-Wenum-compare] (suit_of(t) == our_player->wind || suit_of(t) == the_game->round))) ^ greedy.c:1196:8: note: in expansion of macro ‘is_doubler’ if ( is_doubler(tp[0]) ) { ^~~~~~~~~~ greedy.c:44:48: warning: comparison between ‘enum ’ and ‘TileWind {aka enum }’ [-Wenum-compare] (suit_of(t) == our_player->wind || suit_of(t) == the_game->round))) ^ greedy.c:1196:8: note: in expansion of macro ‘is_doubler’ if ( is_doubler(tp[0]) ) { ^~~~~~~~~~ greedy.c:958:16: warning: variable ‘mvalr’ set but not used [-Wunused-but-set-variable] pvalr = 0, mvalr = 0, valr = 0; ^~~~~ greedy.c:958:5: warning: variable ‘pvalr’ set but not used [-Wunused-but-set-variable] pvalr = 0, mvalr = 0, valr = 0; ^~~~~ greedy.c: In function ‘evalhand’: greedy.c:44:14: warning: comparison between ‘enum ’ and ‘TileWind {aka const enum }’ [-Wenum-compare] (suit_of(t) == our_player->wind || suit_of(t) == the_game->round))) ^ greedy.c:1328:12: note: in expansion of macro ‘is_doubler’ if ( is_doubler(p->tilesets[i].tile) ) sval += (-strat->chowness) * 6.0; ^~~~~~~~~~ greedy.c:44:48: warning: comparison between ‘enum ’ and ‘TileWind {aka enum }’ [-Wenum-compare] (suit_of(t) == our_player->wind || suit_of(t) == the_game->round))) ^ greedy.c:1328:12: note: in expansion of macro ‘is_doubler’ if ( is_doubler(p->tilesets[i].tile) ) sval += (-strat->chowness) * 6.0; ^~~~~~~~~~ At top level: greedy.c:18:19: warning: ‘rcs_id’ defined but not used [-Wunused-const-variable=] static const char rcs_id[] = "$Header: /home/jcb/MahJong/newmj/RCS/greedy.c,v 12.0 2009/06/28 20:43:12 jcb Rel $"; ^~~~~~ rm -f mj-player gcc -o mj-player -g -O2 -Wall greedy.o client.o player.o tiles.o protocol.o game.o sysdep.o make[1]: Leaving directory '/build/mah-jong-oSU2Dp/mah-jong-1.11' touch build-stamp fakeroot debian/rules binary-arch dh_testdir dh_testroot dh_prep dh_installdirs dh_installdirs: Compatibility levels before 9 are deprecated (level 8 in use) /usr/bin/make install DESTDIR=/build/mah-jong-oSU2Dp/mah-jong-1.11/debian/mah-jong/ BINDIR=usr/games INSTPGMFLAGS= make[1]: Entering directory '/build/mah-jong-oSU2Dp/mah-jong-1.11' + mkdir -p /build/mah-jong-oSU2Dp/mah-jong-1.11/debian/mah-jong/usr/games install -c mj-server /build/mah-jong-oSU2Dp/mah-jong-1.11/debian/mah-jong/usr/games/mj-server install -c mj-player /build/mah-jong-oSU2Dp/mah-jong-1.11/debian/mah-jong/usr/games/mj-player install -c xmj /build/mah-jong-oSU2Dp/mah-jong-1.11/debian/mah-jong/usr/games/xmj make[1]: Leaving directory '/build/mah-jong-oSU2Dp/mah-jong-1.11' /usr/bin/make install.man DESTDIR=/build/mah-jong-oSU2Dp/mah-jong-1.11/debian/mah-jong/ MANDIR=usr/share/man/man6 make[1]: Entering directory '/build/mah-jong-oSU2Dp/mah-jong-1.11' + mkdir -p /build/mah-jong-oSU2Dp/mah-jong-1.11/debian/mah-jong/usr/share/man/man6 install -c -m 0444 mj-server.man /build/mah-jong-oSU2Dp/mah-jong-1.11/debian/mah-jong/usr/share/man/man6/mj-server.6 install -c -m 0444 mj-player.man /build/mah-jong-oSU2Dp/mah-jong-1.11/debian/mah-jong/usr/share/man/man6/mj-player.6 install -c -m 0444 xmj.man /build/mah-jong-oSU2Dp/mah-jong-1.11/debian/mah-jong/usr/share/man/man6/xmj.6 make[1]: Leaving directory '/build/mah-jong-oSU2Dp/mah-jong-1.11' for tileset in fallbacktiles tiles-v1 tiles-numbered tiles-small; do \ install -d /build/mah-jong-oSU2Dp/mah-jong-1.11/debian/mah-jong/usr/share/mah-jong/${tileset}; \ install -m 644 ${tileset}/* /build/mah-jong-oSU2Dp/mah-jong-1.11/debian/mah-jong/usr/share/mah-jong/${tileset}; \ done dh_testdir dh_testroot dh_installdocs dh_installdocs: Compatibility levels before 9 are deprecated (level 8 in use) dh_installmenu dh_installmenu: Compatibility levels before 9 are deprecated (level 8 in use) dh_install debian/mah-jong.desktop usr/share/applications dh_install: Compatibility levels before 9 are deprecated (level 8 in use) dh_installchangelogs ChangeLog dh_strip dh_strip: Compatibility levels before 9 are deprecated (level 8 in use) dh_compress dh_fixperms dh_installdeb dh_installdeb: Compatibility levels before 9 are deprecated (level 8 in use) dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'mah-jong-dbgsym' in '../mah-jong-dbgsym_1.11-2+b2_amd64.deb'. dpkg-deb: building package 'mah-jong' in '../mah-jong_1.11-2+b2_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../mah-jong_1.11-2+b2_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build mah-jong-1.11 dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/mah-jong-oSU2Dp /tmp/mah-jong-1.11-2+b22m458m6i I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.B4XTRPAlnc... I: success in 371.5926 seconds md5: mah-jong-dbgsym_1.11-2+b2_amd64.deb: OK md5: mah-jong_1.11-2+b2_amd64.deb: OK sha1: mah-jong-dbgsym_1.11-2+b2_amd64.deb: OK sha1: mah-jong_1.11-2+b2_amd64.deb: OK sha256: mah-jong-dbgsym_1.11-2+b2_amd64.deb: OK sha256: mah-jong_1.11-2+b2_amd64.deb: OK Checksums: OK