Diff of the two buildlogs: -- --- b1/build.log 2024-07-04 02:42:09.873872124 +0000 +++ b2/build.log 2024-07-04 02:55:29.563916779 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Jul 3 14:35:01 -12 2024 -I: pbuilder-time-stamp: 1720060501 +I: Current time: Thu Jul 4 16:42:13 +14 2024 +I: pbuilder-time-stamp: 1720060933 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./mksh_59c.orig.tar.gz] I: copying [./mksh_59c-28+deb12u1.debian.tar.xz] I: Extracting source -gpgv: Signature made Sat Apr 6 05:51:49 2024 -12 +gpgv: Signature made Sun Apr 7 07:51:49 2024 +14 gpgv: using RSA key 76B534B2E99007E0 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./mksh_59c-28+deb12u1.dsc: no acceptable signature found @@ -31,135 +31,167 @@ dpkg-source: info: applying metadata-update.diff I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3336907/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1887975/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jul 4 16:42 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/1887975/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1887975/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='6449f5f8b616468087100ab5a7a71d6b' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='3336907' - PS1='# ' - PS2='> ' + INVOCATION_ID=40977639d94841099467b629992061fe + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1887975 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.2JBml32V/pbuilderrc_u9Tu --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.2JBml32V/b1 --logfile b1/build.log mksh_59c-28+deb12u1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.2JBml32V/pbuilderrc_xGFQ --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.2JBml32V/b2 --logfile b2/build.log mksh_59c-28+deb12u1.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink02-arm64 6.1.0-22-cloud-arm64 #1 SMP Debian 6.1.94-1 (2024-06-21) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-22-cloud-arm64 #1 SMP Debian 6.1.94-1 (2024-06-21) aarch64 GNU/Linux I: ls -l /bin total 7104 - -rwxr-xr-x 1 root root 1346480 Mar 29 09:21 bash - -rwxr-xr-x 3 root root 67728 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 67728 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 67728 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 67664 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 68536 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68616 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 68552 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 68632 Sep 20 2022 chown - -rwxr-xr-x 1 root root 200264 Sep 20 2022 cp - -rwxr-xr-x 1 root root 133640 Jan 5 2023 dash - -rwxr-xr-x 1 root root 134144 Sep 20 2022 date - -rwxr-xr-x 1 root root 134248 Sep 20 2022 dd - -rwxr-xr-x 1 root root 134888 Sep 20 2022 df - -rwxr-xr-x 1 root root 200440 Sep 20 2022 dir - -rwxr-xr-x 1 root root 141720 Mar 27 21:52 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 2022 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 2022 domainname -> hostname - -rwxr-xr-x 1 root root 68408 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 68384 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 134584 Mar 27 21:52 findmnt - -rwsr-xr-x 1 root root 67744 Mar 22 2023 fusermount - -rwxr-xr-x 1 root root 198880 Jan 24 2023 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 93752 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 67592 Dec 19 2022 hostname - -rwxr-xr-x 1 root root 68664 Sep 20 2022 ln - -rwxr-xr-x 1 root root 69208 Mar 22 2023 login - -rwxr-xr-x 1 root root 200440 Sep 20 2022 ls - -rwxr-xr-x 1 root root 264360 Mar 27 21:52 lsblk - -rwxr-xr-x 1 root root 134384 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 68768 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 68472 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 67752 Mar 27 21:52 more - -rwsr-xr-x 1 root root 67744 Mar 27 21:52 mount - -rwxr-xr-x 1 root root 67744 Mar 27 21:52 mountpoint - -rwxr-xr-x 1 root root 134728 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 2022 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 2023 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 68496 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Mar 29 09:21 rbash -> bash - -rwxr-xr-x 1 root root 68456 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 68592 Sep 20 2022 rm - -rwxr-xr-x 1 root root 68480 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 68392 Jul 28 2023 run-parts - -rwxr-xr-x 1 root root 134536 Jan 5 2023 sed - lrwxrwxrwx 1 root root 4 Jan 5 2023 sh -> dash - -rwxr-xr-x 1 root root 68432 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 134088 Sep 20 2022 stty - -rwsr-xr-x 1 root root 133312 Mar 27 21:52 su - -rwxr-xr-x 1 root root 68448 Sep 20 2022 sync - -rwxr-xr-x 1 root root 539896 Jan 19 21:27 tar - -rwxr-xr-x 1 root root 67904 Jul 28 2023 tempfile - -rwxr-xr-x 1 root root 134160 Sep 20 2022 touch - -rwxr-xr-x 1 root root 68384 Sep 20 2022 true - -rwxr-xr-x 1 root root 67664 Mar 22 2023 ulockmgr_server - -rwsr-xr-x 1 root root 67744 Mar 27 21:52 umount - -rwxr-xr-x 1 root root 68416 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 200440 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 133312 Mar 27 21:52 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 2022 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/3336907/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1346480 Mar 30 11:21 bash + -rwxr-xr-x 3 root root 67728 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 67728 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 67728 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 67664 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 68536 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68616 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 68552 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 68632 Sep 21 2022 chown + -rwxr-xr-x 1 root root 200264 Sep 21 2022 cp + -rwxr-xr-x 1 root root 133640 Jan 6 2023 dash + -rwxr-xr-x 1 root root 134144 Sep 21 2022 date + -rwxr-xr-x 1 root root 134248 Sep 21 2022 dd + -rwxr-xr-x 1 root root 134888 Sep 21 2022 df + -rwxr-xr-x 1 root root 200440 Sep 21 2022 dir + -rwxr-xr-x 1 root root 141720 Mar 28 23:52 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 68408 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 68384 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 134584 Mar 28 23:52 findmnt + -rwsr-xr-x 1 root root 67744 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 198880 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 93752 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 67592 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 68664 Sep 21 2022 ln + -rwxr-xr-x 1 root root 69208 Mar 24 2023 login + -rwxr-xr-x 1 root root 200440 Sep 21 2022 ls + -rwxr-xr-x 1 root root 264360 Mar 28 23:52 lsblk + -rwxr-xr-x 1 root root 134384 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 68768 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 68472 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 67752 Mar 28 23:52 more + -rwsr-xr-x 1 root root 67744 Mar 28 23:52 mount + -rwxr-xr-x 1 root root 67744 Mar 28 23:52 mountpoint + -rwxr-xr-x 1 root root 134728 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 68496 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Mar 30 11:21 rbash -> bash + -rwxr-xr-x 1 root root 68456 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 68592 Sep 21 2022 rm + -rwxr-xr-x 1 root root 68480 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 68392 Jul 29 2023 run-parts + -rwxr-xr-x 1 root root 134536 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 Jul 4 16:42 sh -> /bin/bash + -rwxr-xr-x 1 root root 68432 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 134088 Sep 21 2022 stty + -rwsr-xr-x 1 root root 133312 Mar 28 23:52 su + -rwxr-xr-x 1 root root 68448 Sep 21 2022 sync + -rwxr-xr-x 1 root root 539896 Jan 20 23:27 tar + -rwxr-xr-x 1 root root 67904 Jul 29 2023 tempfile + -rwxr-xr-x 1 root root 134160 Sep 21 2022 touch + -rwxr-xr-x 1 root root 68384 Sep 21 2022 true + -rwxr-xr-x 1 root root 67664 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 67744 Mar 28 23:52 umount + -rwxr-xr-x 1 root root 68416 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 200440 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 133312 Mar 28 23:52 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/1887975/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -243,7 +275,7 @@ Get: 35 http://deb.debian.org/debian bookworm/main arm64 musl arm64 1.2.3-1 [392 kB] Get: 36 http://deb.debian.org/debian bookworm/main arm64 musl-dev arm64 1.2.3-1 [567 kB] Get: 37 http://deb.debian.org/debian bookworm/main arm64 musl-tools arm64 1.2.3-1 [42.3 kB] -Fetched 20.1 MB in 0s (56.2 MB/s) +Fetched 20.1 MB in 0s (94.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19569 files and directories currently installed.) @@ -408,7 +440,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/mksh-59c/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../mksh_59c-28+deb12u1_source.changes +I: user script /srv/workspace/pbuilder/1887975/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bookworm +I: user script /srv/workspace/pbuilder/1887975/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/mksh-59c/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../mksh_59c-28+deb12u1_source.changes dpkg-buildpackage: info: source package mksh dpkg-buildpackage: info: source version 59c-28+deb12u1 dpkg-buildpackage: info: source distribution bookworm @@ -483,10 +519,10 @@ Attempting compilation of mksh in full with CC='gcc' CFLAGS='-g -O2 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra' CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT' LDFLAGS='-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' LDSTATIC='' LIBS='' -+ env CC=gcc CFLAGS=-g -O2 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed LDSTATIC= LIBS= sh ../../Build.sh -r ++ env CC=gcc 'CFLAGS=-g -O2 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' LDSTATIC= LIBS= sh ../../Build.sh -r For the build logs, demonstrate that /dev/null and /dev/tty exist: -crw-rw-rw- 1 root root 1, 3 Jun 6 22:24 /dev/null -crw-rw-rw- 1 root root 5, 0 Jun 6 22:24 /dev/tty +crw-rw-rw- 1 root root 1, 3 Jun 8 00:23 /dev/null +crw-rw-rw- 1 root root 5, 0 Jun 8 00:23 /dev/tty Flags on entry (plus HAVE_* which are not shown here): - CC - CFLAGS <-g -O2 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra> @@ -498,11 +534,11 @@ Hi from $MirOS: src/bin/mksh/Build.sh,v 1.835 2023/01/26 04:32:50 tg Exp $ on: $ uname -a >&2 -| Linux codethink02-arm64 6.1.0-22-cloud-arm64 #1 SMP Debian 6.1.94-1 (2024-06-21) aarch64 GNU/Linux +| Linux i-capture-the-hostname 6.1.0-22-cloud-arm64 #1 SMP Debian 6.1.94-1 (2024-06-21) aarch64 GNU/Linux Build.sh: Building The MirBSD Korn Shell (mksh) R59 2023/04/29 on Linux 6.1.0-22-cloud-arm64... Build.sh: Scanning for functions... please ignore any errors. ... which compiler type seems to be used -$ gcc -E -g -O2 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */=/p' | tr -d \015 >x +$ gcc -E -g -O2 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */\1=/p' | tr -d \\015 >x [ ct="gcc" [ et="unknown" $ gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -v conftest.c @@ -515,7 +551,7 @@ | Supported LTO compression algorithms: zlib zstd | gcc version 12.2.0 (Debian 12.2.0-14) | COLLECT_GCC_OPTIONS='-g' '-O2' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-protector-strong' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a-' -| /usr/lib/gcc/aarch64-linux-gnu/12/cc1 -quiet -v -I . -I ../.. -imultiarch aarch64-linux-gnu -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BUILDSH=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mlittle-endian -mabi=lp64 -g -O2 -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fasynchronous-unwind-tables -o /tmp/ccY9qplG.s +| /usr/lib/gcc/aarch64-linux-gnu/12/cc1 -quiet -v -I . -I ../.. -imultiarch aarch64-linux-gnu -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BUILDSH=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mlittle-endian -mabi=lp64 -g -O2 -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -fasynchronous-unwind-tables -o /tmp/ccCVEOtK.s | GNU C17 (Debian 12.2.0-14) version 12.2.0 (aarch64-linux-gnu) | compiled by GNU C version 12.2.0, GMP version 6.2.1, MPFR version 4.1.1-p1, MPC version 1.3.1, isl version isl-0.25-GMP | @@ -540,12 +576,12 @@ | GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 | Compiler executable checksum: f1bacec099212325d0da3c77e1f38897 | COLLECT_GCC_OPTIONS='-g' '-O2' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-protector-strong' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a-' -| as -v -I . -I ../.. --gdwarf-5 -EL -mabi=lp64 -o /tmp/ccjZ2tLJ.o /tmp/ccY9qplG.s +| as -v -I . -I ../.. --gdwarf-5 -EL -mabi=lp64 -o /tmp/cca1C9Ar.o /tmp/ccCVEOtK.s | GNU assembler version 2.40 (aarch64-linux-gnu) using BFD version (GNU Binutils for Debian) 2.40 | COMPILER_PATH=/usr/lib/gcc/aarch64-linux-gnu/12/:/usr/lib/gcc/aarch64-linux-gnu/12/:/usr/lib/gcc/aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/12/:/usr/lib/gcc/aarch64-linux-gnu/ | LIBRARY_PATH=/usr/lib/gcc/aarch64-linux-gnu/12/:/usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/12/../../../../lib/:/lib/aarch64-linux-gnu/:/lib/../lib/:/usr/lib/aarch64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/aarch64-linux-gnu/12/../../../:/lib/:/usr/lib/ | COLLECT_GCC_OPTIONS='-g' '-O2' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-protector-strong' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a.' -| /usr/lib/gcc/aarch64-linux-gnu/12/collect2 -plugin /usr/lib/gcc/aarch64-linux-gnu/12/liblto_plugin.so -plugin-opt=/usr/lib/gcc/aarch64-linux-gnu/12/lto-wrapper -plugin-opt=-fresolution=/tmp/cc9zCOi8.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu --as-needed -dynamic-linker /lib/ld-linux-aarch64.so.1 -X -EL -maarch64linux --fix-cortex-a53-843419 -pie /usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu/Scrt1.o /usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu/crti.o /usr/lib/gcc/aarch64-linux-gnu/12/crtbeginS.o -L/usr/lib/gcc/aarch64-linux-gnu/12 -L/usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/12/../../../../lib -L/lib/aarch64-linux-gnu -L/lib/../lib -L/usr/lib/aarch64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/aarch64-linux-gnu/12/../../.. -z relro -z now --as-needed /tmp/ccjZ2tLJ.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/aarch64-linux-gnu/12/crtendS.o /usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu/crtn.o +| /usr/lib/gcc/aarch64-linux-gnu/12/collect2 -plugin /usr/lib/gcc/aarch64-linux-gnu/12/liblto_plugin.so -plugin-opt=/usr/lib/gcc/aarch64-linux-gnu/12/lto-wrapper -plugin-opt=-fresolution=/tmp/ccCP9rlZ.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu --as-needed -dynamic-linker /lib/ld-linux-aarch64.so.1 -X -EL -maarch64linux --fix-cortex-a53-843419 -pie /usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu/Scrt1.o /usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu/crti.o /usr/lib/gcc/aarch64-linux-gnu/12/crtbeginS.o -L/usr/lib/gcc/aarch64-linux-gnu/12 -L/usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/12/../../../../lib -L/lib/aarch64-linux-gnu -L/lib/../lib -L/usr/lib/aarch64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/aarch64-linux-gnu/12/../../.. -z relro -z now --as-needed /tmp/cca1C9Ar.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/aarch64-linux-gnu/12/crtendS.o /usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu/crtn.o | COLLECT_GCC_OPTIONS='-g' '-O2' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-fstack-protector-strong' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a.' $ eval echo "\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpmachine\`" \ "gcc\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpversion\`" @@ -556,7 +592,7 @@ ==> if the compiler works... yes ... if the compiler does not fail correctly $ gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccAhCDf6.o: in function `main': +] /usr/bin/ld: /tmp/ccLAYQgb.o: in function `main': ] ./builddir/full/./builddir/full/conftest.c:15: undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the compiler does not fail correctly... no @@ -613,38 +649,38 @@ ==> for __attribute__((__used__))... yes ... if a reduced-feature mksh is requested $ gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccAYYCBh.o: in function `main': +] /usr/bin/ld: /tmp/cco7kxP9.o: in function `main': ] ./builddir/full/./builddir/full/conftest.c:15: undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if a reduced-feature mksh is requested... no ... if invoking as sh should be handled specially $ gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/cczN3rED.o: in function `main': +] /usr/bin/ld: /tmp/ccmbxGVx.o: in function `main': ] ./builddir/full/./builddir/full/conftest.c:15: undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if invoking as sh should be handled specially... no ... if mksh will be built without job control $ gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/cccObrqm.o: in function `main': +] /usr/bin/ld: /tmp/ccBdoAN1.o: in function `main': ] ./builddir/full/./builddir/full/conftest.c:15: undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if mksh will be built without job control... no ... if mksh will be built without job signals $ gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/cckhnUED.o: in function `main': +] /usr/bin/ld: /tmp/ccy3TAXl.o: in function `main': ] ./builddir/full/./builddir/full/conftest.c:15: undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if mksh will be built without job signals... no ... if the default UTF-8 mode is specified $ gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccPMmwEn.o: in function `main': +] /usr/bin/ld: /tmp/ccUgdk22.o: in function `main': ] ./builddir/full/./builddir/full/conftest.c:15: undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the default UTF-8 mode is specified... no ==> if the default UTF-8 mode is disabled... no (implied) ... if the MidnightBSD 0.1 ash compatibility mode is requested $ gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccsW4reb.o: in function `main': +] /usr/bin/ld: /tmp/cc6jNpyp.o: in function `main': ] ./builddir/full/./builddir/full/conftest.c:15: undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the MidnightBSD 0.1 ash compatibility mode is requested... no @@ -839,7 +875,7 @@ ] 9 | int main(int ac, char *av[]) { return (strlcpy(*av, av[1], ] | ^~~~~~~ ] | strncpy -] /usr/bin/ld: /tmp/cc6oAnDO.o: in function `main': +] /usr/bin/ld: /tmp/ccTSnSqm.o: in function `main': ] ./builddir/full/./builddir/full/conftest.c:9: undefined reference to `strlcpy' ] collect2: error: ld returned 1 exit status ==> strlcpy... no @@ -1556,10 +1592,10 @@ Attempting compilation of mksh in static-klibc with CC='klcc' CFLAGS='-g -Os -march=armv8-a -mtune=generic -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra' CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST' LDFLAGS='-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' LDSTATIC='-static' LIBS='' -+ env CC=klcc CFLAGS=-g -Os -march=armv8-a -mtune=generic -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed LDSTATIC=-static LIBS= sh ../../Build.sh -r ++ env CC=klcc 'CFLAGS=-g -Os -march=armv8-a -mtune=generic -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' LDSTATIC=-static LIBS= sh ../../Build.sh -r For the build logs, demonstrate that /dev/null and /dev/tty exist: -crw-rw-rw- 1 root root 1, 3 Jun 6 22:24 /dev/null -crw-rw-rw- 1 root root 5, 0 Jun 6 22:24 /dev/tty +crw-rw-rw- 1 root root 1, 3 Jun 8 00:23 /dev/null +crw-rw-rw- 1 root root 5, 0 Jun 8 00:23 /dev/tty Flags on entry (plus HAVE_* which are not shown here): - CC - CFLAGS <-g -Os -march=armv8-a -mtune=generic -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra> @@ -1571,11 +1607,11 @@ Hi from $MirOS: src/bin/mksh/Build.sh,v 1.835 2023/01/26 04:32:50 tg Exp $ on: $ uname -a >&2 -| Linux codethink02-arm64 6.1.0-22-cloud-arm64 #1 SMP Debian 6.1.94-1 (2024-06-21) aarch64 GNU/Linux +| Linux i-capture-the-hostname 6.1.0-22-cloud-arm64 #1 SMP Debian 6.1.94-1 (2024-06-21) aarch64 GNU/Linux Build.sh: Building The MirBSD Korn Shell (mksh) R59 2023/04/29 on Linux 6.1.0-22-cloud-arm64... Build.sh: Scanning for functions... please ignore any errors. ... which compiler type seems to be used -$ klcc -E -g -Os -march=armv8-a -mtune=generic -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */=/p' | tr -d \015 >x +$ klcc -E -g -Os -march=armv8-a -mtune=generic -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */\1=/p' | tr -d \\015 >x [ ct="gcc" [ et="klibc" $ klcc -g -Os -march=armv8-a -mtune=generic -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -v conftest.c @@ -1588,7 +1624,7 @@ | Supported LTO compression algorithms: zlib zstd | gcc version 12.2.0 (Debian 12.2.0-14) | COLLECT_GCC_OPTIONS='-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=64' '-fno-stack-protector' '-fwrapv' '-fno-PIE' '-fno-builtin-bcmp' '-fcommon' '-ggdb' '-fno-exceptions' '-mgeneral-regs-only' '-nostdinc' '-iwithprefix' 'include' '-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=64' '-I' '/usr/lib/klibc/include/arch/arm64' '-I' '/usr/lib/klibc/include/bits64' '-I' '/usr/lib/klibc/include' '-O' '-g' '-Os' '-march=armv8-a' '-mtune=generic' '-g' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a-' -| /usr/lib/gcc/aarch64-linux-gnu/12/cc1 -quiet -nostdinc -v -I /usr/lib/klibc/include/arch/arm64 -I /usr/lib/klibc/include/bits64 -I /usr/lib/klibc/include -I . -I ../.. -imultiarch aarch64-linux-gnu -D __KLIBC__=2 -D __KLIBC_MINOR__=0 -D _BITSIZE=64 -D __KLIBC__=2 -D __KLIBC_MINOR__=0 -D _BITSIZE=64 -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BINSHPOSIX -D MKSH_BINSHREDUCED -D MKSH_SMALL -D MKSH_SMALL_BUT_FAST -D MKSH_BUILDSH=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 -iwithprefix include conftest.c -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mgeneral-regs-only -march=armv8-a -mtune=generic -mlittle-endian -mabi=lp64 -ggdb -g -g -O -Os -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -fno-stack-protector -fwrapv -fno-PIE -fno-builtin-bcmp -fcommon -fno-exceptions -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fasynchronous-unwind-tables -o /tmp/cc4bGjjF.s +| /usr/lib/gcc/aarch64-linux-gnu/12/cc1 -quiet -nostdinc -v -I /usr/lib/klibc/include/arch/arm64 -I /usr/lib/klibc/include/bits64 -I /usr/lib/klibc/include -I . -I ../.. -imultiarch aarch64-linux-gnu -D __KLIBC__=2 -D __KLIBC_MINOR__=0 -D _BITSIZE=64 -D __KLIBC__=2 -D __KLIBC_MINOR__=0 -D _BITSIZE=64 -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BINSHPOSIX -D MKSH_BINSHREDUCED -D MKSH_SMALL -D MKSH_SMALL_BUT_FAST -D MKSH_BUILDSH=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 -iwithprefix include conftest.c -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mgeneral-regs-only -march=armv8-a -mtune=generic -mlittle-endian -mabi=lp64 -ggdb -g -g -O -Os -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -fno-stack-protector -fwrapv -fno-PIE -fno-builtin-bcmp -fcommon -fno-exceptions -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fasynchronous-unwind-tables -o /tmp/ccyJiGfT.s | GNU C17 (Debian 12.2.0-14) version 12.2.0 (aarch64-linux-gnu) | compiled by GNU C version 12.2.0, GMP version 6.2.1, MPFR version 4.1.1-p1, MPC version 1.3.1, isl version isl-0.25-GMP | @@ -1610,12 +1646,12 @@ | GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 | Compiler executable checksum: f1bacec099212325d0da3c77e1f38897 | COLLECT_GCC_OPTIONS='-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=64' '-fno-stack-protector' '-fwrapv' '-fno-PIE' '-fno-builtin-bcmp' '-fcommon' '-ggdb' '-fno-exceptions' '-mgeneral-regs-only' '-nostdinc' '-iwithprefix' 'include' '-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=64' '-I' '/usr/lib/klibc/include/arch/arm64' '-I' '/usr/lib/klibc/include/bits64' '-I' '/usr/lib/klibc/include' '-O' '-g' '-Os' '-march=armv8-a' '-mtune=generic' '-g' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a-' -| as -v -I /usr/lib/klibc/include/arch/arm64 -I /usr/lib/klibc/include/bits64 -I /usr/lib/klibc/include -I . -I ../.. --gdwarf-5 -EL -march=armv8-a -mabi=lp64 -o /tmp/ccUBAsRb.o /tmp/cc4bGjjF.s +| as -v -I /usr/lib/klibc/include/arch/arm64 -I /usr/lib/klibc/include/bits64 -I /usr/lib/klibc/include -I . -I ../.. --gdwarf-5 -EL -march=armv8-a -mabi=lp64 -o /tmp/ccajfK6L.o /tmp/ccyJiGfT.s | GNU assembler version 2.40 (aarch64-linux-gnu) using BFD version (GNU Binutils for Debian) 2.40 | COMPILER_PATH=/usr/lib/gcc/aarch64-linux-gnu/12/:/usr/lib/gcc/aarch64-linux-gnu/12/:/usr/lib/gcc/aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/12/:/usr/lib/gcc/aarch64-linux-gnu/ | LIBRARY_PATH=/usr/lib/gcc/aarch64-linux-gnu/12/:/usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/12/../../../../lib/:/lib/aarch64-linux-gnu/:/lib/../lib/:/usr/lib/aarch64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/aarch64-linux-gnu/12/../../../:/lib/:/usr/lib/ | COLLECT_GCC_OPTIONS='-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=64' '-fno-stack-protector' '-fwrapv' '-fno-PIE' '-fno-builtin-bcmp' '-fcommon' '-ggdb' '-fno-exceptions' '-mgeneral-regs-only' '-nostdinc' '-iwithprefix' 'include' '-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=64' '-I' '/usr/lib/klibc/include/arch/arm64' '-I' '/usr/lib/klibc/include/bits64' '-I' '/usr/lib/klibc/include' '-O' '-g' '-Os' '-march=armv8-a' '-mtune=generic' '-g' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a.' -| /usr/lib/gcc/aarch64-linux-gnu/12/collect2 -plugin /usr/lib/gcc/aarch64-linux-gnu/12/liblto_plugin.so -plugin-opt=/usr/lib/gcc/aarch64-linux-gnu/12/lto-wrapper -plugin-opt=-fresolution=/tmp/ccR9lkMH.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu --as-needed -dynamic-linker /lib/ld-linux-aarch64.so.1 -X -EL -maarch64linux --fix-cortex-a53-843419 -pie /usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu/Scrt1.o /usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu/crti.o /usr/lib/gcc/aarch64-linux-gnu/12/crtbeginS.o -L/usr/lib/gcc/aarch64-linux-gnu/12 -L/usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/12/../../../../lib -L/lib/aarch64-linux-gnu -L/lib/../lib -L/usr/lib/aarch64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/aarch64-linux-gnu/12/../../.. /tmp/ccUBAsRb.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/aarch64-linux-gnu/12/crtendS.o /usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu/crtn.o +| /usr/lib/gcc/aarch64-linux-gnu/12/collect2 -plugin /usr/lib/gcc/aarch64-linux-gnu/12/liblto_plugin.so -plugin-opt=/usr/lib/gcc/aarch64-linux-gnu/12/lto-wrapper -plugin-opt=-fresolution=/tmp/ccBkXGN2.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu --as-needed -dynamic-linker /lib/ld-linux-aarch64.so.1 -X -EL -maarch64linux --fix-cortex-a53-843419 -pie /usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu/Scrt1.o /usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu/crti.o /usr/lib/gcc/aarch64-linux-gnu/12/crtbeginS.o -L/usr/lib/gcc/aarch64-linux-gnu/12 -L/usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/12/../../../../lib -L/lib/aarch64-linux-gnu -L/lib/../lib -L/usr/lib/aarch64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/aarch64-linux-gnu/12/../../.. /tmp/ccajfK6L.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/aarch64-linux-gnu/12/crtendS.o /usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu/crtn.o | COLLECT_GCC_OPTIONS='-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=64' '-fno-stack-protector' '-fwrapv' '-fno-PIE' '-fno-builtin-bcmp' '-fcommon' '-ggdb' '-fno-exceptions' '-mgeneral-regs-only' '-nostdinc' '-iwithprefix' 'include' '-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=64' '-I' '/usr/lib/klibc/include/arch/arm64' '-I' '/usr/lib/klibc/include/bits64' '-I' '/usr/lib/klibc/include' '-O' '-g' '-Os' '-march=armv8-a' '-mtune=generic' '-g' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a.' $ eval echo "\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpmachine\`" \ "gcc\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpversion\`" @@ -2731,10 +2767,10 @@ Attempting compilation of mksh in static-musl with CC='musl-gcc' CFLAGS='-Os -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra' CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST' LDFLAGS='-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' LDSTATIC='-static' LIBS='' -+ env CC=musl-gcc CFLAGS=-Os -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed LDSTATIC=-static LIBS= sh ../../Build.sh -r ++ env CC=musl-gcc 'CFLAGS=-Os -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' LDSTATIC=-static LIBS= sh ../../Build.sh -r For the build logs, demonstrate that /dev/null and /dev/tty exist: -crw-rw-rw- 1 root root 1, 3 Jun 6 22:24 /dev/null -crw-rw-rw- 1 root root 5, 0 Jun 6 22:24 /dev/tty +crw-rw-rw- 1 root root 1, 3 Jun 8 00:23 /dev/null +crw-rw-rw- 1 root root 5, 0 Jun 8 00:23 /dev/tty Flags on entry (plus HAVE_* which are not shown here): - CC - CFLAGS <-Os -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra> @@ -2746,11 +2782,11 @@ Hi from $MirOS: src/bin/mksh/Build.sh,v 1.835 2023/01/26 04:32:50 tg Exp $ on: $ uname -a >&2 -| Linux codethink02-arm64 6.1.0-22-cloud-arm64 #1 SMP Debian 6.1.94-1 (2024-06-21) aarch64 GNU/Linux +| Linux i-capture-the-hostname 6.1.0-22-cloud-arm64 #1 SMP Debian 6.1.94-1 (2024-06-21) aarch64 GNU/Linux Build.sh: Building The MirBSD Korn Shell (mksh) R59 2023/04/29 on Linux 6.1.0-22-cloud-arm64... Build.sh: Scanning for functions... please ignore any errors. ... which compiler type seems to be used -$ musl-gcc -E -Os -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */=/p' | tr -d \015 >x +$ musl-gcc -E -Os -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */\1=/p' | tr -d \\015 >x [ ct="gcc" [ et="unknown" $ musl-gcc -Os -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -v conftest.c @@ -2765,7 +2801,7 @@ | Supported LTO compression algorithms: zlib zstd | gcc version 12.2.0 (Debian 12.2.0-14) | COLLECT_GCC_OPTIONS='-Os' '-g' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-static' '-v' '-specs=/usr/lib/aarch64-linux-musl/musl-gcc.specs' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a-' -| /usr/lib/gcc/aarch64-linux-gnu/12/cc1 -quiet -v -I . -I ../.. -imultiarch aarch64-linux-gnu -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BINSHPOSIX -D MKSH_BINSHREDUCED -D MKSH_SMALL -D MKSH_SMALL_BUT_FAST -D MKSH_BUILDSH=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c -nostdinc -isystem /usr/include/aarch64-linux-musl -isystem /usr/lib/gcc/aarch64-linux-gnu/12/include -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mlittle-endian -mabi=lp64 -g -Os -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fasynchronous-unwind-tables -o /tmp/ccNpDX82.s +| /usr/lib/gcc/aarch64-linux-gnu/12/cc1 -quiet -v -I . -I ../.. -imultiarch aarch64-linux-gnu -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BINSHPOSIX -D MKSH_BINSHREDUCED -D MKSH_SMALL -D MKSH_SMALL_BUT_FAST -D MKSH_BUILDSH=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c -nostdinc -isystem /usr/include/aarch64-linux-musl -isystem /usr/lib/gcc/aarch64-linux-gnu/12/include -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mlittle-endian -mabi=lp64 -g -Os -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fasynchronous-unwind-tables -o /tmp/ccUGVVvd.s | GNU C17 (Debian 12.2.0-14) version 12.2.0 (aarch64-linux-gnu) | compiled by GNU C version 12.2.0, GMP version 6.2.1, MPFR version 4.1.1-p1, MPC version 1.3.1, isl version isl-0.25-GMP | @@ -2785,12 +2821,12 @@ | GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 | Compiler executable checksum: f1bacec099212325d0da3c77e1f38897 | COLLECT_GCC_OPTIONS='-Os' '-g' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-static' '-v' '-specs=/usr/lib/aarch64-linux-musl/musl-gcc.specs' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a-' -| as -v -I . -I ../.. --gdwarf-5 -EL -mabi=lp64 -o /tmp/ccbxKTIQ.o /tmp/ccNpDX82.s +| as -v -I . -I ../.. --gdwarf-5 -EL -mabi=lp64 -o /tmp/ccmZQs3k.o /tmp/ccUGVVvd.s | GNU assembler version 2.40 (aarch64-linux-gnu) using BFD version (GNU Binutils for Debian) 2.40 | COMPILER_PATH=/usr/lib/gcc/aarch64-linux-gnu/12/:/usr/lib/gcc/aarch64-linux-gnu/12/:/usr/lib/gcc/aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/12/:/usr/lib/gcc/aarch64-linux-gnu/ | LIBRARY_PATH=/usr/lib/gcc/aarch64-linux-gnu/12/:/usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/12/../../../../lib/:/lib/aarch64-linux-gnu/:/lib/../lib/:/usr/lib/aarch64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/aarch64-linux-gnu/12/../../../:/lib/:/usr/lib/ | COLLECT_GCC_OPTIONS='-Os' '-g' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-static' '-v' '-specs=/usr/lib/aarch64-linux-musl/musl-gcc.specs' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a.' -| /usr/lib/gcc/aarch64-linux-gnu/12/collect2 -plugin /usr/lib/gcc/aarch64-linux-gnu/12/liblto_plugin.so -plugin-opt=/usr/lib/gcc/aarch64-linux-gnu/12/lto-wrapper -plugin-opt=-fresolution=/tmp/cc5W7Edh.res -plugin-opt=-pass-through=/usr/lib/gcc/aarch64-linux-gnu/12/libgcc.a -plugin-opt=-pass-through=/usr/lib/gcc/aarch64-linux-gnu/12/libgcc_eh.a -plugin-opt=-pass-through=-lc -dynamic-linker /lib/ld-musl-aarch64.so.1 -nostdlib -static /usr/lib/aarch64-linux-musl/Scrt1.o /usr/lib/aarch64-linux-musl/crti.o /usr/lib/gcc/aarch64-linux-gnu/12/crtbeginS.o -L/usr/lib/aarch64-linux-musl -L /usr/lib/gcc/aarch64-linux-gnu/12/. -z relro -z now --as-needed /tmp/ccbxKTIQ.o --start-group /usr/lib/gcc/aarch64-linux-gnu/12/libgcc.a /usr/lib/gcc/aarch64-linux-gnu/12/libgcc_eh.a -lc --end-group /usr/lib/gcc/aarch64-linux-gnu/12/crtendS.o /usr/lib/aarch64-linux-musl/crtn.o +| /usr/lib/gcc/aarch64-linux-gnu/12/collect2 -plugin /usr/lib/gcc/aarch64-linux-gnu/12/liblto_plugin.so -plugin-opt=/usr/lib/gcc/aarch64-linux-gnu/12/lto-wrapper -plugin-opt=-fresolution=/tmp/ccrC06Oa.res -plugin-opt=-pass-through=/usr/lib/gcc/aarch64-linux-gnu/12/libgcc.a -plugin-opt=-pass-through=/usr/lib/gcc/aarch64-linux-gnu/12/libgcc_eh.a -plugin-opt=-pass-through=-lc -dynamic-linker /lib/ld-musl-aarch64.so.1 -nostdlib -static /usr/lib/aarch64-linux-musl/Scrt1.o /usr/lib/aarch64-linux-musl/crti.o /usr/lib/gcc/aarch64-linux-gnu/12/crtbeginS.o -L/usr/lib/aarch64-linux-musl -L /usr/lib/gcc/aarch64-linux-gnu/12/. -z relro -z now --as-needed /tmp/ccmZQs3k.o --start-group /usr/lib/gcc/aarch64-linux-gnu/12/libgcc.a /usr/lib/gcc/aarch64-linux-gnu/12/libgcc_eh.a -lc --end-group /usr/lib/gcc/aarch64-linux-gnu/12/crtendS.o /usr/lib/aarch64-linux-musl/crtn.o | COLLECT_GCC_OPTIONS='-Os' '-g' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-static' '-v' '-specs=/usr/lib/aarch64-linux-musl/musl-gcc.specs' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a.' $ eval echo "\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpmachine\`" \ "gcc\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpversion\`" @@ -2801,7 +2837,7 @@ ==> if the compiler works... yes ... if the compiler does not fail correctly $ musl-gcc -Os -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccxi6ANk.o: in function `main': +] /usr/bin/ld: /tmp/ccfRbDwQ.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:15: undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the compiler does not fail correctly... no @@ -2864,26 +2900,26 @@ ==> if invoking as sh should be handled specially... yes ... if mksh will be built without job control $ musl-gcc -Os -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccmguqhB.o: in function `main': +] /usr/bin/ld: /tmp/ccKTBkIn.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:15: undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if mksh will be built without job control... no ... if mksh will be built without job signals $ musl-gcc -Os -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/cc0BsYxW.o: in function `main': +] /usr/bin/ld: /tmp/cc07fmfJ.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:15: undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if mksh will be built without job signals... no ... if the default UTF-8 mode is specified $ musl-gcc -Os -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccVI1lmD.o: in function `main': +] /usr/bin/ld: /tmp/ccGgiEeb.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:15: undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the default UTF-8 mode is specified... no ==> if the default UTF-8 mode is disabled... no (implied) ... if the MidnightBSD 0.1 ash compatibility mode is requested $ musl-gcc -Os -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccLFCSw8.o: in function `main': +] /usr/bin/ld: /tmp/ccNRlU2F.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:15: undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the MidnightBSD 0.1 ash compatibility mode is requested... no @@ -2999,13 +3035,13 @@ ==> if the final link command may succeed... yes ... GNU strerrordesc_np() $ musl-gcc -Os -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccbHkyEA.o: in function `main': +] /usr/bin/ld: /tmp/ccg93ger.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:9: undefined reference to `strerrordesc_np' ] collect2: error: ld returned 1 exit status ==> GNU strerrordesc_np()... no ... the sys_errlist[] array and sys_nerr $ musl-gcc -Os -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/cc9LysDZ.o: in function `main': +] /usr/bin/ld: /tmp/ccyO9cNx.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:11: undefined reference to `sys_nerr' ] /usr/bin/ld: ./builddir/static-musl/./builddir/static-musl/conftest.c:11: undefined reference to `sys_nerr' ] /usr/bin/ld: ./builddir/static-musl/./builddir/static-musl/conftest.c:11: undefined reference to `sys_errlist' @@ -3014,7 +3050,7 @@ ==> the sys_errlist[] array and sys_nerr... no ... the _sys_errlist[] array and _sys_nerr $ musl-gcc -Os -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccZZiz66.o: in function `main': +] /usr/bin/ld: /tmp/ccg2Flbv.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:11: undefined reference to `_sys_nerr' ] /usr/bin/ld: ./builddir/static-musl/./builddir/static-musl/conftest.c:11: undefined reference to `_sys_nerr' ] /usr/bin/ld: ./builddir/static-musl/./builddir/static-musl/conftest.c:11: undefined reference to `_sys_errlist' @@ -3023,40 +3059,40 @@ ==> the _sys_errlist[] array and _sys_nerr... no ... GNU sigabbrev_np() $ musl-gcc -Os -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/cc1AXP9y.o: in function `main': +] /usr/bin/ld: /tmp/cc3DpTV3.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:9: undefined reference to `sigabbrev_np' ] collect2: error: ld returned 1 exit status ==> GNU sigabbrev_np()... no ... the sys_signame[] array $ musl-gcc -Os -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=0 -DHAVE_SIGABBREV_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccR52p2e.o: in function `main': +] /usr/bin/ld: /tmp/ccML29Xq.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:10: undefined reference to `sys_signame' ] /usr/bin/ld: ./builddir/static-musl/./builddir/static-musl/conftest.c:10: undefined reference to `sys_signame' ] collect2: error: ld returned 1 exit status ==> the sys_signame[] array... no ... the _sys_signame[] array $ musl-gcc -Os -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=0 -DHAVE_SIGABBREV_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccqYIN3y.o: in function `main': +] /usr/bin/ld: /tmp/ccfuC25W.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:10: undefined reference to `_sys_signame' ] /usr/bin/ld: ./builddir/static-musl/./builddir/static-musl/conftest.c:10: undefined reference to `_sys_signame' ] collect2: error: ld returned 1 exit status ==> the _sys_signame[] array... no ... GNU sigdescr_np() $ musl-gcc -Os -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=0 -DHAVE_SIGABBREV_NP=0 -DHAVE_SYS_SIGNAME=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccKnExPl.o: in function `main': +] /usr/bin/ld: /tmp/ccz2RQJN.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:9: undefined reference to `sigdescr_np' ] collect2: error: ld returned 1 exit status ==> GNU sigdescr_np()... no ... the sys_siglist[] array $ musl-gcc -Os -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=0 -DHAVE_SIGABBREV_NP=0 -DHAVE_SYS_SIGNAME=0 -DHAVE_SIGDESCR_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/cc2UKqfo.o: in function `main': +] /usr/bin/ld: /tmp/ccVhO4Af.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:10: undefined reference to `sys_siglist' ] /usr/bin/ld: ./builddir/static-musl/./builddir/static-musl/conftest.c:10: undefined reference to `sys_siglist' ] collect2: error: ld returned 1 exit status ==> the sys_siglist[] array... no ... the _sys_siglist[] array $ musl-gcc -Os -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=0 -DHAVE_SIGABBREV_NP=0 -DHAVE_SYS_SIGNAME=0 -DHAVE_SIGDESCR_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done -] /usr/bin/ld: /tmp/ccEJ3WGC.o: in function `main': +] /usr/bin/ld: /tmp/ccqd8Ewa.o: in function `main': ] ./builddir/static-musl/./builddir/static-musl/conftest.c:10: undefined reference to `_sys_siglist' ] /usr/bin/ld: ./builddir/static-musl/./builddir/static-musl/conftest.c:10: undefined reference to `_sys_siglist' ] collect2: error: ld returned 1 exit status @@ -3838,10 +3874,10 @@ Attempting compilation of mksh in static-dietlibc with CC='diet -v -Os gcc' CFLAGS='-g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra' CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST' LDFLAGS='-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' LDSTATIC=' ' LIBS='' -+ env CC=diet -v -Os gcc CFLAGS=-g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed LDSTATIC= LIBS= sh ../../Build.sh -r ++ env 'CC=diet -v -Os gcc' 'CFLAGS=-g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' 'LDSTATIC= ' LIBS= sh ../../Build.sh -r For the build logs, demonstrate that /dev/null and /dev/tty exist: -crw-rw-rw- 1 root root 1, 3 Jun 6 22:24 /dev/null -crw-rw-rw- 1 root root 5, 0 Jun 6 22:24 /dev/tty +crw-rw-rw- 1 root root 1, 3 Jun 8 00:23 /dev/null +crw-rw-rw- 1 root root 5, 0 Jun 8 00:23 /dev/tty Flags on entry (plus HAVE_* which are not shown here): - CC - CFLAGS <-g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra> @@ -3853,11 +3889,11 @@ Hi from $MirOS: src/bin/mksh/Build.sh,v 1.835 2023/01/26 04:32:50 tg Exp $ on: $ uname -a >&2 -| Linux codethink02-arm64 6.1.0-22-cloud-arm64 #1 SMP Debian 6.1.94-1 (2024-06-21) aarch64 GNU/Linux +| Linux i-capture-the-hostname 6.1.0-22-cloud-arm64 #1 SMP Debian 6.1.94-1 (2024-06-21) aarch64 GNU/Linux Build.sh: Building The MirBSD Korn Shell (mksh) R59 2023/04/29 on Linux 6.1.0-22-cloud-arm64... Build.sh: Scanning for functions... please ignore any errors. ... which compiler type seems to be used -$ diet -v -Os gcc -E -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */=/p' | tr -d \015 >x +$ diet -v -Os gcc -E -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */\1=/p' | tr -d \\015 >x ] gcc -E -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c -isystem /usr/lib/aarch64-linux-gnu/diet/include -D__dietlibc__ -Os -fomit-frame-pointer [ ct="gcc" [ et="dietlibc" @@ -3872,7 +3908,7 @@ | Supported LTO compression algorithms: zlib zstd | gcc version 12.2.0 (Debian 12.2.0-14) | COLLECT_GCC_OPTIONS='-nostdlib' '-static' '-L/usr/lib/aarch64-linux-gnu/diet/lib-aarch64' '-L/usr/lib/diet/lib' '-g' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-isystem' '/usr/lib/aarch64-linux-gnu/diet/include' '-D' '__dietlibc__' '-Os' '-fomit-frame-pointer' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a-' -| /usr/lib/gcc/aarch64-linux-gnu/12/cc1 -quiet -v -I . -I ../.. -imultiarch aarch64-linux-gnu -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BINSHPOSIX -D MKSH_BINSHREDUCED -D MKSH_SMALL -D MKSH_SMALL_BUT_FAST -D MKSH_BUILDSH=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 -D __dietlibc__ -isystem /usr/lib/aarch64-linux-gnu/diet/include conftest.c -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mlittle-endian -mabi=lp64 -g -Os -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fomit-frame-pointer -fasynchronous-unwind-tables -o /tmp/ccy6URXm.s +| /usr/lib/gcc/aarch64-linux-gnu/12/cc1 -quiet -v -I . -I ../.. -imultiarch aarch64-linux-gnu -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BINSHPOSIX -D MKSH_BINSHREDUCED -D MKSH_SMALL -D MKSH_SMALL_BUT_FAST -D MKSH_BUILDSH=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 -D __dietlibc__ -isystem /usr/lib/aarch64-linux-gnu/diet/include conftest.c -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mlittle-endian -mabi=lp64 -g -Os -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fomit-frame-pointer -fasynchronous-unwind-tables -o /tmp/cclSDAW5.s | GNU C17 (Debian 12.2.0-14) version 12.2.0 (aarch64-linux-gnu) | compiled by GNU C version 12.2.0, GMP version 6.2.1, MPFR version 4.1.1-p1, MPC version 1.3.1, isl version isl-0.25-GMP | @@ -3898,12 +3934,12 @@ | GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 | Compiler executable checksum: f1bacec099212325d0da3c77e1f38897 | COLLECT_GCC_OPTIONS='-nostdlib' '-static' '-L/usr/lib/aarch64-linux-gnu/diet/lib-aarch64' '-L/usr/lib/diet/lib' '-g' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-isystem' '/usr/lib/aarch64-linux-gnu/diet/include' '-D' '__dietlibc__' '-Os' '-fomit-frame-pointer' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a-' -| as -v -I . -I ../.. --gdwarf-5 -EL -mabi=lp64 -o /tmp/ccB586TX.o /tmp/ccy6URXm.s +| as -v -I . -I ../.. --gdwarf-5 -EL -mabi=lp64 -o /tmp/ccroFLEO.o /tmp/cclSDAW5.s | GNU assembler version 2.40 (aarch64-linux-gnu) using BFD version (GNU Binutils for Debian) 2.40 | COMPILER_PATH=/usr/lib/gcc/aarch64-linux-gnu/12/:/usr/lib/gcc/aarch64-linux-gnu/12/:/usr/lib/gcc/aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/12/:/usr/lib/gcc/aarch64-linux-gnu/ | LIBRARY_PATH=/usr/lib/gcc/aarch64-linux-gnu/12/:/usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/12/../../../../lib/:/lib/aarch64-linux-gnu/:/lib/../lib/:/usr/lib/aarch64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/aarch64-linux-gnu/12/../../../:/lib/:/usr/lib/ | COLLECT_GCC_OPTIONS='-nostdlib' '-static' '-L/usr/lib/aarch64-linux-gnu/diet/lib-aarch64' '-L/usr/lib/diet/lib' '-g' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-isystem' '/usr/lib/aarch64-linux-gnu/diet/include' '-D' '__dietlibc__' '-Os' '-fomit-frame-pointer' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a.' -| /usr/lib/gcc/aarch64-linux-gnu/12/collect2 -plugin /usr/lib/gcc/aarch64-linux-gnu/12/liblto_plugin.so -plugin-opt=/usr/lib/gcc/aarch64-linux-gnu/12/lto-wrapper -plugin-opt=-fresolution=/tmp/cc5poRsn.res --build-id --hash-style=gnu --as-needed -Bstatic -X -EL -maarch64linux --fix-cortex-a53-843419 -L/usr/lib/aarch64-linux-gnu/diet/lib-aarch64 -L/usr/lib/diet/lib -L/usr/lib/gcc/aarch64-linux-gnu/12 -L/usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/12/../../../../lib -L/lib/aarch64-linux-gnu -L/lib/../lib -L/usr/lib/aarch64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/aarch64-linux-gnu/12/../../.. /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/start.o -z relro -z now --as-needed /tmp/ccB586TX.o /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/libc.a -lgcc +| /usr/lib/gcc/aarch64-linux-gnu/12/collect2 -plugin /usr/lib/gcc/aarch64-linux-gnu/12/liblto_plugin.so -plugin-opt=/usr/lib/gcc/aarch64-linux-gnu/12/lto-wrapper -plugin-opt=-fresolution=/tmp/ccnFnTaN.res --build-id --hash-style=gnu --as-needed -Bstatic -X -EL -maarch64linux --fix-cortex-a53-843419 -L/usr/lib/aarch64-linux-gnu/diet/lib-aarch64 -L/usr/lib/diet/lib -L/usr/lib/gcc/aarch64-linux-gnu/12 -L/usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/12/../../../../lib -L/lib/aarch64-linux-gnu -L/lib/../lib -L/usr/lib/aarch64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/aarch64-linux-gnu/12/../../.. /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/start.o -z relro -z now --as-needed /tmp/ccroFLEO.o /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/libc.a -lgcc | COLLECT_GCC_OPTIONS='-nostdlib' '-static' '-L/usr/lib/aarch64-linux-gnu/diet/lib-aarch64' '-L/usr/lib/diet/lib' '-g' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_SMALL' '-D' 'MKSH_SMALL_BUT_FAST' '-D' 'MKSH_BUILDSH=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-isystem' '/usr/lib/aarch64-linux-gnu/diet/include' '-D' '__dietlibc__' '-Os' '-fomit-frame-pointer' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a.' $ eval echo "\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpmachine\`" \ "gcc\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpversion\`" @@ -3918,7 +3954,7 @@ ... if the compiler does not fail correctly $ diet -v -Os gcc -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -Wl,-z,relro -Wl,-z,now -Wl,--as-needed conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/aarch64-linux-gnu/diet/lib-aarch64 -L/usr/lib/diet/lib /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/start.o -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -Wl,-z,relro -Wl,-z,now -Wl,--as-needed conftest.c -isystem /usr/lib/aarch64-linux-gnu/diet/include -D__dietlibc__ -Os -fomit-frame-pointer /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/libc.a -lgcc -] /usr/bin/ld: /tmp/ccOPAvd4.o: in function `main': +] /usr/bin/ld: /tmp/ccukbPOF.o: in function `main': ] ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:15: undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the compiler does not fail correctly... no @@ -4002,21 +4038,21 @@ ... if mksh will be built without job control $ diet -v -Os gcc -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/aarch64-linux-gnu/diet/lib-aarch64 -L/usr/lib/diet/lib /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/start.o -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c -isystem /usr/lib/aarch64-linux-gnu/diet/include -D__dietlibc__ -Os -fomit-frame-pointer /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/libc.a -lgcc -] /usr/bin/ld: /tmp/ccffEAFL.o: in function `main': +] /usr/bin/ld: /tmp/cc1xHBmf.o: in function `main': ] ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:15: undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if mksh will be built without job control... no ... if mksh will be built without job signals $ diet -v -Os gcc -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/aarch64-linux-gnu/diet/lib-aarch64 -L/usr/lib/diet/lib /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/start.o -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c -isystem /usr/lib/aarch64-linux-gnu/diet/include -D__dietlibc__ -Os -fomit-frame-pointer /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/libc.a -lgcc -] /usr/bin/ld: /tmp/ccA33nOJ.o: in function `main': +] /usr/bin/ld: /tmp/ccHsuK4p.o: in function `main': ] ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:15: undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if mksh will be built without job signals... no ... if the default UTF-8 mode is specified $ diet -v -Os gcc -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/aarch64-linux-gnu/diet/lib-aarch64 -L/usr/lib/diet/lib /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/start.o -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c -isystem /usr/lib/aarch64-linux-gnu/diet/include -D__dietlibc__ -Os -fomit-frame-pointer /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/libc.a -lgcc -] /usr/bin/ld: /tmp/ccv4zxX8.o: in function `main': +] /usr/bin/ld: /tmp/ccYf6dPY.o: in function `main': ] ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:15: undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the default UTF-8 mode is specified... no @@ -4024,7 +4060,7 @@ ... if the MidnightBSD 0.1 ash compatibility mode is requested $ diet -v -Os gcc -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/aarch64-linux-gnu/diet/lib-aarch64 -L/usr/lib/diet/lib /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/start.o -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c -isystem /usr/lib/aarch64-linux-gnu/diet/include -D__dietlibc__ -Os -fomit-frame-pointer /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/libc.a -lgcc -] /usr/bin/ld: /tmp/cc6hGGok.o: in function `main': +] /usr/bin/ld: /tmp/cc2udDDa.o: in function `main': ] ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:15: undefined reference to `thiswillneverbedefinedIhope' ] collect2: error: ld returned 1 exit status ==> if the MidnightBSD 0.1 ash compatibility mode is requested... no @@ -4170,7 +4206,7 @@ ... GNU strerrordesc_np() $ diet -v -Os gcc -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/aarch64-linux-gnu/diet/lib-aarch64 -L/usr/lib/diet/lib /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/start.o -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c -isystem /usr/lib/aarch64-linux-gnu/diet/include -D__dietlibc__ -Os -fomit-frame-pointer /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/libc.a -lgcc -] /usr/bin/ld: /tmp/cchqVShF.o: in function `main': +] /usr/bin/ld: /tmp/ccfj9lpD.o: in function `main': ] ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:9: undefined reference to `strerrordesc_np' ] collect2: error: ld returned 1 exit status ==> GNU strerrordesc_np()... no @@ -4182,14 +4218,14 @@ ... GNU sigabbrev_np() $ diet -v -Os gcc -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/aarch64-linux-gnu/diet/lib-aarch64 -L/usr/lib/diet/lib /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/start.o -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c -isystem /usr/lib/aarch64-linux-gnu/diet/include -D__dietlibc__ -Os -fomit-frame-pointer /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/libc.a -lgcc -] /usr/bin/ld: /tmp/ccYqRrC8.o: in function `main': +] /usr/bin/ld: /tmp/ccEvmELx.o: in function `main': ] ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:9: undefined reference to `sigabbrev_np' ] collect2: error: ld returned 1 exit status ==> GNU sigabbrev_np()... no ... the sys_signame[] array $ diet -v -Os gcc -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SIGABBREV_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/aarch64-linux-gnu/diet/lib-aarch64 -L/usr/lib/diet/lib /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/start.o -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SIGABBREV_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c -isystem /usr/lib/aarch64-linux-gnu/diet/include -D__dietlibc__ -Os -fomit-frame-pointer /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/libc.a -lgcc -] /usr/bin/ld: /tmp/ccqCEYwW.o: in function `main': +] /usr/bin/ld: /tmp/ccUjAO5f.o: in function `main': ] ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:10: undefined reference to `sys_signame' ] /usr/bin/ld: ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:10: undefined reference to `sys_signame' ] collect2: error: ld returned 1 exit status @@ -4197,7 +4233,7 @@ ... the _sys_signame[] array $ diet -v -Os gcc -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SIGABBREV_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/aarch64-linux-gnu/diet/lib-aarch64 -L/usr/lib/diet/lib /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/start.o -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SIGABBREV_NP=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c -isystem /usr/lib/aarch64-linux-gnu/diet/include -D__dietlibc__ -Os -fomit-frame-pointer /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/libc.a -lgcc -] /usr/bin/ld: /tmp/ccMTUZEN.o: in function `main': +] /usr/bin/ld: /tmp/ccSMA90i.o: in function `main': ] ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:10: undefined reference to `_sys_signame' ] /usr/bin/ld: ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:10: undefined reference to `_sys_signame' ] collect2: error: ld returned 1 exit status @@ -4205,7 +4241,7 @@ ... GNU sigdescr_np() $ diet -v -Os gcc -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SIGABBREV_NP=0 -DHAVE_SYS_SIGNAME=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in lksh.1|mksh.1|mksh.faq|mksh.ico) ;; *) rm -f "$_f" ;; esac; done ] gcc -nostdlib -static -L/usr/lib/aarch64-linux-gnu/diet/lib-aarch64 -L/usr/lib/diet/lib /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/start.o -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -fno-lto -Wno-deprecated-declarations -fno-asynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-strong -fwrapv -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=" +Debian" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_SMALL -DMKSH_SMALL_BUT_FAST -DMKSH_BUILDSH=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -D_BSD_SOURCE -DHAVE_STRING_POOLING=2 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_PTEM_H=0 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_IO_H=0 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=1 -DHAVE_SIG_T=1 -DHAVE_STRERRORDESC_NP=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SIGABBREV_NP=0 -DHAVE_SYS_SIGNAME=0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -fno-lto -Wno-error conftest.c -isystem /usr/lib/aarch64-linux-gnu/diet/include -D__dietlibc__ -Os -fomit-frame-pointer /usr/lib/aarch64-linux-gnu/diet/lib-aarch64/libc.a -lgcc -] /usr/bin/ld: /tmp/cc2DaGcL.o: in function `main': +] /usr/bin/ld: /tmp/ccmRNRtE.o: in function `main': ] ./builddir/static-dietlibc/./builddir/static-dietlibc/conftest.c:9: undefined reference to `sigdescr_np' ] collect2: error: ld returned 1 exit status ==> GNU sigdescr_np()... no @@ -5097,10 +5133,10 @@ Attempting compilation of mksh in legacy with CC='klcc' CFLAGS='-g -Os -march=armv8-a -mtune=generic -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra' CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED' LDFLAGS='-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' LDSTATIC='-static' LIBS='' -+ env CC=klcc CFLAGS=-g -Os -march=armv8-a -mtune=generic -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed LDSTATIC=-static LIBS= sh ../../Build.sh -r -L ++ env CC=klcc 'CFLAGS=-g -Os -march=armv8-a -mtune=generic -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed' LDSTATIC=-static LIBS= sh ../../Build.sh -r -L For the build logs, demonstrate that /dev/null and /dev/tty exist: -crw-rw-rw- 1 root root 1, 3 Jun 6 22:24 /dev/null -crw-rw-rw- 1 root root 5, 0 Jun 6 22:24 /dev/tty +crw-rw-rw- 1 root root 1, 3 Jun 8 00:23 /dev/null +crw-rw-rw- 1 root root 5, 0 Jun 8 00:23 /dev/tty Flags on entry (plus HAVE_* which are not shown here): - CC - CFLAGS <-g -Os -march=armv8-a -mtune=generic -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra> @@ -5112,11 +5148,11 @@ Hi from $MirOS: src/bin/mksh/Build.sh,v 1.835 2023/01/26 04:32:50 tg Exp $ on: $ uname -a >&2 -| Linux codethink02-arm64 6.1.0-22-cloud-arm64 #1 SMP Debian 6.1.94-1 (2024-06-21) aarch64 GNU/Linux +| Linux i-capture-the-hostname 6.1.0-22-cloud-arm64 #1 SMP Debian 6.1.94-1 (2024-06-21) aarch64 GNU/Linux Build.sh: Building The MirBSD Korn Shell (mksh) R59 2023/04/29 on Linux 6.1.0-22-cloud-arm64... Build.sh: Scanning for functions... please ignore any errors. ... which compiler type seems to be used -$ klcc -E -g -Os -march=armv8-a -mtune=generic -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */=/p' | tr -d \015 >x +$ klcc -E -g -Os -march=armv8-a -mtune=generic -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */\1=/p' | tr -d \\015 >x [ ct="gcc" [ et="klibc" $ klcc -g -Os -march=armv8-a -mtune=generic -g -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -Wformat -Werror=format-security -Wall -Wextra -I. -I'../..' -Wdate-time -D_FORTIFY_SOURCE=2 -DMKSH_EARLY_LOCALE_TRACKING -DKSH_VERSIONNAME_VENDOR_EXT=\"\ +Debian\" -DMKSH_BUILDMEAT -DMKSH_BINSHPOSIX -DMKSH_BINSHREDUCED -DMKSH_BUILDSH=1 -DMKSH_LEGACY_MODE=1 -D_GNU_SOURCE -DSETUID_CAN_FAIL_WITH_EAGAIN=1 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -static -v conftest.c @@ -5129,7 +5165,7 @@ | Supported LTO compression algorithms: zlib zstd | gcc version 12.2.0 (Debian 12.2.0-14) | COLLECT_GCC_OPTIONS='-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=64' '-fno-stack-protector' '-fwrapv' '-fno-PIE' '-fno-builtin-bcmp' '-fcommon' '-ggdb' '-fno-exceptions' '-mgeneral-regs-only' '-nostdinc' '-iwithprefix' 'include' '-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=64' '-I' '/usr/lib/klibc/include/arch/arm64' '-I' '/usr/lib/klibc/include/bits64' '-I' '/usr/lib/klibc/include' '-O' '-g' '-Os' '-march=armv8-a' '-mtune=generic' '-g' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_BUILDSH=1' '-D' 'MKSH_LEGACY_MODE=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a-' -| /usr/lib/gcc/aarch64-linux-gnu/12/cc1 -quiet -nostdinc -v -I /usr/lib/klibc/include/arch/arm64 -I /usr/lib/klibc/include/bits64 -I /usr/lib/klibc/include -I . -I ../.. -imultiarch aarch64-linux-gnu -D __KLIBC__=2 -D __KLIBC_MINOR__=0 -D _BITSIZE=64 -D __KLIBC__=2 -D __KLIBC_MINOR__=0 -D _BITSIZE=64 -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BINSHPOSIX -D MKSH_BINSHREDUCED -D MKSH_BUILDSH=1 -D MKSH_LEGACY_MODE=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 -iwithprefix include conftest.c -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mgeneral-regs-only -march=armv8-a -mtune=generic -mlittle-endian -mabi=lp64 -ggdb -g -g -O -Os -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -fno-stack-protector -fwrapv -fno-PIE -fno-builtin-bcmp -fcommon -fno-exceptions -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fasynchronous-unwind-tables -o /tmp/cc08KNp5.s +| /usr/lib/gcc/aarch64-linux-gnu/12/cc1 -quiet -nostdinc -v -I /usr/lib/klibc/include/arch/arm64 -I /usr/lib/klibc/include/bits64 -I /usr/lib/klibc/include -I . -I ../.. -imultiarch aarch64-linux-gnu -D __KLIBC__=2 -D __KLIBC_MINOR__=0 -D _BITSIZE=64 -D __KLIBC__=2 -D __KLIBC_MINOR__=0 -D _BITSIZE=64 -D _FORTIFY_SOURCE=2 -D MKSH_EARLY_LOCALE_TRACKING -D KSH_VERSIONNAME_VENDOR_EXT=" +Debian" -D MKSH_BUILDMEAT -D MKSH_BINSHPOSIX -D MKSH_BINSHREDUCED -D MKSH_BUILDSH=1 -D MKSH_LEGACY_MODE=1 -D _GNU_SOURCE -D SETUID_CAN_FAIL_WITH_EAGAIN=1 -iwithprefix include conftest.c -quiet -dumpdir a- -dumpbase conftest.c -dumpbase-ext .c -mgeneral-regs-only -march=armv8-a -mtune=generic -mlittle-endian -mabi=lp64 -ggdb -g -g -O -Os -Wformat=1 -Werror=format-security -Wall -Wextra -Wdate-time -version -fno-stack-protector -fwrapv -fno-PIE -fno-builtin-bcmp -fcommon -fno-exceptions -ffile-prefix-map=/build/reproducible-path/mksh-59c=. -fasynchronous-unwind-tables -o /tmp/ccciOZRE.s | GNU C17 (Debian 12.2.0-14) version 12.2.0 (aarch64-linux-gnu) | compiled by GNU C version 12.2.0, GMP version 6.2.1, MPFR version 4.1.1-p1, MPC version 1.3.1, isl version isl-0.25-GMP | @@ -5151,12 +5187,12 @@ | GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 | Compiler executable checksum: f1bacec099212325d0da3c77e1f38897 | COLLECT_GCC_OPTIONS='-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=64' '-fno-stack-protector' '-fwrapv' '-fno-PIE' '-fno-builtin-bcmp' '-fcommon' '-ggdb' '-fno-exceptions' '-mgeneral-regs-only' '-nostdinc' '-iwithprefix' 'include' '-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=64' '-I' '/usr/lib/klibc/include/arch/arm64' '-I' '/usr/lib/klibc/include/bits64' '-I' '/usr/lib/klibc/include' '-O' '-g' '-Os' '-march=armv8-a' '-mtune=generic' '-g' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_BUILDSH=1' '-D' 'MKSH_LEGACY_MODE=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a-' -| as -v -I /usr/lib/klibc/include/arch/arm64 -I /usr/lib/klibc/include/bits64 -I /usr/lib/klibc/include -I . -I ../.. --gdwarf-5 -EL -march=armv8-a -mabi=lp64 -o /tmp/ccOtoaLL.o /tmp/cc08KNp5.s +| as -v -I /usr/lib/klibc/include/arch/arm64 -I /usr/lib/klibc/include/bits64 -I /usr/lib/klibc/include -I . -I ../.. --gdwarf-5 -EL -march=armv8-a -mabi=lp64 -o /tmp/ccjTYwJt.o /tmp/ccciOZRE.s | GNU assembler version 2.40 (aarch64-linux-gnu) using BFD version (GNU Binutils for Debian) 2.40 | COMPILER_PATH=/usr/lib/gcc/aarch64-linux-gnu/12/:/usr/lib/gcc/aarch64-linux-gnu/12/:/usr/lib/gcc/aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/12/:/usr/lib/gcc/aarch64-linux-gnu/ | LIBRARY_PATH=/usr/lib/gcc/aarch64-linux-gnu/12/:/usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/12/../../../../lib/:/lib/aarch64-linux-gnu/:/lib/../lib/:/usr/lib/aarch64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/aarch64-linux-gnu/12/../../../:/lib/:/usr/lib/ | COLLECT_GCC_OPTIONS='-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=64' '-fno-stack-protector' '-fwrapv' '-fno-PIE' '-fno-builtin-bcmp' '-fcommon' '-ggdb' '-fno-exceptions' '-mgeneral-regs-only' '-nostdinc' '-iwithprefix' 'include' '-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=64' '-I' '/usr/lib/klibc/include/arch/arm64' '-I' '/usr/lib/klibc/include/bits64' '-I' '/usr/lib/klibc/include' '-O' '-g' '-Os' '-march=armv8-a' '-mtune=generic' '-g' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_BUILDSH=1' '-D' 'MKSH_LEGACY_MODE=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a.' -| /usr/lib/gcc/aarch64-linux-gnu/12/collect2 -plugin /usr/lib/gcc/aarch64-linux-gnu/12/liblto_plugin.so -plugin-opt=/usr/lib/gcc/aarch64-linux-gnu/12/lto-wrapper -plugin-opt=-fresolution=/tmp/ccrqNCOi.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu --as-needed -dynamic-linker /lib/ld-linux-aarch64.so.1 -X -EL -maarch64linux --fix-cortex-a53-843419 -pie /usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu/Scrt1.o /usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu/crti.o /usr/lib/gcc/aarch64-linux-gnu/12/crtbeginS.o -L/usr/lib/gcc/aarch64-linux-gnu/12 -L/usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/12/../../../../lib -L/lib/aarch64-linux-gnu -L/lib/../lib -L/usr/lib/aarch64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/aarch64-linux-gnu/12/../../.. /tmp/ccOtoaLL.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/aarch64-linux-gnu/12/crtendS.o /usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu/crtn.o +| /usr/lib/gcc/aarch64-linux-gnu/12/collect2 -plugin /usr/lib/gcc/aarch64-linux-gnu/12/liblto_plugin.so -plugin-opt=/usr/lib/gcc/aarch64-linux-gnu/12/lto-wrapper -plugin-opt=-fresolution=/tmp/ccbYMvHb.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu --as-needed -dynamic-linker /lib/ld-linux-aarch64.so.1 -X -EL -maarch64linux --fix-cortex-a53-843419 -pie /usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu/Scrt1.o /usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu/crti.o /usr/lib/gcc/aarch64-linux-gnu/12/crtbeginS.o -L/usr/lib/gcc/aarch64-linux-gnu/12 -L/usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/12/../../../../lib -L/lib/aarch64-linux-gnu -L/lib/../lib -L/usr/lib/aarch64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/aarch64-linux-gnu/12/../../.. /tmp/ccjTYwJt.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/aarch64-linux-gnu/12/crtendS.o /usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu/crtn.o | COLLECT_GCC_OPTIONS='-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=64' '-fno-stack-protector' '-fwrapv' '-fno-PIE' '-fno-builtin-bcmp' '-fcommon' '-ggdb' '-fno-exceptions' '-mgeneral-regs-only' '-nostdinc' '-iwithprefix' 'include' '-D' '__KLIBC__=2' '-D' '__KLIBC_MINOR__=0' '-D' '_BITSIZE=64' '-I' '/usr/lib/klibc/include/arch/arm64' '-I' '/usr/lib/klibc/include/bits64' '-I' '/usr/lib/klibc/include' '-O' '-g' '-Os' '-march=armv8-a' '-mtune=generic' '-g' '-ffile-prefix-map=/build/reproducible-path/mksh-59c=.' '-Wformat=1' '-Werror=format-security' '-Wall' '-Wextra' '-I' '.' '-I' '../..' '-Wdate-time' '-D' '_FORTIFY_SOURCE=2' '-D' 'MKSH_EARLY_LOCALE_TRACKING' '-D' 'KSH_VERSIONNAME_VENDOR_EXT=" +Debian"' '-D' 'MKSH_BUILDMEAT' '-D' 'MKSH_BINSHPOSIX' '-D' 'MKSH_BINSHREDUCED' '-D' 'MKSH_BUILDSH=1' '-D' 'MKSH_LEGACY_MODE=1' '-D' '_GNU_SOURCE' '-D' 'SETUID_CAN_FAIL_WITH_EAGAIN=1' '-v' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'a.' $ eval echo "\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpmachine\`" \ "gcc\`$CC $CFLAGS $Cg $CPPFLAGS $LDFLAGS $NOWARN $LIBS -dumpversion\`" @@ -6409,8 +6445,8 @@ install -p -m0644 ./builddir/mksh.1 debian/mksh/usr/share/man/man1/mksh.1 install -m0755 -d debian/mksh/usr/share/man/man1/ install -p -m0644 ./lksh.1 debian/mksh/usr/share/man/man1/lksh.1 - man-recode --to-code UTF-8 --suffix .dh-new debian/mksh/usr/share/man/man1/lksh.1 man-recode --to-code UTF-8 --suffix .dh-new debian/mksh/usr/share/man/man1/mksh.1 + man-recode --to-code UTF-8 --suffix .dh-new debian/mksh/usr/share/man/man1/lksh.1 mv debian/mksh/usr/share/man/man1/lksh.1.dh-new debian/mksh/usr/share/man/man1/lksh.1 chmod 0644 -- debian/mksh/usr/share/man/man1/lksh.1 mv debian/mksh/usr/share/man/man1/mksh.1.dh-new debian/mksh/usr/share/man/man1/mksh.1 @@ -6451,12 +6487,12 @@ chmod a-x usr/share/doc/mksh/NEWS.Debian usr/share/doc/mksh/changelog.Debian usr/share/doc/mksh/check.pl usr/share/doc/mksh/check.t usr/share/man/man1/lksh.1 usr/share/man/man1/mksh.1 gzip -9nf usr/share/doc/mksh/NEWS.Debian usr/share/doc/mksh/changelog.Debian usr/share/doc/mksh/check.pl usr/share/doc/mksh/check.t usr/share/man/man1/lksh.1 usr/share/man/man1/mksh.1 cd '/build/reproducible-path/mksh-59c' - rm -f debian/mksh/usr/share/man/man1/mksh-static.1 debian/mksh/usr/share/man/man1/mksh-static.1.gz - ln -s mksh.1.gz debian/mksh/usr/share/man/man1/mksh-static.1.gz - rm -f debian/mksh/usr/share/man/man1/rmksh.1 debian/mksh/usr/share/man/man1/rmksh.1.gz - ln -s mksh.1.gz debian/mksh/usr/share/man/man1/rmksh.1.gz rm -f debian/mksh/usr/share/man/man1/rlksh.1 debian/mksh/usr/share/man/man1/rlksh.1.gz ln -s lksh.1.gz debian/mksh/usr/share/man/man1/rlksh.1.gz + rm -f debian/mksh/usr/share/man/man1/rmksh.1 debian/mksh/usr/share/man/man1/rmksh.1.gz + ln -s mksh.1.gz debian/mksh/usr/share/man/man1/rmksh.1.gz + rm -f debian/mksh/usr/share/man/man1/mksh-static.1 debian/mksh/usr/share/man/man1/mksh-static.1.gz + ln -s mksh.1.gz debian/mksh/usr/share/man/man1/mksh-static.1.gz dh_fixperms -O--buildsystem=none find debian/mksh ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s find debian/mksh/usr/share/doc -type f -a -true -a ! -regex 'debian/mksh/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644 @@ -6537,8 +6573,8 @@ cd debian/.debhelper/mksh/dbgsym-root >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums chmod 0644 -- debian/.debhelper/mksh/dbgsym-root/DEBIAN/md5sums dh_builddeb -O--buildsystem=none - dpkg-deb --root-owner-group --build debian/mksh .. dpkg-deb --root-owner-group --build debian/.debhelper/mksh/dbgsym-root .. + dpkg-deb --root-owner-group --build debian/mksh .. dpkg-deb: building package 'mksh-dbgsym' in '../mksh-dbgsym_59c-28+deb12u1_arm64.deb'. dpkg-deb: building package 'mksh' in '../mksh_59c-28+deb12u1_arm64.deb'. debian/rules execute_after_dh_builddeb-arch @@ -6646,12 +6682,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1887975/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1887975/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/3336907 and its subdirectories -I: Current time: Wed Jul 3 14:42:08 -12 2024 -I: pbuilder-time-stamp: 1720060928 +I: removing directory /srv/workspace/pbuilder/1887975 and its subdirectories +I: Current time: Thu Jul 4 16:55:28 +14 2024 +I: pbuilder-time-stamp: 1720061728