DC-Build-Header: bash 4.2-2 / Sat Jun 23 16:10:32 +0000 2012 DC-Task: logfile:/tmp/bash_4.2-2_unstable_clang.log version:4.2-2 chroot:unstable modes:binary-only:clang source:bash architecture:any esttime:861 DC-Sbuild-call: su user -c 'sbuild -n --apt-update -d unstable -v --chroot-setup-commands=/tmp/switch-to-clang bash_4.2-2' sbuild (Debian sbuild) 0.62.5 (13 Jul 2011) on ip-10-28-16-189.ec2.internal ╔══════════════════════════════════════════════════════════════════════════════╗ ║ bash 4.2-2 (amd64) 23 Jun 2012 16:10 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: bash Version: 4.2-2 Source Version: 4.2-2 Distribution: unstable Architecture: amd64 I: NOTICE: Log filtering will replace 'build/bash-0sqLVY/bash-4.2' with '«PKGBUILDDIR»' I: NOTICE: Log filtering will replace 'build/bash-0sqLVY' with '«BUILDDIR»' I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/unstable-amd64-sbuild-5a340c6b-e286-466d-872d-fc323dec6c27' 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-0814.36.pdiff [1297 B] Fetched 274 kB in 4s (60.5 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ┌──────────────────────────────────────────────────────────────────────────────┐ │ Fetch source files │ └──────────────────────────────────────────────────────────────────────────────┘ Check APT ───────── Checking available source versions... Download source files with APT ────────────────────────────── Reading package lists... Building dependency tree... Reading state information... NOTICE: 'bash' packaging is maintained in the 'Bzr' version control system at: http://bazaar.launchpad.net/~doko/+junk/pkg-bash-debian Please use: bzr branch http://bazaar.launchpad.net/~doko/+junk/pkg-bash-debian to retrieve the latest (possibly unreleased) updates to the package. Need to get 2874 kB of source archives. Get:1 http://localhost/debian/ unstable/main bash 4.2-2 (dsc) [1475 B] Get:2 http://localhost/debian/ unstable/main bash 4.2-2 (tar) [2796 kB] Get:3 http://localhost/debian/ unstable/main bash 4.2-2 (diff) [76.2 kB] Fetched 2874 kB in 0s (8219 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.3 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-JDBXQ3/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), autoconf, autotools-dev, quilt, bison, libncurses5-dev, texinfo, debhelper (>= 5), texi2html, locales, gettext, sharutils, time, xz-utils, dpkg-dev (>= 1.16.1) 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), autoconf, autotools-dev, quilt, bison, libncurses5-dev, texinfo, debhelper (>= 5), texi2html, locales, gettext, sharutils, time, xz-utils, dpkg-dev (>= 1.16.1) dpkg-deb: building package `sbuild-build-depends-bash-dummy' in `/«BUILDDIR»/resolver-ZR0eNr/apt_archive/sbuild-build-depends-bash-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install bash build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: autoconf autotools-dev bison bsdmainutils debhelper diffstat file gettext gettext-base groff-base html2text intltool-debian libasprintf0c2 libbison-dev libcroco3 libgettextpo0 libglib2.0-0 libmagic1 libncurses5-dev libpcre3 libpipeline1 libtinfo-dev libunistring0 libxml2 locales m4 man-db po-debconf quilt sharutils texi2html texinfo time Suggested packages: autoconf2.13 autoconf-archive gnu-standards autoconf-doc libtool bison-doc wamerican wordlist whois vacation dh-make gettext-doc groff ncurses-doc less www-browser libmail-box-perl procmail graphviz default-mta mail-transport-agent bsd-mailx mailx latex2html texlive-base texlive-latex-base texlive-generic-recommended texinfo-doc-nonfree Recommended packages: automake automaken curl wget lynx-cur autopoint libglib2.0-data shared-mime-info xml-core libmail-sendmail-perl The following NEW packages will be installed: autoconf autotools-dev bison bsdmainutils debhelper diffstat file gettext gettext-base groff-base html2text intltool-debian libasprintf0c2 libbison-dev libcroco3 libgettextpo0 libglib2.0-0 libmagic1 libncurses5-dev libpcre3 libpipeline1 libtinfo-dev libunistring0 libxml2 locales m4 man-db po-debconf quilt sbuild-build-depends-bash-dummy sharutils texi2html texinfo time 0 upgraded, 34 newly installed, 0 to remove and 0 not upgraded. Need to get 19.9 MB/19.9 MB of archives. After this operation, 53.1 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 bsdmainutils amd64 9.0.3 [209 kB] Get:11 http://localhost/debian/ unstable/main groff-base amd64 1.21-8 [1152 kB] Get:12 http://localhost/debian/ unstable/main man-db amd64 2.6.2-1 [1061 kB] Get:13 http://localhost/debian/ unstable/main file amd64 5.11-1 [53.2 kB] Get:14 http://localhost/debian/ unstable/main gettext-base amd64 0.18.1.1-9 [154 kB] Get:15 http://localhost/debian/ unstable/main locales all 2.13-33 [5712 kB] Get:16 http://localhost/debian/ unstable/main m4 amd64 1.4.16-3 [260 kB] Get:17 http://localhost/debian/ unstable/main texinfo amd64 4.13a.dfsg.1-10 [983 kB] Get:18 http://localhost/debian/ unstable/main time amd64 1.7-23.1 [33.1 kB] Get:19 http://localhost/debian/ unstable/main autoconf all 2.69-1 [589 kB] Get:20 http://localhost/debian/ unstable/main autotools-dev all 20120608.1 [73.0 kB] Get:21 http://localhost/debian/ unstable/main libbison-dev amd64 1:2.5.dfsg-2.1 [289 kB] Get:22 http://localhost/debian/ unstable/main bison amd64 1:2.5.dfsg-2.1 [689 kB] Get:23 http://localhost/debian/ unstable/main html2text amd64 1.3.2a-15 [103 kB] Get:24 http://localhost/debian/ unstable/main gettext amd64 0.18.1.1-9 [1975 kB] Get:25 http://localhost/debian/ unstable/main intltool-debian all 0.35.0+20060710.1 [30.8 kB] Get:26 http://localhost/debian/ unstable/main po-debconf all 1.0.16+nmu2 [224 kB] Get:27 http://localhost/debian/ unstable/main debhelper all 9.20120608 [700 kB] Get:28 http://localhost/debian/ unstable/main diffstat amd64 1.55-3 [30.0 kB] Get:29 http://localhost/debian/ unstable/main libtinfo-dev amd64 5.9-9 [105 kB] Get:30 http://localhost/debian/ unstable/main libncurses5-dev amd64 5.9-9 [220 kB] Get:31 http://localhost/debian/ unstable/main quilt all 0.60-2 [377 kB] Get:32 http://localhost/debian/ unstable/main sharutils amd64 1:4.11.1-1 [195 kB] Get:33 http://localhost/debian/ unstable/main texi2html all 1.82-1 [444 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 19.9 MB in 1s (14.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 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 locales. Unpacking locales (from .../locales_2.13-33_all.deb) ... Selecting previously unselected package m4. Unpacking m4 (from .../archives/m4_1.4.16-3_amd64.deb) ... Selecting previously unselected package texinfo. Unpacking texinfo (from .../texinfo_4.13a.dfsg.1-10_amd64.deb) ... Selecting previously unselected package time. Unpacking time (from .../time_1.7-23.1_amd64.deb) ... Selecting previously unselected package autoconf. Unpacking autoconf (from .../autoconf_2.69-1_all.deb) ... Selecting previously unselected package autotools-dev. Unpacking autotools-dev (from .../autotools-dev_20120608.1_all.deb) ... Selecting previously unselected package libbison-dev:amd64. Unpacking libbison-dev:amd64 (from .../libbison-dev_1%3a2.5.dfsg-2.1_amd64.deb) ... Selecting previously unselected package bison. Unpacking bison (from .../bison_1%3a2.5.dfsg-2.1_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 diffstat. Unpacking diffstat (from .../diffstat_1.55-3_amd64.deb) ... Selecting previously unselected package libtinfo-dev:amd64. Unpacking libtinfo-dev:amd64 (from .../libtinfo-dev_5.9-9_amd64.deb) ... Selecting previously unselected package libncurses5-dev. Unpacking libncurses5-dev (from .../libncurses5-dev_5.9-9_amd64.deb) ... Selecting previously unselected package quilt. Unpacking quilt (from .../archives/quilt_0.60-2_all.deb) ... Selecting previously unselected package sharutils. Unpacking sharutils (from .../sharutils_1%3a4.11.1-1_amd64.deb) ... Selecting previously unselected package texi2html. Unpacking texi2html (from .../texi2html_1.82-1_all.deb) ... Selecting previously unselected package sbuild-build-depends-bash-dummy. Unpacking sbuild-build-depends-bash-dummy (from .../sbuild-build-depends-bash-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 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 locales (2.13-33) ... Generating locales (this might take a while)... Generation complete. Setting up m4 (1.4.16-3) ... Setting up texinfo (4.13a.dfsg.1-10) ... Setting up time (1.7-23.1) ... install-info: warning: maintainer scripts should not call install-info anymore, install-info: warning: this is handled now by a dpkg trigger provided by the install-info: warning: install-info package; package time should be updated. Setting up autoconf (2.69-1) ... Setting up autotools-dev (20120608.1) ... Setting up libbison-dev:amd64 (1:2.5.dfsg-2.1) ... Setting up bison (1:2.5.dfsg-2.1) ... update-alternatives: using /usr/bin/bison.yacc to provide /usr/bin/yacc (yacc) in auto mode. 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 diffstat (1.55-3) ... Setting up libtinfo-dev:amd64 (5.9-9) ... Setting up libncurses5-dev (5.9-9) ... Setting up quilt (0.60-2) ... Setting up sharutils (1:4.11.1-1) ... Setting up texi2html (1.82-1) ... Setting up sbuild-build-depends-bash-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 autoconf_2.69-1 autotools-dev_20120608.1 base-files_6.11 base-passwd_3.5.25 bash_4.2-2 binutils_2.22-6.1 bison_1:2.5.dfsg-2.1 bsdmainutils_9.0.3 bsdutils_1:2.20.1-5 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 diffstat_1.55-3 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 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 libbison-dev_1:2.5.dfsg-2.1 libblkid1_2.20.1-5 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 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 libmpc2_0.9-4 libmpfr4_3.1.0-5 libncurses5_5.9-9 libncurses5-dev_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 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 libtinfo-dev_5.9-9 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 libxml2_2.8.0+dfsg1-4 linux-libc-dev_3.2.20-1 locales_2.13-33 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 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 quilt_0.60-2 readline-common_6.2-8 sbuild-build-depends-bash-dummy_0.invalid.0 sbuild-build-depends-core-dummy_0.invalid.0 sed_4.2.1-10 sensible-utils_0.0.7 sharutils_1:4.11.1-1 sysv-rc_2.88dsf-27 sysvinit_2.88dsf-27 sysvinit-utils_2.88dsf-27 tar_1.26-4 texi2html_1.82-1 texinfo_4.13a.dfsg.1-10 time_1.7-23.1 tzdata_2012c-1 ucf_3.0025+nmu3 util-linux_2.20.1-5 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 Mon Apr 2 15:11:01 2012 UTC using DSA key ID 0F932C9C gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./bash_4.2-2.dsc dpkg-source: info: extracting bash in bash-4.2 dpkg-source: info: unpacking bash_4.2.orig.tar.gz dpkg-source: info: applying bash_4.2-2.diff.gz 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-5a340c6b-e286-466d-872d-fc323dec6c27 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 bash dpkg-buildpackage: source version 4.2-2 dpkg-buildpackage: source changed by Matthias Klose dpkg-source --before-build bash-4.2 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot rm -rf stamps build-* bash rm -f debian/bash.preinst debian/*.o rm -f debian/README.Debian rm -rf locales rm -f clear_console rm -f debian/patches/series rm -rf .pc dh_clean debian/rules build-arch : # see #327477, needed to have HAVE_DEV_STDIN defined (test -d /dev/fd && test -r /dev/stdin < /dev/null) \ || (test -d /proc/self/fd && test -r /dev/stdin < /dev/null) gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wl,-z,relro -D_FORTIFY_SOURCE=2 -o clear_console \ debian/clear_console.c -ltinfo clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' /usr/bin/make -f debian/rules do-build-bash \ bash_src=bash \ bash_patches="" \ build=bash \ configure_args="--with-curses --enable-largefile --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --build x86_64-linux-gnu" make[1]: Entering directory `/«PKGBUILDDIR»' cpp -E \ \ -Darch_os_linux -Darch_amd64 \ -o - debian/patches/series.in \ | egrep -v '^(#.*|$)' > debian/patches/series clang: warning: argument unused during compilation: '-E' mkdir -p stamps rm -rf bash-4.2 bash rm -f stamps/stamp-patch-bash{,-*} tar xf bash-4.2*.tar.xz mv bash-4.2 bash rm -f bash/y.tab.? cp -p /usr/share/misc/config.* bash/. cp -p /usr/share/misc/config.* bash/support/. touch stamps/stamp-unpack-bash QUILT_PATCHES=debian/patches quilt push -a || test $? = 2 Applying patch bash42-001.diff patching file bash/patchlevel.h patching file bash/subst.c patching file bash/subst.h Applying patch bash42-002.diff patching file bash/lib/readline/callback.c patching file bash/lib/readline/vi_mode.c patching file bash/patchlevel.h Applying patch bash42-003.diff patching file bash/lib/glob/gmisc.c patching file bash/patchlevel.h Applying patch bash42-004.diff patching file bash/patchlevel.h patching file bash/subst.c Applying patch bash42-005.diff patching file bash/builtins/printf.def patching file bash/parse.y patching file bash/patchlevel.h patching file bash/variables.c patching file bash/variables.h Applying patch bash42-006.diff patching file bash/patchlevel.h patching file bash/variables.c Applying patch bash42-007.diff patching file bash/patchlevel.h patching file bash/subst.c Applying patch bash42-008.diff patching file bash/patchlevel.h patching file bash/sig.c Applying patch bash42-009.diff patching file bash/builtins/fc.def patching file bash/patchlevel.h Applying patch bash42-010.diff patching file bash/patchlevel.h patching file bash/print_cmd.c Applying patch bash42-011.diff patching file bash/assoc.c patching file bash/patchlevel.h Applying patch bash42-012.diff patching file bash/parse.y patching file bash/patchlevel.h patching file bash/shell.h Applying patch bash42-013.diff patching file bash/patchlevel.h patching file bash/subst.c Applying patch bash42-014.diff patching file bash/patchlevel.h patching file bash/pathexp.c Applying patch bash42-015.diff patching file bash/expr.c patching file bash/patchlevel.h Applying patch bash42-016.diff patching file bash/parse.y patching file bash/patchlevel.h Applying patch bash42-017.diff patching file bash/builtins/read.def patching file bash/patchlevel.h Applying patch bash42-018.diff patching file bash/execute_cmd.c patching file bash/patchlevel.h Applying patch bash42-019.diff patching file bash/builtins/declare.def patching file bash/patchlevel.h Applying patch bash42-020.diff patching file bash/patchlevel.h patching file bash/support/shobj-conf Applying patch bashbug-editor.diff patching file bash/support/bashbug.sh Applying patch deb-bash-config.diff patching file bash/config-bot.h patching file bash/config-top.h Applying patch deb-examples.diff patching file bash/examples/loadables/README Applying patch man-arithmetic.diff patching file bash/doc/bash.1 Applying patch man-fignore.diff patching file bash/doc/bash.1 Applying patch man-bashrc.diff patching file bash/doc/bash.1 Applying patch man-bashlogout.diff patching file bash/doc/bash.1 Applying patch man-substring-exp.diff patching file bash/doc/bash.1 Applying patch man-nocaseglob.diff patching file bash/doc/bash.1 Applying patch man-test.diff patching file bash/builtins/test.def Applying patch man-test2.diff patching file bash/builtins/test.def patching file bash/doc/bash.1 Applying patch privmode.diff patching file bash/shell.c Applying patch rbash-manpage.diff patching file bash/doc/rbash.1 Applying patch bash-default-editor.diff patching file bash/bashline.c patching file bash/builtins/fc.def Applying patch bash-subst-param-length.diff patching file bash/subst.c Hunk #1 succeeded at 6960 (offset 3 lines). Applying patch pgrp-pipe.diff patching file bash/config-bot.h Applying patch input-err.diff patching file bash/input.c Applying patch exec-redirections-man.diff patching file bash/doc/bash.1 Applying patch bash-aliases-repeat.diff patching file bash/examples/startup-files/Bash_aliases Applying patch no-brk-caching.diff patching file bash/lib/malloc/malloc.c Applying patch hardening-formatstring.diff patching file bash/print_cmd.c Hunk #1 succeeded at 1394 (offset 20 lines). Now at patch hardening-formatstring.diff mkdir -p stamps echo ""; echo "Patches applied in this version:" > stamps/pxx for i in $(cat debian/patches/series); do \ echo ""; echo "$i:"; \ sed -n 's/^# *DP: */ /p' debian/patches/$i; \ done >> stamps/pxx mv stamps/pxx stamps/stamp-patch-bash dh_testdir rm -rf build-bash mkdir build-bash cd build-bash && \ CC="gcc" \ CFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall" CPPFLAGS="-D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro" \ YACC="bison -y" \ ../bash/configure --with-curses --enable-largefile --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --build x86_64-linux-gnu checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu Beginning configuration for bash-4.2-release for x86_64-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 for strerror in -lcposix... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether gcc needs -traditional... no checking for a BSD-compatible install... /usr/bin/install -c checking for ar... ar checking for ranlib... ranlib checking for bison... bison -y checking whether make sets $(MAKE)... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking for preprocessor stringizing operator... yes checking for long double with more range or precision than double... yes checking for function prototypes... yes checking whether char is unsigned... no checking for working volatile... yes checking for C/C++ restrict keyword... __restrict checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for off_t... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether we are using the GNU C Library 2.1 or newer... yes checking whether integer division by zero raises SIGFPE... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unsigned long long... yes checking for inttypes.h... yes checking whether the inttypes.h PRIxNN macros are broken... no checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for feof_unlocked... yes checking for fgets_unlocked... yes checking for getc_unlocked... yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for localeconv... yes checking for stpcpy... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... yes checking for tsearch... yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for __fsetlocking... yes checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking for bison... bison checking version of bison... 2.5, ok checking whether NLS is requested... yes checking whether included gettext is requested... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether time.h and sys/time.h may both be included... yes checking for inttypes.h... (cached) yes checking for unistd.h... (cached) yes checking for stdlib.h... (cached) yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking for limits.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for locale.h... (cached) yes checking termcap.h usability... yes checking termcap.h presence... yes checking for termcap.h... yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for stddef.h... (cached) yes checking for stdint.h... (cached) yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking for strings.h... (cached) yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking ulimit.h usability... yes checking ulimit.h presence... yes checking for ulimit.h... yes checking sys/pte.h usability... no checking sys/pte.h presence... no checking for sys/pte.h... no checking sys/stream.h usability... no checking sys/stream.h presence... no checking for sys/stream.h... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking for sys/param.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking for sys/types.h... (cached) yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking for sys/ptem.h... no checking for working alloca.h... (cached) yes checking for alloca... (cached) yes checking whether getpgrp requires zero arguments... yes checking for vprintf... yes checking for _doprnt... no checking for working strcoll... yes checking return type of signal handlers... void checking for __setostype... no checking for wait3... yes checking for isinf... yes checking for isnan... yes checking for mkfifo... yes checking for dup2... yes checking for eaccess... yes checking for fcntl... yes checking for getdtablesize... yes checking for getgroups... yes checking for gethostname... yes checking for getpagesize... (cached) yes checking for getpeername... yes checking for getrlimit... yes checking for getrusage... yes checking for gettimeofday... yes checking for kill... yes checking for killpg... yes checking for lstat... yes checking for readlink... yes checking for sbrk... yes checking for select... yes checking for setdtablesize... no checking for setitimer... yes checking for tcgetpgrp... yes checking for uname... yes checking for ulimit... yes checking for waitpid... yes checking for rename... yes checking for bcopy... yes checking for bzero... yes checking for confstr... yes checking for faccessat... yes checking for fnmatch... yes checking for getaddrinfo... yes checking for gethostbyname... yes checking for getservbyname... yes checking for getservent... yes checking for inet_aton... yes checking for memmove... yes checking for pathconf... yes checking for putenv... (cached) yes checking for raise... yes checking for regcomp... yes checking for regexec... yes checking for setenv... (cached) yes checking for setlinebuf... yes checking for setlocale... (cached) yes checking for setvbuf... yes checking for siginterrupt... yes checking for strchr... yes checking for sysconf... yes checking for syslog... yes checking for tcgetattr... yes checking for times... yes checking for ttyname... yes checking for tzset... yes checking for unsetenv... yes checking for vasprintf... yes checking for asprintf... yes checking for isascii... yes checking for isblank... yes checking for isgraph... yes checking for isprint... yes checking for isspace... yes checking for isxdigit... yes checking for getpwent... yes checking for getpwnam... yes checking for getpwuid... yes checking for getcwd... (cached) yes checking for memset... yes checking for strcasecmp... (cached) yes checking for strcasestr... yes checking for strerror... yes checking for strftime... yes checking for strnlen... yes checking for strpbrk... yes checking for strstr... yes checking for strtod... yes checking for strtol... yes checking for strtoul... (cached) yes checking for strtoll... yes checking for strtoull... yes checking for strtoimax... yes checking for strtoumax... yes checking for dprintf... yes checking for strchrnul... yes checking whether confstr is declared... yes checking whether printf is declared... yes checking whether sbrk is declared... yes checking whether setregid is declared... yes checking whether strcpy is declared... yes checking whether strsignal is declared... yes checking whether strtold is declared... yes checking for broken strtold... yes checking for declaration of strtoimax... yes checking for declaration of strtol... yes checking for declaration of strtoll... yes checking for declaration of strtoul... yes checking for declaration of strtoull... yes checking for declaration of strtoumax... yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for alarm... yes checking for fpurge... no checking for __fpurge... yes checking for snprintf... yes checking for vsnprintf... yes checking for working mktime... yes checking for argz.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for malloc.h... (cached) yes checking stdio_ext.h usability... yes checking stdio_ext.h presence... yes checking for stdio_ext.h... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... (cached) yes checking for __argz_count... (cached) yes checking for __argz_next... (cached) yes checking for __argz_stringify... (cached) yes checking for dcgettext... yes checking for mempcpy... (cached) yes checking for munmap... (cached) yes checking for stpcpy... (cached) yes checking for strcspn... yes checking for strdup... (cached) yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking for mbrlen... yes checking for mbscasecmp... no checking for mbscmp... no checking for mbsnrtowcs... yes checking for mbsrtowcs... yes checking for mbschr... no checking for wcrtomb... yes checking for wcscoll... yes checking for wcsdup... yes checking for wcwidth... yes checking for wctype... yes checking for wcswidth... yes checking whether mbrtowc and mbstate_t are properly declared... yes checking for iswlower... yes checking for iswupper... yes checking for towlower... yes checking for towupper... yes checking for iswctype... yes checking for nl_langinfo and CODESET... yes checking for wchar_t in wchar.h... yes checking for wctype_t in wctype.h... yes checking for wint_t in wctype.h... yes checking for locale_charset... no checking for dlopen in -ldl... yes checking for dlopen... yes checking for dlclose... yes checking for dlsym... yes checking whether sys_siglist is declared... yes checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for off_t... (cached) yes checking for mode_t... yes checking for uid_t in sys/types.h... (cached) yes checking for pid_t... yes checking for size_t... (cached) yes checking for ssize_t... yes checking for time_t... yes checking for long long... long long checking for unsigned long long... unsigned long long checking return type of signal handlers... (cached) void checking for sig_atomic_t in signal.h... yes checking size of char... 1 checking size of short... 2 checking size of int... 4 checking size of long... 8 checking size of char *... 8 checking size of double... 8 checking size of long long... 8 checking for u_int... yes checking for u_long... yes checking for bits16_t... no checking for u_bits16_t... no checking for bits32_t... no checking for u_bits32_t... no checking for bits64_t... no checking for ptrdiff_t... yes checking whether stat file-mode macros are broken... no checking whether #! works in shell scripts... yes checking whether the ctype macros accept non-ascii characters... no checking if dup2 fails to clear the close-on-exec flag... no checking whether pgrps need synchronization... no checking for type of signal functions... posix checking for sys_errlist and sys_nerr... yes checking for sys_siglist in system C library... yes checking for _sys_siglist in signal.h or unistd.h... yes checking for _sys_siglist in system C library... yes checking whether signal handlers are of type void... yes checking for clock_t... yes checking for sigset_t... yes checking for quad_t... yes checking for intmax_t... yes checking for uintmax_t... yes checking for socklen_t... yes checking for size and type of struct rlimit fields... rlim_t checking size of intmax_t... 8 checking for struct termios.c_line... yes checking for struct termio.c_line... yes checking for struct dirent.d_ino... yes checking for struct dirent.d_fileno... yes checking for struct dirent.d_namlen... no checking for struct winsize in sys/ioctl.h and termios.h... sys/ioctl.h checking for struct timeval in sys/time.h and time.h... yes checking for struct stat.st_blocks... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for struct timezone in sys/time.h and time.h... yes checking for offset of exit status in return status from wait... 8 checking for the existence of strsignal... yes checking if opendir() opens non-directories... no checking whether ulimit can substitute for getdtablesize... yes checking whether fpurge is declared... no checking to see if getenv can be redefined... yes checking if getcwd() will dynamically allocate memory with 0 size... yes checking for presence of POSIX-style sigsetjmp/siglongjmp... present checking whether or not strcoll and strcmp differ... no checking for standard-conformant snprintf... yes checking for standard-conformant vsnprintf... yes checking for standard-conformant putenv declaration... yes checking for standard-conformant unsetenv declaration... yes checking for printf floating point output in hex notation... yes checking if signal handlers must be reinstalled when invoked... no checking for presence of necessary job control definitions... present checking for presence of named pipes... present checking whether termios.h defines TIOCGWINSZ... no checking whether sys/ioctl.h defines TIOCGWINSZ... yes checking for TIOCSTAT in sys/ioctl.h... no checking for FIONREAD in sys/ioctl.h... yes checking whether WCONTINUED flag to waitpid is unavailable or available but broken... no checking for speed_t in sys/types.h... no checking whether getpw functions are declared in pwd.h... yes checking for unusable real-time signals due to large values... no checking for tgetent... no checking for tgetent in -ltermcap... yes checking which library has the termcap functions... using libtermcap checking whether /dev/fd is available... standard checking whether /dev/stdin stdout stderr are available... present checking for default mail directory... /var/mail checking shared object configuration for loadable builtins... supported configure: creating ./config.status config.status: creating Makefile config.status: creating builtins/Makefile config.status: creating lib/readline/Makefile config.status: creating lib/glob/Makefile config.status: creating lib/intl/Makefile config.status: creating lib/malloc/Makefile config.status: creating lib/sh/Makefile config.status: creating lib/termcap/Makefile config.status: creating lib/tilde/Makefile config.status: creating doc/Makefile config.status: creating support/Makefile config.status: creating po/Makefile.in config.status: creating examples/loadables/Makefile config.status: creating examples/loadables/perl/Makefile config.status: creating config.h config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing default commands if ! grep -q '#define HAVE_DEV_STDIN 1' build-bash/config.h; then \ echo "HAVE_DEV_STDIN not defined, abortig build"; \ exit 1; \ fi touch stamps/stamp-configure-bash dh_testdir /usr/bin/make -C build-bash \ YACC="bison -y" \ TERMCAP_LIB=" -ltinfo" \ deb_builddir=build-bash/ \ make[2]: Entering directory `/«PKGBUILDDIR»/build-bash' bison -y -d ../bash/parse.y conflicts: 1 shift/reduce touch parser-built rm -f mksyntax gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -o mksyntax ../bash/mksyntax.c rm -f syntax.c ./mksyntax -o syntax.c /bin/sh ../bash/support/mkversion.sh -b -S ../bash -s release -d 4.2 -o newversion.h \ && mv newversion.h version.h gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -DBUILDTOOL -c -o buildversion.o ../bash/version.c gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -o bashversion ../bash/support/bashversion.c buildversion.o ../bash/support/bashversion.c:70:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (progname = strrchr (argv[0], '/')) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../bash/support/bashversion.c:70:16: note: place parentheses around the assignment to silence this warning if (progname = strrchr (argv[0], '/')) ^ ( ) ../bash/support/bashversion.c:70:16: note: use '==' to turn this assignment into an equality comparison if (progname = strrchr (argv[0], '/')) ^ == 1 warning generated. *********************************************************** * * * GNU bash, version 4.2.20(1)-release (x86_64-pc-linux-gnu) * * *********************************************************** rm -f shell.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/shell.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../bash/shell.c:834:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (arg_character = arg_string[i++]) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../bash/shell.c:834:28: note: place parentheses around the assignment to silence this warning while (arg_character = arg_string[i++]) ^ ( ) ../bash/shell.c:834:28: note: use '==' to turn this assignment into an equality comparison while (arg_character = arg_string[i++]) ^ == 1 warning generated. rm -f eval.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/eval.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../bash/eval.c:145:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (current_command = global_command) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../bash/eval.c:145:29: note: place parentheses around the assignment to silence this warning else if (current_command = global_command) ^ ( ) ../bash/eval.c:145:29: note: use '==' to turn this assignment into an equality comparison else if (current_command = global_command) ^ == 1 warning generated. make[3]: Entering directory `/«PKGBUILDDIR»/build-bash/builtins' rm -f mkbuiltins.o gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g ../../bash/builtins/mkbuiltins.c ../../bash/builtins/mkbuiltins.c:550:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (i = 0; line = defs->lines->array[i]; i++) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ../../bash/builtins/mkbuiltins.c:550:20: note: place parentheses around the assignment to silence this warning for (i = 0; line = defs->lines->array[i]; i++) ^ ( ) ../../bash/builtins/mkbuiltins.c:550:20: note: use '==' to turn this assignment into an equality comparison for (i = 0; line = defs->lines->array[i]; i++) ^ == ../../bash/builtins/mkbuiltins.c:666:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (i = 0; builtin = (BUILTIN_DESC *)defs->builtins->array[i]; i++) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../bash/builtins/mkbuiltins.c:666:27: note: place parentheses around the assignment to silence this warning for (i = 0; builtin = (BUILTIN_DESC *)defs->builtins->array[i]; i++) ^ ( ) ../../bash/builtins/mkbuiltins.c:666:27: note: use '==' to turn this assignment into an equality comparison for (i = 0; builtin = (BUILTIN_DESC *)defs->builtins->array[i]; i++) ^ == ../../bash/builtins/mkbuiltins.c:1410:49: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (i = 0, texinfo = (flags & TEXINFO); line = documentation[i]; i++) ~~~~~^~~~~~~~~~~~~~~~~~ ../../bash/builtins/mkbuiltins.c:1410:49: note: place parentheses around the assignment to silence this warning for (i = 0, texinfo = (flags & TEXINFO); line = documentation[i]; i++) ^ ( ) ../../bash/builtins/mkbuiltins.c:1410:49: note: use '==' to turn this assignment into an equality comparison for (i = 0, texinfo = (flags & TEXINFO); line = documentation[i]; i++) ^ == 3 warnings generated. gcc -Wl,-z,relro -rdynamic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -rdynamic -g -o mkbuiltins mkbuiltins.o -ldl clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ./mkbuiltins -externfile builtext.h -structfile builtins.c \ -noproduction -D ../../bash/builtins ../../bash/builtins/alias.def ../../bash/builtins/bind.def ../../bash/builtins/break.def ../../bash/builtins/builtin.def ../../bash/builtins/caller.def ../../bash/builtins/cd.def ../../bash/builtins/colon.def ../../bash/builtins/command.def ../../bash/builtins/declare.def ../../bash/builtins/echo.def ../../bash/builtins/enable.def ../../bash/builtins/eval.def ../../bash/builtins/getopts.def ../../bash/builtins/exec.def ../../bash/builtins/exit.def ../../bash/builtins/fc.def ../../bash/builtins/fg_bg.def ../../bash/builtins/hash.def ../../bash/builtins/help.def ../../bash/builtins/history.def ../../bash/builtins/jobs.def ../../bash/builtins/kill.def ../../bash/builtins/let.def ../../bash/builtins/read.def ../../bash/builtins/return.def ../../bash/builtins/set.def ../../bash/builtins/setattr.def ../../bash/builtins/shift.def ../../bash/builtins/source.def ../../bash/builtins/suspend.def ../../bash/builtins/test.def ../../bash/builtins/times.def ../../bash/builtins/trap.def ../../bash/builtins/type.def ../../bash/builtins/ulimit.def ../../bash/builtins/umask.def ../../bash/builtins/wait.def ../../bash/builtins/reserved.def ../../bash/builtins/pushd.def ../../bash/builtins/shopt.def ../../bash/builtins/printf.def ../../bash/builtins/complete.def ../../bash/builtins/mapfile.def make[3]: Leaving directory `/«PKGBUILDDIR»/build-bash/builtins' rm -f y.tab.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c y.tab.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../bash/parse.y:2009:7: warning: unused variable 'n' [-Wunused-variable] int n, c; ^ ../bash/parse.y:2009:10: warning: unused variable 'c' [-Wunused-variable] int n, c; ^ ../bash/parse.y:3436:1: warning: unused label 'comsub_readchar' [-Wunused-label] comsub_readchar: ^~~~~~~~~~~~~~~~ ../bash/parse.y:3847:15: warning: unused variable 's' [-Wunused-variable] char *ret, *s, *ep, *ostring; ^ ../bash/parse.y:4033:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (etext = error_token_from_token (cond_token)) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bash/parse.y:4033:17: note: place parentheses around the assignment to silence this warning if (etext = error_token_from_token (cond_token)) ^ ( ) ../bash/parse.y:4033:17: note: use '==' to turn this assignment into an equality comparison if (etext = error_token_from_token (cond_token)) ^ == ../bash/parse.y:4115:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (etext = error_token_from_token (cond_token)) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bash/parse.y:4115:14: note: place parentheses around the assignment to silence this warning if (etext = error_token_from_token (cond_token)) ^ ( ) ../bash/parse.y:4115:14: note: use '==' to turn this assignment into an equality comparison if (etext = error_token_from_token (cond_token)) ^ == ../bash/parse.y:4147:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (etext = error_token_from_token (tok)) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bash/parse.y:4147:14: note: place parentheses around the assignment to silence this warning if (etext = error_token_from_token (tok)) ^ ( ) ../bash/parse.y:4147:14: note: use '==' to turn this assignment into an equality comparison if (etext = error_token_from_token (tok)) ^ == ../bash/parse.y:4197:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (etext = error_token_from_token (tok)) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bash/parse.y:4197:14: note: place parentheses around the assignment to silence this warning if (etext = error_token_from_token (tok)) ^ ( ) ../bash/parse.y:4197:14: note: use '==' to turn this assignment into an equality comparison if (etext = error_token_from_token (tok)) ^ == ../bash/parse.y:4223:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (etext = error_token_from_token (tok)) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bash/parse.y:4223:14: note: place parentheses around the assignment to silence this warning if (etext = error_token_from_token (tok)) ^ ( ) ../bash/parse.y:4223:14: note: use '==' to turn this assignment into an equality comparison if (etext = error_token_from_token (tok)) ^ == ../bash/parse.y:4241:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (etext = error_token_from_token (tok)) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bash/parse.y:4241:22: note: place parentheses around the assignment to silence this warning else if (etext = error_token_from_token (tok)) ^ ( ) ../bash/parse.y:4241:22: note: use '==' to turn this assignment into an equality comparison else if (etext = error_token_from_token (tok)) ^ == ../bash/parse.y:5073:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *string++) ~~^~~~~~~~~~~ ../bash/parse.y:5073:12: note: place parentheses around the assignment to silence this warning while (c = *string++) ^ ( ) ../bash/parse.y:5073:12: note: use '==' to turn this assignment into an equality comparison while (c = *string++) ^ == ../bash/parse.y:5453:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = find_token_in_alist (tok, word_token_alist, 0)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bash/parse.y:5453:9: note: place parentheses around the assignment to silence this warning if (t = find_token_in_alist (tok, word_token_alist, 0)) ^ ( ) ../bash/parse.y:5453:9: note: use '==' to turn this assignment into an equality comparison if (t = find_token_in_alist (tok, word_token_alist, 0)) ^ == ../bash/parse.y:5456:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = find_token_in_alist (tok, other_token_alist, 0)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bash/parse.y:5456:9: note: place parentheses around the assignment to silence this warning if (t = find_token_in_alist (tok, other_token_alist, 0)) ^ ( ) ../bash/parse.y:5456:9: note: use '==' to turn this assignment into an equality comparison if (t = find_token_in_alist (tok, other_token_alist, 0)) ^ == ../bash/parse.y:5986:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ ../bash/parse.y:5620:1: warning: unused function 'discard_parser_constructs' [-Wunused-function] discard_parser_constructs (error_p) ^ 15 warnings generated. rm -f general.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/general.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../bash/general.c:121:9: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (n < 0) ~ ^ ~ ../bash/general.c:278:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = string[indx]) ~~^~~~~~~~~~~~~~ ../bash/general.c:278:12: note: place parentheses around the assignment to silence this warning while (c = string[indx]) ^ ( ) ../bash/general.c:278:12: note: use '==' to turn this assignment into an equality comparison while (c = string[indx]) ^ == 2 warnings generated. rm -f make_cmd.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/make_cmd.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../bash/make_cmd.c:614:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (full_line = read_secondary_line (delim_unquoted)) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bash/make_cmd.c:614:20: note: place parentheses around the assignment to silence this warning while (full_line = read_secondary_line (delim_unquoted)) ^ ( ) ../bash/make_cmd.c:614:20: note: use '==' to turn this assignment into an equality comparison while (full_line = read_secondary_line (delim_unquoted)) ^ == 1 warning generated. rm -f print_cmd.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/print_cmd.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f dispose_cmd.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/dispose_cmd.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f execute_cmd.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/execute_cmd.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../bash/execute_cmd.c:984:11: warning: 13 enumeration values not handled in switch: 'cm_for', 'cm_case', 'cm_while'... [-Wswitch] switch (command->type) ^ ../bash/execute_cmd.c:1507:45: warning: passing 'volatile COMMAND *' (aka 'volatile struct command *') to parameter of type 'COMMAND *' (aka 'struct command *') discards qualifiers [-Wincompatible-pointer-types] return_code = execute_command_internal (tcom, asynchronous, NO_PIPE, NO_PIPE, fds_to_close); ^~~~ ../bash/execute_cmd.c:3379:77: warning: '&&' within '||' [-Wlogical-op-parentheses] patmatch = ((cond->op->word[1] == '=') && (cond->op->word[2] == '\0') && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../bash/execute_cmd.c:3379:77: note: place parentheses around the '&&' expression to silence this warning patmatch = ((cond->op->word[1] == '=') && (cond->op->word[2] == '\0') && ^ ../bash/execute_cmd.c:4248:3: warning: passing 'volatile ARRAY *' (aka 'volatile struct array *') to parameter of type 'ARRAY *' (aka 'struct array *') discards qualifiers [-Wincompatible-pointer-types] array_push (bash_source_a, sfile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bash/array.h:107:22: note: expanded from macro 'array_push' do { array_rshift ((a), 1, (v)); } while (0) ^~~ ../bash/array.h:56:37: note: passing argument to parameter here extern int array_rshift __P((ARRAY *, int, char *)); ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:74:19: note: expanded from macro '__P' #define __P(args) args ^ ../bash/execute_cmd.c:4250:3: warning: passing 'volatile ARRAY *' (aka 'volatile struct array *') to parameter of type 'ARRAY *' (aka 'struct array *') discards qualifiers [-Wincompatible-pointer-types] array_push (bash_lineno_a, t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bash/array.h:107:22: note: expanded from macro 'array_push' do { array_rshift ((a), 1, (v)); } while (0) ^~~ ../bash/array.h:56:37: note: passing argument to parameter here extern int array_rshift __P((ARRAY *, int, char *)); ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:74:19: note: expanded from macro '__P' #define __P(args) args ^ ../bash/execute_cmd.c:4325:3: warning: passing 'volatile ARRAY *' (aka 'volatile struct array *') to parameter of type 'ARRAY *' (aka 'struct array *') discards qualifiers [-Wincompatible-pointer-types] array_pop (bash_source_a); ^~~~~~~~~~~~~~~~~~~~~~~~~ ../bash/array.h:109:44: note: expanded from macro 'array_pop' do { array_dispose_element (array_shift ((a), 1, 0)); } while (0) ^~~ ../bash/array.h:55:47: note: passing argument to parameter here extern ARRAY_ELEMENT *array_shift __P((ARRAY *, int, int)); ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:74:19: note: expanded from macro '__P' #define __P(args) args ^ ../bash/execute_cmd.c:4326:3: warning: passing 'volatile ARRAY *' (aka 'volatile struct array *') to parameter of type 'ARRAY *' (aka 'struct array *') discards qualifiers [-Wincompatible-pointer-types] array_pop (bash_lineno_a); ^~~~~~~~~~~~~~~~~~~~~~~~~ ../bash/array.h:109:44: note: expanded from macro 'array_pop' do { array_dispose_element (array_shift ((a), 1, 0)); } while (0) ^~~ ../bash/array.h:55:47: note: passing argument to parameter here extern ARRAY_ELEMENT *array_shift __P((ARRAY *, int, int)); ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:74:19: note: expanded from macro '__P' #define __P(args) args ^ ../bash/execute_cmd.c:1581:1: warning: unused function 'cpl_add' [-Wunused-function] cpl_add (cp) ^ ../bash/execute_cmd.c:1604:1: warning: unused function 'cpl_delete' [-Wunused-function] cpl_delete (pid) ^ ../bash/execute_cmd.c:1639:1: warning: unused function 'cpl_reap' [-Wunused-function] cpl_reap () ^ ../bash/execute_cmd.c:1671:1: warning: unused function 'cpl_flush' [-Wunused-function] cpl_flush () ^ ../bash/execute_cmd.c:1691:1: warning: unused function 'cpl_search' [-Wunused-function] cpl_search (pid) ^ ../bash/execute_cmd.c:1705:1: warning: unused function 'cpl_searchbyname' [-Wunused-function] cpl_searchbyname (name) ^ ../bash/execute_cmd.c:1553:13: warning: unused function 'cpl_prune' [-Wunused-function] static void cpl_prune __P((void)); ^ ../bash/execute_cmd.c:2701:12: warning: unused variable 'LINES' [-Wunused-variable] static int LINES, COLS, tabsize; ^ 15 warnings generated. rm -f variables.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/variables.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../bash/variables.c:318:33: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (string_index = 0; string = env[string_index++]; ) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ../bash/variables.c:318:33: note: place parentheses around the assignment to silence this warning for (string_index = 0; string = env[string_index++]; ) ^ ( ) ../bash/variables.c:318:33: note: use '==' to turn this assignment into an equality comparison for (string_index = 0; string = env[string_index++]; ) ^ == ../bash/variables.c:357:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (temp_var = find_function (name)) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../bash/variables.c:357:17: note: place parentheses around the assignment to silence this warning if (temp_var = find_function (name)) ^ ( ) ../bash/variables.c:357:17: note: use '==' to turn this assignment into an equality comparison if (temp_var = find_function (name)) ^ == ../bash/variables.c:1755:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (v = hash_lookup (name, vc->table)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bash/variables.c:1755:11: note: place parentheses around the assignment to silence this warning if (v = hash_lookup (name, vc->table)) ^ ( ) ../bash/variables.c:1755:11: note: use '==' to turn this assignment into an equality comparison if (v = hash_lookup (name, vc->table)) ^ == ../bash/variables.c:2733:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (elt = hash_remove (name, v->table, 0)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bash/variables.c:2733:13: note: place parentheses around the assignment to silence this warning if (elt = hash_remove (name, v->table, 0)) ^ ( ) ../bash/variables.c:2733:13: note: use '==' to turn this assignment into an equality comparison if (elt = hash_remove (name, v->table, 0)) ^ == ../bash/variables.c:3466:35: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (i = 0, list_index = 0; var = vars[i]; i++) ~~~~^~~~~~~~~ ../bash/variables.c:3466:35: note: place parentheses around the assignment to silence this warning for (i = 0, list_index = 0; var = vars[i]; i++) ^ ( ) ../bash/variables.c:3466:35: note: use '==' to turn this assignment into an equality comparison for (i = 0, list_index = 0; var = vars[i]; i++) ^ == ../bash/variables.c:3911:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ret = vcxt->down) ~~~~^~~~~~~~~~~~ ../bash/variables.c:3911:11: note: place parentheses around the assignment to silence this warning if (ret = vcxt->down) ^ ( ) ../bash/variables.c:3911:11: note: use '==' to turn this assignment into an equality comparison if (ret = vcxt->down) ^ == ../bash/variables.c:4523:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (val = extract_colon_unit (temp, &tptr)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bash/variables.c:4523:14: note: place parentheses around the assignment to silence this warning while (val = extract_colon_unit (temp, &tptr)) ^ ( ) ../bash/variables.c:4523:14: note: use '==' to turn this assignment into an equality comparison while (val = extract_colon_unit (temp, &tptr)) ^ == 7 warnings generated. rm -f copy_cmd.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/copy_cmd.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f error.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/error.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f expr.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/expr.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../bash/expr.c:1137:17: warning: unused variable 'lval' [-Wunused-variable] struct lvalue lval; ^ ../bash/expr.c:983:1: warning: unused function 'alloc_lvalue' [-Wunused-function] alloc_lvalue () ^ ../bash/expr.c:993:1: warning: unused function 'free_lvalue' [-Wunused-function] free_lvalue (lv) ^ 3 warnings generated. rm -f flags.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/flags.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f jobs.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/jobs.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../bash/jobs.c:1068:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (temp = jobs[job_index]) ~~~~~^~~~~~~~~~~~~~~~~ ../bash/jobs.c:1068:12: note: place parentheses around the assignment to silence this warning if (temp = jobs[job_index]) ^ ( ) ../bash/jobs.c:1068:12: note: use '==' to turn this assignment into an equality comparison if (temp = jobs[job_index]) ^ == 1 warning generated. rm -f subst.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/subst.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../bash/subst.c:561:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = string[sindex]) ~~^~~~~~~~~~~~~~~~ ../bash/subst.c:561:12: note: place parentheses around the assignment to silence this warning while (c = string[sindex]) ^ ( ) ../bash/subst.c:561:12: note: use '==' to turn this assignment into an equality comparison while (c = string[sindex]) ^ == ../bash/subst.c:604:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (sindex = 0; c = string[sindex]; ) ~~^~~~~~~~~~~~~~~~ ../bash/subst.c:604:22: note: place parentheses around the assignment to silence this warning for (sindex = 0; c = string[sindex]; ) ^ ( ) ../bash/subst.c:604:22: note: use '==' to turn this assignment into an equality comparison for (sindex = 0; c = string[sindex]; ) ^ == ../bash/subst.c:713:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = string[i]) ~~^~~~~~~~~~~ ../bash/subst.c:713:12: note: place parentheses around the assignment to silence this warning while (c = string[i]) ^ ( ) ../bash/subst.c:713:12: note: use '==' to turn this assignment into an equality comparison while (c = string[i]) ^ == ../bash/subst.c:784:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = string[i]) ~~^~~~~~~~~~~ ../bash/subst.c:784:12: note: place parentheses around the assignment to silence this warning while (c = string[i]) ^ ( ) ../bash/subst.c:784:12: note: use '==' to turn this assignment into an equality comparison while (c = string[i]) ^ == ../bash/subst.c:932:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = string[i]) ~~^~~~~~~~~~~ ../bash/subst.c:932:12: note: place parentheses around the assignment to silence this warning while (c = string[i]) ^ ( ) ../bash/subst.c:932:12: note: use '==' to turn this assignment into an equality comparison while (c = string[i]) ^ == ../bash/subst.c:1068:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = string[i]) ~~^~~~~~~~~~~ ../bash/subst.c:1068:12: note: place parentheses around the assignment to silence this warning while (c = string[i]) ^ ( ) ../bash/subst.c:1068:12: note: use '==' to turn this assignment into an equality comparison while (c = string[i]) ^ == ../bash/subst.c:1390:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = string[i]) ~~^~~~~~~~~~~ ../bash/subst.c:1390:12: note: place parentheses around the assignment to silence this warning while (c = string[i]) ^ ( ) ../bash/subst.c:1390:12: note: use '==' to turn this assignment into an equality comparison while (c = string[i]) ^ == ../bash/subst.c:1601:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = string[i]) ~~^~~~~~~~~~~ ../bash/subst.c:1601:12: note: place parentheses around the assignment to silence this warning while (c = string[i]) ^ ( ) ../bash/subst.c:1601:12: note: use '==' to turn this assignment into an equality comparison while (c = string[i]) ^ == ../bash/subst.c:1709:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = string[i]) ~~^~~~~~~~~~~ ../bash/subst.c:1709:12: note: place parentheses around the assignment to silence this warning while (c = string[i]) ^ ( ) ../bash/subst.c:1709:12: note: use '==' to turn this assignment into an equality comparison while (c = string[i]) ^ == ../bash/subst.c:2793:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = mbschr (name, '[')) /*]*/ ~~^~~~~~~~~~~~~~~~~~~~ ../bash/subst.c:2793:9: note: place parentheses around the assignment to silence this warning if (t = mbschr (name, '[')) /*]*/ ^ ( ) ../bash/subst.c:2793:9: note: use '==' to turn this assignment into an equality comparison if (t = mbschr (name, '[')) /*]*/ ^ == ../bash/subst.c:3206:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ ../bash/subst.c:3484:26: warning: unused variable 's1' [-Wunused-variable] register char *s, *t, *s1; ^ ../bash/subst.c:4009:7: warning: unused variable 'n1' [-Wunused-variable] int n1; ^ ../bash/subst.c:4305:10: warning: unused variable 'slen' [-Wunused-variable] size_t slen, plen, mslen, mplen; ^ ../bash/subst.c:4305:16: warning: unused variable 'plen' [-Wunused-variable] size_t slen, plen, mslen, mplen; ^ ../bash/subst.c:4305:22: warning: unused variable 'mslen' [-Wunused-variable] size_t slen, plen, mslen, mplen; ^ ../bash/subst.c:4305:29: warning: unused variable 'mplen' [-Wunused-variable] size_t slen, plen, mslen, mplen; ^ ../bash/subst.c:5690:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (var = find_variable (name)) ~~~~^~~~~~~~~~~~~~~~~~~~~~ ../bash/subst.c:5690:16: note: place parentheses around the assignment to silence this warning else if (var = find_variable (name)) ^ ( ) ../bash/subst.c:5690:16: note: use '==' to turn this assignment into an equality comparison else if (var = find_variable (name)) ^ == ../bash/subst.c:6980:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = string[sindex]) ~~^~~~~~~~~~~~~~~~ ../bash/subst.c:6980:9: note: place parentheses around the assignment to silence this warning if (c = string[sindex]) ^ ( ) ../bash/subst.c:6980:9: note: use '==' to turn this assignment into an equality comparison if (c = string[sindex]) ^ == ../bash/subst.c:6990:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = string[sindex]) ~~^~~~~~~~~~~~~~~~ ../bash/subst.c:6990:13: note: place parentheses around the assignment to silence this warning if (c = string[sindex]) ^ ( ) ../bash/subst.c:6990:13: note: use '==' to turn this assignment into an equality comparison if (c = string[sindex]) ^ == ../bash/subst.c:8608:31: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (dquote = sindex = 0; c = string[sindex];) ~~^~~~~~~~~~~~~~~~ ../bash/subst.c:8608:31: note: place parentheses around the assignment to silence this warning for (dquote = sindex = 0; c = string[sindex];) ^ ( ) ../bash/subst.c:8608:31: note: use '==' to turn this assignment into an equality comparison for (dquote = sindex = 0; c = string[sindex];) ^ == ../bash/subst.c:9114:33: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (eindex = 0; temp_string = expansions[eindex]; eindex++) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../bash/subst.c:9114:33: note: place parentheses around the assignment to silence this warning for (eindex = 0; temp_string = expansions[eindex]; eindex++) ^ ( ) ../bash/subst.c:9114:33: note: use '==' to turn this assignment into an equality comparison for (eindex = 0; temp_string = expansions[eindex]; eindex++) ^ == ../bash/subst.c:206:14: warning: unused function 'quoted_substring' [-Wunused-function] static char *quoted_substring __P((char *, int, int)); ^ ../bash/subst.c:207:12: warning: unused function 'quoted_strlen' [-Wunused-function] static int quoted_strlen __P((char *)); ^ ../bash/subst.c:526:1: warning: unused function 'quoted_strchr' [-Wunused-function] quoted_strchr (s, c, flags) ^ ../bash/subst.c:592:1: warning: unused function 'unquoted_substring' [-Wunused-function] unquoted_substring (substr, string) ^ ../bash/subst.c:551:1: warning: unused function 'unquoted_member' [-Wunused-function] unquoted_member (character, string) ^ ../bash/subst.c:241:23: warning: unused function 'mb_getcharlens' [-Wunused-function] static unsigned char *mb_getcharlens __P((char *, int)); ^ ../bash/subst.c:256:14: warning: unused function 'variable_remove_pattern' [-Wunused-function] static char *variable_remove_pattern __P((char *, char *, int, int)); ^ ../bash/subst.c:6387:1: warning: unused function 'shouldexp_replacement' [-Wunused-function] shouldexp_replacement (s) ^ ../bash/subst.c:296:14: warning: unused function 'pos_params_casemod' [-Wunused-function] static char *pos_params_casemod __P((char *, char *, int, int)); ^ 31 warnings generated. rm -f hashcmd.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/hashcmd.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f hashlib.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/hashlib.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f mailcheck.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/mailcheck.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../bash/mailcheck.c:388:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (mailfile = extract_colon_unit (mailpaths, &i)) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bash/mailcheck.c:388:19: note: place parentheses around the assignment to silence this warning while (mailfile = extract_colon_unit (mailpaths, &i)) ^ ( ) ../bash/mailcheck.c:388:19: note: use '==' to turn this assignment into an equality comparison while (mailfile = extract_colon_unit (mailpaths, &i)) ^ == ../bash/mailcheck.c:462:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (temp = expand_string_to_string (message, Q_DOUBLE_QUOTES)) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bash/mailcheck.c:462:13: note: place parentheses around the assignment to silence this warning if (temp = expand_string_to_string (message, Q_DOUBLE_QUOTES)) ^ ( ) ../bash/mailcheck.c:462:13: note: use '==' to turn this assignment into an equality comparison if (temp = expand_string_to_string (message, Q_DOUBLE_QUOTES)) ^ == 2 warnings generated. rm -f mksignames.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -DBUILDTOOL -c ../bash/support/mksignames.c rm -f buildsignames.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -DBUILDTOOL -o buildsignames.o -c ../bash/support/signames.c rm -f mksignames gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -o mksignames mksignames.o buildsignames.o rm -f lsignames.h ./mksignames lsignames.h if cmp -s lsignames.h signames.h ; then :; else rm -f signames.h ; cp lsignames.h signames.h ; fi rm -f trap.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/trap.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../bash/trap.c:602:1: warning: unused function 'get_original_signal' [-Wunused-function] get_original_signal (sig) ^ 1 warning generated. rm -f input.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/input.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f unwind_prot.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/unwind_prot.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../bash/unwind_prot.c:247:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (elt = unwind_protect_list) ~~~~^~~~~~~~~~~~~~~~~~~~~ ../bash/unwind_prot.c:247:14: note: place parentheses around the assignment to silence this warning while (elt = unwind_protect_list) ^ ( ) ../bash/unwind_prot.c:247:14: note: use '==' to turn this assignment into an equality comparison while (elt = unwind_protect_list) ^ == ../bash/unwind_prot.c:282:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (elt = unwind_protect_list) ~~~~^~~~~~~~~~~~~~~~~~~~~ ../bash/unwind_prot.c:282:14: note: place parentheses around the assignment to silence this warning while (elt = unwind_protect_list) ^ ( ) ../bash/unwind_prot.c:282:14: note: use '==' to turn this assignment into an equality comparison while (elt = unwind_protect_list) ^ == 2 warnings generated. rm -f pathexp.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/pathexp.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../bash/pathexp.c:75:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *string++) ~~^~~~~~~~~~~ ../bash/pathexp.c:75:12: note: place parentheses around the assignment to silence this warning while (c = *string++) ^ ( ) ../bash/pathexp.c:75:12: note: use '==' to turn this assignment into an equality comparison while (c = *string++) ^ == ../bash/pathexp.c:498:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (colon_bit = split_ignorespec (this_ignoreval, &ptr)) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bash/pathexp.c:498:20: note: place parentheses around the assignment to silence this warning while (colon_bit = split_ignorespec (this_ignoreval, &ptr)) ^ ( ) ../bash/pathexp.c:498:20: note: use '==' to turn this assignment into an equality comparison while (colon_bit = split_ignorespec (this_ignoreval, &ptr)) ^ == 2 warnings generated. rm -f sig.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/sig.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f test.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/test.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f version.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/version.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f alias.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/alias.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f array.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/array.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../bash/array.c:387:8: warning: unused variable 't' [-Wunused-variable] char *t; ^ 1 warning generated. rm -f arrayfunc.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/arrayfunc.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../bash/arrayfunc.c:220:14: warning: unused variable 'dentry' [-Wunused-variable] SHELL_VAR *dentry; ^ ../bash/arrayfunc.c:221:9: warning: unused variable 'newval' [-Wunused-variable] char *newval; ^ 2 warnings generated. rm -f assoc.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/assoc.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f braces.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/braces.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../bash/braces.c:368:7: warning: unused variable 'i' [-Wunused-variable] int i, lhs_t, rhs_t, incr, lhs_l, rhs_l, width; ^ ../bash/braces.c:504:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = text[i]) ~~^~~~~~~~~ ../bash/braces.c:504:12: note: place parentheses around the assignment to silence this warning while (c = text[i]) ^ ( ) ../bash/braces.c:504:12: note: use '==' to turn this assignment into an equality comparison while (c = text[i]) ^ == 2 warnings generated. rm -f bracecomp.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/bracecomp.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f bashhist.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/bashhist.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../bash/bashhist.c:631:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (temp = previous_history ()) ~~~~~^~~~~~~~~~~~~~~~~~~~~ ../bash/bashhist.c:631:15: note: place parentheses around the assignment to silence this warning while (temp = previous_history ()) ^ ( ) ../bash/bashhist.c:631:15: note: use '==' to turn this assignment into an equality comparison while (temp = previous_history ()) ^ == 1 warning generated. rm -f bashline.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/bashline.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../bash/bashline.c:687:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (temp = fgets (buffer, 255, file)) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bash/bashline.c:687:15: note: place parentheses around the assignment to silence this warning while (temp = fgets (buffer, 255, file)) ^ ( ) ../bash/bashline.c:687:15: note: use '==' to turn this assignment into an equality comparison while (temp = fgets (buffer, 255, file)) ^ == ../bash/bashline.c:974:7: warning: unused variable 'sindex' [-Wunused-variable] int sindex, c, p; ^ ../bash/bashline.c:1083:7: warning: unused variable 'sindex' [-Wunused-variable] int sindex, c, p; ^ ../bash/bashline.c:1720:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (val = glob_matches[local_index++]) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bash/bashline.c:1720:18: note: place parentheses around the assignment to silence this warning while (val = glob_matches[local_index++]) ^ ( ) ../bash/bashline.c:1720:18: note: use '==' to turn this assignment into an equality comparison while (val = glob_matches[local_index++]) ^ == ../bash/bashline.c:2083:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (srvent = getservent ()) ~~~~~~~^~~~~~~~~~~~~~~ ../bash/bashline.c:2083:17: note: place parentheses around the assignment to silence this warning while (srvent = getservent ()) ^ ( ) ../bash/bashline.c:2083:17: note: use '==' to turn this assignment into an equality comparison while (srvent = getservent ()) ^ == ../bash/bashline.c:2139:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (grent = getgrent ()) ~~~~~~^~~~~~~~~~~~~ ../bash/bashline.c:2139:16: note: place parentheses around the assignment to silence this warning while (grent = getgrent ()) ^ ( ) ../bash/bashline.c:2139:16: note: use '==' to turn this assignment into an equality comparison while (grent = getgrent ()) ^ == ../bash/bashline.c:3299:44: warning: array subscript is of type 'char' [-Wchar-subscripts] else if (quoted == '"' && ((sh_syntaxtab[p[1]] & CBSDQUOTE) == 0)) ^~~~~ ../bash/bashline.c:3595:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (passc = 0; c = string[i]; i++) ~~^~~~~~~~~~~ ../bash/bashline.c:3595:21: note: place parentheses around the assignment to silence this warning for (passc = 0; c = string[i]; i++) ^ ( ) ../bash/bashline.c:3595:21: note: use '==' to turn this assignment into an equality comparison for (passc = 0; c = string[i]; i++) ^ == 8 warnings generated. rm -f list.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/list.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f stringlib.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/stringlib.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f locale.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/locale.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f findcmd.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/findcmd.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../bash/findcmd.c:238:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (var = find_variable_internal ("PATH", 1)) /* XXX could be array? */ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bash/findcmd.c:238:11: note: place parentheses around the assignment to silence this warning if (var = find_variable_internal ("PATH", 1)) /* XXX could be array? */ ^ ( ) ../bash/findcmd.c:238:11: note: use '==' to turn this assignment into an equality comparison if (var = find_variable_internal ("PATH", 1)) /* XXX could be array? */ ^ == 1 warning generated. rm -f redir.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/redir.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../bash/redir.c:158:1: warning: unused label 'expandable_filename' [-Wunused-label] expandable_filename: ^~~~~~~~~~~~~~~~~~~~ ../bash/redir.c:712:12: warning: 16 enumeration values not handled in switch: 'r_output_direction', 'r_input_direction', 'r_inputa_direction'... [-Wswitch] switch (ri) ^ ../bash/redir.c:772:11: warning: enumeration values 'r_move_input_word' and 'r_move_output_word' not handled in switch [-Wswitch] switch (ri) ^ ../bash/redir.c:1234:11: warning: 4 enumeration values not handled in switch: 'r_move_input', 'r_move_output', 'r_move_input_word'... [-Wswitch] switch (ri) ^ ../bash/redir.c:649:1: warning: unused function 'undoablefd' [-Wunused-function] undoablefd (fd) ^ 5 warnings generated. rm -f pcomplete.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/pcomplete.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../bash/pcomplete.c:695:7: warning: unused variable 'qc' [-Wunused-variable] int qc; ^ ../bash/pcomplete.c:1363:57: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types] tmatches = filter_stringlist (ret, cs->filterpat, word); ^~~~ ../bash/pcomplete.c:1494:13: warning: unused variable 'cs' [-Wunused-variable] COMPSPEC *cs, *lastcs; ^ 3 warnings generated. rm -f pcomplib.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/pcomplib.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f syntax.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c syntax.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f xmalloc.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/xmalloc.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' make[3]: Entering directory `/«PKGBUILDDIR»/build-bash/builtins' rm -f builtins.o gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall builtins.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f alias.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/alias.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall alias.c || ( rm -f alias.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f alias.c rm -f bind.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/bind.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall bind.c || ( rm -f bind.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f bind.c rm -f break.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/break.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall break.c || ( rm -f break.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f break.c rm -f builtin.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/builtin.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall builtin.c || ( rm -f builtin.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f builtin.c rm -f caller.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/caller.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall caller.c || ( rm -f caller.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f caller.c rm -f cd.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/cd.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall cd.c || ( rm -f cd.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../bash/builtins/../../bash/builtins/cd.def:264:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (path = extract_colon_unit (cdpath, &path_index)) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../bash/builtins/../../bash/builtins/cd.def:264:19: note: place parentheses around the assignment to silence this warning while (path = extract_colon_unit (cdpath, &path_index)) ^ ( ) ../../bash/builtins/../../bash/builtins/cd.def:264:19: note: use '==' to turn this assignment into an equality comparison while (path = extract_colon_unit (cdpath, &path_index)) ^ == 1 warning generated. rm -f cd.c rm -f colon.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/colon.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall colon.c || ( rm -f colon.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f colon.c rm -f command.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/command.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall command.c || ( rm -f command.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f command.c rm -f common.o gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../bash/builtins/common.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f declare.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/declare.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall declare.c || ( rm -f declare.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../bash/builtins/../../bash/builtins/declare.def:302:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t = strchr (name, '[')) /* ] */ ~~^~~~~~~~ ../../bash/builtins/../../bash/builtins/declare.def:302:13: note: place parentheses around the assignment to silence this warning if (t = strchr (name, '[')) /* ] */ ^ ( ) ../../bash/builtins/../../bash/builtins/declare.def:302:13: note: use '==' to turn this assignment into an equality comparison if (t = strchr (name, '[')) /* ] */ ^ == 1 warning generated. rm -f declare.c rm -f echo.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/echo.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall echo.c || ( rm -f echo.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../bash/builtins/../../bash/builtins/echo.def:137:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (i = *temp++) ~~^~~~~~~~~ ../../bash/builtins/../../bash/builtins/echo.def:137:16: note: place parentheses around the assignment to silence this warning while (i = *temp++) ^ ( ) ../../bash/builtins/../../bash/builtins/echo.def:137:16: note: use '==' to turn this assignment into an equality comparison while (i = *temp++) ^ == 1 warning generated. rm -f echo.c rm -f enable.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/enable.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall enable.c || ( rm -f enable.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../bash/builtins/../../bash/builtins/enable.def:348:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (old_builtin = builtin_address_internal (name, 1)) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../bash/builtins/../../bash/builtins/enable.def:348:23: note: place parentheses around the assignment to silence this warning if (old_builtin = builtin_address_internal (name, 1)) ^ ( ) ../../bash/builtins/../../bash/builtins/enable.def:348:23: note: use '==' to turn this assignment into an equality comparison if (old_builtin = builtin_address_internal (name, 1)) ^ == 1 warning generated. rm -f enable.c rm -f eval.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/eval.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall eval.c || ( rm -f eval.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f eval.c rm -f evalfile.o gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../bash/builtins/evalfile.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f evalstring.o gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../bash/builtins/evalstring.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../bash/builtins/evalstring.c:260:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (command = global_command) ~~~~~~~~^~~~~~~~~~~~~~~~ ../../bash/builtins/evalstring.c:260:21: note: place parentheses around the assignment to silence this warning else if (command = global_command) ^ ( ) ../../bash/builtins/evalstring.c:260:21: note: use '==' to turn this assignment into an equality comparison else if (command = global_command) ^ == 1 warning generated. rm -f exec.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/exec.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall exec.c || ( rm -f exec.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f exec.c rm -f exit.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/exit.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall exit.c || ( rm -f exit.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f exit.c rm -f fc.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/fc.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall fc.c || ( rm -f fc.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f fc.c rm -f fg_bg.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/fg_bg.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall fg_bg.c || ( rm -f fg_bg.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f fg_bg.c rm -f hash.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/hash.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall hash.c || ( rm -f hash.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f hash.c rm -f help.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/help.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall help.c || ( rm -f help.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../bash/builtins/../../bash/builtins/help.def:140:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (i = 0; name = shell_builtins[i].name; i++) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../../bash/builtins/../../bash/builtins/help.def:140:24: note: place parentheses around the assignment to silence this warning for (i = 0; name = shell_builtins[i].name; i++) ^ ( ) ../../bash/builtins/../../bash/builtins/help.def:140:24: note: use '==' to turn this assignment into an equality comparison for (i = 0; name = shell_builtins[i].name; i++) ^ == 1 warning generated. rm -f help.c rm -f history.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/history.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall history.c || ( rm -f history.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f history.c rm -f jobs.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/jobs.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall jobs.c || ( rm -f jobs.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f jobs.c rm -f kill.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/kill.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall kill.c || ( rm -f kill.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f kill.c rm -f let.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/let.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall let.c || ( rm -f let.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f let.c rm -f mapfile.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/mapfile.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall mapfile.c || ( rm -f mapfile.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f mapfile.c rm -f pushd.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/pushd.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall pushd.c || ( rm -f pushd.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f pushd.c rm -f read.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/read.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall read.c || ( rm -f read.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f read.c rm -f return.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/return.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall return.c || ( rm -f return.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f return.c rm -f set.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/set.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall set.c || ( rm -f set.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../bash/builtins/../../bash/builtins/set.def:543:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (vname = extract_colon_unit (value, &vptr)) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../bash/builtins/../../bash/builtins/set.def:543:16: note: place parentheses around the assignment to silence this warning while (vname = extract_colon_unit (value, &vptr)) ^ ( ) ../../bash/builtins/../../bash/builtins/set.def:543:16: note: use '==' to turn this assignment into an equality comparison while (vname = extract_colon_unit (value, &vptr)) ^ == ../../bash/builtins/../../bash/builtins/set.def:652:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (flag_name = *++arg) ~~~~~~~~~~^~~~~~~~ ../../bash/builtins/../../bash/builtins/set.def:652:21: note: place parentheses around the assignment to silence this warning while (flag_name = *++arg) ^ ( ) ../../bash/builtins/../../bash/builtins/set.def:652:21: note: use '==' to turn this assignment into an equality comparison while (flag_name = *++arg) ^ == 2 warnings generated. rm -f set.c rm -f setattr.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/setattr.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall setattr.c || ( rm -f setattr.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../bash/builtins/../../bash/builtins/setattr.def:290:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (i = 0; var = variable_list[i]; i++) ~~~~^~~~~~~~~~~~~~~~~~ ../../bash/builtins/../../bash/builtins/setattr.def:290:20: note: place parentheses around the assignment to silence this warning for (i = 0; var = variable_list[i]; i++) ^ ( ) ../../bash/builtins/../../bash/builtins/setattr.def:290:20: note: use '==' to turn this assignment into an equality comparison for (i = 0; var = variable_list[i]; i++) ^ == ../../bash/builtins/../../bash/builtins/setattr.def:301:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (any_failed = sh_chkwrite (any_failed)) ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../bash/builtins/../../bash/builtins/setattr.def:301:20: note: place parentheses around the assignment to silence this warning if (any_failed = sh_chkwrite (any_failed)) ^ ( ) ../../bash/builtins/../../bash/builtins/setattr.def:301:20: note: use '==' to turn this assignment into an equality comparison if (any_failed = sh_chkwrite (any_failed)) ^ == ../../bash/builtins/../../bash/builtins/setattr.def:328:32: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (i = any_failed = 0; var = variable_list[i]; i++) ~~~~^~~~~~~~~~~~~~~~~~ ../../bash/builtins/../../bash/builtins/setattr.def:328:32: note: place parentheses around the assignment to silence this warning for (i = any_failed = 0; var = variable_list[i]; i++) ^ ( ) ../../bash/builtins/../../bash/builtins/setattr.def:328:32: note: use '==' to turn this assignment into an equality comparison for (i = any_failed = 0; var = variable_list[i]; i++) ^ == ../../bash/builtins/../../bash/builtins/setattr.def:331:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (any_failed = sh_chkwrite (any_failed)) ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../bash/builtins/../../bash/builtins/setattr.def:331:22: note: place parentheses around the assignment to silence this warning if (any_failed = sh_chkwrite (any_failed)) ^ ( ) ../../bash/builtins/../../bash/builtins/setattr.def:331:22: note: use '==' to turn this assignment into an equality comparison if (any_failed = sh_chkwrite (any_failed)) ^ == 4 warnings generated. rm -f setattr.c rm -f shift.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/shift.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall shift.c || ( rm -f shift.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f shift.c rm -f source.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/source.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall source.c || ( rm -f source.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f source.c rm -f suspend.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/suspend.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall suspend.c || ( rm -f suspend.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f suspend.c rm -f test.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/test.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall test.c || ( rm -f test.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f test.c rm -f times.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/times.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall times.c || ( rm -f times.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f times.c rm -f trap.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/trap.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall trap.c || ( rm -f trap.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f trap.c rm -f type.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/type.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall type.c || ( rm -f type.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../bash/builtins/../../bash/builtins/type.def:332:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (full_path = phash_search (command)) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../../bash/builtins/../../bash/builtins/type.def:332:21: note: place parentheses around the assignment to silence this warning if (full_path = phash_search (command)) ^ ( ) ../../bash/builtins/../../bash/builtins/type.def:332:21: note: use '==' to turn this assignment into an equality comparison if (full_path = phash_search (command)) ^ == 1 warning generated. rm -f type.c gcc -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -o psize.aux ../../bash/builtins/psize.c /bin/sh ../../bash/builtins/psize.sh > pipesize.h rm -f ulimit.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/ulimit.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ulimit.c || ( rm -f ulimit.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../bash/builtins/../../bash/builtins/ulimit.def:750:1: warning: unused function 'set_all_limits' [-Wunused-function] set_all_limits (mode, newlim) ^ 1 warning generated. rm -f ulimit.c rm -f umask.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/umask.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall umask.c || ( rm -f umask.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f umask.c rm -f wait.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/wait.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall wait.c || ( rm -f wait.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f wait.c rm -f getopts.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/getopts.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall getopts.c || ( rm -f getopts.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f getopts.c rm -f shopt.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/shopt.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall shopt.c || ( rm -f shopt.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../bash/builtins/../../bash/builtins/shopt.def:625:24: warning: unused variable 'ip' [-Wunused-variable] int vsize, i, vptr, *ip, exported; ^ ../../bash/builtins/../../bash/builtins/shopt.def:686:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (vname = extract_colon_unit (value, &vptr)) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../bash/builtins/../../bash/builtins/shopt.def:686:16: note: place parentheses around the assignment to silence this warning while (vname = extract_colon_unit (value, &vptr)) ^ ( ) ../../bash/builtins/../../bash/builtins/shopt.def:686:16: note: use '==' to turn this assignment into an equality comparison while (vname = extract_colon_unit (value, &vptr)) ^ == 2 warnings generated. rm -f shopt.c rm -f printf.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/printf.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall printf.c || ( rm -f printf.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f printf.c rm -f getopt.o gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../bash/builtins/getopt.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../bash/builtins/getopt.c:182:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sh_badopt = (temp == NULL || c == ':')) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../bash/builtins/getopt.c:182:17: note: place parentheses around the assignment to silence this warning if (sh_badopt = (temp == NULL || c == ':')) ^ ( ) ../../bash/builtins/getopt.c:182:17: note: use '==' to turn this assignment into an equality comparison if (sh_badopt = (temp == NULL || c == ':')) ^ == 1 warning generated. rm -f bashgetopt.o gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../bash/builtins/bashgetopt.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f complete.o ./mkbuiltins -D ../../bash/builtins ../../bash/builtins/complete.def gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall complete.c || ( rm -f complete.c ; exit 1 ) clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f complete.c rm -f libbuiltins.a ar cr libbuiltins.a builtins.o alias.o bind.o break.o builtin.o caller.o cd.o colon.o command.o common.o declare.o echo.o enable.o eval.o evalfile.o evalstring.o exec.o exit.o fc.o fg_bg.o hash.o help.o history.o jobs.o kill.o let.o mapfile.o pushd.o read.o return.o set.o setattr.o shift.o source.o suspend.o test.o times.o trap.o type.o ulimit.o umask.o wait.o getopts.o shopt.o printf.o getopt.o bashgetopt.o complete.o ranlib libbuiltins.a make[3]: Leaving directory `/«PKGBUILDDIR»/build-bash/builtins' making lib/glob/libglob.a in ./lib/glob make[3]: Entering directory `/«PKGBUILDDIR»/build-bash/lib/glob' rm -f glob.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I../.. -I../../../bash -I../../../bash/include -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/glob/glob.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../../bash/lib/glob/glob.c:349:14: warning: unused variable 'n' [-Wunused-variable] char **r, *n; ^ 1 warning generated. rm -f strmatch.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I../.. -I../../../bash -I../../../bash/include -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/glob/strmatch.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f smatch.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I../.. -I../../../bash -I../../../bash/include -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/glob/smatch.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' In file included from ../../../bash/lib/glob/smatch.c:228: ../../../bash/lib/glob/sm_loop.c:305:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (not = (*p == L('!') || *p == L('^'))) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../bash/lib/glob/sm_loop.c:305:11: note: place parentheses around the assignment to silence this warning if (not = (*p == L('!') || *p == L('^'))) ^ ( ) ../../../bash/lib/glob/sm_loop.c:305:11: note: use '==' to turn this assignment into an equality comparison if (not = (*p == L('!') || *p == L('^'))) ^ == ../../../bash/lib/glob/sm_loop.c:533:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (s = string; c = *s; s++) ~~^~~~ ../../../bash/lib/glob/sm_loop.c:533:22: note: place parentheses around the assignment to silence this warning for (s = string; c = *s; s++) ^ ( ) ../../../bash/lib/glob/sm_loop.c:533:22: note: use '==' to turn this assignment into an equality comparison for (s = string; c = *s; s++) ^ == ../../../bash/lib/glob/sm_loop.c:731:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (m1 = (GMATCH (s, srest, psub, pnext - 1, flags) == 0)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../bash/lib/glob/sm_loop.c:731:15: note: place parentheses around the assignment to silence this warning if (m1 = (GMATCH (s, srest, psub, pnext - 1, flags) == 0)) ^ ( ) ../../../bash/lib/glob/sm_loop.c:731:15: note: use '==' to turn this assignment into an equality comparison if (m1 = (GMATCH (s, srest, psub, pnext - 1, flags) == 0)) ^ == In file included from ../../../bash/lib/glob/smatch.c:356: ../../../bash/lib/glob/sm_loop.c:305:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (not = (*p == L('!') || *p == L('^'))) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../bash/lib/glob/sm_loop.c:305:11: note: place parentheses around the assignment to silence this warning if (not = (*p == L('!') || *p == L('^'))) ^ ( ) ../../../bash/lib/glob/sm_loop.c:305:11: note: use '==' to turn this assignment into an equality comparison if (not = (*p == L('!') || *p == L('^'))) ^ == ../../../bash/lib/glob/sm_loop.c:533:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (s = string; c = *s; s++) ~~^~~~ ../../../bash/lib/glob/sm_loop.c:533:22: note: place parentheses around the assignment to silence this warning for (s = string; c = *s; s++) ^ ( ) ../../../bash/lib/glob/sm_loop.c:533:22: note: use '==' to turn this assignment into an equality comparison for (s = string; c = *s; s++) ^ == ../../../bash/lib/glob/sm_loop.c:731:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (m1 = (GMATCH (s, srest, psub, pnext - 1, flags) == 0)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../bash/lib/glob/sm_loop.c:731:15: note: place parentheses around the assignment to silence this warning if (m1 = (GMATCH (s, srest, psub, pnext - 1, flags) == 0)) ^ ( ) ../../../bash/lib/glob/sm_loop.c:731:15: note: use '==' to turn this assignment into an equality comparison if (m1 = (GMATCH (s, srest, psub, pnext - 1, flags) == 0)) ^ == ../../../bash/lib/glob/smatch.c:370:10: warning: unused variable 'plen' [-Wunused-variable] size_t plen, slen, mplen, mslen; ^ ../../../bash/lib/glob/smatch.c:370:16: warning: unused variable 'slen' [-Wunused-variable] size_t plen, slen, mplen, mslen; ^ ../../../bash/lib/glob/smatch.c:370:22: warning: unused variable 'mplen' [-Wunused-variable] size_t plen, slen, mplen, mslen; ^ ../../../bash/lib/glob/smatch.c:370:29: warning: unused variable 'mslen' [-Wunused-variable] size_t plen, slen, mplen, mslen; ^ 10 warnings generated. rm -f xmbsrtowcs.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I../.. -I../../../bash -I../../../bash/include -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/glob/xmbsrtowcs.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f gmisc.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I../.. -I../../../bash -I../../../bash/include -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/glob/gmisc.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../../bash/lib/glob/gmisc.c:87:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (wc = *wpat++) ~~~^~~~~~~~~ ../../../bash/lib/glob/gmisc.c:87:13: note: place parentheses around the assignment to silence this warning while (wc = *wpat++) ^ ( ) ../../../bash/lib/glob/gmisc.c:87:13: note: use '==' to turn this assignment into an equality comparison while (wc = *wpat++) ^ == ../../../bash/lib/glob/gmisc.c:81:25: warning: unused variable 't' [-Wunused-variable] int matlen, bracklen, t, in_cclass, in_collsym, in_equiv; ^ ../../../bash/lib/glob/gmisc.c:245:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *pat++) ~~^~~~~~~~ ../../../bash/lib/glob/gmisc.c:245:12: note: place parentheses around the assignment to silence this warning while (c = *pat++) ^ ( ) ../../../bash/lib/glob/gmisc.c:245:12: note: use '==' to turn this assignment into an equality comparison while (c = *pat++) ^ == ../../../bash/lib/glob/gmisc.c:239:25: warning: unused variable 't' [-Wunused-variable] int matlen, bracklen, t, in_cclass, in_collsym, in_equiv; ^ 4 warnings generated. rm -f -f libglob.a ar cr libglob.a glob.o strmatch.o smatch.o xmbsrtowcs.o gmisc.o test -n "ranlib" && ranlib libglob.a make[3]: Leaving directory `/«PKGBUILDDIR»/build-bash/lib/glob' making lib/sh/libsh.a in ./lib/sh make[3]: Entering directory `/«PKGBUILDDIR»/build-bash/lib/sh' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/clktck.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/clock.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/getenv.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/oslib.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/setlinebuf.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/strnlen.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/itos.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/zread.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/zwrite.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/shtty.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/shmatch.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/eaccess.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../../bash/lib/sh/eaccess.c:201:7: warning: unused variable 'ret' [-Wunused-variable] int ret; ^ ../../../bash/lib/sh/eaccess.c:172:1: warning: unused function 'sh_euidaccess' [-Wunused-function] sh_euidaccess (path, mode) ^ 2 warnings generated. gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/netconn.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/netopen.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/timeval.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/makepath.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../../bash/lib/sh/makepath.c:97:27: warning: '&&' within '||' [-Wlogical-op-parentheses] path[1] == '/' && path[2] == '\0')) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ../../../bash/lib/sh/makepath.c:97:27: note: place parentheses around the '&&' expression to silence this warning path[1] == '/' && path[2] == '\0')) ^ ( ) ../../../bash/lib/sh/makepath.c:123:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*r++ = *s++) ~~~~~^~~~~~ ../../../bash/lib/sh/makepath.c:123:15: note: place parentheses around the assignment to silence this warning while (*r++ = *s++) ^ ( ) ../../../bash/lib/sh/makepath.c:123:15: note: use '==' to turn this assignment into an equality comparison while (*r++ = *s++) ^ == 2 warnings generated. gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/pathcanon.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../../bash/lib/sh/pathcanon.c:117:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (rooted = ROOTEDPATH(path)) ~~~~~~~^~~~~~~~~~~~ ../../../bash/lib/sh/pathcanon.c:117:14: note: place parentheses around the assignment to silence this warning if (rooted = ROOTEDPATH(path)) ^ ( ) ../../../bash/lib/sh/pathcanon.c:117:14: note: use '==' to turn this assignment into an equality comparison if (rooted = ROOTEDPATH(path)) ^ == 1 warning generated. gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/pathphys.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/tmpfile.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/stringlist.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/stringvec.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/spell.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../../bash/lib/sh/spell.c:98:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (p = best; *np = *p++; np++) ~~~~^~~~~~ ../../../bash/lib/sh/spell.c:98:26: note: place parentheses around the assignment to silence this warning for (p = best; *np = *p++; np++) ^ ( ) ../../../bash/lib/sh/spell.c:98:26: note: use '==' to turn this assignment into an equality comparison for (p = best; *np = *p++; np++) ^ == 1 warning generated. gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/shquote.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/strtrans.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../../bash/lib/sh/strtrans.c:280:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (s = string; c = *s; s++) ~~^~~~ ../../../bash/lib/sh/strtrans.c:280:22: note: place parentheses around the assignment to silence this warning for (s = string; c = *s; s++) ^ ( ) ../../../bash/lib/sh/strtrans.c:280:22: note: use '==' to turn this assignment into an equality comparison for (s = string; c = *s; s++) ^ == 1 warning generated. gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/snprintf.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/mailstat.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/fmtulong.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/fmtullong.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/fmtumax.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/zcatfd.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/zmapfd.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/winsize.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/wcsdup.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/fpurge.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/zgetline.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/mbscmp.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/uconvert.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/ufuncs.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/casemod.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../../bash/lib/sh/casemod.c:103:15: warning: unused variable 'c' [-Wunused-variable] int inword, c, nc, nop, match, usewords; ^ 1 warning generated. gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/input_avail.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/mbscasecmp.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/fnxform.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../../bash/lib/sh/fnxform.c:49:14: warning: unused variable 'outbuf' [-Wunused-variable] static char *outbuf = 0; ^ ../../../bash/lib/sh/fnxform.c:50:15: warning: unused variable 'outlen' [-Wunused-variable] static size_t outlen = 0; ^ ../../../bash/lib/sh/fnxform.c:80:1: warning: unused function 'init_tofs' [-Wunused-function] init_tofs () ^ ../../../bash/lib/sh/fnxform.c:89:1: warning: unused function 'init_fromfs' [-Wunused-function] init_fromfs () ^ 4 warnings generated. gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/unicode.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/shmbchar.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -c -I. -I../.. -I../../../bash -I../../../bash/lib -I../../../bash/include -I../../../bash/lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 ../../../bash/lib/sh/mbschr.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f libsh.a ar cr libsh.a clktck.o clock.o getenv.o oslib.o setlinebuf.o strnlen.o itos.o zread.o zwrite.o shtty.o shmatch.o eaccess.o netconn.o netopen.o timeval.o makepath.o pathcanon.o pathphys.o tmpfile.o stringlist.o stringvec.o spell.o shquote.o strtrans.o snprintf.o mailstat.o fmtulong.o fmtullong.o fmtumax.o zcatfd.o zmapfd.o winsize.o wcsdup.o fpurge.o zgetline.o mbscmp.o uconvert.o ufuncs.o casemod.o input_avail.o mbscasecmp.o fnxform.o unicode.o shmbchar.o mbschr.o test -n "ranlib" && ranlib libsh.a make[3]: Leaving directory `/«PKGBUILDDIR»/build-bash/lib/sh' making lib/readline/libreadline.a in ./lib/readline make[3]: Entering directory `/«PKGBUILDDIR»/build-bash/lib/readline' rm -f readline.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I/«PKGBUILDDIR»/build-bash -I../../../bash -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/readline/readline.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../../bash/lib/readline/readline.c:1117:1: warning: unused function 'reset_default_bindings' [-Wunused-function] reset_default_bindings () ^ 1 warning generated. rm -f vi_mode.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I/«PKGBUILDDIR»/build-bash -I../../../bash -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/readline/vi_mode.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../../bash/lib/readline/vi_mode.c:1025:10: warning: unused variable 'save' [-Wunused-variable] int c, save, r; ^ ../../../bash/lib/readline/vi_mode.c:1193:7: warning: unused variable 'r' [-Wunused-variable] int r; ^ 2 warnings generated. rm -f funmap.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I/«PKGBUILDDIR»/build-bash -I../../../bash -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/readline/funmap.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f keymaps.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I/«PKGBUILDDIR»/build-bash -I../../../bash -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/readline/keymaps.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f parens.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I/«PKGBUILDDIR»/build-bash -I../../../bash -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/readline/parens.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f search.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I/«PKGBUILDDIR»/build-bash -I../../../bash -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/readline/search.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../../bash/lib/readline/search.c:213:24: warning: data argument not used by format string [-Wformat-extra-args] rl_message ("%s", p, 0); ~~~~ ^ 1 warning generated. rm -f rltty.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I/«PKGBUILDDIR»/build-bash -I../../../bash -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/readline/rltty.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f complete.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I/«PKGBUILDDIR»/build-bash -I../../../bash -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/readline/complete.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../../bash/lib/readline/complete.c:984:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY)) ~~~~~~~~~^~~~~~~~~~~~~ ../../../bash/lib/readline/complete.c:984:23: note: place parentheses around the assignment to silence this warning while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY)) ^ ( ) ../../../bash/lib/readline/complete.c:984:23: note: use '==' to turn this assignment into an equality comparison while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY)) ^ == ../../../bash/lib/readline/complete.c:1992:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (string = (*entry_function) (text, matches)) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../bash/lib/readline/complete.c:1992:17: note: place parentheses around the assignment to silence this warning while (string = (*entry_function) (text, matches)) ^ ( ) ../../../bash/lib/readline/complete.c:1992:17: note: use '==' to turn this assignment into an equality comparison while (string = (*entry_function) (text, matches)) ^ == ../../../bash/lib/readline/complete.c:2045:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (entry = getpwent ()) ~~~~~~^~~~~~~~~~~~~ ../../../bash/lib/readline/complete.c:2045:16: note: place parentheses around the assignment to silence this warning while (entry = getpwent ()) ^ ( ) ../../../bash/lib/readline/complete.c:2045:16: note: use '==' to turn this assignment into an equality comparison while (entry = getpwent ()) ^ == ../../../bash/lib/readline/complete.c:2500:25: warning: unused variable 'cstate' [-Wunused-variable] static int delimiter, cstate; ^ 4 warnings generated. rm -f bind.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I/«PKGBUILDDIR»/build-bash -I../../../bash -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/readline/bind.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../../bash/lib/readline/bind.c:451:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (i = l = 0; c = seq[i]; i++) ~~^~~~~~~~ ../../../bash/lib/readline/bind.c:451:21: note: place parentheses around the assignment to silence this warning for (i = l = 0; c = seq[i]; i++) ^ ( ) ../../../bash/lib/readline/bind.c:451:21: note: use '==' to turn this assignment into an equality comparison for (i = l = 0; c = seq[i]; i++) ^ == ../../../bash/lib/readline/bind.c:1197:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (i = 1; c = string[i]; i++) ~~^~~~~~~~~~~ ../../../bash/lib/readline/bind.c:1197:21: note: place parentheses around the assignment to silence this warning for (i = 1; c = string[i]; i++) ^ ( ) ../../../bash/lib/readline/bind.c:1197:21: note: use '==' to turn this assignment into an equality comparison for (i = 1; c = string[i]; i++) ^ == ../../../bash/lib/readline/bind.c:1288:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (passc = 0; c = string[i]; i++) ~~^~~~~~~~~~~ ../../../bash/lib/readline/bind.c:1288:25: note: place parentheses around the assignment to silence this warning for (passc = 0; c = string[i]; i++) ^ ( ) ../../../bash/lib/readline/bind.c:1288:25: note: use '==' to turn this assignment into an equality comparison for (passc = 0; c = string[i]; i++) ^ == ../../../bash/lib/readline/bind.c:2117:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (i = 0; name = names[i]; i++) ~~~~~^~~~~~~~~~ ../../../bash/lib/readline/bind.c:2117:20: note: place parentheses around the assignment to silence this warning for (i = 0; name = names[i]; i++) ^ ( ) ../../../bash/lib/readline/bind.c:2117:20: note: use '==' to turn this assignment into an equality comparison for (i = 0; name = names[i]; i++) ^ == 4 warnings generated. rm -f isearch.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I/«PKGBUILDDIR»/build-bash -I../../../bash -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/readline/isearch.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f display.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I/«PKGBUILDDIR»/build-bash -I../../../bash -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/readline/display.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f signals.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I/«PKGBUILDDIR»/build-bash -I../../../bash -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/readline/signals.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f util.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I/«PKGBUILDDIR»/build-bash -I../../../bash -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/readline/util.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../../bash/lib/readline/util.c:510:39: warning: format specifies type 'long' but the argument has type '__pid_t' (aka 'int') [-Wformat] sprintf (fnbuf, "/var/tmp/rltrace.%ld", getpid()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ %d /usr/include/x86_64-linux-gnu/bits/stdio2.h:40:7: note: expanded from macro 'sprintf' __VA_ARGS__) ^ 1 warning generated. rm -f kill.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I/«PKGBUILDDIR»/build-bash -I../../../bash -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/readline/kill.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f undo.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I/«PKGBUILDDIR»/build-bash -I../../../bash -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/readline/undo.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f macro.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I/«PKGBUILDDIR»/build-bash -I../../../bash -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/readline/macro.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f input.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I/«PKGBUILDDIR»/build-bash -I../../../bash -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/readline/input.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../../bash/lib/readline/input.c:424:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = _rl_next_macro_key ()) ~~^~~~~~~~~~~~~~~~~~~~~~~ ../../../bash/lib/readline/input.c:424:13: note: place parentheses around the assignment to silence this warning if (c = _rl_next_macro_key ()) ^ ( ) ../../../bash/lib/readline/input.c:424:13: note: use '==' to turn this assignment into an equality comparison if (c = _rl_next_macro_key ()) ^ == 1 warning generated. rm -f callback.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I/«PKGBUILDDIR»/build-bash -I../../../bash -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/readline/callback.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f terminal.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I/«PKGBUILDDIR»/build-bash -I../../../bash -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/readline/terminal.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f text.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I/«PKGBUILDDIR»/build-bash -I../../../bash -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/readline/text.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f nls.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I/«PKGBUILDDIR»/build-bash -I../../../bash -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/readline/nls.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f misc.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I/«PKGBUILDDIR»/build-bash -I../../../bash -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/readline/misc.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../../bash/lib/readline/misc.c:456:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ul = (UNDO_LIST *)entry->data) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../bash/lib/readline/misc.c:456:14: note: place parentheses around the assignment to silence this warning if (ul = (UNDO_LIST *)entry->data) ^ ( ) ../../../bash/lib/readline/misc.c:456:14: note: use '==' to turn this assignment into an equality comparison if (ul = (UNDO_LIST *)entry->data) ^ == 1 warning generated. rm -f history.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I/«PKGBUILDDIR»/build-bash -I../../../bash -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/readline/history.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../../bash/lib/readline/history.c:308:31: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types] temp = alloc_history_entry (string, hist_inittime ()); ^~~~~~ 1 warning generated. rm -f histexpand.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I/«PKGBUILDDIR»/build-bash -I../../../bash -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/readline/histexpand.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../../bash/lib/readline/histexpand.c:207:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (local_index = i; c = string[i]; i++) ~~^~~~~~~~~~~ ../../../bash/lib/readline/histexpand.c:207:27: note: place parentheses around the assignment to silence this warning for (local_index = i; c = string[i]; i++) ^ ( ) ../../../bash/lib/readline/histexpand.c:207:27: note: use '==' to turn this assignment into an equality comparison for (local_index = i; c = string[i]; i++) ^ == 1 warning generated. rm -f histfile.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I/«PKGBUILDDIR»/build-bash -I../../../bash -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/readline/histfile.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../../bash/lib/readline/histfile.c:406:7: warning: ignoring return value of function declared with warn_unused_result attribute [-Wunused-result] write (file, bp, chars_read - (bp - buffer)); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. rm -f histsearch.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I/«PKGBUILDDIR»/build-bash -I../../../bash -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/readline/histsearch.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f shell.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I/«PKGBUILDDIR»/build-bash -I../../../bash -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/readline/shell.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f savestring.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I/«PKGBUILDDIR»/build-bash -I../../../bash -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/readline/savestring.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f mbutil.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I/«PKGBUILDDIR»/build-bash -I../../../bash -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/readline/mbutil.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f tilde.o gcc -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I/«PKGBUILDDIR»/build-bash -I../../../bash -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DREADLINE_LIBRARY -c ../../../bash/lib/readline/tilde.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../../bash/lib/readline/tilde.c:199:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (result = strchr (string, '~')) ~~~~~~~^~~~~~~~ ../../../bash/lib/readline/tilde.c:199:14: note: place parentheses around the assignment to silence this warning if (result = strchr (string, '~')) ^ ( ) ../../../bash/lib/readline/tilde.c:199:14: note: use '==' to turn this assignment into an equality comparison if (result = strchr (string, '~')) ^ == 1 warning generated. rm -f xmalloc.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I/«PKGBUILDDIR»/build-bash -I../../../bash -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/readline/xmalloc.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f xfree.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I/«PKGBUILDDIR»/build-bash -I../../../bash -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/readline/xfree.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f compat.o gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I/«PKGBUILDDIR»/build-bash -I../../../bash -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/readline/compat.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' rm -f libreadline.a ar cr libreadline.a readline.o vi_mode.o funmap.o keymaps.o parens.o search.o rltty.o complete.o bind.o isearch.o display.o signals.o util.o kill.o undo.o macro.o input.o callback.o terminal.o text.o nls.o misc.o history.o histexpand.o histfile.o histsearch.o shell.o savestring.o mbutil.o tilde.o xmalloc.o xfree.o compat.o test -n "ranlib" && ranlib libreadline.a make[3]: Leaving directory `/«PKGBUILDDIR»/build-bash/lib/readline' making lib/readline/libhistory.a in ./lib/readline make[3]: Entering directory `/«PKGBUILDDIR»/build-bash/lib/readline' rm -f libhistory.a ar cr libhistory.a history.o histexpand.o histfile.o histsearch.o shell.o savestring.o mbutil.o xmalloc.o xfree.o test -n "ranlib" && ranlib libhistory.a make[3]: Leaving directory `/«PKGBUILDDIR»/build-bash/lib/readline' making lib/tilde/libtilde.a in ./lib/tilde make[3]: Entering directory `/«PKGBUILDDIR»/build-bash/lib/tilde' gcc -c -DHAVE_CONFIG_H -DSHELL -D_FORTIFY_SOURCE=2 -I. -I../.. -I../../../bash -I../../../bash/include -I../../../bash/lib -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall ../../../bash/lib/tilde/tilde.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../../bash/lib/tilde/tilde.c:199:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (result = strchr (string, '~')) ~~~~~~~^~~~~~~~ ../../../bash/lib/tilde/tilde.c:199:14: note: place parentheses around the assignment to silence this warning if (result = strchr (string, '~')) ^ ( ) ../../../bash/lib/tilde/tilde.c:199:14: note: use '==' to turn this assignment into an equality comparison if (result = strchr (string, '~')) ^ == 1 warning generated. rm -f libtilde.a ar cr libtilde.a tilde.o test -n "ranlib" && ranlib libtilde.a make[3]: Leaving directory `/«PKGBUILDDIR»/build-bash/lib/tilde' make[3]: Entering directory `/«PKGBUILDDIR»/build-bash/lib/malloc' gcc -I. -I../.. -I../../../bash -I../../../bash/include -I../../../bash/lib -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DRCHECK -Dbotch=programming_error -D_FORTIFY_SOURCE=2 -c ../../../bash/lib/malloc/malloc.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../../bash/lib/malloc/malloc.c:464:21: warning: unused variable 'split_max' [-Wunused-variable] int nbuck, nblks, split_max; ^ ../../../bash/lib/malloc/malloc.c:656:3: warning: ignoring return value of function declared with warn_unused_result attribute [-Wunused-result] write (1, "malloc_debug_dummy\n", 19); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../bash/lib/malloc/malloc.c:845:7: warning: unused variable 'ubytes' [-Wunused-variable] int ubytes; /* caller-requested size */ ^ ../../../bash/lib/malloc/malloc.c:654:1: warning: unused function 'malloc_debug_dummy' [-Wunused-function] malloc_debug_dummy () ^ 4 warnings generated. gcc -I. -I../.. -I../../../bash -I../../../bash/include -I../../../bash/lib -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DRCHECK -Dbotch=programming_error -D_FORTIFY_SOURCE=2 -c ../../../bash/lib/malloc/trace.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -I. -I../.. -I../../../bash -I../../../bash/include -I../../../bash/lib -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DRCHECK -Dbotch=programming_error -D_FORTIFY_SOURCE=2 -c ../../../bash/lib/malloc/stats.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -I. -I../.. -I../../../bash -I../../../bash/include -I../../../bash/lib -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DRCHECK -Dbotch=programming_error -D_FORTIFY_SOURCE=2 -c ../../../bash/lib/malloc/table.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' gcc -I. -I../.. -I../../../bash -I../../../bash/include -I../../../bash/lib -DHAVE_CONFIG_H -DSHELL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -DRCHECK -Dbotch=programming_error -D_FORTIFY_SOURCE=2 -c ../../../bash/lib/malloc/watch.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../../../bash/lib/malloc/watch.c:87:16: warning: unused variable 'i' [-Wunused-variable] register int i; ^ 1 warning generated. rm -f libmalloc.a ar cr libmalloc.a malloc.o trace.o stats.o table.o watch.o test -n "ranlib" && ranlib libmalloc.a make[3]: Leaving directory `/«PKGBUILDDIR»/build-bash/lib/malloc' rm -f bash gcc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob -L./lib/tilde -L./lib/malloc -L./lib/sh -Wl,-z,relro -rdynamic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -o bash shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o dispose_cmd.o execute_cmd.o variables.o copy_cmd.o error.o expr.o flags.o jobs.o subst.o hashcmd.o hashlib.o mailcheck.o trap.o input.o unwind_prot.o pathexp.o sig.o test.o version.o alias.o array.o arrayfunc.o assoc.o braces.o bracecomp.o bashhist.o bashline.o list.o stringlib.o locale.o findcmd.o redir.o pcomplete.o pcomplib.o syntax.o xmalloc.o -lbuiltins -lglob -lsh -lreadline -lhistory -ltinfo -ltilde -lmalloc -ldl clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ls -l bash -rwxrwxr-x 1 root root 2669922 Jun 23 16:12 bash size bash text data bss dec hex filename 885328 31888 22344 939560 e5628 bash make[2]: Leaving directory `/«PKGBUILDDIR»/build-bash' touch stamps/stamp-build-bash make[1]: Leaving directory `/«PKGBUILDDIR»' /usr/bin/make -f debian/rules do-build-static \ bash_src=bash \ bash_patches="" \ build=static \ configure_args="--with-curses --enable-largefile --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --build x86_64-linux-gnu --enable-static-link --without-bash-malloc " make[1]: Entering directory `/«PKGBUILDDIR»' dh_testdir rm -rf build-static mkdir build-static cd build-static && \ CC="gcc" \ CFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall" CPPFLAGS="-D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro" \ YACC="bison -y" \ ../bash/configure --with-curses --enable-largefile --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --build x86_64-linux-gnu --enable-static-link --without-bash-malloc checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu Beginning configuration for bash-4.2-release for x86_64-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 for strerror in -lcposix... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether gcc needs -traditional... no checking for a BSD-compatible install... /usr/bin/install -c checking for ar... ar checking for ranlib... ranlib checking for bison... bison -y checking whether make sets $(MAKE)... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking for preprocessor stringizing operator... yes checking for long double with more range or precision than double... yes checking for function prototypes... yes checking whether char is unsigned... no checking for working volatile... yes checking for C/C++ restrict keyword... __restrict checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for off_t... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether we are using the GNU C Library 2.1 or newer... yes checking whether integer division by zero raises SIGFPE... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unsigned long long... yes checking for inttypes.h... yes checking whether the inttypes.h PRIxNN macros are broken... no checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for feof_unlocked... yes checking for fgets_unlocked... yes checking for getc_unlocked... yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for localeconv... yes checking for stpcpy... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... yes checking for tsearch... yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for __fsetlocking... yes checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking for bison... bison checking version of bison... 2.5, ok checking whether NLS is requested... yes checking whether included gettext is requested... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether time.h and sys/time.h may both be included... yes checking for inttypes.h... (cached) yes checking for unistd.h... (cached) yes checking for stdlib.h... (cached) yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking for limits.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for locale.h... (cached) yes checking termcap.h usability... yes checking termcap.h presence... yes checking for termcap.h... yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for stddef.h... (cached) yes checking for stdint.h... (cached) yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking for strings.h... (cached) yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking ulimit.h usability... yes checking ulimit.h presence... yes checking for ulimit.h... yes checking sys/pte.h usability... no checking sys/pte.h presence... no checking for sys/pte.h... no checking sys/stream.h usability... no checking sys/stream.h presence... no checking for sys/stream.h... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking for sys/param.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking for sys/types.h... (cached) yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking for sys/ptem.h... no checking for working alloca.h... (cached) yes checking for alloca... (cached) yes checking whether getpgrp requires zero arguments... yes checking for vprintf... yes checking for _doprnt... no checking for working strcoll... yes checking return type of signal handlers... void checking for __setostype... no checking for wait3... yes checking for isinf... yes checking for isnan... yes checking for mkfifo... yes checking for dup2... yes checking for eaccess... yes checking for fcntl... yes checking for getdtablesize... yes checking for getgroups... yes checking for gethostname... yes checking for getpagesize... (cached) yes checking for getpeername... yes checking for getrlimit... yes checking for getrusage... yes checking for gettimeofday... yes checking for kill... yes checking for killpg... yes checking for lstat... yes checking for readlink... yes checking for sbrk... yes checking for select... yes checking for setdtablesize... no checking for setitimer... yes checking for tcgetpgrp... yes checking for uname... yes checking for ulimit... yes checking for waitpid... yes checking for rename... yes checking for bcopy... yes checking for bzero... yes checking for confstr... yes checking for faccessat... yes checking for fnmatch... yes checking for getaddrinfo... yes checking for gethostbyname... yes checking for getservbyname... yes checking for getservent... yes checking for inet_aton... yes checking for memmove... yes checking for pathconf... yes checking for putenv... (cached) yes checking for raise... yes checking for regcomp... yes checking for regexec... yes checking for setenv... (cached) yes checking for setlinebuf... yes checking for setlocale... (cached) yes checking for setvbuf... yes checking for siginterrupt... yes checking for strchr... yes checking for sysconf... yes checking for syslog... yes checking for tcgetattr... yes checking for times... yes checking for ttyname... yes checking for tzset... yes checking for unsetenv... yes checking for vasprintf... yes checking for asprintf... yes checking for isascii... yes checking for isblank... yes checking for isgraph... yes checking for isprint... yes checking for isspace... yes checking for isxdigit... yes checking for getpwent... yes checking for getpwnam... yes checking for getpwuid... yes checking for getcwd... (cached) yes checking for memset... yes checking for strcasecmp... (cached) yes checking for strcasestr... yes checking for strerror... yes checking for strftime... yes checking for strnlen... yes checking for strpbrk... yes checking for strstr... yes checking for strtod... yes checking for strtol... yes checking for strtoul... (cached) yes checking for strtoll... yes checking for strtoull... yes checking for strtoimax... yes checking for strtoumax... yes checking for dprintf... yes checking for strchrnul... yes checking whether confstr is declared... yes checking whether printf is declared... yes checking whether sbrk is declared... yes checking whether setregid is declared... yes checking whether strcpy is declared... yes checking whether strsignal is declared... yes checking whether strtold is declared... yes checking for broken strtold... yes checking for declaration of strtoimax... yes checking for declaration of strtol... yes checking for declaration of strtoll... yes checking for declaration of strtoul... yes checking for declaration of strtoull... yes checking for declaration of strtoumax... yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for alarm... yes checking for fpurge... no checking for __fpurge... yes checking for snprintf... yes checking for vsnprintf... yes checking for working mktime... yes checking for argz.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for malloc.h... (cached) yes checking stdio_ext.h usability... yes checking stdio_ext.h presence... yes checking for stdio_ext.h... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... (cached) yes checking for __argz_count... (cached) yes checking for __argz_next... (cached) yes checking for __argz_stringify... (cached) yes checking for dcgettext... yes checking for mempcpy... (cached) yes checking for munmap... (cached) yes checking for stpcpy... (cached) yes checking for strcspn... yes checking for strdup... (cached) yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking for mbrlen... yes checking for mbscasecmp... no checking for mbscmp... no checking for mbsnrtowcs... yes checking for mbsrtowcs... yes checking for mbschr... no checking for wcrtomb... yes checking for wcscoll... yes checking for wcsdup... yes checking for wcwidth... yes checking for wctype... yes checking for wcswidth... yes checking whether mbrtowc and mbstate_t are properly declared... yes checking for iswlower... yes checking for iswupper... yes checking for towlower... yes checking for towupper... yes checking for iswctype... yes checking for nl_langinfo and CODESET... yes checking for wchar_t in wchar.h... yes checking for wctype_t in wctype.h... yes checking for wint_t in wctype.h... yes checking for locale_charset... no checking whether sys_siglist is declared... yes checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for off_t... (cached) yes checking for mode_t... yes checking for uid_t in sys/types.h... (cached) yes checking for pid_t... yes checking for size_t... (cached) yes checking for ssize_t... yes checking for time_t... yes checking for long long... long long checking for unsigned long long... unsigned long long checking return type of signal handlers... (cached) void checking for sig_atomic_t in signal.h... yes checking size of char... 1 checking size of short... 2 checking size of int... 4 checking size of long... 8 checking size of char *... 8 checking size of double... 8 checking size of long long... 8 checking for u_int... yes checking for u_long... yes checking for bits16_t... no checking for u_bits16_t... no checking for bits32_t... no checking for u_bits32_t... no checking for bits64_t... no checking for ptrdiff_t... yes checking whether stat file-mode macros are broken... no checking whether #! works in shell scripts... yes checking whether the ctype macros accept non-ascii characters... no checking if dup2 fails to clear the close-on-exec flag... no checking whether pgrps need synchronization... no checking for type of signal functions... posix checking for sys_errlist and sys_nerr... yes checking for sys_siglist in system C library... yes checking for _sys_siglist in signal.h or unistd.h... yes checking for _sys_siglist in system C library... yes checking whether signal handlers are of type void... yes checking for clock_t... yes checking for sigset_t... yes checking for quad_t... yes checking for intmax_t... yes checking for uintmax_t... yes checking for socklen_t... yes checking for size and type of struct rlimit fields... rlim_t checking size of intmax_t... 8 checking for struct termios.c_line... yes checking for struct termio.c_line... yes checking for struct dirent.d_ino... yes checking for struct dirent.d_fileno... yes checking for struct dirent.d_namlen... no checking for struct winsize in sys/ioctl.h and termios.h... sys/ioctl.h checking for struct timeval in sys/time.h and time.h... yes checking for struct stat.st_blocks... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for struct timezone in sys/time.h and time.h... yes checking for offset of exit status in return status from wait... 8 checking for the existence of strsignal... yes checking if opendir() opens non-directories... no checking whether ulimit can substitute for getdtablesize... yes checking whether fpurge is declared... no checking to see if getenv can be redefined... yes checking if getcwd() will dynamically allocate memory with 0 size... yes checking for presence of POSIX-style sigsetjmp/siglongjmp... present checking whether or not strcoll and strcmp differ... no checking for standard-conformant snprintf... yes checking for standard-conformant vsnprintf... yes checking for standard-conformant putenv declaration... yes checking for standard-conformant unsetenv declaration... yes checking for printf floating point output in hex notation... yes checking if signal handlers must be reinstalled when invoked... no checking for presence of necessary job control definitions... present checking for presence of named pipes... present checking whether termios.h defines TIOCGWINSZ... no checking whether sys/ioctl.h defines TIOCGWINSZ... yes checking for TIOCSTAT in sys/ioctl.h... no checking for FIONREAD in sys/ioctl.h... yes checking whether WCONTINUED flag to waitpid is unavailable or available but broken... no checking for speed_t in sys/types.h... no checking whether getpw functions are declared in pwd.h... yes checking for unusable real-time signals due to large values... no checking for tgetent... no checking for tgetent in -ltermcap... yes checking which library has the termcap functions... using libtermcap checking whether /dev/fd is available... standard checking whether /dev/stdin stdout stderr are available... present checking for default mail directory... /var/mail configure: creating ./config.status config.status: creating Makefile config.status: creating builtins/Makefile config.status: creating lib/readline/Makefile config.status: creating lib/glob/Makefile config.status: creating lib/intl/Makefile config.status: creating lib/malloc/Makefile config.status: creating lib/sh/Makefile config.status: creating lib/termcap/Makefile config.status: creating lib/tilde/Makefile config.status: creating doc/Makefile config.status: creating support/Makefile config.status: creating po/Makefile.in config.status: creating examples/loadables/Makefile config.status: creating examples/loadables/perl/Makefile config.status: creating config.h config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing default commands if ! grep -q '#define HAVE_DEV_STDIN 1' build-static/config.h; then \ echo "HAVE_DEV_STDIN not defined, abortig build"; \ exit 1; \ fi touch stamps/stamp-configure-static dh_testdir /usr/bin/make -C build-static \ YACC="bison -y" \ TERMCAP_LIB=" -ltinfo" \ deb_builddir=build-static/ \ make[2]: Entering directory `/«PKGBUILDDIR»/build-static' bison -y -d ../bash/parse.y conflicts: 1 shift/reduce touch parser-built rm -f mksyntax gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -o mksyntax ../bash/mksyntax.c rm -f syntax.c ./mksyntax -o syntax.c /bin/sh ../bash/support/mkversion.sh -b -S ../bash -s release -d 4.2 -o newversion.h \ && mv newversion.h version.h gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -DBUILDTOOL -c -o buildversion.o ../bash/version.c gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -o bashversion ../bash/support/bashversion.c buildversion.o ../bash/support/bashversion.c:70:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (progname = strrchr (argv[0], '/')) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../bash/support/bashversion.c:70:16: note: place parentheses around the assignment to silence this warning if (progname = strrchr (argv[0], '/')) ^ ( ) ../bash/support/bashversion.c:70:16: note: use '==' to turn this assignment into an equality comparison if (progname = strrchr (argv[0], '/')) ^ == 1 warning generated. *********************************************************** * * * GNU bash, version 4.2.20(1)-release (x86_64-pc-linux-gnu) * * *********************************************************** rm -f shell.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/shell.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../bash/shell.c:834:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (arg_character = arg_string[i++]) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../bash/shell.c:834:28: note: place parentheses around the assignment to silence this warning while (arg_character = arg_string[i++]) ^ ( ) ../bash/shell.c:834:28: note: use '==' to turn this assignment into an equality comparison while (arg_character = arg_string[i++]) ^ == 1 warning generated. rm -f eval.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../bash/eval.c clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' ../bash/eval.c:145:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (current_command = global_command) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ../bash/eval.c:145:29: note: place parentheses around the assignment to silence this warning else if (current_command = global_command) ^ ( ) ../bash/eval.c:145:29: note: use '==' to turn this assignment into an equality comparison else if (current_command = global_command) ^ == 1 warning generated. make[3]: Entering directory `/«PKGBUILDDIR»/build-static/builtins' rm -f mkbuiltins.o gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash -I../../bash/include -I../../bash/lib -I../../bash/builtins -D_FORTIFY_SOURCE=2 -g ../../bash/builtins/mkbuiltins.c ../../bash/builtins/mkbuiltins.c:550:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (i = 0; line = defs->lines->array[i]; i++) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ../../bash/builtins/mkbuiltins.c:550:20: note: place parentheses around the assignment to silence this warning for (i = 0; line = defs->lines->array[i]; i++) ^ ( ) ../../bash/builtins/mkbuiltins.c:550:20: note: use '==' to turn this assignment into an equality comparison for (i = 0; line = defs->lines->array[i]; i++) ^ == ../../bash/builtins/mkbuiltins.c:666:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (i = 0; builtin = (BUILTIN_DESC *)defs->builtins->array[i]; i++) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../bash/builtins/mkbuiltins.c:666:27: note: place parentheses around the assignment to silence this warning for (i = 0; builtin = (BUILTIN_DESC *)defs->builtins->array[i]; i++) ^ ( ) ../../bash/builtins/mkbuiltins.c:666:27: note: use '==' to turn this assignment into an equality comparison for (i = 0; builtin = (BUILTIN_DESC *)defs->builtins->array[i]; i++) ^ == ../../bash/builtins/mkbuiltins.c:1410:49: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (i = 0, texinfo = (flags & TEXINFO); line = documentation[i]; i++) ~~~~~^~~~~~~~~~~~~~~~~~ ../../bash/builtins/mkbuiltins.c:1410:49: note: place parentheses around the assignment to silence this warning for (i = 0, texinfo = (flags & TEXINFO); line = documentation[i]; i++) ^ ( ) ../../bash/builtins/mkbuiltins.c:1410:49: note: use '==' to turn this assignment into an equality comparison for (i = 0, texinfo = (flags & TEXINFO); line = documentation[i]; i++) ^ == 3 warnings generated. gcc -Wl,-z,relro -static -rdynamic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -rdynamic -g -o mkbuiltins mkbuiltins.o clang: warning: argument unused during compilation: '--param ssp-buffer-size=4' /usr/bin/ld: dynamic STT_GNU_IFUNC symbol `strcmp' with pointer equality in `/usr/bin/../lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libc.a(strcmp.o)' can not be used when making an executable; recompile with -fPIE and relink with -pie clang: error: linker command failed with exit code 1 (use -v to see invocation) make[3]: *** [mkbuiltins] Error 1 make[3]: Leaving directory `/«PKGBUILDDIR»/build-static/builtins' make[2]: *** [builtins/builtext.h] Error 1 make[1]: *** [stamps/stamp-build-static] Error 2 make: *** [static-build] Error 2 dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2 make[2]: Leaving directory `/«PKGBUILDDIR»/build-static' make[1]: Leaving directory `/«PKGBUILDDIR»' ──────────────────────────────────────────────────────────────────────────────── Build finished at 20120623-1613 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /«BUILDDIR» Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Architecture: amd64 Build-Space: 46124 Build-Time: 124 Distribution: unstable Fail-Stage: build Install-Time: 10 Job: bash_4.2-2 Package: bash Package-Time: 158 Source-Version: 4.2-2 Space: 46124 Status: attempted Version: 4.2-2 ──────────────────────────────────────────────────────────────────────────────── Finished at 20120623-1613 Build needed 00:02:38, 46124k disc space DC-Status: Failed 158.067055s DC-Time-Estimation: 158.067055 versus expected 861 (r/m: 4.44705536520561 ; m: 158.067055)