DC-Build-Header: xgks 2.6.1-3 / Sat Jun 23 16:35:58 +0000 2012 DC-Task: logfile:/tmp/xgks_2.6.1-3_unstable_clang.log version:2.6.1-3 chroot:unstable modes:binary-only:clang source:xgks architecture:any esttime:81 DC-Sbuild-call: su user -c 'sbuild -n --apt-update -d unstable -v --chroot-setup-commands=/tmp/switch-to-clang xgks_2.6.1-3' sbuild (Debian sbuild) 0.62.5 (13 Jul 2011) on ip-10-28-191-216.ec2.internal ╔══════════════════════════════════════════════════════════════════════════════╗ ║ xgks 2.6.1-3 (amd64) 23 Jun 2012 16:35 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: xgks Version: 2.6.1-3 Source Version: 2.6.1-3 Distribution: unstable Architecture: amd64 I: NOTICE: Log filtering will replace 'build/xgks-zbsHeZ/xgks-2.6.1' with '«PKGBUILDDIR»' I: NOTICE: Log filtering will replace 'build/xgks-zbsHeZ' with '«BUILDDIR»' I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/unstable-amd64-sbuild-e7d8f3b7-d0f0-4109-8d1b-c8008a3e7e42' with '«CHROOT»' ┌──────────────────────────────────────────────────────────────────────────────┐ │ Update chroot │ └──────────────────────────────────────────────────────────────────────────────┘ Ign http://localhost unstable InRelease Get:1 http://localhost unstable Release.gpg [836 B] Get:2 http://localhost unstable Release [233 kB] Get:3 http://localhost unstable/main Sources/DiffIndex [7876 B] Get:4 http://localhost unstable/main amd64 Packages/DiffIndex [7876 B] Get:5 http://localhost unstable/main Translation-en/DiffIndex [7876 B] Get:6 http://localhost unstable/main 2012-06-23-0814.36.pdiff [8967 B] Get:7 http://localhost unstable/main 2012-06-23-0814.36.pdiff [8967 B] Get:8 http://localhost unstable/main amd64 2012-06-23-0814.36.pdiff [6101 B] Get:9 http://localhost unstable/main 2012-06-23-0814.36.pdiff [1297 B] Get:10 http://localhost unstable/main amd64 2012-06-23-0814.36.pdiff [6101 B] Get:11 http://localhost unstable/main 2012-06-23-1414.42.pdiff [10.6 kB] Get:12 http://localhost unstable/main 2012-06-23-0814.36.pdiff [1297 B] Get:13 http://localhost unstable/main amd64 2012-06-23-1414.42.pdiff [11.3 kB] Get:14 http://localhost unstable/main 2012-06-23-1414.42.pdiff [10.6 kB] Get:15 http://localhost unstable/main 2012-06-23-1414.42.pdiff [696 B] Get:16 http://localhost unstable/main amd64 2012-06-23-1414.42.pdiff [11.3 kB] Get:17 http://localhost unstable/main 2012-06-23-1414.42.pdiff [696 B] Fetched 296 kB in 7s (41.6 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following packages will be upgraded: base-passwd bsdutils libblkid1 libmount1 libuuid1 mount util-linux 7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 1300 kB of archives. After this operation, 308 kB disk space will be freed. Get:1 http://localhost/debian/ unstable/main mount amd64 2.20.1-5.1 [213 kB] Get:2 http://localhost/debian/ unstable/main util-linux amd64 2.20.1-5.1 [659 kB] Get:3 http://localhost/debian/ unstable/main base-passwd amd64 3.5.26 [46.3 kB] Get:4 http://localhost/debian/ unstable/main bsdutils amd64 1:2.20.1-5.1 [85.3 kB] Get:5 http://localhost/debian/ unstable/main libuuid1 amd64 2.20.1-5.1 [56.9 kB] Get:6 http://localhost/debian/ unstable/main libblkid1 amd64 2.20.1-5.1 [120 kB] Get:7 http://localhost/debian/ unstable/main libmount1 amd64 2.20.1-5.1 [120 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 1300 kB in 0s (13.7 MB/s) (Reading database ... 11730 files and directories currently installed.) Preparing to replace mount 2.20.1-5 (using .../mount_2.20.1-5.1_amd64.deb) ... Unpacking replacement mount ... Setting up mount (2.20.1-5.1) ... (Reading database ... 11730 files and directories currently installed.) Preparing to replace util-linux 2.20.1-5 (using .../util-linux_2.20.1-5.1_amd64.deb) ... Unpacking replacement util-linux ... Setting up util-linux (2.20.1-5.1) ... (Reading database ... 11730 files and directories currently installed.) Preparing to replace base-passwd 3.5.25 (using .../base-passwd_3.5.26_amd64.deb) ... Unpacking replacement base-passwd ... Setting up base-passwd (3.5.26) ... (Reading database ... 11730 files and directories currently installed.) Preparing to replace bsdutils 1:2.20.1-5 (using .../bsdutils_1%3a2.20.1-5.1_amd64.deb) ... Unpacking replacement bsdutils ... Setting up bsdutils (1:2.20.1-5.1) ... (Reading database ... 11730 files and directories currently installed.) Preparing to replace libuuid1:amd64 2.20.1-5 (using .../libuuid1_2.20.1-5.1_amd64.deb) ... Unpacking replacement libuuid1:amd64 ... Setting up libuuid1:amd64 (2.20.1-5.1) ... (Reading database ... 11730 files and directories currently installed.) Preparing to replace libblkid1:amd64 2.20.1-5 (using .../libblkid1_2.20.1-5.1_amd64.deb) ... Unpacking replacement libblkid1:amd64 ... Setting up libblkid1:amd64 (2.20.1-5.1) ... (Reading database ... 11730 files and directories currently installed.) Preparing to replace libmount1 2.20.1-5 (using .../libmount1_2.20.1-5.1_amd64.deb) ... Unpacking replacement libmount1 ... Setting up libmount1 (2.20.1-5.1) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Fetch source files │ └──────────────────────────────────────────────────────────────────────────────┘ Check APT ───────── Checking available source versions... Download source files with APT ────────────────────────────── Reading package lists... Building dependency tree... Reading state information... Need to get 1816 kB of source archives. Get:1 http://localhost/debian/ unstable/main xgks 2.6.1-3 (dsc) [1688 B] Get:2 http://localhost/debian/ unstable/main xgks 2.6.1-3 (tar) [1699 kB] Get:3 http://localhost/debian/ unstable/main xgks 2.6.1-3 (diff) [116 kB] Fetched 1816 kB in 0s (5246 kB/s) Download complete and in download only mode Check arch ────────── ┌──────────────────────────────────────────────────────────────────────────────┐ │ Chroot Setup Commands │ └──────────────────────────────────────────────────────────────────────────────┘ /tmp/switch-to-clang ──────────────────── + echo 'Entering customization script...' Entering customization script... + apt-get update Ign http://localhost unstable InRelease Hit http://localhost unstable Release.gpg Hit http://localhost unstable Release Hit http://localhost unstable/main Sources/DiffIndex Hit http://localhost unstable/main amd64 Packages/DiffIndex Hit http://localhost unstable/main Translation-en/DiffIndex Reading package lists... + echo 'Install of clang' Install of clang + apt-get update Ign http://localhost unstable InRelease Hit http://localhost unstable Release.gpg Hit http://localhost unstable Release Hit http://localhost unstable/main Sources/DiffIndex Hit http://localhost unstable/main amd64 Packages/DiffIndex Hit http://localhost unstable/main Translation-en/DiffIndex Reading package lists... + apt-get install --yes --no-install-recommends clang -t unstable Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: libclang-common-dev libffi5 libllvm3.1 Recommended packages: llvm-3.1-dev python The following NEW packages will be installed: clang libclang-common-dev libffi5 libllvm3.1 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 13.1 MB of archives. After this operation, 35.6 MB of additional disk space will be used. Get:1 http://localhost/debian/ unstable/main libffi5 amd64 3.0.10-3 [24.8 kB] Get:2 http://localhost/debian/ unstable/main libllvm3.1 amd64 3.1-1 [7276 kB] Get:3 http://localhost/debian/ unstable/main libclang-common-dev amd64 3.1-6 [84.0 kB] Get:4 http://localhost/debian/ unstable/main clang amd64 3.1-6 [5755 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 13.1 MB in 0s (30.1 MB/s) Selecting previously unselected package libffi5:amd64. (Reading database ... 11730 files and directories currently installed.) Unpacking libffi5:amd64 (from .../libffi5_3.0.10-3_amd64.deb) ... Selecting previously unselected package libllvm3.1:amd64. Unpacking libllvm3.1:amd64 (from .../libllvm3.1_3.1-1_amd64.deb) ... Selecting previously unselected package libclang-common-dev. Unpacking libclang-common-dev (from .../libclang-common-dev_3.1-6_amd64.deb) ... Selecting previously unselected package clang. Unpacking clang (from .../archives/clang_3.1-6_amd64.deb) ... Setting up libffi5:amd64 (3.0.10-3) ... Setting up libllvm3.1:amd64 (3.1-1) ... Setting up libclang-common-dev (3.1-6) ... Setting up clang (3.1-6) ... + echo 'Replace gcc, g++ & cpp by clang' Replace gcc, g++ & cpp by clang + VERSION=4.7 + cd /usr/bin + rm g++-4.7 gcc-4.7 cpp-4.7 + ln -s clang++ g++-4.7 + ln -s clang gcc-4.7 + ln -s clang cpp-4.7 + cd - /«BUILDDIR» + echo 'Block the installation of new gcc version' Block the installation of new gcc version + dpkg --set-selections + echo 'gcc-4.6 hold' + dpkg --set-selections + echo 'cpp-4.6 hold' + dpkg --set-selections + echo 'g++-4.6 hold' + dpkg --set-selections + echo 'gcc-4.7 hold' + dpkg --set-selections + echo 'cpp-4.7 hold' + dpkg --set-selections + echo 'g++-4.7 hold' + echo 'Check if gcc, g++ & cpp are actually clang' Check if gcc, g++ & cpp are actually clang + grep clang + gcc --version I: Finished running '/tmp/switch-to-clang'. Finished processing commands. ──────────────────────────────────────────────────────────────────────────────── Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package `sbuild-build-depends-core-dummy' in `/«BUILDDIR»/resolver-hjl5X1/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 debconf: delaying package configuration, since apt-utils is not installed 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/708 B of archives. After this operation, 0 B of additional disk space will be used. Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 11810 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) ... 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 (>= 7.0.50~), gfortran, libx11-dev, m4 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 (>= 7.0.50~), gfortran, libx11-dev, m4 dpkg-deb: building package `sbuild-build-depends-xgks-dummy' in `/«BUILDDIR»/resolver-4YIip7/apt_archive/sbuild-build-depends-xgks-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install xgks 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 gfortran gfortran-4.7 groff-base html2text intltool-debian libasprintf0c2 libcroco3 libgettextpo0 libgfortran3 libglib2.0-0 libmagic1 libpcre3 libpipeline1 libpthread-stubs0 libpthread-stubs0-dev libunistring0 libx11-6 libx11-data libx11-dev libxau-dev libxau6 libxcb1 libxcb1-dev libxdmcp-dev libxdmcp6 libxml2 m4 man-db po-debconf x11proto-core-dev x11proto-input-dev x11proto-kb-dev xorg-sgml-doctools xtrans-dev Suggested packages: wamerican wordlist whois vacation dh-make gettext-doc gfortran-multilib gfortran-doc gfortran-4.7-multilib gfortran-4.7-doc libgfortran3-dbg groff libxcb-doc less www-browser libmail-box-perl Recommended packages: curl wget lynx-cur autopoint libglib2.0-data shared-mime-info libx11-doc xml-core libmail-sendmail-perl The following NEW packages will be installed: bsdmainutils debhelper file gettext gettext-base gfortran gfortran-4.7 groff-base html2text intltool-debian libasprintf0c2 libcroco3 libgettextpo0 libgfortran3 libglib2.0-0 libmagic1 libpcre3 libpipeline1 libpthread-stubs0 libpthread-stubs0-dev libunistring0 libx11-6 libx11-data libx11-dev libxau-dev libxau6 libxcb1 libxcb1-dev libxdmcp-dev libxdmcp6 libxml2 m4 man-db po-debconf sbuild-build-depends-xgks-dummy x11proto-core-dev x11proto-input-dev x11proto-kb-dev xorg-sgml-doctools xtrans-dev 0 upgraded, 40 newly installed, 0 to remove and 0 not upgraded. Need to get 20.5 MB/20.5 MB of archives. After this operation, 54.8 MB of additional disk space will be used. Get:1 http://localhost/debian/ unstable/main libpipeline1 amd64 1.2.1-1 [39.2 kB] Get:2 http://localhost/debian/ unstable/main libasprintf0c2 amd64 0.18.1.1-9 [26.8 kB] Get:3 http://localhost/debian/ unstable/main libmagic1 amd64 5.11-1 [250 kB] Get:4 http://localhost/debian/ unstable/main libpcre3 amd64 1:8.30-5 [242 kB] Get:5 http://localhost/debian/ unstable/main libxml2 amd64 2.8.0+dfsg1-4 [903 kB] Get:6 http://localhost/debian/ unstable/main libglib2.0-0 amd64 2.32.3-1 [2081 kB] Get:7 http://localhost/debian/ unstable/main libcroco3 amd64 0.6.5-1 [151 kB] Get:8 http://localhost/debian/ unstable/main libunistring0 amd64 0.9.3-5 [434 kB] Get:9 http://localhost/debian/ unstable/main libgettextpo0 amd64 0.18.1.1-9 [145 kB] Get:10 http://localhost/debian/ unstable/main libgfortran3 amd64 4.7.1-1 [352 kB] Get:11 http://localhost/debian/ unstable/main libxau6 amd64 1:1.0.7-1 [18.8 kB] Get:12 http://localhost/debian/ unstable/main libxdmcp6 amd64 1:1.1.1-1 [26.3 kB] Get:13 http://localhost/debian/ unstable/main libxcb1 amd64 1.8.1-1 [50.0 kB] Get:14 http://localhost/debian/ unstable/main libx11-data all 2:1.5.0-1 [189 kB] Get:15 http://localhost/debian/ unstable/main libx11-6 amd64 2:1.5.0-1 [901 kB] Get:16 http://localhost/debian/ unstable/main bsdmainutils amd64 9.0.3 [209 kB] Get:17 http://localhost/debian/ unstable/main groff-base amd64 1.21-8 [1152 kB] Get:18 http://localhost/debian/ unstable/main man-db amd64 2.6.2-1 [1061 kB] Get:19 http://localhost/debian/ unstable/main file amd64 5.11-1 [53.2 kB] Get:20 http://localhost/debian/ unstable/main gettext-base amd64 0.18.1.1-9 [154 kB] Get:21 http://localhost/debian/ unstable/main m4 amd64 1.4.16-3 [260 kB] Get:22 http://localhost/debian/ unstable/main html2text amd64 1.3.2a-15 [103 kB] Get:23 http://localhost/debian/ unstable/main gettext amd64 0.18.1.1-9 [1975 kB] Get:24 http://localhost/debian/ unstable/main intltool-debian all 0.35.0+20060710.1 [30.8 kB] Get:25 http://localhost/debian/ unstable/main po-debconf all 1.0.16+nmu2 [224 kB] Get:26 http://localhost/debian/ unstable/main debhelper all 9.20120608 [700 kB] Get:27 http://localhost/debian/ unstable/main gfortran-4.7 amd64 4.7.1-1 [6176 kB] Get:28 http://localhost/debian/ unstable/main gfortran amd64 4:4.7.0-6 [1138 B] Get:29 http://localhost/debian/ unstable/main libpthread-stubs0 amd64 0.3-3 [3228 B] Get:30 http://localhost/debian/ unstable/main libpthread-stubs0-dev amd64 0.3-3 [3998 B] Get:31 http://localhost/debian/ unstable/main xorg-sgml-doctools all 1:1.10-1 [24.1 kB] Get:32 http://localhost/debian/ unstable/main x11proto-core-dev all 7.0.23-1 [774 kB] Get:33 http://localhost/debian/ unstable/main libxau-dev amd64 1:1.0.7-1 [21.7 kB] Get:34 http://localhost/debian/ unstable/main libxdmcp-dev amd64 1:1.1.1-1 [42.3 kB] Get:35 http://localhost/debian/ unstable/main x11proto-input-dev all 2.2-1 [172 kB] Get:36 http://localhost/debian/ unstable/main x11proto-kb-dev all 1.0.6-2 [269 kB] Get:37 http://localhost/debian/ unstable/main xtrans-dev all 1.2.7-1 [112 kB] Get:38 http://localhost/debian/ unstable/main libxcb1-dev amd64 1.8.1-1 [86.6 kB] Get:39 http://localhost/debian/ unstable/main libx11-dev amd64 2:1.5.0-1 [1037 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 20.5 MB in 0s (23.1 MB/s) Selecting previously unselected package libpipeline1:amd64. (Reading database ... 11810 files and directories currently installed.) Unpacking libpipeline1:amd64 (from .../libpipeline1_1.2.1-1_amd64.deb) ... Selecting previously unselected package libasprintf0c2:amd64. Unpacking libasprintf0c2:amd64 (from .../libasprintf0c2_0.18.1.1-9_amd64.deb) ... Selecting previously unselected package libmagic1:amd64. Unpacking libmagic1:amd64 (from .../libmagic1_5.11-1_amd64.deb) ... Selecting previously unselected package libpcre3:amd64. Unpacking libpcre3:amd64 (from .../libpcre3_1%3a8.30-5_amd64.deb) ... Selecting previously unselected package libxml2:amd64. Unpacking libxml2:amd64 (from .../libxml2_2.8.0+dfsg1-4_amd64.deb) ... Selecting previously unselected package libglib2.0-0:amd64. Unpacking libglib2.0-0:amd64 (from .../libglib2.0-0_2.32.3-1_amd64.deb) ... Selecting previously unselected package libcroco3:amd64. Unpacking libcroco3:amd64 (from .../libcroco3_0.6.5-1_amd64.deb) ... Selecting previously unselected package libunistring0:amd64. Unpacking libunistring0:amd64 (from .../libunistring0_0.9.3-5_amd64.deb) ... Selecting previously unselected package libgettextpo0:amd64. Unpacking libgettextpo0:amd64 (from .../libgettextpo0_0.18.1.1-9_amd64.deb) ... Selecting previously unselected package libgfortran3:amd64. Unpacking libgfortran3:amd64 (from .../libgfortran3_4.7.1-1_amd64.deb) ... Selecting previously unselected package libxau6:amd64. Unpacking libxau6:amd64 (from .../libxau6_1%3a1.0.7-1_amd64.deb) ... Selecting previously unselected package libxdmcp6:amd64. Unpacking libxdmcp6:amd64 (from .../libxdmcp6_1%3a1.1.1-1_amd64.deb) ... Selecting previously unselected package libxcb1:amd64. Unpacking libxcb1:amd64 (from .../libxcb1_1.8.1-1_amd64.deb) ... Selecting previously unselected package libx11-data. Unpacking libx11-data (from .../libx11-data_2%3a1.5.0-1_all.deb) ... Selecting previously unselected package libx11-6:amd64. Unpacking libx11-6:amd64 (from .../libx11-6_2%3a1.5.0-1_amd64.deb) ... Selecting previously unselected package bsdmainutils. Unpacking bsdmainutils (from .../bsdmainutils_9.0.3_amd64.deb) ... Selecting previously unselected package groff-base. Unpacking groff-base (from .../groff-base_1.21-8_amd64.deb) ... Selecting previously unselected package man-db. Unpacking man-db (from .../man-db_2.6.2-1_amd64.deb) ... Selecting previously unselected package file. Unpacking file (from .../archives/file_5.11-1_amd64.deb) ... Selecting previously unselected package gettext-base. Unpacking gettext-base (from .../gettext-base_0.18.1.1-9_amd64.deb) ... Selecting previously unselected package m4. Unpacking m4 (from .../archives/m4_1.4.16-3_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-9_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_9.20120608_all.deb) ... Selecting previously unselected package gfortran-4.7. Unpacking gfortran-4.7 (from .../gfortran-4.7_4.7.1-1_amd64.deb) ... Selecting previously unselected package gfortran. Unpacking gfortran (from .../gfortran_4%3a4.7.0-6_amd64.deb) ... Selecting previously unselected package libpthread-stubs0:amd64. Unpacking libpthread-stubs0:amd64 (from .../libpthread-stubs0_0.3-3_amd64.deb) ... Selecting previously unselected package libpthread-stubs0-dev:amd64. Unpacking libpthread-stubs0-dev:amd64 (from .../libpthread-stubs0-dev_0.3-3_amd64.deb) ... Selecting previously unselected package xorg-sgml-doctools. Unpacking xorg-sgml-doctools (from .../xorg-sgml-doctools_1%3a1.10-1_all.deb) ... Selecting previously unselected package x11proto-core-dev. Unpacking x11proto-core-dev (from .../x11proto-core-dev_7.0.23-1_all.deb) ... Selecting previously unselected package libxau-dev:amd64. Unpacking libxau-dev:amd64 (from .../libxau-dev_1%3a1.0.7-1_amd64.deb) ... Selecting previously unselected package libxdmcp-dev:amd64. Unpacking libxdmcp-dev:amd64 (from .../libxdmcp-dev_1%3a1.1.1-1_amd64.deb) ... Selecting previously unselected package x11proto-input-dev. Unpacking x11proto-input-dev (from .../x11proto-input-dev_2.2-1_all.deb) ... Selecting previously unselected package x11proto-kb-dev. Unpacking x11proto-kb-dev (from .../x11proto-kb-dev_1.0.6-2_all.deb) ... Selecting previously unselected package xtrans-dev. Unpacking xtrans-dev (from .../xtrans-dev_1.2.7-1_all.deb) ... Selecting previously unselected package libxcb1-dev:amd64. Unpacking libxcb1-dev:amd64 (from .../libxcb1-dev_1.8.1-1_amd64.deb) ... Selecting previously unselected package libx11-dev:amd64. Unpacking libx11-dev:amd64 (from .../libx11-dev_2%3a1.5.0-1_amd64.deb) ... Selecting previously unselected package sbuild-build-depends-xgks-dummy. Unpacking sbuild-build-depends-xgks-dummy (from .../sbuild-build-depends-xgks-dummy.deb) ... Setting up libpipeline1:amd64 (1.2.1-1) ... Setting up libasprintf0c2:amd64 (0.18.1.1-9) ... Setting up libmagic1:amd64 (5.11-1) ... Setting up libpcre3:amd64 (1:8.30-5) ... Setting up libxml2:amd64 (2.8.0+dfsg1-4) ... Setting up libglib2.0-0:amd64 (2.32.3-1) ... No schema files found: doing nothing. Setting up libcroco3:amd64 (0.6.5-1) ... Setting up libunistring0:amd64 (0.9.3-5) ... Setting up libgettextpo0:amd64 (0.18.1.1-9) ... Setting up libgfortran3:amd64 (4.7.1-1) ... Setting up libxau6:amd64 (1:1.0.7-1) ... Setting up libxdmcp6:amd64 (1:1.1.1-1) ... Setting up libxcb1:amd64 (1.8.1-1) ... Setting up libx11-data (2:1.5.0-1) ... Setting up libx11-6:amd64 (2:1.5.0-1) ... Setting up bsdmainutils (9.0.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-8) ... Setting up man-db (2.6.2-1) ... Building database of manual pages ... Setting up file (5.11-1) ... Setting up gettext-base (0.18.1.1-9) ... Setting up m4 (1.4.16-3) ... Setting up html2text (1.3.2a-15) ... Setting up gettext (0.18.1.1-9) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu2) ... Setting up debhelper (9.20120608) ... Setting up gfortran-4.7 (4.7.1-1) ... Setting up gfortran (4:4.7.0-6) ... update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f95 (f95) in auto mode. Setting up libpthread-stubs0:amd64 (0.3-3) ... Setting up libpthread-stubs0-dev:amd64 (0.3-3) ... Setting up xorg-sgml-doctools (1:1.10-1) ... Setting up x11proto-core-dev (7.0.23-1) ... Setting up libxau-dev:amd64 (1:1.0.7-1) ... Setting up libxdmcp-dev:amd64 (1:1.1.1-1) ... Setting up x11proto-input-dev (2.2-1) ... Setting up x11proto-kb-dev (1.0.6-2) ... Setting up xtrans-dev (1.2.7-1) ... Setting up libxcb1-dev:amd64 (1.8.1-1) ... Setting up libx11-dev:amd64 (2:1.5.0-1) ... Setting up sbuild-build-depends-xgks-dummy (0.invalid.0) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build environment │ └──────────────────────────────────────────────────────────────────────────────┘ Kernel: Linux 2.6.32-5-xen-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.22-6.1 dpkg-dev_1.16.4.3 g++-4.6_4.6.3-7 g++-4.7_4.7.1-1 gcc-4.6_4.6.3-7 gcc-4.7_4.7.1-1 libc6-dev_2.13-33 libstdc++6_4.7.1-1 libstdc++6-4.6-dev_4.6.3-7 libstdc++6-4.7-dev_4.7.1-1 linux-libc-dev_3.2.20-1 Package versions: apt_0.9.7 base-files_6.11 base-passwd_3.5.26 bash_4.2-2 binutils_2.22-6.1 bsdmainutils_9.0.3 bsdutils_1:2.20.1-5.1 build-essential_11.5 bzip2_1.0.6-3 clang_3.1-6 coreutils_8.13-3.2 cpp_4:4.7.0-6 cpp-4.6_4.6.3-7 cpp-4.7_4.7.1-1 dash_0.5.7-3 debconf_1.5.44 debconf-i18n_1.5.44 debfoster_2.7-1.1 debhelper_9.20120608 debian-archive-keyring_2012.4 debianutils_4.3.1 diffutils_1:3.2-6 dpkg_1.16.4.3 dpkg-dev_1.16.4.3 e2fslibs_1.42.4-3 e2fsprogs_1.42.4-3 fakeroot_1.18.4-2 file_5.11-1 findutils_4.4.2-4 g++_4:4.7.0-6 g++-4.6_4.6.3-7 g++-4.7_4.7.1-1 gcc_4:4.7.0-6 gcc-4.4-base_4.4.7-1 gcc-4.5-base_4.5.3-12 gcc-4.6_4.6.3-7 gcc-4.6-base_4.6.3-7 gcc-4.7_4.7.1-1 gcc-4.7-base_4.7.1-1 gettext_0.18.1.1-9 gettext-base_0.18.1.1-9 gfortran_4:4.7.0-6 gfortran-4.7_4.7.1-1 gnupg_1.4.12-4 gpgv_1.4.12-4 grep_2.12-2 groff-base_1.21-8 gzip_1.5-1.1 hostname_3.11 html2text_1.3.2a-15 initscripts_2.88dsf-27 insserv_1.14.0-3 intltool-debian_0.35.0+20060710.1 libacl1_2.2.51-8 libapt-pkg4.12_0.9.7 libasprintf0c2_0.18.1.1-9 libattr1_1:2.4.46-8 libblkid1_2.20.1-5.1 libbz2-1.0_1.0.6-3 libc-bin_2.13-33 libc-dev-bin_2.13-33 libc6_2.13-33 libc6-dev_2.13-33 libclang-common-dev_3.1-6 libclass-isa-perl_0.36-3 libcomerr2_1.42.4-3 libcroco3_0.6.5-1 libdb5.1_5.1.29-4 libdpkg-perl_1.16.4.3 libffi5_3.0.10-3 libfile-fcntllock-perl_0.14-2 libgc1c2_1:7.1-8 libgcc1_1:4.7.1-1 libgdbm3_1.8.3-11 libgettextpo0_0.18.1.1-9 libgfortran3_4.7.1-1 libglib2.0-0_2.32.3-1 libgmp10_2:5.0.5+dfsg-2 libgomp1_4.7.1-1 libitm1_4.7.1-1 libllvm3.1_3.1-1 liblocale-gettext-perl_1.05-7+b1 liblzma5_5.1.1alpha+20120614-1 libmagic1_5.11-1 libmount1_2.20.1-5.1 libmpc2_0.9-4 libmpfr4_3.1.0-5 libncurses5_5.9-9 libpam-modules_1.1.3-7.1 libpam-modules-bin_1.1.3-7.1 libpam-runtime_1.1.3-7.1 libpam0g_1.1.3-7.1 libpcre3_1:8.30-5 libpipeline1_1.2.1-1 libpthread-stubs0_0.3-3 libpthread-stubs0-dev_0.3-3 libquadmath0_4.7.1-1 libreadline6_6.2-8 libselinux1_2.1.9-5 libsemanage-common_2.1.6-6 libsemanage1_2.1.6-6 libsepol1_2.1.4-3 libslang2_2.2.4-13 libss2_1.42.4-3 libstdc++6_4.7.1-1 libstdc++6-4.6-dev_4.6.3-7 libstdc++6-4.7-dev_4.7.1-1 libswitch-perl_2.16-2 libtext-charwidth-perl_0.04-7+b1 libtext-iconv-perl_1.7-5 libtext-wrapi18n-perl_0.06-7 libtimedate-perl_1.2000-1 libtinfo5_5.9-9 libunistring0_0.9.3-5 libusb-0.1-4_2:0.1.12-23 libustr-1.0-1_1.0.4-3 libuuid1_2.20.1-5.1 libx11-6_2:1.5.0-1 libx11-data_2:1.5.0-1 libx11-dev_2:1.5.0-1 libxau-dev_1:1.0.7-1 libxau6_1:1.0.7-1 libxcb1_1.8.1-1 libxcb1-dev_1.8.1-1 libxdmcp-dev_1:1.1.1-1 libxdmcp6_1:1.1.1-1 libxml2_2.8.0+dfsg1-4 linux-libc-dev_3.2.20-1 login_1:4.1.5.1-1 lsb-base_4.1+Debian7 m4_1.4.16-3 make_3.81-8.2 man-db_2.6.2-1 mawk_1.3.3-17 mount_2.20.1-5.1 multiarch-support_2.13-33 ncurses-base_5.9-9 ncurses-bin_5.9-9 passwd_1:4.1.5.1-1 patch_2.6.1-3 perl_5.14.2-12 perl-base_5.14.2-12 perl-modules_5.14.2-12 po-debconf_1.0.16+nmu2 readline-common_6.2-8 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-xgks-dummy_0.invalid.0 sed_4.2.1-10 sensible-utils_0.0.7 sysv-rc_2.88dsf-27 sysvinit_2.88dsf-27 sysvinit-utils_2.88dsf-27 tar_1.26-4 tzdata_2012c-1 ucf_3.0025+nmu3 util-linux_2.20.1-5.1 x11proto-core-dev_7.0.23-1 x11proto-input-dev_2.2-1 x11proto-kb-dev_1.0.6-2 xorg-sgml-doctools_1:1.10-1 xtrans-dev_1.2.7-1 xz-utils_5.1.1alpha+20120614-1 zlib1g_1:1.2.7.dfsg-13 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build │ └──────────────────────────────────────────────────────────────────────────────┘ Unpack source ───────────── gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Tue Jul 12 15:15:23 2011 UTC using RSA key ID 5127742C gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./xgks_2.6.1-3.dsc dpkg-source: info: extracting xgks in xgks-2.6.1 dpkg-source: info: unpacking xgks_2.6.1.orig.tar.gz dpkg-source: info: unpacking xgks_2.6.1-3.debian.tar.gz dpkg-source: info: applying configure.patch dpkg-source: info: applying libcheck.patch dpkg-source: info: applying config.patch dpkg-source: info: applying linux_no_underscore.patch dpkg-source: info: applying xcolours.patch dpkg-source: info: applying shared_lib.patch dpkg-source: info: applying destdir.patch dpkg-source: info: applying pmel.patch dpkg-source: info: applying hurd.patch dpkg-source: info: applying gnukfreebsd.patch Check disc space ──────────────── Sufficient free space for build User Environment ──────────────── HOME=/sbuild-nonexistent LOGNAME=root PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11 SCHROOT_CHROOT_NAME=unstable-amd64-sbuild SCHROOT_COMMAND=env SCHROOT_GID=0 SCHROOT_GROUP=root SCHROOT_SESSION_ID=unstable-amd64-sbuild-e7d8f3b7-d0f0-4109-8d1b-c8008a3e7e42 SCHROOT_UID=0 SCHROOT_USER=root SHELL=/bin/sh USER=root dpkg-buildpackage ───────────────── dpkg-buildpackage: warning: using a gain-root-command while being root dpkg-buildpackage: source package xgks dpkg-buildpackage: source version 2.6.1-3 dpkg-buildpackage: source changed by Alastair McKinstry dpkg-source --before-build xgks-2.6.1 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh --sourcedirectory=src clean dh_testdir -O--sourcedirectory=src dh_auto_clean -O--sourcedirectory=src debian/rules override_dh_clean make[1]: Entering directory `/«PKGBUILDDIR»' [ -f src/Makefile ] && /usr/bin/make -C src clean || echo "Makefile not present" Makefile not present rm -f src/lib/c/mkerrmsg dh_clean make[1]: Leaving directory `/«PKGBUILDDIR»' debian/rules build-arch dh --sourcedirectory=src build-arch dh_testdir -a -O--sourcedirectory=src debian/rules override_dh_auto_configure make[1]: Entering directory `/«PKGBUILDDIR»' cd src && ./configure --prefix=/usr FC=gfortran CC=gcc NEQN="neqn -Tutf8" checking for manual-page index command... checking for C compiler... gcc checking type of operating system... linux checking for dependency generation mechanism... gcc -M checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking how to run the C preprocessor... gcc -E checking the C preprocessor... works checking for C const... yes checking for C volatile... yes checking for C signed... yes checking for C function prototypes... yes checking for standard C variadic functions... yes checking for standard C string generation... yes checking for standard C token pasting... yes checking C void pointer... yes checking for ar... ar checking for tar flags... -chof checking for ranlib... ranlib checking binary distribution directory... /home/ftp/pub/binary/dummy_system checking the installation prefix... /usr checking the installation exec-prefix... /usr checking for ar... (cached) ar checking for ranlib... (cached) ranlib checking for C compiler... gcc checking for FORTRAN compiler... gfortran checking how to run the C preprocessor... gcc -E checking the C preprocessor... works checking for neqn... neqn -Tutf8 checking for tbl... tbl checking for troff... ptroff checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking C header file for typedef size_t... declared checking for stddef.h... (cached) yes checking C header file for typedef ptrdiff_t... declared checking for stddef.h... (cached) yes checking C header file for typedef size_t... declared checking for stddef.h... (cached) yes checking C header file for typedef ptrdiff_t... declared checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking C header file for typedef sigset_t... declared checking for signal.h... (cached) yes checking C header file for typedef sig_atomic_t... declared checking C header file for structure sigaction... declared checking for sigaction... yes checking for signal.h... (cached) yes checking C header file for function sigaction()... declared checking for stdlib.h... (cached) yes checking C header file for typedef size_t... declared checking for atexit... yes checking for stdlib.h... (cached) yes checking C header file for function atexit()... declared checking for getenv... yes checking for stdlib.h... (cached) yes checking C header file for function getenv()... declared checking for string.h... (cached) yes checking C header file for typedef size_t... declared checking for strerror... yes checking for string.h... (cached) yes checking C header file for function strerror()... undeclared checking for string.h... (cached) yes checking C header file for function strchr()... declared checking for string.h... (cached) yes checking C header file for function strcpy()... undeclared checking for string.h... (cached) yes checking C header file for function strrchr()... undeclared checking for string.h... (cached) yes checking C header file for function strncpy()... declared checking for string.h... (cached) yes checking C header file for function strtok()... undeclared checking for strstr... yes checking for string.h... (cached) yes checking C header file for function strstr()... undeclared checking for memmove... yes checking for string.h... (cached) yes checking C header file for function memmove()... undeclared checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking C header file for typedef time_t... declared checking for time.h... (cached) yes checking C header file for typedef size_t... declared checking for difftime... yes checking for time.h... (cached) yes checking C header file for function difftime()... declared checking for strftime... yes checking for time.h... (cached) yes checking C header file for function strftime()... declared checking for X11 header-files... -I/usr/include checking for X11 library... checking for XNoOp(0) in default library(s)... no checking for XNoOp(0) in -lX11... yes checking for package version... 2.6 configure: creating ./config.status config.status: creating Makefile config.status: creating port/Makefile config.status: creating port/master.mk config.status: creating port/fortc/Makefile config.status: creating lib/Makefile config.status: creating lib/c/Makefile config.status: creating lib/fortran/Makefile config.status: creating lib/c/cgm/Makefile config.status: creating lib/c/gksm/Makefile config.status: creating lib/c/x/Makefile config.status: creating fontdb/Makefile config.status: creating doc/binding/Makefile config.status: creating doc/userdoc/Makefile config.status: creating doc/Makefile config.status: creating progs/Makefile config.status: creating port/master.mk config.status: creating port/Makefile config.status: creating port/misc/Makefile config.status: creating port/fortc/Makefile config.status: creating port/misc/udposix.h config.status: executing default commands conftest.c:2:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main() ^~~~ conftest.c:4:12: warning: implicit declaration of function 'readsub' is invalid in C99 [-Wimplicit-function-declaration] return readsub((char*)NULL) ? 0 : 1; ^ conftest.c:6:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] readsub(inpath) ^~~~~~~ 3 warnings generated. expanding `include's in file `Makefile' expanding `include's in file `port/Makefile' expanding `include's in file `port/master.mk' expanding `include's in file `port/fortc/Makefile' expanding `include's in file `lib/Makefile' expanding `include's in file `lib/c/Makefile' expanding `include's in file `lib/fortran/Makefile' expanding `include's in file `lib/c/cgm/Makefile' expanding `include's in file `lib/c/gksm/Makefile' expanding `include's in file `lib/c/x/Makefile' expanding `include's in file `fontdb/Makefile' expanding `include's in file `doc/binding/Makefile' expanding `include's in file `doc/userdoc/Makefile' expanding `include's in file `doc/Makefile' expanding `include's in file `progs/Makefile' expanding `include's in file `port/master.mk' expanding `include's in file `port/Makefile' expanding `include's in file `port/misc/Makefile' expanding `include's in file `port/fortc/Makefile' make[1]: Leaving directory `/«PKGBUILDDIR»' debian/rules override_dh_auto_build make[1]: Entering directory `/«PKGBUILDDIR»' # build process uses libs in their _installed_ location, so we need these: mkdir -p `pwd`/debian/tmp//usr/lib `pwd`/debian/tmp//usr/bin `pwd`/debian/tmp//usr/include /usr/bin/make -j1 -C src all DESTDIR=`pwd`/debian/tmp/ make[2]: Entering directory `/«PKGBUILDDIR»/src' making `all' in directory /«PKGBUILDDIR»/src/port make[3]: Entering directory `/«PKGBUILDDIR»/src/port' making `all' in directory /«PKGBUILDDIR»/src/port/misc make[4]: Entering directory `/«PKGBUILDDIR»/src/port/misc' gcc -c -g -O2 -I. -D_REENTRANT uddummy.c ar rcuv libudport.a uddummy.o a - uddummy.o case "" in \ '') ;; \ *) ar rucv libudport.a ;; \ esac ranlib libudport.a make[5]: Entering directory `/«PKGBUILDDIR»/src/port/misc' gcc -c -o uddummy.so -fPIC -g -O2 -I. -D_REENTRANT uddummy.c gcc -shared -o libudport.so.2.6 -Wl,-soname,libudport.so.2 uddummy.so make[5]: Leaving directory `/«PKGBUILDDIR»/src/port/misc' make[4]: Leaving directory `/«PKGBUILDDIR»/src/port/misc' returning to directory /«PKGBUILDDIR»/src/port making `all' in directory /«PKGBUILDDIR»/src/port/fortc make[4]: Entering directory `/«PKGBUILDDIR»/src/port/fortc' sed "s|__LIBPATH__|`pwd`:/usr/lib/fortc|g;s/__DEFAULT_OS__/linux/g" fortc.src > fortc chmod +x fortc make[4]: Leaving directory `/«PKGBUILDDIR»/src/port/fortc' returning to directory /«PKGBUILDDIR»/src/port make[3]: Leaving directory `/«PKGBUILDDIR»/src/port' returning to directory /«PKGBUILDDIR»/src making `install' in directory /«PKGBUILDDIR»/src/port make[3]: Entering directory `/«PKGBUILDDIR»/src/port' making `install' in directory /«PKGBUILDDIR»/src/port/misc make[4]: Entering directory `/«PKGBUILDDIR»/src/port/misc' /usr/bin/make -w /usr/lib LIBDIR=/«PKGBUILDDIR»/debian/tmp//usr/lib make[5]: Entering directory `/«PKGBUILDDIR»/src/port/misc' make[5]: Nothing to be done for `/usr/lib'. make[5]: Leaving directory `/«PKGBUILDDIR»/src/port/misc' ar rcuv /«PKGBUILDDIR»/debian/tmp//usr/lib/libudport.a uddummy.o a - uddummy.o ranlib /«PKGBUILDDIR»/debian/tmp//usr/lib/libudport.a make[4]: Leaving directory `/«PKGBUILDDIR»/src/port/misc' returning to directory /«PKGBUILDDIR»/src/port making `install' in directory /«PKGBUILDDIR»/src/port/fortc make[4]: Entering directory `/«PKGBUILDDIR»/src/port/fortc' make[5]: Entering directory `/«PKGBUILDDIR»/src/port/fortc' cp fortc /«PKGBUILDDIR»/debian/tmp//usr/bin/fortc make[5]: Leaving directory `/«PKGBUILDDIR»/src/port/fortc' make[5]: Entering directory `/«PKGBUILDDIR»/src/port/fortc' mkdir -p /«PKGBUILDDIR»/debian/tmp//usr/man/man1 chmod u+rwx,g+rws,o=rx /«PKGBUILDDIR»/debian/tmp//usr/man/man1 case `uname -s` in \ OSF1*|IRIX*|HP-UX) \ sed \ -e '/^\.TH/s/$D\ate: \([0-9]*\)\/\([0-9]*\)\/\([0-9]*\).*\$/\1-\2-\3/'\ fortc.1 > /«PKGBUILDDIR»/debian/tmp//usr/man/man1/fortc.1;; \ *) \ sed \ -e '/^\.TH/s/$D\ate: \([0-9]*\)\/\([0-9]*\)\/\([0-9]*\).*\$/\1-\2-\3/'\ fortc.1 | tbl | neqn -Tutf8 > /«PKGBUILDDIR»/debian/tmp//usr/man/man1/fortc.1;; \ esac extension=`echo fortc.1 | sed 's/[^.]*\.//'`; \ subchapter=`echo $extension | sed 's/.//'`; \ case "$subchapter" in \ '') ;; \ *) chapter=`echo $extension | sed 's/\(.\).*/\1/'`; \ if test -d /«PKGBUILDDIR»/debian/tmp//usr/man/man1$subchapter; then \ : true; \ else \ mkdir /«PKGBUILDDIR»/debian/tmp//usr/man/man1$subchapter; \ fi; \ rm -f /«PKGBUILDDIR»/debian/tmp//usr/man/man1$subchapter/fortc.1; \ ln -s ../`basename /«PKGBUILDDIR»/debian/tmp//usr/man/man1`/fortc.1 \ /«PKGBUILDDIR»/debian/tmp//usr/man/man1$subchapter/fortc.1; \ ;; \ esac make[5]: Leaving directory `/«PKGBUILDDIR»/src/port/fortc' make[5]: Entering directory `/«PKGBUILDDIR»/src/port/fortc' make[6]: Entering directory `/«PKGBUILDDIR»/src/port/fortc' mkdir -p /«PKGBUILDDIR»/debian/tmp//usr/lib/fortc chmod u+rwx,g+rws,o=rx /«PKGBUILDDIR»/debian/tmp//usr/lib/fortc cp aix.m4 /«PKGBUILDDIR»/debian/tmp//usr/lib/fortc/aix.m4 make[6]: Leaving directory `/«PKGBUILDDIR»/src/port/fortc' make[6]: Entering directory `/«PKGBUILDDIR»/src/port/fortc' cp bsdos.m4 /«PKGBUILDDIR»/debian/tmp//usr/lib/fortc/bsdos.m4 make[6]: Leaving directory `/«PKGBUILDDIR»/src/port/fortc' make[6]: Entering directory `/«PKGBUILDDIR»/src/port/fortc' cp common.m4 /«PKGBUILDDIR»/debian/tmp//usr/lib/fortc/common.m4 make[6]: Leaving directory `/«PKGBUILDDIR»/src/port/fortc' make[6]: Entering directory `/«PKGBUILDDIR»/src/port/fortc' cp convexos.m4 /«PKGBUILDDIR»/debian/tmp//usr/lib/fortc/convexos.m4 make[6]: Leaving directory `/«PKGBUILDDIR»/src/port/fortc' make[6]: Entering directory `/«PKGBUILDDIR»/src/port/fortc' cp domainos.m4 /«PKGBUILDDIR»/debian/tmp//usr/lib/fortc/domainos.m4 make[6]: Leaving directory `/«PKGBUILDDIR»/src/port/fortc' make[6]: Entering directory `/«PKGBUILDDIR»/src/port/fortc' cp hpux.m4 /«PKGBUILDDIR»/debian/tmp//usr/lib/fortc/hpux.m4 make[6]: Leaving directory `/«PKGBUILDDIR»/src/port/fortc' make[6]: Entering directory `/«PKGBUILDDIR»/src/port/fortc' cp irix.m4 /«PKGBUILDDIR»/debian/tmp//usr/lib/fortc/irix.m4 make[6]: Leaving directory `/«PKGBUILDDIR»/src/port/fortc' make[6]: Entering directory `/«PKGBUILDDIR»/src/port/fortc' cp linux.m4 /«PKGBUILDDIR»/debian/tmp//usr/lib/fortc/linux.m4 make[6]: Leaving directory `/«PKGBUILDDIR»/src/port/fortc' make[6]: Entering directory `/«PKGBUILDDIR»/src/port/fortc' cp cygwin.m4 /«PKGBUILDDIR»/debian/tmp//usr/lib/fortc/cygwin.m4 make[6]: Leaving directory `/«PKGBUILDDIR»/src/port/fortc' make[6]: Entering directory `/«PKGBUILDDIR»/src/port/fortc' cp msoft.m4 /«PKGBUILDDIR»/debian/tmp//usr/lib/fortc/msoft.m4 make[6]: Leaving directory `/«PKGBUILDDIR»/src/port/fortc' make[6]: Entering directory `/«PKGBUILDDIR»/src/port/fortc' cp next-absoft.m4 /«PKGBUILDDIR»/debian/tmp//usr/lib/fortc/next-absoft.m4 make[6]: Leaving directory `/«PKGBUILDDIR»/src/port/fortc' make[6]: Entering directory `/«PKGBUILDDIR»/src/port/fortc' cp osf.m4 /«PKGBUILDDIR»/debian/tmp//usr/lib/fortc/osf.m4 make[6]: Leaving directory `/«PKGBUILDDIR»/src/port/fortc' make[6]: Entering directory `/«PKGBUILDDIR»/src/port/fortc' cp sunos.m4 /«PKGBUILDDIR»/debian/tmp//usr/lib/fortc/sunos.m4 make[6]: Leaving directory `/«PKGBUILDDIR»/src/port/fortc' make[6]: Entering directory `/«PKGBUILDDIR»/src/port/fortc' cp ultrix.m4 /«PKGBUILDDIR»/debian/tmp//usr/lib/fortc/ultrix.m4 make[6]: Leaving directory `/«PKGBUILDDIR»/src/port/fortc' make[6]: Entering directory `/«PKGBUILDDIR»/src/port/fortc' cp unicos.m4 /«PKGBUILDDIR»/debian/tmp//usr/lib/fortc/unicos.m4 make[6]: Leaving directory `/«PKGBUILDDIR»/src/port/fortc' make[6]: Entering directory `/«PKGBUILDDIR»/src/port/fortc' cp vax-ultrix.m4 /«PKGBUILDDIR»/debian/tmp//usr/lib/fortc/vax-ultrix.m4 make[6]: Leaving directory `/«PKGBUILDDIR»/src/port/fortc' make[6]: Entering directory `/«PKGBUILDDIR»/src/port/fortc' cp vms.m4 /«PKGBUILDDIR»/debian/tmp//usr/lib/fortc/vms.m4 make[6]: Leaving directory `/«PKGBUILDDIR»/src/port/fortc' make[5]: Leaving directory `/«PKGBUILDDIR»/src/port/fortc' make[4]: Leaving directory `/«PKGBUILDDIR»/src/port/fortc' returning to directory /«PKGBUILDDIR»/src/port make[3]: Leaving directory `/«PKGBUILDDIR»/src/port' returning to directory /«PKGBUILDDIR»/src making `all' in directory /«PKGBUILDDIR»/src/lib make[3]: Entering directory `/«PKGBUILDDIR»/src/lib' making `all' in directory /«PKGBUILDDIR»/src/lib/c make[4]: Entering directory `/«PKGBUILDDIR»/src/lib/c' gcc -I../../port/misc -DFONTDBDIR='"/usr/lib/xgksfonts"' -I/usr/include -g -O2 -o mkerrmsg mkerrmsg.c mkerrmsg.c:53:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main() ^~~~ 1 warning generated. ./mkerrmsg < gks_errors.h > gkserrmsg.h making `all' in directory /«PKGBUILDDIR»/src/lib/c/cgm make[5]: Entering directory `/«PKGBUILDDIR»/src/lib/c/cgm' gcc -c -g -O2 -I.. -I../../../port/misc -I/usr/include cgmi.c cgmi.c:254:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] mi_point(mi, points, npoint) ^~~~~~~~ cgmi.c:263:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cgmi.c:1146:32: warning: & has lower precedence than !=; != will be evaluated first [-Wparentheses] if (!ferror(mf->cgmi->fp) & fclose(mf->cgmi->fp) != EOF) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cgmi.c:1146:32: note: place parentheses around the != expression to silence this warning if (!ferror(mf->cgmi->fp) & fclose(mf->cgmi->fp) != EOF) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ cgmi.c:1146:32: note: place parentheses around the & expression to evaluate it first if (!ferror(mf->cgmi->fp) & fclose(mf->cgmi->fp) != EOF) ^ ( ) cgmi.c:1227:13: warning: implicit declaration of function 'gerrorhand' is invalid in C99 [-Wimplicit-function-declaration] (void) gerrorhand(162, errgreadgksm, xgks_state.gks_err_file); ^ 4 warnings generated. gcc -c -g -O2 -I.. -I../../../port/misc -I/usr/include cgmo.c cgmo.c:882:6: warning: implicit declaration of function 'ginqcolourrep' is invalid in C99 [-Wimplicit-function-declaration] if (ginqcolourrep(cgmo[ii]->ws->ws_id, 0, GSET, &rep) == OK) { ^ cgmo.c:926:6: warning: implicit declaration of function 'ginqcolourindices' is invalid in C99 [-Wimplicit-function-declaration] if (ginqcolourindices(cgmo[ii]->ws->ws_id, &indices) == OK) { ^ cgmo.c:960:9: warning: implicit declaration of function 'ginqclip' is invalid in C99 [-Wimplicit-function-declaration] if (ginqclip(&clipping) == OK) { ^ cgmo.c:1589:2: warning: implicit declaration of function 'XgksComputeVec' is invalid in C99 [-Wimplicit-function-declaration] XgksComputeVec(&ndc_up, &ndc_base); ^ cgmo.c:2021:28: warning: & has lower precedence than !=; != will be evaluated first [-Wparentheses] if (!ferror(cgmo->fp) & fclose(cgmo->fp) != EOF) ^~~~~~~~~~~~~~~~~~~~~~~~~ cgmo.c:2021:28: note: place parentheses around the != expression to silence this warning if (!ferror(cgmo->fp) & fclose(cgmo->fp) != EOF) ^ ~~~~~~~~~~~~~~~~~~~~~~~ cgmo.c:2021:28: note: place parentheses around the & expression to evaluate it first if (!ferror(cgmo->fp) & fclose(cgmo->fp) != EOF) ^ ( ) 5 warnings generated. ar rcuv ../libxgks.a cgmi.o cgmo.o a - cgmi.o a - cgmo.o ranlib ../libxgks.a gcc -c -o cgmi.so -fPIC -g -O2 -I.. -I../../../port/misc -I/usr/include cgmi.c cgmi.c:254:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] mi_point(mi, points, npoint) ^~~~~~~~ cgmi.c:263:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cgmi.c:1146:32: warning: & has lower precedence than !=; != will be evaluated first [-Wparentheses] if (!ferror(mf->cgmi->fp) & fclose(mf->cgmi->fp) != EOF) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cgmi.c:1146:32: note: place parentheses around the != expression to silence this warning if (!ferror(mf->cgmi->fp) & fclose(mf->cgmi->fp) != EOF) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ cgmi.c:1146:32: note: place parentheses around the & expression to evaluate it first if (!ferror(mf->cgmi->fp) & fclose(mf->cgmi->fp) != EOF) ^ ( ) cgmi.c:1227:13: warning: implicit declaration of function 'gerrorhand' is invalid in C99 [-Wimplicit-function-declaration] (void) gerrorhand(162, errgreadgksm, xgks_state.gks_err_file); ^ 4 warnings generated. gcc -c -o cgmo.so -fPIC -g -O2 -I.. -I../../../port/misc -I/usr/include cgmo.c cgmo.c:882:6: warning: implicit declaration of function 'ginqcolourrep' is invalid in C99 [-Wimplicit-function-declaration] if (ginqcolourrep(cgmo[ii]->ws->ws_id, 0, GSET, &rep) == OK) { ^ cgmo.c:926:6: warning: implicit declaration of function 'ginqcolourindices' is invalid in C99 [-Wimplicit-function-declaration] if (ginqcolourindices(cgmo[ii]->ws->ws_id, &indices) == OK) { ^ cgmo.c:960:9: warning: implicit declaration of function 'ginqclip' is invalid in C99 [-Wimplicit-function-declaration] if (ginqclip(&clipping) == OK) { ^ cgmo.c:1589:2: warning: implicit declaration of function 'XgksComputeVec' is invalid in C99 [-Wimplicit-function-declaration] XgksComputeVec(&ndc_up, &ndc_base); ^ cgmo.c:2021:28: warning: & has lower precedence than !=; != will be evaluated first [-Wparentheses] if (!ferror(cgmo->fp) & fclose(cgmo->fp) != EOF) ^~~~~~~~~~~~~~~~~~~~~~~~~ cgmo.c:2021:28: note: place parentheses around the != expression to silence this warning if (!ferror(cgmo->fp) & fclose(cgmo->fp) != EOF) ^ ~~~~~~~~~~~~~~~~~~~~~~~ cgmo.c:2021:28: note: place parentheses around the & expression to evaluate it first if (!ferror(cgmo->fp) & fclose(cgmo->fp) != EOF) ^ ( ) 5 warnings generated. make[5]: Leaving directory `/«PKGBUILDDIR»/src/lib/c/cgm' returning to directory /«PKGBUILDDIR»/src/lib/c making `all' in directory /«PKGBUILDDIR»/src/lib/c/gksm make[5]: Entering directory `/«PKGBUILDDIR»/src/lib/c/gksm' gcc -c -g -O2 -I.. -I../../../port/misc -I/usr/include gksm.c gksm.c:1024:13: warning: implicit declaration of function 'gerrorhand' is invalid in C99 [-Wimplicit-function-declaration] (void) gerrorhand(162, errgreadgksm, xgks_state.gks_err_file); ^ gksm.c:1154:32: warning: & has lower precedence than !=; != will be evaluated first [-Wparentheses] if (!ferror(mf->gksm->fp) & fclose(mf->gksm->fp) != EOF) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gksm.c:1154:32: note: place parentheses around the != expression to silence this warning if (!ferror(mf->gksm->fp) & fclose(mf->gksm->fp) != EOF) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ gksm.c:1154:32: note: place parentheses around the & expression to evaluate it first if (!ferror(mf->gksm->fp) & fclose(mf->gksm->fp) != EOF) ^ ( ) gksm.c:1232:32: warning: & has lower precedence than !=; != will be evaluated first [-Wparentheses] if (!ferror(mf->gksm->fp) & fclose(mf->gksm->fp) != EOF) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gksm.c:1232:32: note: place parentheses around the != expression to silence this warning if (!ferror(mf->gksm->fp) & fclose(mf->gksm->fp) != EOF) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ gksm.c:1232:32: note: place parentheses around the & expression to evaluate it first if (!ferror(mf->gksm->fp) & fclose(mf->gksm->fp) != EOF) ^ ( ) gksm.c:1666:2: warning: implicit declaration of function 'XgksComputeVec' is invalid in C99 [-Wimplicit-function-declaration] XgksComputeVec(&ndc_up, &ndc_base); ^ 4 warnings generated. ar rcuv ../libxgks.a gksm.o a - gksm.o ranlib ../libxgks.a gcc -c -o gksm.so -fPIC -g -O2 -I.. -I../../../port/misc -I/usr/include gksm.c gksm.c:1024:13: warning: implicit declaration of function 'gerrorhand' is invalid in C99 [-Wimplicit-function-declaration] (void) gerrorhand(162, errgreadgksm, xgks_state.gks_err_file); ^ gksm.c:1154:32: warning: & has lower precedence than !=; != will be evaluated first [-Wparentheses] if (!ferror(mf->gksm->fp) & fclose(mf->gksm->fp) != EOF) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gksm.c:1154:32: note: place parentheses around the != expression to silence this warning if (!ferror(mf->gksm->fp) & fclose(mf->gksm->fp) != EOF) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ gksm.c:1154:32: note: place parentheses around the & expression to evaluate it first if (!ferror(mf->gksm->fp) & fclose(mf->gksm->fp) != EOF) ^ ( ) gksm.c:1232:32: warning: & has lower precedence than !=; != will be evaluated first [-Wparentheses] if (!ferror(mf->gksm->fp) & fclose(mf->gksm->fp) != EOF) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gksm.c:1232:32: note: place parentheses around the != expression to silence this warning if (!ferror(mf->gksm->fp) & fclose(mf->gksm->fp) != EOF) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ gksm.c:1232:32: note: place parentheses around the & expression to evaluate it first if (!ferror(mf->gksm->fp) & fclose(mf->gksm->fp) != EOF) ^ ( ) gksm.c:1666:2: warning: implicit declaration of function 'XgksComputeVec' is invalid in C99 [-Wimplicit-function-declaration] XgksComputeVec(&ndc_up, &ndc_base); ^ 4 warnings generated. make[5]: Leaving directory `/«PKGBUILDDIR»/src/lib/c/gksm' returning to directory /«PKGBUILDDIR»/src/lib/c making `all' in directory /«PKGBUILDDIR»/src/lib/c/x make[5]: Entering directory `/«PKGBUILDDIR»/src/lib/c/x' gcc -c -g -O2 -I.. -I../../../port/misc -I/usr/include xSet.c xSet.c:48:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksSetForeground(dpy, gc, fg) ^~~~~~~~~~~~~~~~~~ xSet.c:54:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xSet.c:57:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksSetLineAttributes(dpy, gc, line_width, line_style, cap_style, join_style) ^~~~~~~~~~~~~~~~~~~~~~ xSet.c:66:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xSet.c:69:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksSetStipple(dpy, gc, stipple) ^~~~~~~~~~~~~~~ xSet.c:75:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xSet.c:78:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksSetDashes(dpy, gc, ws, i) ^~~~~~~~~~~~~~ xSet.c:86:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xSet.c:90:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksSetTile(dpy, gc, tile) ^~~~~~~~~~~~ xSet.c:96:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xSet.c:99:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksSetClipMask(dpy, gc, pixmap) ^~~~~~~~~~~~~~~~ xSet.c:105:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xSet.c:108:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksSetPlineClipRectangles(dpy, gc, ws, rectangle) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ xSet.c:121:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xSet.c:124:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksSetPmarkerClipRectangles(dpy, gc, ws, rectangle) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xSet.c:137:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xSet.c:140:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksSetFillAreaClipRectangles(dpy, gc, ws, rectangle) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xSet.c:153:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xSet.c:156:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksSetTextClipRectangles(dpy, gc, ws, rectangle) ^~~~~~~~~~~~~~~~~~~~~~~~~~ xSet.c:169:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xSet.c:172:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksSetFillStyle(dpy, gc, fill_style) ^~~~~~~~~~~~~~~~~ xSet.c:178:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 22 warnings generated. gcc -c -g -O2 -I.. -I../../../port/misc -I/usr/include xcellarray.c xcellarray.c:57:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksCellarray(ws, cell_ptr) ^~~~~~~~~~~~~~ xcellarray.c:78:12: warning: implicit declaration of function 'XgksSIGIO_OFF' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_OFF(ws->dpy); ^ xcellarray.c:101:5: warning: implicit declaration of function 'gerrorhand' is invalid in C99 [-Wimplicit-function-declaration] GKSERROR((cll == NULL), 300, errgcellarray); ^ ../gks_defines.h:75:49: note: expanded from macro 'GKSERROR' #define GKSERROR(c,n,m) GKS_STMT(if (c) { (void)gerrorhand( (n), (m), \ ^ ../gks_defines.h:57:29: note: expanded from macro 'GKS_STMT' #define GKS_STMT(stuff) do {stuff} while (GKS_ZERO) ^ xcellarray.c:178:12: warning: implicit declaration of function 'XgksSIGIO_ON' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_ON(ws->dpy); ^ 4 warnings generated. gcc -c -g -O2 -I.. -I../../../port/misc -I/usr/include xcolours.c xcolours.c:178:18: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register i; ~~~~~~~~ ^ xcolours.c:395:13: warning: implicit declaration of function 'xXgksXReDrawWs' is invalid in C99 [-Wimplicit-function-declaration] (void) xXgksXReDrawWs(ws); ^ xcolours.c:479:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XcInit(ws) ^~~~~~ xcolours.c:563:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XcSetColour(ws, GKSindex, GKSrep) ^~~~~~~~~~~ xcolours.c:656:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XcEnd(ws) ^~~~~ 5 warnings generated. gcc -c -g -O2 -I.. -I../../../port/misc -I/usr/include xevent.c xevent.c:75:5: warning: implicit declaration of function 'XgksIDevDisable' is invalid in C99 [-Wimplicit-function-declaration] XgksIDevDisable(ws); ^ xevent.c:84:5: warning: implicit declaration of function 'xXgksUpdateTrans' is invalid in C99 [-Wimplicit-function-declaration] xXgksUpdateTrans(ws); ^ xevent.c:93:5: warning: implicit declaration of function 'XgksXReDrawWs' is invalid in C99 [-Wimplicit-function-declaration] XgksXReDrawWs(ws); ^ xevent.c:104:5: warning: implicit declaration of function 'XgksIDevEnable' is invalid in C99 [-Wimplicit-function-declaration] XgksIDevEnable(ws); ^ xevent.c:258:13: warning: implicit declaration of function 'XgksSIGIO_OFF' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_OFF(ws->dpy); ^ xevent.c:298:7: warning: implicit declaration of function 'XgksIProcessXEvent' is invalid in C99 [-Wimplicit-function-declaration] XgksIProcessXEvent(&xev, ws); ^ xevent.c:312:13: warning: implicit declaration of function 'XgksSIGIO_ON' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_ON(ws->dpy); ^ xevent.c:358:12: warning: implicit declaration of function 'sockspgrp' is invalid in C99 [-Wimplicit-function-declaration] (void) sockspgrp(ConnectionNumber(dpy), pid); ^ xevent.c:395:9: warning: implicit declaration of function 'sockasync' is invalid in C99 [-Wimplicit-function-declaration] (void) sockasync(ConnectionNumber(dpy), 0); ^ xevent.c:400:9: warning: implicit declaration of function 'sio_off' is invalid in C99 [-Wimplicit-function-declaration] (void) sio_off(); ^ xevent.c:439:9: warning: implicit declaration of function 'sio_on' is invalid in C99 [-Wimplicit-function-declaration] (void) sio_on(xProcessAsyncEvents); ^ 11 warnings generated. gcc -c -g -O2 -I.. -I../../../port/misc -I/usr/include xfillarea.c xfillarea.c:55:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksFillArea(ws, fill_ptr) ^~~~~~~~~~~~~ xfillarea.c:83:12: warning: implicit declaration of function 'XgksSIGIO_OFF' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_OFF(ws->dpy); ^ xfillarea.c:93:5: warning: implicit declaration of function 'gerrorhand' is invalid in C99 [-Wimplicit-function-declaration] GKSERROR((xpe == NULL), 300, errxFillArea); ^ ../gks_defines.h:75:49: note: expanded from macro 'GKSERROR' #define GKSERROR(c,n,m) GKS_STMT(if (c) { (void)gerrorhand( (n), (m), \ ^ ../gks_defines.h:57:29: note: expanded from macro 'GKS_STMT' #define GKS_STMT(stuff) do {stuff} while (GKS_ZERO) ^ xfillarea.c:120:5: warning: implicit declaration of function 'xXgksSetForeground' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetForeground(dpy, gc, XcPixelValue(ws, fill_colour)); ^ xfillarea.c:148:5: warning: implicit declaration of function 'xXgksSetLineAttributes' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetLineAttributes(dpy, gc, 0, LineSolid, CapButt, JoinMiter); ^ xfillarea.c:149:5: warning: implicit declaration of function 'xXgksSetFillStyle' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetFillStyle(dpy, gc, FillSolid); ^ xfillarea.c:171:2: warning: implicit declaration of function 'xXgksSetFillAreaClipRectangles' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetFillAreaClipRectangles(dpy, gc, ws, &(ws->xclip)); ^ xfillarea.c:234:2: warning: implicit declaration of function 'xXgksSetTile' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetTile(dpy, gc, pixm); ^ xfillarea.c:304:2: warning: implicit declaration of function 'xXgksSetStipple' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetStipple(dpy, gc, pixm); ^ xfillarea.c:317:12: warning: implicit declaration of function 'XgksSIGIO_ON' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_ON(dpy); ^ 10 warnings generated. gcc -c -g -O2 -I.. -I../../../port/misc -I/usr/include xinqpixel.c xinqpixel.c:59:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksInqPixelarrayDim(ws, rect, dim) ^~~~~~~~~~~~~~~~~~~~~ xinqpixel.c:67:12: warning: implicit declaration of function 'XgksSIGIO_OFF' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_OFF(ws->dpy); ^ xinqpixel.c:80:12: warning: implicit declaration of function 'XgksSIGIO_ON' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_ON(ws->dpy); ^ xinqpixel.c:95:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksInqPixelarray(ws, point, dim, pxarr) ^~~~~~~~~~~~~~~~~~ xinqpixel.c:204:5: warning: implicit declaration of function 'gerrorhand' is invalid in C99 [-Wimplicit-function-declaration] GKSERROR((pxarr->array == NULL), 300, errxInqPixelarray); ^ ../gks_defines.h:75:49: note: expanded from macro 'GKSERROR' #define GKSERROR(c,n,m) GKS_STMT(if (c) { (void)gerrorhand( (n), (m), \ ^ ../gks_defines.h:57:29: note: expanded from macro 'GKS_STMT' #define GKS_STMT(stuff) do {stuff} while (GKS_ZERO) ^ xinqpixel.c:246:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksInqPixel(ws, ppoint, pix) ^~~~~~~~~~~~~ 6 warnings generated. gcc -c -g -O2 -I.. -I../../../port/misc -I/usr/include xopws.c xopws.c:117:13: warning: implicit declaration of function 'XgksSIGIO_OFF' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_OFF(wk->dpy); ^ xopws.c:153:13: warning: implicit declaration of function 'XgksSIGIO_ON' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_ON(wk->dpy); ^ xopws.c:165:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] InsureConn(wk) ^ xopws.c:188:2: warning: implicit declaration of function 'XcCopy' is invalid in C99 [-Wimplicit-function-declaration] XcCopy(wk, wk_p); /* copy color information */ ^ xopws.c:261:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CreateWindow(name, rDB, wk) ^ xopws.c:330:8: warning: incompatible pointer types passing 'XVisualInfo *' to parameter of type 'Visual *' [-Wincompatible-pointer-types] &wk->vinfo, ^~~~~~~~~~ /usr/include/X11/Xlib.h:1654:26: note: passing argument to parameter here Visual* /* visual */, ^ xopws.c:637:28: warning: '&&' within '||' [-Wlogical-op-parentheses] if (XNegative & flags && !((WidthValue & flags)) || ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ xopws.c:637:28: note: place parentheses around the '&&' expression to silence this warning if (XNegative & flags && !((WidthValue & flags)) || ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ xopws.c:638:25: warning: '&&' within '||' [-Wlogical-op-parentheses] YNegative & flags && !((HeightValue & flags))) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ xopws.c:638:25: note: place parentheses around the '&&' expression to silence this warning YNegative & flags && !((HeightValue & flags))) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ xopws.c:663:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] InitDefaults(name, dpy, rDB) ^ xopws.c:709:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetUsersDatabase(prog, rDB, dpy) ^ xopws.c:817:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksClearWs(wk) ^~~~~~~~~~~~ xopws.c:835:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksCloseWs(ws) ^~~~~~~~~~~~ xopws.c:857:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksHighLight(ws, bd) ^~~~~~~~~~~~~~ 13 warnings generated. gcc -c -g -O2 -I.. -I../../../port/misc -I/usr/include xpline.c xpline.c:201:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksPolyLine(ws, plin_ptr) ^~~~~~~~~~~~~ xpline.c:223:12: warning: implicit declaration of function 'XgksSIGIO_OFF' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_OFF(ws->dpy); ^ xpline.c:258:5: warning: implicit declaration of function 'xXgksSetForeground' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetForeground(dpy, gc, XcPixelValue(ws, i)); ^ xpline.c:288:2: warning: implicit declaration of function 'xXgksSetDashes' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetDashes(dpy, gc, ws, i); ^ xpline.c:291:5: warning: implicit declaration of function 'xXgksSetLineAttributes' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetLineAttributes(dpy, gc, line_width, line_style, CapButt, ^ xpline.c:293:5: warning: implicit declaration of function 'xXgksSetFillStyle' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetFillStyle(dpy, gc, FillSolid); ^ xpline.c:294:5: warning: implicit declaration of function 'xXgksSetPlineClipRectangles' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetPlineClipRectangles(dpy, gc, ws, &(ws->xclip)); ^ xpline.c:325:12: warning: implicit declaration of function 'XgksSIGIO_ON' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_ON(ws->dpy); ^ 8 warnings generated. gcc -c -g -O2 -I.. -I../../../port/misc -I/usr/include xpmarker.c xpmarker.c:55:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksPolyMarker(ws, pmk_ptr) ^~~~~~~~~~~~~~~ xpmarker.c:80:12: warning: implicit declaration of function 'XgksSIGIO_OFF' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_OFF(ws->dpy); ^ xpmarker.c:90:5: warning: implicit declaration of function 'gerrorhand' is invalid in C99 [-Wimplicit-function-declaration] GKSERROR((xpe == NULL), 300, errxPolyMarker); ^ ../gks_defines.h:75:49: note: expanded from macro 'GKSERROR' #define GKSERROR(c,n,m) GKS_STMT(if (c) { (void)gerrorhand( (n), (m), \ ^ ../gks_defines.h:57:29: note: expanded from macro 'GKS_STMT' #define GKS_STMT(stuff) do {stuff} while (GKS_ZERO) ^ xpmarker.c:115:5: warning: implicit declaration of function 'xXgksSetForeground' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetForeground(dpy, gc, XcPixelValue(ws, i)); ^ xpmarker.c:136:5: warning: implicit declaration of function 'xXgksSetLineAttributes' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetLineAttributes(dpy, gc, 0, LineSolid, CapButt, JoinMiter); ^ xpmarker.c:137:5: warning: implicit declaration of function 'xXgksSetFillStyle' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetFillStyle(dpy, gc, FillSolid); ^ xpmarker.c:139:5: warning: implicit declaration of function 'xXgksSetPmarkerClipRectangles' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetPmarkerClipRectangles(dpy, gc, ws, &(ws->xclip)); ^ xpmarker.c:154:5: warning: implicit declaration of function 'XgksDrawMarkers' is invalid in C99 [-Wimplicit-function-declaration] XgksDrawMarkers(dpy, win, gc, ype, npnt, mark_type, mark_size); ^ xpmarker.c:159:12: warning: implicit declaration of function 'XgksSIGIO_ON' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_ON(ws->dpy); ^ xpmarker.c:168:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XgksDrawMarkers(dpy, win, gc, pe, n, type, s) ^~~~~~~~~~~~~~~ xpmarker.c:289:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 11 warnings generated. gcc -c -g -O2 -I.. -I../../../port/misc -I/usr/include xport.c xport.c:97:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] sio_on(handler) ^~~~~~ xport.c:123:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] sio_off() ^~~~~~~ xport.c:146:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] sockspgrp(fd, pid) ^~~~~~~~~ xport.c:165:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] sockasync(fd, yes) ^~~~~~~~~ xport.c:183:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xport.c:261:2: warning: implicit declaration of function 'xProcessEvents' is invalid in C99 [-Wimplicit-function-declaration] xProcessEvents(); ^ 6 warnings generated. gcc -c -g -O2 -I.. -I../../../port/misc -I/usr/include xtext.c xtext.c:98:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xComputeText(ws, tx) ^ xtext.c:179:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xtext.c:188:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksText(ws, tx) ^~~~~~~~~ xtext.c:203:12: warning: implicit declaration of function 'XgksSIGIO_OFF' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_OFF(ws->dpy); ^ xtext.c:443:5: warning: implicit declaration of function 'xXgksSetTextClipRectangles' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetTextClipRectangles(dpy, gc, ws, &(ws->xclip)); ^ xtext.c:444:5: warning: implicit declaration of function 'xXgksSetForeground' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetForeground(dpy, gc, XcPixelValue(ws, (Gint) wsr_colour)); ^ xtext.c:445:5: warning: implicit declaration of function 'xXgksSetLineAttributes' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetLineAttributes(dpy, gc, 0, LineSolid, CapButt, JoinMiter); ^ xtext.c:446:5: warning: implicit declaration of function 'xXgksSetFillStyle' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetFillStyle(dpy, gc, FillSolid); ^ xtext.c:486:12: warning: implicit declaration of function 'XgksSIGIO_ON' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_ON(ws->dpy); ^ xtext.c:504:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xPlotStrokeChar(cvp) ^ xtext.c:561:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xtext.c:645:9: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close(fd); ^ xtext.c:648:9: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] if (read(fd, (char *) &size, sizeof(int)) != sizeof(int)) { ^ xtext.c:674:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xIdentityMatrix(m) ^ xtext.c:733:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xTransMatrix(m, tx, ty) ^ xtext.c:749:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xCopyMatrix(dest, src) ^ xtext.c:764:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xMultMatrix(a, b, c) ^ xtext.c:795:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ck_ranges(cdef, Xmin, Xmax, Ymin, Ymax) ^ xtext.c:828:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ApplyMatrix(m, in, out) ^ xtext.c:842:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksInqTextExtent(ws, tx, ndc_points) ^~~~~~~~~~~~~~~~~~ xtext.c:1289:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksMesg(ws, mesg) ^~~~~~~~~ xtext.c:1333:53: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' tempwidth = XTextWidth(MFontInfo, mesg->string, STRLEN(mesg->string)); ^ ../gks_defines.h:62:46: note: expanded from macro 'STRLEN' #define STRLEN(a) (((a) == NULL) ? 0 : strlen(a)) ^ xtext.c:1333:53: note: please include the header or explicitly provide a declaration for 'strlen' tempwidth = XTextWidth(MFontInfo, mesg->string, STRLEN(mesg->string)); ^ ../gks_defines.h:62:46: note: expanded from macro 'STRLEN' #define STRLEN(a) (((a) == NULL) ? 0 : strlen(a)) ^ 22 warnings generated. gcc -c -g -O2 -I.. -I../../../port/misc -I/usr/include xupdate.c xupdate.c:61:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksUpdateTrans(ws) ^~~~~~~~~~~~~~~~ xupdate.c:123:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xupdate.c:134:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksUpdateClip(ws) ^~~~~~~~~~~~~~~ xupdate.c:154:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 4 warnings generated. ar rcuv ../libxgks.a xSet.o xcellarray.o xcolours.o xevent.o xfillarea.o xinqpixel.o xopws.o xpline.o xpmarker.o xport.o xtext.o xupdate.o a - xSet.o a - xcellarray.o a - xcolours.o a - xevent.o a - xfillarea.o a - xinqpixel.o a - xopws.o a - xpline.o a - xpmarker.o a - xport.o a - xtext.o a - xupdate.o ranlib ../libxgks.a gcc -c -o xSet.so -fPIC -g -O2 -I.. -I../../../port/misc -I/usr/include xSet.c xSet.c:48:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksSetForeground(dpy, gc, fg) ^~~~~~~~~~~~~~~~~~ xSet.c:54:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xSet.c:57:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksSetLineAttributes(dpy, gc, line_width, line_style, cap_style, join_style) ^~~~~~~~~~~~~~~~~~~~~~ xSet.c:66:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xSet.c:69:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksSetStipple(dpy, gc, stipple) ^~~~~~~~~~~~~~~ xSet.c:75:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xSet.c:78:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksSetDashes(dpy, gc, ws, i) ^~~~~~~~~~~~~~ xSet.c:86:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xSet.c:90:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksSetTile(dpy, gc, tile) ^~~~~~~~~~~~ xSet.c:96:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xSet.c:99:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksSetClipMask(dpy, gc, pixmap) ^~~~~~~~~~~~~~~~ xSet.c:105:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xSet.c:108:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksSetPlineClipRectangles(dpy, gc, ws, rectangle) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ xSet.c:121:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xSet.c:124:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksSetPmarkerClipRectangles(dpy, gc, ws, rectangle) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xSet.c:137:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xSet.c:140:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksSetFillAreaClipRectangles(dpy, gc, ws, rectangle) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xSet.c:153:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xSet.c:156:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksSetTextClipRectangles(dpy, gc, ws, rectangle) ^~~~~~~~~~~~~~~~~~~~~~~~~~ xSet.c:169:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xSet.c:172:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksSetFillStyle(dpy, gc, fill_style) ^~~~~~~~~~~~~~~~~ xSet.c:178:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 22 warnings generated. gcc -c -o xcellarray.so -fPIC -g -O2 -I.. -I../../../port/misc -I/usr/include xcellarray.c xcellarray.c:57:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksCellarray(ws, cell_ptr) ^~~~~~~~~~~~~~ xcellarray.c:78:12: warning: implicit declaration of function 'XgksSIGIO_OFF' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_OFF(ws->dpy); ^ xcellarray.c:101:5: warning: implicit declaration of function 'gerrorhand' is invalid in C99 [-Wimplicit-function-declaration] GKSERROR((cll == NULL), 300, errgcellarray); ^ ../gks_defines.h:75:49: note: expanded from macro 'GKSERROR' #define GKSERROR(c,n,m) GKS_STMT(if (c) { (void)gerrorhand( (n), (m), \ ^ ../gks_defines.h:57:29: note: expanded from macro 'GKS_STMT' #define GKS_STMT(stuff) do {stuff} while (GKS_ZERO) ^ xcellarray.c:178:12: warning: implicit declaration of function 'XgksSIGIO_ON' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_ON(ws->dpy); ^ 4 warnings generated. gcc -c -o xcolours.so -fPIC -g -O2 -I.. -I../../../port/misc -I/usr/include xcolours.c xcolours.c:178:18: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register i; ~~~~~~~~ ^ xcolours.c:395:13: warning: implicit declaration of function 'xXgksXReDrawWs' is invalid in C99 [-Wimplicit-function-declaration] (void) xXgksXReDrawWs(ws); ^ xcolours.c:479:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XcInit(ws) ^~~~~~ xcolours.c:563:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XcSetColour(ws, GKSindex, GKSrep) ^~~~~~~~~~~ xcolours.c:656:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XcEnd(ws) ^~~~~ 5 warnings generated. gcc -c -o xevent.so -fPIC -g -O2 -I.. -I../../../port/misc -I/usr/include xevent.c xevent.c:75:5: warning: implicit declaration of function 'XgksIDevDisable' is invalid in C99 [-Wimplicit-function-declaration] XgksIDevDisable(ws); ^ xevent.c:84:5: warning: implicit declaration of function 'xXgksUpdateTrans' is invalid in C99 [-Wimplicit-function-declaration] xXgksUpdateTrans(ws); ^ xevent.c:93:5: warning: implicit declaration of function 'XgksXReDrawWs' is invalid in C99 [-Wimplicit-function-declaration] XgksXReDrawWs(ws); ^ xevent.c:104:5: warning: implicit declaration of function 'XgksIDevEnable' is invalid in C99 [-Wimplicit-function-declaration] XgksIDevEnable(ws); ^ xevent.c:258:13: warning: implicit declaration of function 'XgksSIGIO_OFF' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_OFF(ws->dpy); ^ xevent.c:298:7: warning: implicit declaration of function 'XgksIProcessXEvent' is invalid in C99 [-Wimplicit-function-declaration] XgksIProcessXEvent(&xev, ws); ^ xevent.c:312:13: warning: implicit declaration of function 'XgksSIGIO_ON' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_ON(ws->dpy); ^ xevent.c:358:12: warning: implicit declaration of function 'sockspgrp' is invalid in C99 [-Wimplicit-function-declaration] (void) sockspgrp(ConnectionNumber(dpy), pid); ^ xevent.c:395:9: warning: implicit declaration of function 'sockasync' is invalid in C99 [-Wimplicit-function-declaration] (void) sockasync(ConnectionNumber(dpy), 0); ^ xevent.c:400:9: warning: implicit declaration of function 'sio_off' is invalid in C99 [-Wimplicit-function-declaration] (void) sio_off(); ^ xevent.c:439:9: warning: implicit declaration of function 'sio_on' is invalid in C99 [-Wimplicit-function-declaration] (void) sio_on(xProcessAsyncEvents); ^ 11 warnings generated. gcc -c -o xfillarea.so -fPIC -g -O2 -I.. -I../../../port/misc -I/usr/include xfillarea.c xfillarea.c:55:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksFillArea(ws, fill_ptr) ^~~~~~~~~~~~~ xfillarea.c:83:12: warning: implicit declaration of function 'XgksSIGIO_OFF' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_OFF(ws->dpy); ^ xfillarea.c:93:5: warning: implicit declaration of function 'gerrorhand' is invalid in C99 [-Wimplicit-function-declaration] GKSERROR((xpe == NULL), 300, errxFillArea); ^ ../gks_defines.h:75:49: note: expanded from macro 'GKSERROR' #define GKSERROR(c,n,m) GKS_STMT(if (c) { (void)gerrorhand( (n), (m), \ ^ ../gks_defines.h:57:29: note: expanded from macro 'GKS_STMT' #define GKS_STMT(stuff) do {stuff} while (GKS_ZERO) ^ xfillarea.c:120:5: warning: implicit declaration of function 'xXgksSetForeground' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetForeground(dpy, gc, XcPixelValue(ws, fill_colour)); ^ xfillarea.c:148:5: warning: implicit declaration of function 'xXgksSetLineAttributes' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetLineAttributes(dpy, gc, 0, LineSolid, CapButt, JoinMiter); ^ xfillarea.c:149:5: warning: implicit declaration of function 'xXgksSetFillStyle' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetFillStyle(dpy, gc, FillSolid); ^ xfillarea.c:171:2: warning: implicit declaration of function 'xXgksSetFillAreaClipRectangles' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetFillAreaClipRectangles(dpy, gc, ws, &(ws->xclip)); ^ xfillarea.c:234:2: warning: implicit declaration of function 'xXgksSetTile' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetTile(dpy, gc, pixm); ^ xfillarea.c:304:2: warning: implicit declaration of function 'xXgksSetStipple' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetStipple(dpy, gc, pixm); ^ xfillarea.c:317:12: warning: implicit declaration of function 'XgksSIGIO_ON' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_ON(dpy); ^ 10 warnings generated. gcc -c -o xinqpixel.so -fPIC -g -O2 -I.. -I../../../port/misc -I/usr/include xinqpixel.c xinqpixel.c:59:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksInqPixelarrayDim(ws, rect, dim) ^~~~~~~~~~~~~~~~~~~~~ xinqpixel.c:67:12: warning: implicit declaration of function 'XgksSIGIO_OFF' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_OFF(ws->dpy); ^ xinqpixel.c:80:12: warning: implicit declaration of function 'XgksSIGIO_ON' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_ON(ws->dpy); ^ xinqpixel.c:95:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksInqPixelarray(ws, point, dim, pxarr) ^~~~~~~~~~~~~~~~~~ xinqpixel.c:204:5: warning: implicit declaration of function 'gerrorhand' is invalid in C99 [-Wimplicit-function-declaration] GKSERROR((pxarr->array == NULL), 300, errxInqPixelarray); ^ ../gks_defines.h:75:49: note: expanded from macro 'GKSERROR' #define GKSERROR(c,n,m) GKS_STMT(if (c) { (void)gerrorhand( (n), (m), \ ^ ../gks_defines.h:57:29: note: expanded from macro 'GKS_STMT' #define GKS_STMT(stuff) do {stuff} while (GKS_ZERO) ^ xinqpixel.c:246:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksInqPixel(ws, ppoint, pix) ^~~~~~~~~~~~~ 6 warnings generated. gcc -c -o xopws.so -fPIC -g -O2 -I.. -I../../../port/misc -I/usr/include xopws.c xopws.c:117:13: warning: implicit declaration of function 'XgksSIGIO_OFF' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_OFF(wk->dpy); ^ xopws.c:153:13: warning: implicit declaration of function 'XgksSIGIO_ON' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_ON(wk->dpy); ^ xopws.c:165:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] InsureConn(wk) ^ xopws.c:188:2: warning: implicit declaration of function 'XcCopy' is invalid in C99 [-Wimplicit-function-declaration] XcCopy(wk, wk_p); /* copy color information */ ^ xopws.c:261:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CreateWindow(name, rDB, wk) ^ xopws.c:330:8: warning: incompatible pointer types passing 'XVisualInfo *' to parameter of type 'Visual *' [-Wincompatible-pointer-types] &wk->vinfo, ^~~~~~~~~~ /usr/include/X11/Xlib.h:1654:26: note: passing argument to parameter here Visual* /* visual */, ^ xopws.c:637:28: warning: '&&' within '||' [-Wlogical-op-parentheses] if (XNegative & flags && !((WidthValue & flags)) || ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ xopws.c:637:28: note: place parentheses around the '&&' expression to silence this warning if (XNegative & flags && !((WidthValue & flags)) || ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ xopws.c:638:25: warning: '&&' within '||' [-Wlogical-op-parentheses] YNegative & flags && !((HeightValue & flags))) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ xopws.c:638:25: note: place parentheses around the '&&' expression to silence this warning YNegative & flags && !((HeightValue & flags))) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ xopws.c:663:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] InitDefaults(name, dpy, rDB) ^ xopws.c:709:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetUsersDatabase(prog, rDB, dpy) ^ xopws.c:817:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksClearWs(wk) ^~~~~~~~~~~~ xopws.c:835:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksCloseWs(ws) ^~~~~~~~~~~~ xopws.c:857:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksHighLight(ws, bd) ^~~~~~~~~~~~~~ 13 warnings generated. gcc -c -o xpline.so -fPIC -g -O2 -I.. -I../../../port/misc -I/usr/include xpline.c xpline.c:201:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksPolyLine(ws, plin_ptr) ^~~~~~~~~~~~~ xpline.c:223:12: warning: implicit declaration of function 'XgksSIGIO_OFF' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_OFF(ws->dpy); ^ xpline.c:258:5: warning: implicit declaration of function 'xXgksSetForeground' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetForeground(dpy, gc, XcPixelValue(ws, i)); ^ xpline.c:288:2: warning: implicit declaration of function 'xXgksSetDashes' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetDashes(dpy, gc, ws, i); ^ xpline.c:291:5: warning: implicit declaration of function 'xXgksSetLineAttributes' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetLineAttributes(dpy, gc, line_width, line_style, CapButt, ^ xpline.c:293:5: warning: implicit declaration of function 'xXgksSetFillStyle' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetFillStyle(dpy, gc, FillSolid); ^ xpline.c:294:5: warning: implicit declaration of function 'xXgksSetPlineClipRectangles' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetPlineClipRectangles(dpy, gc, ws, &(ws->xclip)); ^ xpline.c:325:12: warning: implicit declaration of function 'XgksSIGIO_ON' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_ON(ws->dpy); ^ 8 warnings generated. gcc -c -o xpmarker.so -fPIC -g -O2 -I.. -I../../../port/misc -I/usr/include xpmarker.c xpmarker.c:55:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksPolyMarker(ws, pmk_ptr) ^~~~~~~~~~~~~~~ xpmarker.c:80:12: warning: implicit declaration of function 'XgksSIGIO_OFF' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_OFF(ws->dpy); ^ xpmarker.c:90:5: warning: implicit declaration of function 'gerrorhand' is invalid in C99 [-Wimplicit-function-declaration] GKSERROR((xpe == NULL), 300, errxPolyMarker); ^ ../gks_defines.h:75:49: note: expanded from macro 'GKSERROR' #define GKSERROR(c,n,m) GKS_STMT(if (c) { (void)gerrorhand( (n), (m), \ ^ ../gks_defines.h:57:29: note: expanded from macro 'GKS_STMT' #define GKS_STMT(stuff) do {stuff} while (GKS_ZERO) ^ xpmarker.c:115:5: warning: implicit declaration of function 'xXgksSetForeground' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetForeground(dpy, gc, XcPixelValue(ws, i)); ^ xpmarker.c:136:5: warning: implicit declaration of function 'xXgksSetLineAttributes' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetLineAttributes(dpy, gc, 0, LineSolid, CapButt, JoinMiter); ^ xpmarker.c:137:5: warning: implicit declaration of function 'xXgksSetFillStyle' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetFillStyle(dpy, gc, FillSolid); ^ xpmarker.c:139:5: warning: implicit declaration of function 'xXgksSetPmarkerClipRectangles' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetPmarkerClipRectangles(dpy, gc, ws, &(ws->xclip)); ^ xpmarker.c:154:5: warning: implicit declaration of function 'XgksDrawMarkers' is invalid in C99 [-Wimplicit-function-declaration] XgksDrawMarkers(dpy, win, gc, ype, npnt, mark_type, mark_size); ^ xpmarker.c:159:12: warning: implicit declaration of function 'XgksSIGIO_ON' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_ON(ws->dpy); ^ xpmarker.c:168:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XgksDrawMarkers(dpy, win, gc, pe, n, type, s) ^~~~~~~~~~~~~~~ xpmarker.c:289:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 11 warnings generated. gcc -c -o xport.so -fPIC -g -O2 -I.. -I../../../port/misc -I/usr/include xport.c xport.c:97:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] sio_on(handler) ^~~~~~ xport.c:123:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] sio_off() ^~~~~~~ xport.c:146:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] sockspgrp(fd, pid) ^~~~~~~~~ xport.c:165:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] sockasync(fd, yes) ^~~~~~~~~ xport.c:183:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xport.c:261:2: warning: implicit declaration of function 'xProcessEvents' is invalid in C99 [-Wimplicit-function-declaration] xProcessEvents(); ^ 6 warnings generated. gcc -c -o xtext.so -fPIC -g -O2 -I.. -I../../../port/misc -I/usr/include xtext.c xtext.c:98:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xComputeText(ws, tx) ^ xtext.c:179:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xtext.c:188:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksText(ws, tx) ^~~~~~~~~ xtext.c:203:12: warning: implicit declaration of function 'XgksSIGIO_OFF' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_OFF(ws->dpy); ^ xtext.c:443:5: warning: implicit declaration of function 'xXgksSetTextClipRectangles' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetTextClipRectangles(dpy, gc, ws, &(ws->xclip)); ^ xtext.c:444:5: warning: implicit declaration of function 'xXgksSetForeground' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetForeground(dpy, gc, XcPixelValue(ws, (Gint) wsr_colour)); ^ xtext.c:445:5: warning: implicit declaration of function 'xXgksSetLineAttributes' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetLineAttributes(dpy, gc, 0, LineSolid, CapButt, JoinMiter); ^ xtext.c:446:5: warning: implicit declaration of function 'xXgksSetFillStyle' is invalid in C99 [-Wimplicit-function-declaration] xXgksSetFillStyle(dpy, gc, FillSolid); ^ xtext.c:486:12: warning: implicit declaration of function 'XgksSIGIO_ON' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_ON(ws->dpy); ^ xtext.c:504:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xPlotStrokeChar(cvp) ^ xtext.c:561:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xtext.c:645:9: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close(fd); ^ xtext.c:648:9: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] if (read(fd, (char *) &size, sizeof(int)) != sizeof(int)) { ^ xtext.c:674:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xIdentityMatrix(m) ^ xtext.c:733:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xTransMatrix(m, tx, ty) ^ xtext.c:749:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xCopyMatrix(dest, src) ^ xtext.c:764:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xMultMatrix(a, b, c) ^ xtext.c:795:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ck_ranges(cdef, Xmin, Xmax, Ymin, Ymax) ^ xtext.c:828:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ApplyMatrix(m, in, out) ^ xtext.c:842:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksInqTextExtent(ws, tx, ndc_points) ^~~~~~~~~~~~~~~~~~ xtext.c:1289:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksMesg(ws, mesg) ^~~~~~~~~ xtext.c:1333:53: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' tempwidth = XTextWidth(MFontInfo, mesg->string, STRLEN(mesg->string)); ^ ../gks_defines.h:62:46: note: expanded from macro 'STRLEN' #define STRLEN(a) (((a) == NULL) ? 0 : strlen(a)) ^ xtext.c:1333:53: note: please include the header or explicitly provide a declaration for 'strlen' tempwidth = XTextWidth(MFontInfo, mesg->string, STRLEN(mesg->string)); ^ ../gks_defines.h:62:46: note: expanded from macro 'STRLEN' #define STRLEN(a) (((a) == NULL) ? 0 : strlen(a)) ^ 22 warnings generated. gcc -c -o xupdate.so -fPIC -g -O2 -I.. -I../../../port/misc -I/usr/include xupdate.c xupdate.c:61:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksUpdateTrans(ws) ^~~~~~~~~~~~~~~~ xupdate.c:123:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xupdate.c:134:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xXgksUpdateClip(ws) ^~~~~~~~~~~~~~~ xupdate.c:154:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 4 warnings generated. make[5]: Leaving directory `/«PKGBUILDDIR»/src/lib/c/x' returning to directory /«PKGBUILDDIR»/src/lib/c gcc -c -g -O2 -I../../port/misc -DFONTDBDIR='"/usr/lib/xgksfonts"' -I/usr/include act_ws.c act_ws.c:58:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XgksNoActiveWs() ^ act_ws.c:80:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XgksAllocActiveWs (ws_id,ws) ^ act_ws.c:133:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gactivatews(ws_id) ^~~~~~~~~~~ act_ws.c:139:5: warning: implicit declaration of function 'gerrorhand' is invalid in C99 [-Wimplicit-function-declaration] GKSERROR(((xgks_state.gks_state != GWSOP) && ^ ./gks_defines.h:75:49: note: expanded from macro 'GKSERROR' #define GKSERROR(c,n,m) GKS_STMT(if (c) { (void)gerrorhand( (n), (m), \ ^ ./gks_defines.h:57:29: note: expanded from macro 'GKS_STMT' #define GKS_STMT(stuff) do {stuff} while (GKS_ZERO) ^ act_ws.c:185:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gdeactivatews(ws_id) ^~~~~~~~~~~~~ act_ws.c:209:2: warning: implicit declaration of function 'XgksMoDeactivateWs' is invalid in C99 [-Wimplicit-function-declaration] XgksMoDeactivateWs(ws); ^ 6 warnings generated. gcc -c -g -O2 -I../../port/misc -DFONTDBDIR='"/usr/lib/xgksfonts"' -I/usr/include aspect_flags.c aspect_flags.c:59:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gsetasf(asf) ^~~~~~~ aspect_flags.c:63:5: warning: implicit declaration of function 'gerrorhand' is invalid in C99 [-Wimplicit-function-declaration] GKSERROR((xgks_state.gks_state == GGKCL), 8, errgsetasf); ^ ./gks_defines.h:75:49: note: expanded from macro 'GKSERROR' #define GKSERROR(c,n,m) GKS_STMT(if (c) { (void)gerrorhand( (n), (m), \ ^ ./gks_defines.h:57:29: note: expanded from macro 'GKS_STMT' #define GKS_STMT(stuff) do {stuff} while (GKS_ZERO) ^ aspect_flags.c:90:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XgksInitGksAsf() ^~~~~~~~~~~~~~ aspect_flags.c:105:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 4 warnings generated. gcc -c -g -O2 -I../../port/misc -DFONTDBDIR='"/usr/lib/xgksfonts"' -I/usr/include cellarray.c cellarray.c:64:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gcellarray(rect, dim, row, colour) ^~~~~~~~~~ cellarray.c:75:5: warning: implicit declaration of function 'gerrorhand' is invalid in C99 [-Wimplicit-function-declaration] GKSERROR((xgks_state.gks_state != GWSAC && ^ ./gks_defines.h:75:49: note: expanded from macro 'GKSERROR' #define GKSERROR(c,n,m) GKS_STMT(if (c) { (void)gerrorhand( (n), (m), \ ^ ./gks_defines.h:57:29: note: expanded from macro 'GKS_STMT' #define GKS_STMT(stuff) do {stuff} while (GKS_ZERO) ^ cellarray.c:121:5: warning: implicit declaration of function 'XgksProcessPrimi' is invalid in C99 [-Wimplicit-function-declaration] XgksProcessPrimi(cell); ^ 3 warnings generated. gcc -c -g -O2 -I../../port/misc -DFONTDBDIR='"/usr/lib/xgksfonts"' -I/usr/include choice.c choice.c:72:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ginitchoice(ws_id, dev, init, pet, area, record) ^~~~~~~~~~~ choice.c:108:5: warning: implicit declaration of function 'gerrorhand' is invalid in C99 [-Wimplicit-function-declaration] GKSERROR((xgks_state.gks_state == GGKCL || xgks_state.gks_state == GGKOP), ^ ./gks_defines.h:75:49: note: expanded from macro 'GKSERROR' #define GKSERROR(c,n,m) GKS_STMT(if (c) { (void)gerrorhand( (n), (m), \ ^ ./gks_defines.h:57:29: note: expanded from macro 'GKS_STMT' #define GKS_STMT(stuff) do {stuff} while (GKS_ZERO) ^ choice.c:147:9: warning: implicit declaration of function 'XgksSIGIO_OFF' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_OFF(ws->dpy); ^ choice.c:150:9: warning: implicit declaration of function 'XgksSIGIO_ON' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_ON(ws->dpy); ^ choice.c:334:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gsetchoicemode(ws_id, dev, mode, echo) ^~~~~~~~~~~~~~ choice.c:424:12: warning: implicit declaration of function 'XgksChoUpdatePrompt' is invalid in C99 [-Wimplicit-function-declaration] (void)XgksChoUpdatePrompt(ws, idev, PROMPTOFF, ^ choice.c:450:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] greqchoice(ws_id, dev, response) ^~~~~~~~~~ choice.c:536:11: warning: implicit declaration of function 'gupdatews' is invalid in C99 [-Wimplicit-function-declaration] (void)gupdatews(ws_id, GPERFORM); ^ choice.c:548:10: warning: implicit declaration of function 'XgksAwaitEvent' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksAwaitEvent(&ws, 1, -1.0); ^ choice.c:572:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gsamplechoice(ws_id, dev, response) ^~~~~~~~~~~~~ choice.c:625:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ginqchoicest(ws_id, dev, state) ^~~~~~~~~~~~ choice.c:714:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ginqdefchoice(type, dev, data) ^~~~~~~~~~~~~ choice.c:789:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XgksChoUpdatePrompt(ws, idev, pstate, xmev, event_id) ^~~~~~~~~~~~~~~~~~~ choice.c:960:14: warning: implicit declaration of function 'XgksEnqueueEvent' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksEnqueueEvent(ws->ws_id, idev->dev, GCHOICE, ^ choice.c:979:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XgksChoDelete(ws, idev) ^~~~~~~~~~~~~ choice.c:1005:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 16 warnings generated. gcc -c -g -O2 -I../../port/misc -DFONTDBDIR='"/usr/lib/xgksfonts"' -I/usr/include colours.c colours.c:70:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gsetcolourrep(ws_id, idx, rep) ^~~~~~~~~~~~~ colours.c:79:5: warning: implicit declaration of function 'gerrorhand' is invalid in C99 [-Wimplicit-function-declaration] GKSERROR((xgks_state.gks_state == GGKCL || xgks_state.gks_state == GGKOP), ^ ./gks_defines.h:75:49: note: expanded from macro 'GKSERROR' #define GKSERROR(c,n,m) GKS_STMT(if (c) { (void)gerrorhand( (n), (m), \ ^ ./gks_defines.h:57:29: note: expanded from macro 'GKS_STMT' #define GKS_STMT(stuff) do {stuff} while (GKS_ZERO) ^ colours.c:103:14: warning: implicit declaration of function 'xXgksSetColourRep' is invalid in C99 [-Wimplicit-function-declaration] status = xXgksSetColourRep(ws, idx, rep); ^ colours.c:149:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ginqcolourrep(ws_id, idx, type, rep) ^~~~~~~~~~~~~ colours.c:193:15: warning: implicit declaration of function 'xXgksInqColourRep' is invalid in C99 [-Wimplicit-function-declaration] status = xXgksInqColourRep(ws, idx, type, rep); ^ colours.c:222:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ginqcolourindices(ws_id, indices) ^~~~~~~~~~~~~~~~~ colours.c:261:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ginqcolourfacil(ws_type, fac) ^~~~~~~~~~~~~~~ colours.c:276:20: warning: implicit declaration of function 'XgksMaxColours' is invalid in C99 [-Wimplicit-function-declaration] fac->colours = XgksMaxColours(ws_type); ^ colours.c:298:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ginqpredcolourrep(ws_type, index, rep) ^~~~~~~~~~~~~~~~~ colours.c:333:6: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' if (STRCMP(xgks_state.openedws[i].ws->wstype, server) == 0) ^ ./gks_defines.h:68:53: note: expanded from macro 'STRCMP' #define STRCMP(a,b) (((a) != NULL && (b) != NULL) ? strcmp((a),(b)) : 1) ^ colours.c:333:6: note: please include the header or explicitly provide a declaration for 'strcmp' if (STRCMP(xgks_state.openedws[i].ws->wstype, server) == 0) ^ ./gks_defines.h:68:53: note: expanded from macro 'STRCMP' #define STRCMP(a,b) (((a) != NULL && (b) != NULL) ? strcmp((a),(b)) : 1) ^ colours.c:342:9: warning: implicit declaration of function 'XgksSIGIO_OFF' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_OFF(dpy); ^ colours.c:344:13: warning: implicit declaration of function 'XgksSIGIO_ON' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_ON(dpy); ^ colours.c:430:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XgksMaxColours(server) ^~~~~~~~~~~~~~ 13 warnings generated. gcc -c -g -O2 -I../../port/misc -DFONTDBDIR='"/usr/lib/xgksfonts"' -I/usr/include deferral_ws.c deferral_ws.c:62:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gsetdeferst(ws_id, deferral_mode, regen_mode) ^~~~~~~~~~~ deferral_ws.c:70:5: warning: implicit declaration of function 'gerrorhand' is invalid in C99 [-Wimplicit-function-declaration] GKSERROR((xgks_state.gks_state == GGKOP || xgks_state.gks_state == GGKCL), ^ ./gks_defines.h:75:49: note: expanded from macro 'GKSERROR' #define GKSERROR(c,n,m) GKS_STMT(if (c) { (void)gerrorhand( (n), (m), \ ^ ./gks_defines.h:57:29: note: expanded from macro 'GKS_STMT' #define GKS_STMT(stuff) do {stuff} while (GKS_ZERO) ^ deferral_ws.c:100:2: warning: implicit declaration of function 'XgksReDrawSegWs' is invalid in C99 [-Wimplicit-function-declaration] XgksReDrawSegWs(ws); ^ 3 warnings generated. gcc -c -g -O2 -I../../port/misc -DFONTDBDIR='"/usr/lib/xgksfonts"' -I/usr/include escape.c escape.c:58:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gescinqxattr(ws_id, dpy, win, gc) ^~~~~~~~~~~~ escape.c:67:5: warning: implicit declaration of function 'gerrorhand' is invalid in C99 [-Wimplicit-function-declaration] GKSERROR((xgks_state.gks_state == GGKCL || xgks_state.gks_state == GGKOP), ^ ./gks_defines.h:75:49: note: expanded from macro 'GKSERROR' #define GKSERROR(c,n,m) GKS_STMT(if (c) { (void)gerrorhand( (n), (m), \ ^ ./gks_defines.h:57:29: note: expanded from macro 'GKS_STMT' #define GKS_STMT(stuff) do {stuff} while (GKS_ZERO) ^ escape.c:99:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gescsetcolourmask(ws_id, mask) ^~~~~~~~~~~~~~~~~ escape.c:135:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gescsetdcsize(ws_id, size) ^~~~~~~~~~~~~ escape.c:180:5: warning: implicit declaration of function 'xXgksUpdateTrans' is invalid in C99 [-Wimplicit-function-declaration] xXgksUpdateTrans(ws); ^ escape.c:181:5: warning: implicit declaration of function 'XgksUpdateWsClip' is invalid in C99 [-Wimplicit-function-declaration] XgksUpdateWsClip(ws, &(xgks_state.cliprec.rec)); ^ escape.c:184:5: warning: implicit declaration of function 'XgksXReDrawWs' is invalid in C99 [-Wimplicit-function-declaration] XgksXReDrawWs(ws); ^ escape.c:196:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gescstoreprimi(ws_id, store) ^~~~~~~~~~~~~~ escape.c:233:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gescredrawnotify(ws_id, funcp) ^~~~~~~~~~~~~~~~ 9 warnings generated. gcc -c -g -O2 -I../../port/misc -DFONTDBDIR='"/usr/lib/xgksfonts"' -I/usr/include event.c event.c:65:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XgksEnqueueEvent(ws, dev, class, data, event_id) ^~~~~~~~~~~~~~~~ event.c:75:9: warning: implicit declaration of function 'gerrorhand' is invalid in C99 [-Wimplicit-function-declaration] (void) gerrorhand(300, errXgksEnqueueEvent, ^ event.c:175:10: warning: implicit declaration of function 'XgksSIGIO_OFF' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_OFF(ws->dpy); ^ event.c:190:31: warning: implicit declaration of function 'XgksAwaitEvent' is invalid in C99 [-Wimplicit-function-declaration] while (Waiting == True && XgksAwaitEvent(wsbuf, nws, (double)timeout) != 0) ^ event.c:197:9: warning: implicit declaration of function 'XgksSIGIO_ON' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_ON((*wslist)->dpy); ^ event.c:226:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gflushevents(ws_id, class, dev) ^~~~~~~~~~~~ event.c:286:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ginqinputoverflow(overflow) ^~~~~~~~~~~~~~~~~ event.c:305:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ginqmoreevents(events) ^~~~~~~~~~~~~~ event.c:332:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ggetloc(response) ^~~~~~~ event.c:357:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ggetstroke(response) ^~~~~~~~~~ event.c:383:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ggetchoice(response) ^~~~~~~~~~ event.c:408:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ggetpick(response) ^~~~~~~~ event.c:433:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ggetval(response) ^~~~~~~ event.c:458:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ggetstring(response) ^~~~~~~~~~ 14 warnings generated. gcc -c -g -O2 -I../../port/misc -DFONTDBDIR='"/usr/lib/xgksfonts"' -I/usr/include externinit.c gcc -c -g -O2 -I../../port/misc -DFONTDBDIR='"/usr/lib/xgksfonts"' -I/usr/include fillarea.c fillarea.c:73:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XgksInitGksFillArea() ^~~~~~~~~~~~~~~~~~~ fillarea.c:88:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ fillarea.c:95:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XgksInitWssFillArea(ws) ^~~~~~~~~~~~~~~~~~~ fillarea.c:119:2: warning: implicit declaration of function 'gerrorhand' is invalid in C99 [-Wimplicit-function-declaration] GKSERROR((ws->ptbundl_table[i].array == NULL), 300, ^ ./gks_defines.h:75:49: note: expanded from macro 'GKSERROR' #define GKSERROR(c,n,m) GKS_STMT(if (c) { (void)gerrorhand( (n), (m), \ ^ ./gks_defines.h:57:29: note: expanded from macro 'GKS_STMT' #define GKS_STMT(stuff) do {stuff} while (GKS_ZERO) ^ fillarea.c:139:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gfillarea(num_pts, pts) ^~~~~~~~~ fillarea.c:174:5: warning: implicit declaration of function 'XgksProcessPrimi' is invalid in C99 [-Wimplicit-function-declaration] XgksProcessPrimi(flarea); ^ fillarea.c:195:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gsetfillcolourind(colour) ^~~~~~~~~~~~~~~~~ fillarea.c:223:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gsetfillind(idx) ^~~~~~~~~~~ fillarea.c:252:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gsetfillintstyle(style) ^~~~~~~~~~~~~~~~ fillarea.c:283:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gsetfillrep(ws_id, idx, rep) ^~~~~~~~~~~ fillarea.c:347:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gsetfillstyleind(idx) ^~~~~~~~~~~~~~~~ fillarea.c:376:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gsetpatrefpt(ref) ^~~~~~~~~~~~ fillarea.c:401:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gsetpatsize(siz) ^~~~~~~~~~~ fillarea.c:434:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gsetpatrep(ws_id, idx, rep) ^~~~~~~~~~ 14 warnings generated. gcc -c -g -O2 -I../../port/misc -DFONTDBDIR='"/usr/lib/xgksfonts"' -I/usr/include gdp.c gdp.c:52:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ginqavailgdp(type, gdps) ^~~~~~~~~~~~ gdp.c:59:5: warning: implicit declaration of function 'gerrorhand' is invalid in C99 [-Wimplicit-function-declaration] GKSERROR((xgks_state.gks_state == GGKCL), 8, errginqavailgdp); ^ ./gks_defines.h:75:49: note: expanded from macro 'GKSERROR' #define GKSERROR(c,n,m) GKS_STMT(if (c) { (void)gerrorhand( (n), (m), \ ^ ./gks_defines.h:57:29: note: expanded from macro 'GKS_STMT' #define GKS_STMT(stuff) do {stuff} while (GKS_ZERO) ^ gdp.c:93:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ginqgdp(type, function, fac) ^~~~~~~ gdp.c:131:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] g_gdp(npoints, points, function, data) ^~~~~ 4 warnings generated. /«PKGBUILDDIR»/src/port/fortc/fortc -O linux gerhnd.fc > gerhnd.c \ || ( rm -f gerhnd.c; exit 1) gcc -c -g -O2 -I../../port/misc -DFONTDBDIR='"/usr/lib/xgksfonts"' -I/usr/include gerhnd.c gerhnd.fc:59:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gerhnd_(errnr, fctid, errfil) ^~~~~~~ gerhnd.fc:61:5: warning: implicit declaration of function 'gerlog_' is invalid in C99 [-Wimplicit-function-declaration] gerlog_(errnr, fctid, errfil); ^ gerhnd.fc:62:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 3 warnings generated. gcc -c -g -O2 -I../../port/misc -DFONTDBDIR='"/usr/lib/xgksfonts"' -I/usr/include ggdp.c ggdp.c:29:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ggdp(npoints, points, function, data) ^~~~ ggdp.c:35:12: warning: implicit declaration of function 'g_gdp' is invalid in C99 [-Wimplicit-function-declaration] return g_gdp(npoints, points, function, data); ^ 2 warnings generated. gcc -c -g -O2 -I../../port/misc -DFONTDBDIR='"/usr/lib/xgksfonts"' -I/usr/include gks_error.c gks_error.c:65:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gemergencyclosegks() ^~~~~~~~~~~~~~~~~~ gks_error.c:74:9: warning: implicit declaration of function 'gcloseseg' is invalid in C99 [-Wimplicit-function-declaration] (void) gcloseseg(); ^ gks_error.c:81:14: warning: implicit declaration of function 'gdeactivatews' is invalid in C99 [-Wimplicit-function-declaration] (void) gdeactivatews(xgks_state.openedws[i].ws_id); ^ gks_error.c:82:10: warning: implicit declaration of function 'gclosews' is invalid in C99 [-Wimplicit-function-declaration] (void) gclosews(xgks_state.openedws[i].ws_id); ^ gks_error.c:85:12: warning: implicit declaration of function 'gclosegks' is invalid in C99 [-Wimplicit-function-declaration] (void) gclosegks(); ^ gks_error.c:94:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gerrorlog(errnum, funcname, perrfile) ^~~~~~~~~ 6 warnings generated. gcc -c -g -O2 -I../../port/misc -DFONTDBDIR='"/usr/lib/xgksfonts"' -I/usr/include input.c input.c:64:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XgksInitIDev(ws) ^~~~~~~~~~~~ input.c:70:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ input.c:91:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XgksIDevDelete(ws) ^~~~~~~~~~~~~~ input.c:99:6: warning: implicit declaration of function 'XgksLocDelete' is invalid in C99 [-Wimplicit-function-declaration] XgksLocDelete(ws, idev); ^ input.c:102:6: warning: implicit declaration of function 'XgksStkDelete' is invalid in C99 [-Wimplicit-function-declaration] XgksStkDelete(ws, idev); ^ input.c:105:6: warning: implicit declaration of function 'XgksValDelete' is invalid in C99 [-Wimplicit-function-declaration] XgksValDelete(ws, idev); ^ input.c:108:6: warning: implicit declaration of function 'XgksChoDelete' is invalid in C99 [-Wimplicit-function-declaration] XgksChoDelete(ws, idev); ^ input.c:111:6: warning: implicit declaration of function 'XgksPicDelete' is invalid in C99 [-Wimplicit-function-declaration] XgksPicDelete(ws, idev); ^ input.c:114:6: warning: implicit declaration of function 'XgksStrDelete' is invalid in C99 [-Wimplicit-function-declaration] XgksStrDelete(ws, idev); ^ input.c:123:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ input.c:179:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XgksIProcessXEvent(xev, ws) ^~~~~~~~~~~~~~~~~~ input.c:209:2: error: non-void function 'XgksIProcessXEvent' should return a value [-Wreturn-type] return; ^ input.c:256:11: warning: implicit declaration of function 'XgksLocUpdatePrompt' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksLocUpdatePrompt(ws, idev, PROMPTMOVE, ^ input.c:255:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (xev->type != KeyPress) ^ input.c:284:15: warning: implicit declaration of function 'XgksChoUpdatePrompt' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksChoUpdatePrompt(ws, idev, PROMPTMOVE, ^ input.c:296:11: warning: implicit declaration of function 'XgksValUpdatePrompt' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksValUpdatePrompt(ws, idev, PROMPTMOVE, ^ input.c:295:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (xev->type != KeyPress) ^ input.c:317:11: warning: implicit declaration of function 'XgksPicUpdatePrompt' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksPicUpdatePrompt(ws, idev, &dcpt, xmev, ^ input.c:316:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (xev->type != KeyPress) ^ input.c:327:15: warning: implicit declaration of function 'XgksStrUpdatePrompt' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksStrUpdatePrompt(ws, idev, PROMPTMOVE, ^ input.c:325:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ input.c:337:11: warning: implicit declaration of function 'XgksStkUpdatePrompt' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksStkUpdatePrompt(ws, idev, PROMPTMOVE, ^ input.c:336:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (xev->type != KeyPress) ^ input.c:357:17: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static DisCount = 0; ~~~~~~ ^ input.c:359:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XgksIDevDisable(ws) ^~~~~~~~~~~~~~~ input.c:367:2: error: non-void function 'XgksIDevDisable' should return a value [-Wreturn-type] return; ^ input.c:374:2: error: non-void function 'XgksIDevDisable' should return a value [-Wreturn-type] return; ^ input.c:376:12: warning: implicit declaration of function 'XgksSIGIO_OFF' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_OFF(ws->dpy); ^ input.c:455:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XgksIDevEnable(ws) ^~~~~~~~~~~~~~ input.c:463:2: error: non-void function 'XgksIDevEnable' should return a value [-Wreturn-type] return; ^ input.c:471:2: error: non-void function 'XgksIDevEnable' should return a value [-Wreturn-type] return; ^ input.c:520:12: warning: implicit declaration of function 'XgksSIGIO_ON' is invalid in C99 [-Wimplicit-function-declaration] (void) XgksSIGIO_ON(ws->dpy); ^ 27 warnings and 5 errors generated. make[4]: *** [input.o] Error 1 make[4]: Leaving directory `/«PKGBUILDDIR»/src/lib/c' make[3]: *** [c/all] Error 1 make[2]: *** [lib/all] Error 1 make[1]: *** [override_dh_auto_build] Error 2 make[3]: Leaving directory `/«PKGBUILDDIR»/src/lib' make[2]: Leaving directory `/«PKGBUILDDIR»/src' make[1]: Leaving directory `/«PKGBUILDDIR»' make: *** [build-arch] Error 2 dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2 ──────────────────────────────────────────────────────────────────────────────── Build finished at 20120623-1636 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /«BUILDDIR» Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Architecture: amd64 Build-Space: 15232 Build-Time: 16 Distribution: unstable Fail-Stage: build Install-Time: 8 Job: xgks_2.6.1-3 Package: xgks Package-Time: 51 Source-Version: 2.6.1-3 Space: 15232 Status: attempted Version: 2.6.1-3 ──────────────────────────────────────────────────────────────────────────────── Finished at 20120623-1636 Build needed 00:00:51, 15232k disc space DC-Status: Failed 52.255408s