DC-Build-Header: fairymax 4.8q-2 / Fri Jan 13 04:05:27 +0100 2012 Another build requested exclusive access to the build node sbuild (Debian sbuild) 0.62.2 (05 Apr 2011) on stremi-17.reims.grid5000.fr ╔══════════════════════════════════════════════════════════════════════════════╗ ║ fairymax 4.8q-2 (amd64) 13 Jan 2012 04:05 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: fairymax Version: 4.8q-2 Source Version: 4.8q-2 Distribution: lsid64b Architecture: amd64 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Update chroot │ └──────────────────────────────────────────────────────────────────────────────┘ Ign http://localhost sid InRelease Get:1 http://localhost sid Release.gpg [836 B] Get:2 http://localhost sid Release [188 kB] Ign http://localhost sid/main Sources/DiffIndex Ign http://localhost sid/main amd64 Packages/DiffIndex Ign http://localhost sid/main TranslationIndex Get:3 http://localhost sid/main Sources [7544 kB] Get:4 http://localhost sid/main amd64 Packages [10.4 MB] Ign http://localhost sid/main Translation-en Fetched 18.2 MB in 7s (2335 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following packages have been kept back: clang cpp-4.6 g++-4.6 gcc-4.6 gcc-4.6-base libgcc1 libgomp1 libquadmath0 libstdc++6 libstdc++6-4.6-dev 0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded. ┌──────────────────────────────────────────────────────────────────────────────┐ │ Fetch source files │ └──────────────────────────────────────────────────────────────────────────────┘ Check APT ───────── Checking available source versions... Download source files with APT ────────────────────────────── Reading package lists... Building dependency tree... Reading state information... NOTICE: 'fairymax' packaging is maintained in the 'Git' version control system at: git://git.debian.org/git/pkg-games/fairymax.git Need to get 38.6 kB of source archives. Get:1 http://localhost/debian/ sid/main fairymax 4.8q-2 (dsc) [1854 B] Get:2 http://localhost/debian/ sid/main fairymax 4.8q-2 (tar) [34.3 kB] Get:3 http://localhost/debian/ sid/main fairymax 4.8q-2 (diff) [2514 B] Fetched 38.6 kB in 0s (547 kB/s) Download complete and in download only mode Check arch ────────── Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package `sbuild-build-depends-core-dummy' in `/build/fairymax-EHnWoE/resolver-50R_zv/apt_archive/sbuild-build-depends-core-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install core build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: sbuild-build-depends-core-dummy 0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded. Need to get 0 B/702 B of archives. After this operation, 0 B of additional disk space will be used. WARNING: The following packages cannot be authenticated! sbuild-build-depends-core-dummy Authentication warning overridden. Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 10821 files and directories currently installed.) Unpacking sbuild-build-depends-core-dummy (from .../sbuild-build-depends-core-dummy.deb) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Cannot open /var/lib/schroot/mount/lsid64b-285d66d3-9466-4600-88eb-5ac9160c891a/etc/lsb-release: No such file or directory Merged Build-Depends: base-files, base-passwd, bash, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, ncurses-base, ncurses-bin, perl-base, sed, login, sysvinit-utils, sysvinit, tar, bsdutils, mount, util-linux, libc6-dev | libc-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>= 8) Filtered Build-Depends: base-files, base-passwd, bash, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, ncurses-base, ncurses-bin, perl-base, sed, login, sysvinit-utils, sysvinit, tar, bsdutils, mount, util-linux, libc6-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>= 8) dpkg-deb: building package `sbuild-build-depends-fairymax-dummy' in `/build/fairymax-EHnWoE/resolver-RS7DgG/apt_archive/sbuild-build-depends-fairymax-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install fairymax build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: bsdmainutils debhelper file gettext gettext-base groff-base html2text intltool-debian libcroco3 libglib2.0-0 libmagic1 libpcre3 libpipeline1 libunistring0 libxml2 man-db po-debconf Suggested packages: wamerican wordlist whois vacation dh-make gettext-doc groff www-browser libmail-box-perl Recommended packages: curl wget lynx-cur autopoint libglib2.0-data shared-mime-info xml-core libmail-sendmail-perl The following NEW packages will be installed: bsdmainutils debhelper file gettext gettext-base groff-base html2text intltool-debian libcroco3 libglib2.0-0 libmagic1 libpcre3 libpipeline1 libunistring0 libxml2 man-db po-debconf sbuild-build-depends-fairymax-dummy 0 upgraded, 18 newly installed, 0 to remove and 10 not upgraded. Need to get 9511 kB/9512 kB of archives. After this operation, 26.0 MB of additional disk space will be used. WARNING: The following packages cannot be authenticated! libpipeline1 libpcre3 libglib2.0-0 libxml2 libcroco3 libunistring0 bsdmainutils groff-base man-db libmagic1 file gettext-base html2text gettext intltool-debian po-debconf debhelper sbuild-build-depends-fairymax-dummy Authentication warning overridden. Get:1 http://localhost/debian/ sid/main libpipeline1 amd64 1.2.0-5 [38.2 kB] Get:2 http://localhost/debian/ sid/main libpcre3 amd64 8.12-4 [225 kB] Get:3 http://localhost/debian/ sid/main libglib2.0-0 amd64 2.30.2-4 [1844 kB] Get:4 http://localhost/debian/ sid/main libxml2 amd64 2.7.8.dfsg-5.1 [891 kB] Get:5 http://localhost/debian/ sid/main libcroco3 amd64 0.6.2-2 [122 kB] Get:6 http://localhost/debian/ sid/main libunistring0 amd64 0.9.3-5 [434 kB] Get:7 http://localhost/debian/ sid/main bsdmainutils amd64 8.2.3 [208 kB] Get:8 http://localhost/debian/ sid/main groff-base amd64 1.21-6 [1150 kB] Get:9 http://localhost/debian/ sid/main man-db amd64 2.6.0.2-3 [1015 kB] Get:10 http://localhost/debian/ sid/main libmagic1 amd64 5.09-2 [246 kB] Get:11 http://localhost/debian/ sid/main file amd64 5.09-2 [52.0 kB] Get:12 http://localhost/debian/ sid/main gettext-base amd64 0.18.1.1-5 [154 kB] Get:13 http://localhost/debian/ sid/main html2text amd64 1.3.2a-15 [103 kB] Get:14 http://localhost/debian/ sid/main gettext amd64 0.18.1.1-5 [2080 kB] Get:15 http://localhost/debian/ sid/main intltool-debian all 0.35.0+20060710.1 [30.8 kB] Get:16 http://localhost/debian/ sid/main po-debconf all 1.0.16+nmu2 [224 kB] Get:17 http://localhost/debian/ sid/main debhelper all 8.9.14 [693 kB] Preconfiguring packages ... Fetched 9511 kB in 0s (41.4 MB/s) Selecting previously unselected package libpipeline1. (Reading database ... 10821 files and directories currently installed.) Unpacking libpipeline1 (from .../libpipeline1_1.2.0-5_amd64.deb) ... Selecting previously unselected package libpcre3. Unpacking libpcre3 (from .../libpcre3_8.12-4_amd64.deb) ... Selecting previously unselected package libglib2.0-0. Unpacking libglib2.0-0 (from .../libglib2.0-0_2.30.2-4_amd64.deb) ... Selecting previously unselected package libxml2. Unpacking libxml2 (from .../libxml2_2.7.8.dfsg-5.1_amd64.deb) ... Selecting previously unselected package libcroco3. Unpacking libcroco3 (from .../libcroco3_0.6.2-2_amd64.deb) ... Selecting previously unselected package libunistring0. Unpacking libunistring0 (from .../libunistring0_0.9.3-5_amd64.deb) ... Selecting previously unselected package bsdmainutils. Unpacking bsdmainutils (from .../bsdmainutils_8.2.3_amd64.deb) ... Selecting previously unselected package groff-base. Unpacking groff-base (from .../groff-base_1.21-6_amd64.deb) ... Selecting previously unselected package man-db. Unpacking man-db (from .../man-db_2.6.0.2-3_amd64.deb) ... Selecting previously unselected package libmagic1. Unpacking libmagic1 (from .../libmagic1_5.09-2_amd64.deb) ... Selecting previously unselected package file. Unpacking file (from .../archives/file_5.09-2_amd64.deb) ... Selecting previously unselected package gettext-base. Unpacking gettext-base (from .../gettext-base_0.18.1.1-5_amd64.deb) ... Selecting previously unselected package html2text. Unpacking html2text (from .../html2text_1.3.2a-15_amd64.deb) ... Selecting previously unselected package gettext. Unpacking gettext (from .../gettext_0.18.1.1-5_amd64.deb) ... Selecting previously unselected package intltool-debian. Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ... Selecting previously unselected package po-debconf. Unpacking po-debconf (from .../po-debconf_1.0.16+nmu2_all.deb) ... Selecting previously unselected package debhelper. Unpacking debhelper (from .../debhelper_8.9.14_all.deb) ... Selecting previously unselected package sbuild-build-depends-fairymax-dummy. Unpacking sbuild-build-depends-fairymax-dummy (from .../sbuild-build-depends-fairymax-dummy.deb) ... Processing triggers for install-info ... Setting up libpipeline1 (1.2.0-5) ... Setting up libpcre3 (8.12-4) ... Setting up libglib2.0-0 (2.30.2-4) ... No schema files found: doing nothing. Setting up libxml2 (2.7.8.dfsg-5.1) ... Setting up libcroco3 (0.6.2-2) ... Setting up libunistring0 (0.9.3-5) ... Setting up bsdmainutils (8.2.3) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode. update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode. Setting up groff-base (1.21-6) ... Setting up man-db (2.6.0.2-3) ... Building database of manual pages ... Setting up libmagic1 (5.09-2) ... Setting up file (5.09-2) ... Setting up gettext-base (0.18.1.1-5) ... Setting up html2text (1.3.2a-15) ... Setting up gettext (0.18.1.1-5) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu2) ... Setting up debhelper (8.9.14) ... Setting up sbuild-build-depends-fairymax-dummy (0.invalid.0) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build environment │ └──────────────────────────────────────────────────────────────────────────────┘ Kernel: Linux 2.6.32-5-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.22-4 dpkg-dev_1.16.1.2 g++-4.6_4.6.2-9 gcc-4.6_4.6.2-9 libc6-dev_2.13-24 libstdc++6_4.6.2-9 libstdc++6-4.6-dev_4.6.2-9 linux-libc-dev_3.1.8-2 Package versions: apt_0.8.15.9 apt-utils_0.8.15.9 base-files_6.5 base-passwd_3.5.24 bash_4.2-1 binutils_2.22-4 bsdmainutils_8.2.3 bsdutils_1:2.20.1-1.1 build-essential_11.5 bzip2_1.0.6-1 clang_3.0-5 coreutils_8.13-3 cpp_4:4.6.2-4 cpp-4.6_4.6.2-9 dash_0.5.7-2 debconf_1.5.41 debfoster_2.7-1.1 debhelper_8.9.14 debian-archive-keyring_2010.08.28 debianutils_4.1 diffutils_1:3.2-1 dpkg_1.16.1.2 dpkg-dev_1.16.1.2 e2fslibs_1.42-1 e2fsprogs_1.42-1 fakeroot_1.18.2-1 file_5.09-2 findutils_4.4.2-4 g++_4:4.6.2-4 g++-4.6_4.6.2-9 gcc_4:4.6.2-4 gcc-4.6_4.6.2-9 gcc-4.6-base_4.6.2-9 gettext_0.18.1.1-5 gettext-base_0.18.1.1-5 gnupg_1.4.11-3 gpgv_1.4.11-3 grep_2.10-1 groff-base_1.21-6 gzip_1.4-2 hostname_3.09 html2text_1.3.2a-15 initscripts_2.88dsf-18 insserv_1.14.0-2.1 install-info_4.13a.dfsg.1-8 intltool-debian_0.35.0+20060710.1 less_444-1 libacl1_2.2.51-5 libattr1_1:2.4.46-5 libblkid1_2.20.1-1.1 libbz2-1.0_1.0.6-1 libc-bin_2.13-24 libc-dev-bin_2.13-24 libc6_2.13-24 libc6-dev_2.13-24 libclang-common-dev_3.0-5 libclass-isa-perl_0.36-3 libcomerr2_1.42-1 libcroco3_0.6.2-2 libdb5.1_5.1.29-1 libdpkg-perl_1.16.1.2 libffi5_3.0.10-3 libgc1c2_1:7.1-8 libgcc1_1:4.6.2-9 libgdbm3_1.8.3-10 libglib2.0-0_2.30.2-4 libgmp10_2:5.0.2+dfsg-2 libgomp1_4.6.2-9 libllvm3.0_3.0-5 liblzma2_5.1.1alpha+20110809-2 liblzma5_5.1.1alpha+20110809-3 libmagic1_5.09-2 libmount1_2.20.1-1.1 libmpc2_0.9-4 libmpfr4_3.1.0-3 libncurses5_5.9-4 libncursesw5_5.9-4 libpam-modules_1.1.3-6 libpam-modules-bin_1.1.3-6 libpam-runtime_1.1.3-6 libpam0g_1.1.3-6 libpcre3_8.12-4 libpipeline1_1.2.0-5 libquadmath0_4.6.2-9 libreadline6_6.2-8 libselinux1_2.1.0-4 libsepol1_2.1.0-1.2 libslang2_2.2.4-5 libss2_1.42-1 libstdc++6_4.6.2-9 libstdc++6-4.6-dev_4.6.2-9 libswitch-perl_2.16-2 libtimedate-perl_1.2000-1 libtinfo5_5.9-4 libunistring0_0.9.3-5 libusb-0.1-4_2:0.1.12-20 libuuid1_2.20.1-1.1 libxml2_2.7.8.dfsg-5.1 linux-libc-dev_3.1.8-2 login_1:4.1.4.2+svn3283-3 lsb-base_3.2-28 make_3.81-8.1 man-db_2.6.0.2-3 mawk_1.3.3-16 mount_2.20.1-1.1 multiarch-support_2.13-24 ncurses-base_5.9-4 ncurses-bin_5.9-4 nvi_1.81.6-8.2 passwd_1:4.1.4.2+svn3283-3 patch_2.6.1-2 perl_5.14.2-6 perl-base_5.14.2-6 perl-modules_5.14.2-6 po-debconf_1.0.16+nmu2 readline-common_6.2-8 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-fairymax-dummy_0.invalid.0 sed_4.2.1-9 sensible-utils_0.0.6 sysv-rc_2.88dsf-18 sysvinit_2.88dsf-18 sysvinit-utils_2.88dsf-18 tar_1.26-4 tzdata_2011n-2 util-linux_2.20.1-1.1 xz-utils_5.1.1alpha+20110809-3 zlib1g_1:1.2.3.4.dfsg-3 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build │ └──────────────────────────────────────────────────────────────────────────────┘ Unpack source ───────────── gpgv: keyblock resource `/var/lib/sbuild/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Mon Mar 14 20:47:45 2011 CET using RSA key ID DD347DC8 gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./fairymax_4.8q-2.dsc dpkg-source: info: extracting fairymax in fairymax-4.8q dpkg-source: info: unpacking fairymax_4.8q.orig.tar.gz dpkg-source: info: unpacking fairymax_4.8q-2.debian.tar.gz Check disc space ──────────────── Sufficient free space for build dpkg-buildpackage ───────────────── dpkg-buildpackage: source package fairymax dpkg-buildpackage: source version 4.8q-2 dpkg-source --before-build fairymax-4.8q dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh clean dh_testdir dh_auto_clean make[1]: Entering directory `/build/fairymax-EHnWoE/fairymax-4.8q' rm -f fairymax shamax maxqi fairymax.6.gz make[1]: Leaving directory `/build/fairymax-EHnWoE/fairymax-4.8q' dh_clean dpkg-source -b fairymax-4.8q dpkg-source: info: using source format `3.0 (quilt)' dpkg-source: info: building fairymax using existing ./fairymax_4.8q.orig.tar.gz dpkg-source: info: building fairymax in fairymax_4.8q-2.debian.tar.gz dpkg-source: info: building fairymax in fairymax_4.8q-2.dsc debian/rules build dh build dh_testdir dh_auto_configure dh_auto_build make[1]: Entering directory `/build/fairymax-EHnWoE/fairymax-4.8q' gcc -O2 -DINI_FILE=\"/usr/share/games/fairymax/fmax.ini\" fairymax.c -o fairymax fairymax.c:131:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] pboard() ^~~~~~ fairymax.c:134:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ fairymax.c:137:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] D(k,q,l,e,E,z,n) /* recursive minimax search, k=moving side, n=depth*/ ^ fairymax.c:146:13: warning: '&' within '|' [-Wbitwise-op-parentheses] if(a->K-Z|z&S | /* miss: other pos. or empty*/ ~~^~ fairymax.c:146:13: note: place parentheses around the '&' expression to silence this warning if(a->K-Z|z&S | /* miss: other pos. or empty*/ ^ ( ) fairymax.c:147:11: warning: '&' within '|' [-Wbitwise-op-parentheses] !(m<=q|X&8&&m>=l|X&S)) /* or window incompatible */ ~~^~ fairymax.c:147:11: note: place parentheses around the '&' expression to silence this warning !(m<=q|X&8&&m>=l|X&S)) /* or window incompatible */ ^ ( ) fairymax.c:147:21: warning: '&' within '|' [-Wbitwise-op-parentheses] !(m<=q|X&8&&m>=l|X&S)) /* or window incompatible */ ~~^~ fairymax.c:147:21: note: place parentheses around the '&' expression to silence this warning !(m<=q|X&8&&m>=l|X&S)) /* or window incompatible */ ^ ( ) fairymax.c:151:13: warning: '&&' within '||' [-Wlogical-op-parentheses] z&S&&K==I&&(GetTickCount()-Ticks=BW)break; /* board edge hit */ ~^~~ fairymax.c:170:11: note: place parentheses around the '&' expression to silence this warning if(y&S|(y&15)>=BW)break; /* board edge hit */ ^ ( ) fairymax.c:185:13: warning: & has lower precedence than !=; != will be evaluated first [-Wparentheses] t>>3&kk!=H&kk!=S||(kk=H,i=-i,0)))m=I,d=98;/* or duple check: cutoff*/ ^~~~~~ fairymax.c:185:13: note: place parentheses around the != expression to silence this warning t>>3&kk!=H&kk!=S||(kk=H,i=-i,0)))m=I,d=98;/* or duple check: cutoff*/ ^ ( ) fairymax.c:185:13: note: place parentheses around the & expression to evaluate it first t>>3&kk!=H&kk!=S||(kk=H,i=-i,0)))m=I,d=98;/* or duple check: cutoff*/ ^ ( ) fairymax.c:210:15: warning: | has lower precedence than <; < will be evaluated first [-Wparentheses] C=R2&& /* no P & no lateral K move,*/ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fairymax.c:258:13: note: place parentheses around the '&&' expression to silence this warning p>2&& /* no P & no lateral K move,*/ ^ fairymax.c:270:14: warning: | has lower precedence than ==; == will be evaluated first [-Wparentheses] C:FMAX( m=m+I|P==I?m:(X=Y=0); ) /* if stalemate, draw-score */ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fairymax.c:67:21: note: expanded from: # define FMAX(x) x ^ fairymax.c:270:14: note: place parentheses around the == expression to silence this warning C:FMAX( m=m+I|P==I?m:(X=Y=0); ) /* if stalemate, draw-score */ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fairymax.c:67:21: note: expanded from: # define FMAX(x) x ^ fairymax.c:270:14: note: place parentheses around the | expression to evaluate it first C:FMAX( m=m+I|P==I?m:(X=Y=0); ) /* if stalemate, draw-score */ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fairymax.c:67:21: note: expanded from: # define FMAX(x) x ^ fairymax.c:368:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] InitEngine() ^~~~~~~~~~ fairymax.c:374:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ fairymax.c:376:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] InitGame() ^~~~~~~~ fairymax.c:400:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ fairymax.c:476:20: error: non-void function 'LoadGame' should return a value [-Wreturn-type] return; /* keep old settings */ ^ fairymax.c:501:100: warning: '/*' within block comment [-Wcomment] /* printf("# c='%c' i=%d od[i]=%d j=%d (%3d,%8x)\n",c?c:' ',i,od[i],j,o[j-1],of[j-1]); /**/ ^ fairymax.c:509:57: warning: data argument not used by format string [-Wformat-extra-args] printf(ptc == 1 ? "setup " : "setup (%s) ", pieceToChar); // setup board in GUI ~~~~~~~~ ^ fairymax.c:599:4: error: non-void function 'main' should return a value [-Wreturn-type] return; ^ fairymax.c:651:4: error: non-void function 'main' should return a value [-Wreturn-type] return; ^ fairymax.c:756:48: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!strcmp(command, "undo") && (nr=1) || ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ~~ fairymax.c:756:48: note: place parentheses around the '&&' expression to silence this warning if (!strcmp(command, "undo") && (nr=1) || ^ ( ) fairymax.c:757:48: warning: '&&' within '||' [-Wlogical-op-parentheses] !strcmp(command, "remove") && (nr=2) ) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ fairymax.c:757:48: note: place parentheses around the '&&' expression to silence this warning !strcmp(command, "remove") && (nr=2) ) { ^ ( ) fairymax.c:831:40: warning: '&&' within '||' [-Wlogical-op-parentheses] if(color==BLACK && m<0x10 && p==oo[m+16] || ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ~~ fairymax.c:831:40: note: place parentheses around the '&&' expression to silence this warning if(color==BLACK && m<0x10 && p==oo[m+16] || ^ ( ) fairymax.c:832:75: warning: '&&' within '||' [-Wlogical-op-parentheses] color==WHITE && m>0x6F && p==oo[m-0x70]) b[m] -= 32; ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ fairymax.c:832:75: note: place parentheses around the '&&' expression to silence this warning color==WHITE && m>0x6F && p==oo[m-0x70]) b[m] -= 32; ^ ( ) fairymax.c:836:88: warning: '&&' within '||' [-Wlogical-op-parentheses] if((m==0x00 || m==BW-1 ) && color==BLACK && p==oo[m+16] || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ~~ fairymax.c:836:88: note: place parentheses around the '&&' expression to silence this warning if((m==0x00 || m==BW-1 ) && color==BLACK && p==oo[m+16] || ^ ( ) fairymax.c:837:88: warning: '&&' within '||' [-Wlogical-op-parentheses] (m==0x70 || m==0x6F+BW) && color==WHITE && p==oo[m-0x70]) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ fairymax.c:837:88: note: place parentheses around the '&&' expression to silence this warning (m==0x70 || m==0x6F+BW) && color==WHITE && p==oo[m-0x70]) ^ ( ) fairymax.c:620:38: warning: array index of '2' indexes past the end of an array (that contains 2 elements) [-Warray-bounds] if (!strcmp(command, "p")) { ~~~~~~~~~~~~~~~~^~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:817:28: note: expanded from: : __strcmp_gc (s1, s2, __s2_len)) \ ^ /usr/include/x86_64-linux-gnu/bits/string2.h:906:26: note: expanded from: (__const char *) (s2))[2]); \ ^ ~ fairymax.c:620:38: warning: array index of '3' indexes past the end of an array (that contains 2 elements) [-Warray-bounds] if (!strcmp(command, "p")) { ~~~~~~~~~~~~~~~~^~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:817:28: note: expanded from: : __strcmp_gc (s1, s2, __s2_len)) \ ^ /usr/include/x86_64-linux-gnu/bits/string2.h:911:27: note: expanded from: (__const char *) (s2))[3]); \ ^ ~ fairymax.c:671:24: warning: array index of '3' indexes past the end of an array (that contains 3 elements) [-Warray-bounds] if (!strcmp(command, "st")) { ~~~~~~~~~~~~~~~~^~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:817:28: note: expanded from: : __strcmp_gc (s1, s2, __s2_len)) \ ^ /usr/include/x86_64-linux-gnu/bits/string2.h:911:27: note: expanded from: (__const char *) (s2))[3]); \ ^ ~ fairymax.c:680:24: warning: array index of '3' indexes past the end of an array (that contains 3 elements) [-Warray-bounds] if (!strcmp(command, "sd")) { ~~~~~~~~~~~~~~~~^~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:817:28: note: expanded from: : __strcmp_gc (s1, s2, __s2_len)) \ ^ /usr/include/x86_64-linux-gnu/bits/string2.h:911:27: note: expanded from: (__const char *) (s2))[3]); \ ^ ~ fairymax.c:737:24: warning: array index of '3' indexes past the end of an array (that contains 3 elements) [-Warray-bounds] if (!strcmp(command, "go")) { ~~~~~~~~~~~~~~~~^~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:817:28: note: expanded from: : __strcmp_gc (s1, s2, __s2_len)) \ ^ /usr/include/x86_64-linux-gnu/bits/string2.h:911:27: note: expanded from: (__const char *) (s2))[3]); \ ^ ~ 36 warnings and 3 errors generated. make[1]: *** [fairymax] Error 1 make[1]: Leaving directory `/build/fairymax-EHnWoE/fairymax-4.8q' dh_auto_build: make -j1 returned exit code 2 make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 ──────────────────────────────────────────────────────────────────────────────── Build finished at 20120113-0406 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /var/lib/schroot/mount/lsid64b-285d66d3-9466-4600-88eb-5ac9160c891a/build/fairymax-EHnWoE Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Architecture: amd64 Build-Space: 192 Build-Time: 1 Distribution: lsid64b Fail-Stage: build Install-Time: 7 Job: fairymax_4.8q-2 Package: fairymax Package-Time: 25 Source-Version: 4.8q-2 Space: 192 Status: attempted Version: 4.8q-2 ──────────────────────────────────────────────────────────────────────────────── Finished at 20120113-0406 Build needed 00:00:25, 192k disc space DC-Message: Failed, but took only 57.078665. Retrying, you never know. Another build requested exclusive access to the build node Another build requested exclusive access to the build node Another build requested exclusive access to the build node Another build requested exclusive access to the build node Another build requested exclusive access to the build node Another build requested exclusive access to the build node Requested exclusive mode, but other builds running. Requested exclusive mode, but other builds running. sbuild (Debian sbuild) 0.62.2 (05 Apr 2011) on stremi-17.reims.grid5000.fr ╔══════════════════════════════════════════════════════════════════════════════╗ ║ fairymax 4.8q-2 (amd64) 13 Jan 2012 04:10 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: fairymax Version: 4.8q-2 Source Version: 4.8q-2 Distribution: lsid64b Architecture: amd64 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Update chroot │ └──────────────────────────────────────────────────────────────────────────────┘ Ign http://localhost sid InRelease Get:1 http://localhost sid Release.gpg [836 B] Get:2 http://localhost sid Release [188 kB] Ign http://localhost sid/main Sources/DiffIndex Ign http://localhost sid/main amd64 Packages/DiffIndex Ign http://localhost sid/main TranslationIndex Get:3 http://localhost sid/main Sources [7544 kB] Get:4 http://localhost sid/main amd64 Packages [10.4 MB] Ign http://localhost sid/main Translation-en Fetched 18.2 MB in 4s (4202 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following packages have been kept back: clang cpp-4.6 g++-4.6 gcc-4.6 gcc-4.6-base libgcc1 libgomp1 libquadmath0 libstdc++6 libstdc++6-4.6-dev 0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded. ┌──────────────────────────────────────────────────────────────────────────────┐ │ Fetch source files │ └──────────────────────────────────────────────────────────────────────────────┘ Check APT ───────── Checking available source versions... Download source files with APT ────────────────────────────── Reading package lists... Building dependency tree... Reading state information... NOTICE: 'fairymax' packaging is maintained in the 'Git' version control system at: git://git.debian.org/git/pkg-games/fairymax.git Need to get 38.6 kB of source archives. Get:1 http://localhost/debian/ sid/main fairymax 4.8q-2 (dsc) [1854 B] Get:2 http://localhost/debian/ sid/main fairymax 4.8q-2 (tar) [34.3 kB] Get:3 http://localhost/debian/ sid/main fairymax 4.8q-2 (diff) [2514 B] Fetched 38.6 kB in 0s (3450 kB/s) Download complete and in download only mode Check arch ────────── Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package `sbuild-build-depends-core-dummy' in `/build/fairymax-xT6UXw/resolver-UI2oDY/apt_archive/sbuild-build-depends-core-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install core build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: sbuild-build-depends-core-dummy 0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded. Need to get 0 B/702 B of archives. After this operation, 0 B of additional disk space will be used. WARNING: The following packages cannot be authenticated! sbuild-build-depends-core-dummy Authentication warning overridden. Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 10821 files and directories currently installed.) Unpacking sbuild-build-depends-core-dummy (from .../sbuild-build-depends-core-dummy.deb) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Cannot open /var/lib/schroot/mount/lsid64b-ef13a745-25b1-467f-a437-2f445715a6b9/etc/lsb-release: No such file or directory Merged Build-Depends: base-files, base-passwd, bash, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, ncurses-base, ncurses-bin, perl-base, sed, login, sysvinit-utils, sysvinit, tar, bsdutils, mount, util-linux, libc6-dev | libc-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>= 8) Filtered Build-Depends: base-files, base-passwd, bash, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, ncurses-base, ncurses-bin, perl-base, sed, login, sysvinit-utils, sysvinit, tar, bsdutils, mount, util-linux, libc6-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>= 8) dpkg-deb: building package `sbuild-build-depends-fairymax-dummy' in `/build/fairymax-xT6UXw/resolver-a_rPXL/apt_archive/sbuild-build-depends-fairymax-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install fairymax build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: bsdmainutils debhelper file gettext gettext-base groff-base html2text intltool-debian libcroco3 libglib2.0-0 libmagic1 libpcre3 libpipeline1 libunistring0 libxml2 man-db po-debconf Suggested packages: wamerican wordlist whois vacation dh-make gettext-doc groff www-browser libmail-box-perl Recommended packages: curl wget lynx-cur autopoint libglib2.0-data shared-mime-info xml-core libmail-sendmail-perl The following NEW packages will be installed: bsdmainutils debhelper file gettext gettext-base groff-base html2text intltool-debian libcroco3 libglib2.0-0 libmagic1 libpcre3 libpipeline1 libunistring0 libxml2 man-db po-debconf sbuild-build-depends-fairymax-dummy 0 upgraded, 18 newly installed, 0 to remove and 10 not upgraded. Need to get 9511 kB/9512 kB of archives. After this operation, 26.0 MB of additional disk space will be used. WARNING: The following packages cannot be authenticated! libpipeline1 libpcre3 libglib2.0-0 libxml2 libcroco3 libunistring0 bsdmainutils groff-base man-db libmagic1 file gettext-base html2text gettext intltool-debian po-debconf debhelper sbuild-build-depends-fairymax-dummy Authentication warning overridden. Get:1 http://localhost/debian/ sid/main libpipeline1 amd64 1.2.0-5 [38.2 kB] Get:2 http://localhost/debian/ sid/main libpcre3 amd64 8.12-4 [225 kB] Get:3 http://localhost/debian/ sid/main libglib2.0-0 amd64 2.30.2-4 [1844 kB] Get:4 http://localhost/debian/ sid/main libxml2 amd64 2.7.8.dfsg-5.1 [891 kB] Get:5 http://localhost/debian/ sid/main libcroco3 amd64 0.6.2-2 [122 kB] Get:6 http://localhost/debian/ sid/main libunistring0 amd64 0.9.3-5 [434 kB] Get:7 http://localhost/debian/ sid/main bsdmainutils amd64 8.2.3 [208 kB] Get:8 http://localhost/debian/ sid/main groff-base amd64 1.21-6 [1150 kB] Get:9 http://localhost/debian/ sid/main man-db amd64 2.6.0.2-3 [1015 kB] Get:10 http://localhost/debian/ sid/main libmagic1 amd64 5.09-2 [246 kB] Get:11 http://localhost/debian/ sid/main file amd64 5.09-2 [52.0 kB] Get:12 http://localhost/debian/ sid/main gettext-base amd64 0.18.1.1-5 [154 kB] Get:13 http://localhost/debian/ sid/main html2text amd64 1.3.2a-15 [103 kB] Get:14 http://localhost/debian/ sid/main gettext amd64 0.18.1.1-5 [2080 kB] Get:15 http://localhost/debian/ sid/main intltool-debian all 0.35.0+20060710.1 [30.8 kB] Get:16 http://localhost/debian/ sid/main po-debconf all 1.0.16+nmu2 [224 kB] Get:17 http://localhost/debian/ sid/main debhelper all 8.9.14 [693 kB] Preconfiguring packages ... Fetched 9511 kB in 0s (41.7 MB/s) Selecting previously unselected package libpipeline1. (Reading database ... 10821 files and directories currently installed.) Unpacking libpipeline1 (from .../libpipeline1_1.2.0-5_amd64.deb) ... Selecting previously unselected package libpcre3. Unpacking libpcre3 (from .../libpcre3_8.12-4_amd64.deb) ... Selecting previously unselected package libglib2.0-0. Unpacking libglib2.0-0 (from .../libglib2.0-0_2.30.2-4_amd64.deb) ... Selecting previously unselected package libxml2. Unpacking libxml2 (from .../libxml2_2.7.8.dfsg-5.1_amd64.deb) ... Selecting previously unselected package libcroco3. Unpacking libcroco3 (from .../libcroco3_0.6.2-2_amd64.deb) ... Selecting previously unselected package libunistring0. Unpacking libunistring0 (from .../libunistring0_0.9.3-5_amd64.deb) ... Selecting previously unselected package bsdmainutils. Unpacking bsdmainutils (from .../bsdmainutils_8.2.3_amd64.deb) ... Selecting previously unselected package groff-base. Unpacking groff-base (from .../groff-base_1.21-6_amd64.deb) ... Selecting previously unselected package man-db. Unpacking man-db (from .../man-db_2.6.0.2-3_amd64.deb) ... Selecting previously unselected package libmagic1. Unpacking libmagic1 (from .../libmagic1_5.09-2_amd64.deb) ... Selecting previously unselected package file. Unpacking file (from .../archives/file_5.09-2_amd64.deb) ... Selecting previously unselected package gettext-base. Unpacking gettext-base (from .../gettext-base_0.18.1.1-5_amd64.deb) ... Selecting previously unselected package html2text. Unpacking html2text (from .../html2text_1.3.2a-15_amd64.deb) ... Selecting previously unselected package gettext. Unpacking gettext (from .../gettext_0.18.1.1-5_amd64.deb) ... Selecting previously unselected package intltool-debian. Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ... Selecting previously unselected package po-debconf. Unpacking po-debconf (from .../po-debconf_1.0.16+nmu2_all.deb) ... Selecting previously unselected package debhelper. Unpacking debhelper (from .../debhelper_8.9.14_all.deb) ... Selecting previously unselected package sbuild-build-depends-fairymax-dummy. Unpacking sbuild-build-depends-fairymax-dummy (from .../sbuild-build-depends-fairymax-dummy.deb) ... Processing triggers for install-info ... Setting up libpipeline1 (1.2.0-5) ... Setting up libpcre3 (8.12-4) ... Setting up libglib2.0-0 (2.30.2-4) ... No schema files found: doing nothing. Setting up libxml2 (2.7.8.dfsg-5.1) ... Setting up libcroco3 (0.6.2-2) ... Setting up libunistring0 (0.9.3-5) ... Setting up bsdmainutils (8.2.3) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode. update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode. Setting up groff-base (1.21-6) ... Setting up man-db (2.6.0.2-3) ... Building database of manual pages ... Setting up libmagic1 (5.09-2) ... Setting up file (5.09-2) ... Setting up gettext-base (0.18.1.1-5) ... Setting up html2text (1.3.2a-15) ... Setting up gettext (0.18.1.1-5) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu2) ... Setting up debhelper (8.9.14) ... Setting up sbuild-build-depends-fairymax-dummy (0.invalid.0) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build environment │ └──────────────────────────────────────────────────────────────────────────────┘ Kernel: Linux 2.6.32-5-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.22-4 dpkg-dev_1.16.1.2 g++-4.6_4.6.2-9 gcc-4.6_4.6.2-9 libc6-dev_2.13-24 libstdc++6_4.6.2-9 libstdc++6-4.6-dev_4.6.2-9 linux-libc-dev_3.1.8-2 Package versions: apt_0.8.15.9 apt-utils_0.8.15.9 base-files_6.5 base-passwd_3.5.24 bash_4.2-1 binutils_2.22-4 bsdmainutils_8.2.3 bsdutils_1:2.20.1-1.1 build-essential_11.5 bzip2_1.0.6-1 clang_3.0-5 coreutils_8.13-3 cpp_4:4.6.2-4 cpp-4.6_4.6.2-9 dash_0.5.7-2 debconf_1.5.41 debfoster_2.7-1.1 debhelper_8.9.14 debian-archive-keyring_2010.08.28 debianutils_4.1 diffutils_1:3.2-1 dpkg_1.16.1.2 dpkg-dev_1.16.1.2 e2fslibs_1.42-1 e2fsprogs_1.42-1 fakeroot_1.18.2-1 file_5.09-2 findutils_4.4.2-4 g++_4:4.6.2-4 g++-4.6_4.6.2-9 gcc_4:4.6.2-4 gcc-4.6_4.6.2-9 gcc-4.6-base_4.6.2-9 gettext_0.18.1.1-5 gettext-base_0.18.1.1-5 gnupg_1.4.11-3 gpgv_1.4.11-3 grep_2.10-1 groff-base_1.21-6 gzip_1.4-2 hostname_3.09 html2text_1.3.2a-15 initscripts_2.88dsf-18 insserv_1.14.0-2.1 install-info_4.13a.dfsg.1-8 intltool-debian_0.35.0+20060710.1 less_444-1 libacl1_2.2.51-5 libattr1_1:2.4.46-5 libblkid1_2.20.1-1.1 libbz2-1.0_1.0.6-1 libc-bin_2.13-24 libc-dev-bin_2.13-24 libc6_2.13-24 libc6-dev_2.13-24 libclang-common-dev_3.0-5 libclass-isa-perl_0.36-3 libcomerr2_1.42-1 libcroco3_0.6.2-2 libdb5.1_5.1.29-1 libdpkg-perl_1.16.1.2 libffi5_3.0.10-3 libgc1c2_1:7.1-8 libgcc1_1:4.6.2-9 libgdbm3_1.8.3-10 libglib2.0-0_2.30.2-4 libgmp10_2:5.0.2+dfsg-2 libgomp1_4.6.2-9 libllvm3.0_3.0-5 liblzma2_5.1.1alpha+20110809-2 liblzma5_5.1.1alpha+20110809-3 libmagic1_5.09-2 libmount1_2.20.1-1.1 libmpc2_0.9-4 libmpfr4_3.1.0-3 libncurses5_5.9-4 libncursesw5_5.9-4 libpam-modules_1.1.3-6 libpam-modules-bin_1.1.3-6 libpam-runtime_1.1.3-6 libpam0g_1.1.3-6 libpcre3_8.12-4 libpipeline1_1.2.0-5 libquadmath0_4.6.2-9 libreadline6_6.2-8 libselinux1_2.1.0-4 libsepol1_2.1.0-1.2 libslang2_2.2.4-5 libss2_1.42-1 libstdc++6_4.6.2-9 libstdc++6-4.6-dev_4.6.2-9 libswitch-perl_2.16-2 libtimedate-perl_1.2000-1 libtinfo5_5.9-4 libunistring0_0.9.3-5 libusb-0.1-4_2:0.1.12-20 libuuid1_2.20.1-1.1 libxml2_2.7.8.dfsg-5.1 linux-libc-dev_3.1.8-2 login_1:4.1.4.2+svn3283-3 lsb-base_3.2-28 make_3.81-8.1 man-db_2.6.0.2-3 mawk_1.3.3-16 mount_2.20.1-1.1 multiarch-support_2.13-24 ncurses-base_5.9-4 ncurses-bin_5.9-4 nvi_1.81.6-8.2 passwd_1:4.1.4.2+svn3283-3 patch_2.6.1-2 perl_5.14.2-6 perl-base_5.14.2-6 perl-modules_5.14.2-6 po-debconf_1.0.16+nmu2 readline-common_6.2-8 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-fairymax-dummy_0.invalid.0 sed_4.2.1-9 sensible-utils_0.0.6 sysv-rc_2.88dsf-18 sysvinit_2.88dsf-18 sysvinit-utils_2.88dsf-18 tar_1.26-4 tzdata_2011n-2 util-linux_2.20.1-1.1 xz-utils_5.1.1alpha+20110809-3 zlib1g_1:1.2.3.4.dfsg-3 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build │ └──────────────────────────────────────────────────────────────────────────────┘ Unpack source ───────────── gpgv: keyblock resource `/var/lib/sbuild/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Mon Mar 14 20:47:45 2011 CET using RSA key ID DD347DC8 gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./fairymax_4.8q-2.dsc dpkg-source: info: extracting fairymax in fairymax-4.8q dpkg-source: info: unpacking fairymax_4.8q.orig.tar.gz dpkg-source: info: unpacking fairymax_4.8q-2.debian.tar.gz Check disc space ──────────────── Sufficient free space for build dpkg-buildpackage ───────────────── dpkg-buildpackage: source package fairymax dpkg-buildpackage: source version 4.8q-2 dpkg-source --before-build fairymax-4.8q dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh clean dh_testdir dh_auto_clean make[1]: Entering directory `/build/fairymax-xT6UXw/fairymax-4.8q' rm -f fairymax shamax maxqi fairymax.6.gz make[1]: Leaving directory `/build/fairymax-xT6UXw/fairymax-4.8q' dh_clean dpkg-source -b fairymax-4.8q dpkg-source: info: using source format `3.0 (quilt)' dpkg-source: info: building fairymax using existing ./fairymax_4.8q.orig.tar.gz dpkg-source: info: building fairymax in fairymax_4.8q-2.debian.tar.gz dpkg-source: info: building fairymax in fairymax_4.8q-2.dsc debian/rules build dh build dh_testdir dh_auto_configure dh_auto_build make[1]: Entering directory `/build/fairymax-xT6UXw/fairymax-4.8q' gcc -O2 -DINI_FILE=\"/usr/share/games/fairymax/fmax.ini\" fairymax.c -o fairymax fairymax.c:131:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] pboard() ^~~~~~ fairymax.c:134:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ fairymax.c:137:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] D(k,q,l,e,E,z,n) /* recursive minimax search, k=moving side, n=depth*/ ^ fairymax.c:146:13: warning: '&' within '|' [-Wbitwise-op-parentheses] if(a->K-Z|z&S | /* miss: other pos. or empty*/ ~~^~ fairymax.c:146:13: note: place parentheses around the '&' expression to silence this warning if(a->K-Z|z&S | /* miss: other pos. or empty*/ ^ ( ) fairymax.c:147:11: warning: '&' within '|' [-Wbitwise-op-parentheses] !(m<=q|X&8&&m>=l|X&S)) /* or window incompatible */ ~~^~ fairymax.c:147:11: note: place parentheses around the '&' expression to silence this warning !(m<=q|X&8&&m>=l|X&S)) /* or window incompatible */ ^ ( ) fairymax.c:147:21: warning: '&' within '|' [-Wbitwise-op-parentheses] !(m<=q|X&8&&m>=l|X&S)) /* or window incompatible */ ~~^~ fairymax.c:147:21: note: place parentheses around the '&' expression to silence this warning !(m<=q|X&8&&m>=l|X&S)) /* or window incompatible */ ^ ( ) fairymax.c:151:13: warning: '&&' within '||' [-Wlogical-op-parentheses] z&S&&K==I&&(GetTickCount()-Ticks=BW)break; /* board edge hit */ ~^~~ fairymax.c:170:11: note: place parentheses around the '&' expression to silence this warning if(y&S|(y&15)>=BW)break; /* board edge hit */ ^ ( ) fairymax.c:185:13: warning: & has lower precedence than !=; != will be evaluated first [-Wparentheses] t>>3&kk!=H&kk!=S||(kk=H,i=-i,0)))m=I,d=98;/* or duple check: cutoff*/ ^~~~~~ fairymax.c:185:13: note: place parentheses around the != expression to silence this warning t>>3&kk!=H&kk!=S||(kk=H,i=-i,0)))m=I,d=98;/* or duple check: cutoff*/ ^ ( ) fairymax.c:185:13: note: place parentheses around the & expression to evaluate it first t>>3&kk!=H&kk!=S||(kk=H,i=-i,0)))m=I,d=98;/* or duple check: cutoff*/ ^ ( ) fairymax.c:210:15: warning: | has lower precedence than <; < will be evaluated first [-Wparentheses] C=R2&& /* no P & no lateral K move,*/ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fairymax.c:258:13: note: place parentheses around the '&&' expression to silence this warning p>2&& /* no P & no lateral K move,*/ ^ fairymax.c:270:14: warning: | has lower precedence than ==; == will be evaluated first [-Wparentheses] C:FMAX( m=m+I|P==I?m:(X=Y=0); ) /* if stalemate, draw-score */ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fairymax.c:67:21: note: expanded from: # define FMAX(x) x ^ fairymax.c:270:14: note: place parentheses around the == expression to silence this warning C:FMAX( m=m+I|P==I?m:(X=Y=0); ) /* if stalemate, draw-score */ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fairymax.c:67:21: note: expanded from: # define FMAX(x) x ^ fairymax.c:270:14: note: place parentheses around the | expression to evaluate it first C:FMAX( m=m+I|P==I?m:(X=Y=0); ) /* if stalemate, draw-score */ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fairymax.c:67:21: note: expanded from: # define FMAX(x) x ^ fairymax.c:368:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] InitEngine() ^~~~~~~~~~ fairymax.c:374:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ fairymax.c:376:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] InitGame() ^~~~~~~~ fairymax.c:400:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ fairymax.c:476:20: error: non-void function 'LoadGame' should return a value [-Wreturn-type] return; /* keep old settings */ ^ fairymax.c:501:100: warning: '/*' within block comment [-Wcomment] /* printf("# c='%c' i=%d od[i]=%d j=%d (%3d,%8x)\n",c?c:' ',i,od[i],j,o[j-1],of[j-1]); /**/ ^ fairymax.c:509:57: warning: data argument not used by format string [-Wformat-extra-args] printf(ptc == 1 ? "setup " : "setup (%s) ", pieceToChar); // setup board in GUI ~~~~~~~~ ^ fairymax.c:599:4: error: non-void function 'main' should return a value [-Wreturn-type] return; ^ fairymax.c:651:4: error: non-void function 'main' should return a value [-Wreturn-type] return; ^ fairymax.c:756:48: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!strcmp(command, "undo") && (nr=1) || ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ~~ fairymax.c:756:48: note: place parentheses around the '&&' expression to silence this warning if (!strcmp(command, "undo") && (nr=1) || ^ ( ) fairymax.c:757:48: warning: '&&' within '||' [-Wlogical-op-parentheses] !strcmp(command, "remove") && (nr=2) ) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ fairymax.c:757:48: note: place parentheses around the '&&' expression to silence this warning !strcmp(command, "remove") && (nr=2) ) { ^ ( ) fairymax.c:831:40: warning: '&&' within '||' [-Wlogical-op-parentheses] if(color==BLACK && m<0x10 && p==oo[m+16] || ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ~~ fairymax.c:831:40: note: place parentheses around the '&&' expression to silence this warning if(color==BLACK && m<0x10 && p==oo[m+16] || ^ ( ) fairymax.c:832:75: warning: '&&' within '||' [-Wlogical-op-parentheses] color==WHITE && m>0x6F && p==oo[m-0x70]) b[m] -= 32; ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ fairymax.c:832:75: note: place parentheses around the '&&' expression to silence this warning color==WHITE && m>0x6F && p==oo[m-0x70]) b[m] -= 32; ^ ( ) fairymax.c:836:88: warning: '&&' within '||' [-Wlogical-op-parentheses] if((m==0x00 || m==BW-1 ) && color==BLACK && p==oo[m+16] || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ~~ fairymax.c:836:88: note: place parentheses around the '&&' expression to silence this warning if((m==0x00 || m==BW-1 ) && color==BLACK && p==oo[m+16] || ^ ( ) fairymax.c:837:88: warning: '&&' within '||' [-Wlogical-op-parentheses] (m==0x70 || m==0x6F+BW) && color==WHITE && p==oo[m-0x70]) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ fairymax.c:837:88: note: place parentheses around the '&&' expression to silence this warning (m==0x70 || m==0x6F+BW) && color==WHITE && p==oo[m-0x70]) ^ ( ) fairymax.c:620:38: warning: array index of '2' indexes past the end of an array (that contains 2 elements) [-Warray-bounds] if (!strcmp(command, "p")) { ~~~~~~~~~~~~~~~~^~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:817:28: note: expanded from: : __strcmp_gc (s1, s2, __s2_len)) \ ^ /usr/include/x86_64-linux-gnu/bits/string2.h:906:26: note: expanded from: (__const char *) (s2))[2]); \ ^ ~ fairymax.c:620:38: warning: array index of '3' indexes past the end of an array (that contains 2 elements) [-Warray-bounds] if (!strcmp(command, "p")) { ~~~~~~~~~~~~~~~~^~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:817:28: note: expanded from: : __strcmp_gc (s1, s2, __s2_len)) \ ^ /usr/include/x86_64-linux-gnu/bits/string2.h:911:27: note: expanded from: (__const char *) (s2))[3]); \ ^ ~ fairymax.c:671:24: warning: array index of '3' indexes past the end of an array (that contains 3 elements) [-Warray-bounds] if (!strcmp(command, "st")) { ~~~~~~~~~~~~~~~~^~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:817:28: note: expanded from: : __strcmp_gc (s1, s2, __s2_len)) \ ^ /usr/include/x86_64-linux-gnu/bits/string2.h:911:27: note: expanded from: (__const char *) (s2))[3]); \ ^ ~ fairymax.c:680:24: warning: array index of '3' indexes past the end of an array (that contains 3 elements) [-Warray-bounds] if (!strcmp(command, "sd")) { ~~~~~~~~~~~~~~~~^~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:817:28: note: expanded from: : __strcmp_gc (s1, s2, __s2_len)) \ ^ /usr/include/x86_64-linux-gnu/bits/string2.h:911:27: note: expanded from: (__const char *) (s2))[3]); \ ^ ~ fairymax.c:737:24: warning: array index of '3' indexes past the end of an array (that contains 3 elements) [-Warray-bounds] if (!strcmp(command, "go")) { ~~~~~~~~~~~~~~~~^~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:817:28: note: expanded from: : __strcmp_gc (s1, s2, __s2_len)) \ ^ /usr/include/x86_64-linux-gnu/bits/string2.h:911:27: note: expanded from: (__const char *) (s2))[3]); \ ^ ~ 36 warnings and 3 errors generated. make[1]: *** [fairymax] Error 1 make[1]: Leaving directory `/build/fairymax-xT6UXw/fairymax-4.8q' dh_auto_build: make -j1 returned exit code 2 make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 ──────────────────────────────────────────────────────────────────────────────── Build finished at 20120113-0410 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /var/lib/schroot/mount/lsid64b-ef13a745-25b1-467f-a437-2f445715a6b9/build/fairymax-xT6UXw Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Architecture: amd64 Build-Space: 192 Build-Time: 2 Distribution: lsid64b Fail-Stage: build Install-Time: 6 Job: fairymax_4.8q-2 Package: fairymax Package-Time: 22 Source-Version: 4.8q-2 Space: 192 Status: attempted Version: 4.8q-2 ──────────────────────────────────────────────────────────────────────────────── Finished at 20120113-0410 Build needed 00:00:22, 192k disc space DC-Build-Status: Failed 320.051367s ### Content of /var/log/daemon.log ### Jan 12 21:02:33 stremi-17 approx: Concurrent download of debian/dists/sid/Release.gpg is taking too long Jan 12 21:03:54 stremi-17 approx: Concurrent download of debian/dists/sid/Release.gpg is taking too long Jan 12 21:04:05 stremi-17 approx: Concurrent download of debian/dists/sid/Release.gpg is taking too long Jan 12 21:04:19 stremi-17 approx: Concurrent download of debian/dists/sid/Release.gpg is taking too long Jan 12 21:04:30 stremi-17 approx: Concurrent download of debian/dists/sid/Release.gpg is taking too long Jan 12 21:04:41 stremi-17 approx: Concurrent download of debian/dists/sid/Release.gpg is taking too long Jan 12 21:04:55 stremi-17 approx: Concurrent download of debian/dists/sid/Release.gpg is taking too long Jan 12 21:05:04 stremi-17 approx: Concurrent download of debian/dists/sid/Release is taking too long Jan 12 21:05:05 stremi-17 approx: Concurrent download of debian/dists/sid/main/i18n/Index is taking too long Jan 12 21:05:16 stremi-17 approx: Concurrent download of debian/dists/sid/main/i18n/Index is taking too long Jan 12 21:05:22 stremi-17 approx: Concurrent download of debian/dists/sid/Release is taking too long Jan 12 21:05:34 stremi-17 approx: Concurrent download of debian/dists/sid/main/i18n/Index is taking too long Jan 12 21:05:53 stremi-17 approx: Concurrent download of debian/dists/sid/main/i18n/Translation-en.gz is taking too long Jan 12 21:06:03 stremi-17 approx: Concurrent download of debian/dists/sid/main/i18n/Index is taking too long Jan 12 21:06:30 stremi-17 approx: Concurrent download of debian/dists/sid/main/source/Sources.xz is taking too long Jan 13 02:50:24 stremi-17 approx: Concurrent download of debian/dists/sid/Release.gpg is taking too long Jan 13 03:21:16 stremi-17 approx: Concurrent download of debian/dists/sid/main/i18n/Index is taking too long Jan 13 03:21:39 stremi-17 approx: Concurrent download of debian/dists/sid/main/i18n/Index is taking too long Jan 13 03:31:07 stremi-17 approx: Concurrent download of debian/dists/sid/Release is taking too long Jan 13 03:42:01 stremi-17 approx: Concurrent download of debian/dists/sid/main/i18n/Translation-en.gz is taking too long Jan 13 03:44:00 stremi-17 approx: Concurrent download of debian/dists/sid/Release is taking too long Jan 13 03:44:05 stremi-17 approx: Concurrent download of debian/dists/sid/Release.gpg is taking too long Jan 13 03:58:27 stremi-17 approx: Concurrent download of debian/dists/sid/Release is taking too long Jan 13 04:00:59 stremi-17 approx: Concurrent download of debian/dists/sid/main/i18n/Translation-en.bz2 is taking too long Jan 13 04:06:09 stremi-17 approx: Concurrent download of debian/dists/sid/main/i18n/Translation-en is taking too long ### End of content of /var/log/daemon.log ### DC-Time-Estimation: 320.051367 versus expected 18 (r/m: 16.7806315 ; m: 18.0) DC-Build-Network: USED. See /tmp/rulesafter.RivgeB ! ************************************************************ # Generated by iptables-save v1.4.8 on Fri Jan 13 04:10:47 2012 *filter :INPUT ACCEPT [7175347:52811901377] :FORWARD ACCEPT [0:0] :OUTPUT DROP [0:0] :LD - [0:0] [4062450:47720520766] -A OUTPUT -o lo -j ACCEPT [0:0] -A OUTPUT -d 129.88.0.0/16 -j ACCEPT [0:0] -A OUTPUT -d 10.0.0.0/8 -j ACCEPT [0:0] -A OUTPUT -d 192.168.133.0/24 -j ACCEPT [0:0] -A OUTPUT -d 192.168.159.0/24 -j ACCEPT [0:0] -A OUTPUT -d 192.168.160.0/24 -j ACCEPT [0:0] -A OUTPUT -d 10.69.0.0/17 -j ACCEPT [0:0] -A OUTPUT -d 172.28.52.0/22 -j ACCEPT [0:0] -A OUTPUT -d 172.24.0.0/16 -j ACCEPT [0:0] -A OUTPUT -d 131.254.202.0/23 -j ACCEPT [0:0] -A OUTPUT -d 138.96.20.0/22 -j ACCEPT [0:0] -A OUTPUT -d 192.168.22.0/24 -j ACCEPT [644184:221278280] -A OUTPUT -d 172.16.0.0/16 -j ACCEPT [0:0] -A OUTPUT -d 192.168.67.0/24 -j ACCEPT [50652:6710584] -A OUTPUT -d 224.0.0.0/4 -p udp -j ACCEPT [52:3120] -A OUTPUT -j LD [52:3120] -A LD -j LOG [52:3120] -A LD -j REJECT --reject-with icmp-port-unreachable COMMIT # Completed on Fri Jan 13 04:10:47 2012 ************************************************************ --- /tmp/rulesbefore.rMy4fF 2012-01-13 04:05:27.029571395 +0100 +++ /tmp/rulesafter.RivgeB 2012-01-13 04:10:47.090056406 +0100 @@ -1,10 +1,10 @@ -# Generated by iptables-save v1.4.8 on Fri Jan 13 04:05:27 2012 +# Generated by iptables-save v1.4.8 on Fri Jan 13 04:10:47 2012 *filter -:INPUT ACCEPT [7100795:52272522105] +:INPUT ACCEPT [7175347:52811901377] :FORWARD ACCEPT [0:0] :OUTPUT DROP [0:0] :LD - [0:0] -[4022549:47191919111] -A OUTPUT -o lo -j ACCEPT +[4062450:47720520766] -A OUTPUT -o lo -j ACCEPT [0:0] -A OUTPUT -d 129.88.0.0/16 -j ACCEPT [0:0] -A OUTPUT -d 10.0.0.0/8 -j ACCEPT [0:0] -A OUTPUT -d 192.168.133.0/24 -j ACCEPT @@ -16,11 +16,11 @@ [0:0] -A OUTPUT -d 131.254.202.0/23 -j ACCEPT [0:0] -A OUTPUT -d 138.96.20.0/22 -j ACCEPT [0:0] -A OUTPUT -d 192.168.22.0/24 -j ACCEPT -[639159:219831274] -A OUTPUT -d 172.16.0.0/16 -j ACCEPT +[644184:221278280] -A OUTPUT -d 172.16.0.0/16 -j ACCEPT [0:0] -A OUTPUT -d 192.168.67.0/24 -j ACCEPT -[49980:6621368] -A OUTPUT -d 224.0.0.0/4 -p udp -j ACCEPT +[50652:6710584] -A OUTPUT -d 224.0.0.0/4 -p udp -j ACCEPT [52:3120] -A OUTPUT -j LD [52:3120] -A LD -j LOG [52:3120] -A LD -j REJECT --reject-with icmp-port-unreachable COMMIT -# Completed on Fri Jan 13 04:05:27 2012 +# Completed on Fri Jan 13 04:10:47 2012 ************************************************************ [13806.214556] [] ? swap_readpage+0x4f/0x53 [13806.220820] [] ? read_swap_cache_async+0xb3/0xf3 [13806.227875] [] ? swapin_readahead+0x57/0x98 [13806.234441] [] ? handle_mm_fault+0x47f/0x80f [13806.241105] [] ? thread_return+0x79/0xe0 [13806.247382] [] ? do_page_fault+0x2e0/0x2fc [13806.253853] [] ? page_fault+0x25/0x30 [13806.259836] [] ? copy_user_generic_string+0x2d/0x40 [13806.267174] [] ? save_i387_xstate+0x12f/0x1b2 [13806.273937] [] ? do_notify_resume+0x289/0x73f [13806.280700] [] ? sys_wait4+0xa0/0xb0 [13806.286582] [] ? int_signal+0x12/0x17 [13806.292574] INFO: task gcc:17547 blocked for more than 120 seconds. [13806.299624] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [13806.308452] gcc D ffff8802b234bf90 0 17547 17544 0x00000000 [13806.316207] ffff8802b234bf90 0000000000000086 0000000000000899 ffff8808eb4e7f98 [13806.324580] ffffffff810c78a0 ffffea001bbe13e0 000000000000f9e0 ffff88062b1ddfd8 [13806.332969] 0000000000015780 0000000000015780 ffff8805aac4b880 ffff8805aac4bb78 [13806.341350] Call Trace: [13806.344115] [] ? zone_statistics+0x3c/0x5d [13806.350583] [] ? alloc_io_context+0x16/0x84 [13806.357150] [] ? current_io_context+0x1b/0x29 [13806.363906] [] ? read_tsc+0xa/0x20 [13806.369597] [] ? get_request+0x7e/0x2ba [13806.375774] [] ? io_schedule+0x73/0xb7 [13806.381854] [] ? get_request_wait+0xf0/0x188 [13806.388520] [] ? autoremove_wake_function+0x0/0x2e [13806.395764] [] ? __make_request+0x2f7/0x428 [13806.402331] [] ? generic_make_request+0x299/0x2f9 [13806.409482] [] ? submit_bio+0xd6/0xf2 [13806.415453] [] ? end_swap_bio_read+0x0/0x60 [13806.422020] [] ? bio_alloc+0x10/0x1f [13806.427907] [] ? get_swap_bio+0x4a/0x9a [13806.434086] [] ? swap_readpage+0x4f/0x53 [13806.440362] [] ? read_swap_cache_async+0xb3/0xf3 [13806.447415] [] ? swapin_readahead+0x57/0x98 [13806.453984] [] ? handle_mm_fault+0x47f/0x80f [13806.460650] [] ? do_page_fault+0x2e0/0x2fc [13806.467119] [] ? page_fault+0x25/0x30 [13806.473105] [] ? copy_user_generic_string+0x2d/0x40 [13806.480449] [] ? save_i387_xstate+0x12f/0x1b2 [13806.487211] [] ? do_notify_resume+0x289/0x73f [13806.493974] [] ? sys_wait4+0xa0/0xb0 [13806.499858] [] ? int_signal+0x12/0x17 [20915.455585] IN= OUT=eth0 SRC=172.16.160.17 DST=192.9.162.55 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=32294 DF PROTO=TCP SPT=37508 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [20918.473618] IN= OUT=eth0 SRC=172.16.160.17 DST=192.9.162.55 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=32295 DF PROTO=TCP SPT=37508 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [21615.877854] IN= OUT=eth0 SRC=172.16.160.17 DST=217.196.43.134 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=62325 DF PROTO=TCP SPT=58545 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [21618.897204] IN= OUT=eth0 SRC=172.16.160.17 DST=217.196.43.134 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=62326 DF PROTO=TCP SPT=58545 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [22101.279465] IN= OUT=eth0 SRC=172.16.160.17 DST=79.125.18.10 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=54675 DF PROTO=TCP SPT=38218 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 [22104.300282] IN= OUT=eth0 SRC=172.16.160.17 DST=79.125.18.10 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=54676 DF PROTO=TCP SPT=38218 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 ************************************************************