==> Creating chroot for [extra-staging-with-build-support] (i486)... -> Deleting chroot copy 'build'... -> Deleting chroot copy 'root'... ==> Creating install root at /var/lib/archbuild/extra-staging-with-build-support-i486/root ==> Installing packages to /var/lib/archbuild/extra-staging-with-build-support-i486/root :: Synchronizing package databases... build-support-manual downloading... build-support downloading... core-staging downloading... extra-staging downloading... core-testing downloading... core downloading... extra-testing downloading... extra downloading... resolving dependencies... :: There are 2 providers available for sh: :: Repository core-staging 1) bash :: Repository core 2) bash Enter a number (default=1): :: There are 2 providers available for libsystemd.so=0-32: :: Repository core-staging 1) systemd-libs :: Repository core 2) systemd-libs Enter a number (default=1): looking for conflicting packages... Packages (116) acl-2.3.2-1.0 archlinux32-keyring-20240131-5.1 attr-2.5.2-1.0 audit-4.0.2-1.0 autoconf-2.72-1.0 automake-1.17-1.0 bash-5.2.032-1.0 binutils-2.43+r4+g7999dae6961-1.1 bison-3.8.2-6.0 brotli-1.1.0-2.2 bzip2-1.0.8-6.0 ca-certificates-20240618-1.0 ca-certificates-mozilla-3.85-1.1 ca-certificates-utils-20240618-1.0 coreutils-9.5-1.1 curl-8.9.1-2.0 db5.3-5.3.28-5.0 debugedit-5.0-5.0 diffutils-3.10-1.0 e2fsprogs-1.47.1-4.0 fakeroot-1.35-1.0 file-5.45-1.1 filesystem-2024.04.07-1.0 findutils-4.9.0-3.0 flex-2.6.4-5.0 gawk-5.3.0-1.0 gc-8.2.6-1.0 gcc-14.2.1+r32+geccf707e5ce-1.0 gcc-libs-14.2.1+r32+geccf707e5ce-1.0 gdbm-1.24-1.0 gettext-0.22.5-1.0 glib2-2.78.4-1.0 glibc-2.40+r16+gaa533d58ff-2.1 gmp-6.3.0-2.0 gnupg-2.4.5-4.0 gnutls-3.8.6-1.0 gpgme-1.23.2-6.2 grep-3.11-1.1 groff-1.23.0-6.0 guile-3.0.9-1.1 gzip-1.13-4.0 iana-etc-20240612-1.0 icu-75.1-1.0 jansson-2.14-4.0 json-c-0.17-2.0 keyutils-1.6.3-3.0 krb5-1.21.3-1.0 libarchive-3.7.4-1.5 libassuan-3.0.0-1.0 libcap-2.70-1.0 libcap-ng-0.8.5-2.1 libelf-0.191-4.0 libevent-2.1.12-4.1 libffi-3.4.6-1.0 libgcrypt-1.11.0-2.1 libgpg-error-1.50-1.0 libidn2-2.3.7-1.0 libisl-0.26-2.0 libksba-1.6.6-1.0 libldap-2.6.8-1.0 libmpc-1.3.1-2.0 libnghttp2-1.62.1-1.1 libnghttp3-1.2.0-1.0 libnsl-2.0.1-1.0 libp11-kit-0.25.3-1.0 libpsl-0.21.5-2.1 libsasl-2.1.28-4.0 libseccomp-2.5.5-3.0 libsecret-0.20.5-2.0 libssh2-1.11.0-1.0 libsysprof-capture-3.48.0-4.0 libtasn1-4.19.0-2.0 libtirpc-1.3.5-1.0 libtool-2.5.1-2.0 libunistring-1.2-1.0 libusb-1.0.27-1.0 libverto-0.3.2-5.0 libxcrypt-4.4.36-2.0 libxml2-2.13.3-1.0 linux-api-headers-6.10-1.1 lmdb-0.9.30-3.0 lz4-1:1.10.0-2.0 m4-1.4.19-3.0 make-4.4.1-2.0 mpfr-4.2.1-3.0 ncurses-6.5-3.0 nettle-3.10-1.1 npth-1.7-1.0 openssl-3.3.1-1.1 p11-kit-0.25.3-1.0 pacman-6.1.0-3.6 pacman-mirrorlist-20240616-1.3 pam-1.6.1-2.1 pambase-20230918-1.0 patch-2.7.6-10.0 pcre2-10.44-1.1 perl-5.38.2-2.1 pinentry-1.3.1-5.5 pkgconf-1.8.1-1.0 readline-8.2.013-1.0 sed-4.9-3.0 shadow-4.16.0-1.0 sqlite-3.46.0-1.1 sudo-1.9.15.p5-2.0 systemd-libs-255.6-1.0 tar-1.35-2.0 texinfo-7.1-2.0 tpm2-tss-4.0.1-1.0 tzdata-2024a-2.1 util-linux-2.40.2-1.1 util-linux-libs-2.40.2-1.1 which-2.21-6.2 xz-5.6.2-1.2 zlib-1:1.3.1-2.0 zstd-1.5.6-1.1 base-devel-1-1.1 Total Installed Size: 798.78 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing archlinux32-keyring... call to execv failed (No such file or directory) error: command failed to execute correctly installing linux-api-headers... installing tzdata... Optional dependencies for tzdata bash: for tzselect [pending] glibc: for zdump, zic [pending] installing iana-etc... installing filesystem... installing glibc... Optional dependencies for glibc gd: for memusagestat perl: for mtrace [pending] installing gcc-libs... installing ncurses... Optional dependencies for ncurses bash: for ncursesw6-config [pending] installing readline... installing bash... Optional dependencies for bash bash-completion: for tab completion installing gmp... installing mpfr... installing gawk... installing m4... installing diffutils... installing gdbm... installing db5.3... installing libxcrypt... installing perl... installing autoconf... installing automake... installing jansson... installing bzip2... installing acl... installing attr... installing zlib... installing sqlite... installing util-linux-libs... Optional dependencies for util-linux-libs python: python bindings to libmount installing e2fsprogs... Optional dependencies for e2fsprogs lvm2: for e2scrub util-linux: for e2scrub [pending] smtp-forwarder: for e2scrub_fail script installing keyutils... installing openssl... Optional dependencies for openssl ca-certificates [pending] perl [installed] installing libsasl... installing libldap... installing libevent... Optional dependencies for libevent python: event_rpcgen.py installing libverto... installing lmdb... installing krb5... installing libtirpc... installing pambase... installing libcap-ng... installing audit... Optional dependencies for audit libldap: for audispd-zos-remote [installed] sh: for augenrules [installed] installing libnsl... installing pam... installing libcap... installing coreutils... installing findutils... installing libffi... installing libtasn1... installing libp11-kit... installing libgpg-error... installing libgcrypt... installing lz4... installing xz... installing zstd... installing systemd-libs... installing p11-kit... installing ca-certificates-utils... installing ca-certificates-mozilla... installing ca-certificates... installing brotli... installing libunistring... installing libidn2... installing libnghttp2... installing libnghttp3... installing libpsl... installing libssh2... installing curl... installing libelf... installing binutils... Optional dependencies for binutils debuginfod: for debuginfod server/client functionality installing icu... installing libxml2... Optional dependencies for libxml2 python: Python bindings installing gettext... Optional dependencies for gettext git: for autopoint infrastructure updates installing bison... installing debugedit... installing sed... installing libseccomp... installing file... installing shadow... installing util-linux... Optional dependencies for util-linux words: default dictionary for look installing fakeroot... installing flex... installing libmpc... installing libisl... installing gcc... Optional dependencies for gcc gcc-libs: for generating code for 32-bit ABI [installed] installing pcre2... Optional dependencies for pcre2 sh: for pcre2-config [installed] installing grep... installing groff... Optional dependencies for groff netpbm: for use together with man -H command interaction in browsers psutils: for use together with man -H command interaction in browsers libxaw: for gxditview perl-file-homedir: for use with glilypond installing gzip... Optional dependencies for gzip less: zless support util-linux: zmore support [installed] diffutils: zdiff/zcmp support [installed] installing tar... installing libtool... installing gc... installing guile... installing make... installing libarchive... installing libsysprof-capture... installing glib2... Optional dependencies for glib2 gvfs: most gio functionality libelf: gresource inspection tool [installed] python: gdbus-codegen, glib-genmarshal, glib-mkenums, gtester-report installing libassuan... installing nettle... installing gnutls... Optional dependencies for gnutls tpm2-tss: support for TPM2 wrapped keys [pending] installing libksba... installing libusb... installing json-c... installing tpm2-tss... installing libsecret... Optional dependencies for libsecret org.freedesktop.secrets: secret storage backend installing pinentry... Optional dependencies for pinentry gcr: GNOME backend gtk3: GTK backend qt5-x11extras: Qt5 backend kwayland5: Qt5 backend kguiaddons: Qt6 backend kwindowsystem: Qt6 backend installing npth... installing gnupg... Optional dependencies for gnupg pcsclite: for using scdaemon not with the gnupg internal card driver installing gpgme... installing pacman-mirrorlist... installing pacman... Optional dependencies for pacman perl-locale-gettext: translation support in makepkg-template installing patch... Optional dependencies for patch ed: for patch -e functionality installing pkgconf... installing sudo... installing texinfo... Optional dependencies for texinfo perl-archive-zip: EPUB file output via texi2any installing which... installing base-devel... :: Running post-transaction hooks... (1/3) Rebuilding certificate stores... (2/3) Warn about old perl modules (3/3) Updating the info directory file... Initializing machine ID from random generator. Generating locales... C.UTF-8... done en_US.UTF-8... done de_DE.UTF-8... done Generation complete. ==> Building in chroot for [extra-staging-with-build-support] (i486)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-staging-with-build-support-i486/root] -> [build]...done ==> Making package: elvish 0.21.0-1.0 (Fri Aug 16 15:33:48 2024) ==> Retrieving sources... -> Updating elvish git repo... ==> Validating source files with sha256sums... elvish ... Passed gpg: Warning: using insecure memory! ==> Appending keys from archlinux32.gpg... gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! ==> Updating trust database... gpg: Warning: using insecure memory! gpg: next trustdb check due at 2024-11-09 ==> Making package: elvish 0.21.0-1.0 (Fri Aug 16 15:34:33 2024) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... :: There are 2 providers available for go: :: Repository core-staging 1) gcc-go :: Repository core 2) gcc-go Enter a number (default=1): resolving dependencies... looking for conflicting packages... Packages (6) expat-2.6.2-1.1 perl-error-0.17029-6.0 perl-mailtools-2.21-8.0 perl-timedate-2.33-6.0 gcc-go-14.2.1+r32+geccf707e5ce-1.0 git-2.46.0-1.0 Total Installed Size: 147.45 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing expat... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui openssh: ssh transport and crypto perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] installing gcc-go... :: Running post-transaction hooks... (1/2) Warn about old perl modules (2/2) Updating the info directory file... ==> Retrieving sources... ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Creating working copy of elvish git repo... Cloning into 'elvish'... done. Switched to a new branch 'makepkg' ==> Starting prepare()... ==> Starting build()... go build: when using gccgo toolchain, please pass linker flags using -gccgoflags, not -ldflags src.elv.sh/pkg/must # src.elv.sh/pkg/must pkg/must/must.go:23:9: error: expected ‘(’ 23 | func OK1[T any](v T, err error) T { | ^ pkg/must/must.go:23:12: error: expected ‘]’ 23 | func OK1[T any](v T, err error) T { | ^ pkg/must/must.go:23:12: error: expected ‘;’ or newline after top level declaration pkg/must/must.go:26:9: error: expected declaration 26 | } | ^ pkg/must/must.go:27:9: error: expected declaration 27 | return v | ^ pkg/must/must.go:28:1: error: expected declaration 28 | } | ^ pkg/must/must.go:32:9: error: expected ‘(’ 32 | func OK2[T1, T2 any](v1 T1, v2 T2, err error) (T1, T2) { | ^ pkg/must/must.go:32:12: error: expected ‘]’ 32 | func OK2[T1, T2 any](v1 T1, v2 T2, err error) (T1, T2) { | ^ pkg/must/must.go:32:12: error: expected ‘;’ or newline after top level declaration pkg/must/must.go:35:9: error: expected declaration 35 | } | ^ pkg/must/must.go:36:9: error: expected declaration 36 | return v1, v2 | ^ pkg/must/must.go:37:1: error: expected declaration 37 | } | ^ pkg/must/must.go:41:9: error: not enough arguments to return 41 | return OK2(os.Pipe()) | ^ note: module requires Go 1.21 src.elv.sh/pkg/logutil src.elv.sh/pkg/prog src.elv.sh/pkg/store/storedefs src.elv.sh/pkg/daemon/daemondefs src.elv.sh/pkg/daemon/internal/api src.elv.sh/pkg/env src.elv.sh/pkg/fsutil # src.elv.sh/pkg/fsutil pkg/fsutil/search.go:23:16: error: reference to undefined name ‘isExecutable’ 23 | return isExecutable(stat) | ^ note: module requires Go 1.21 src.elv.sh/pkg/rpc golang.org/x/sys/unix go.etcd.io/bbolt # go.etcd.io/bbolt /build/go/pkg/mod/go.etcd.io/bbolt@v1.3.9/db.go:1380:34: error: array bound is not constant 1380 | _, _ = h.Write((*[unsafe.Offsetof(meta{}.checksum)]byte)(unsafe.Pointer(m))[:]) | ^ /build/go/pkg/mod/go.etcd.io/bbolt@v1.3.9/db.go:1380:84: error: argument 1 has incompatible type (cannot use type *[]byte as type []byte) 1380 | _, _ = h.Write((*[unsafe.Offsetof(meta{}.checksum)]byte)(unsafe.Pointer(m))[:]) | ^ (null):0: confused by earlier errors, bailing out github.com/sourcegraph/jsonrpc2 pkg.nimblebun.works/go-lsp src.elv.sh/pkg/strutil src.elv.sh/pkg/diag # src.elv.sh/pkg/diag pkg/diag/error.go:11:14: error: expected ‘]’ 11 | type Error[T ErrorTag] struct { | ^ pkg/diag/error.go:13:9: error: expected declaration 13 | Context Context | ^ pkg/diag/error.go:17:9: error: expected declaration 17 | Partial bool | ^ pkg/diag/error.go:18:1: error: expected declaration 18 | } | ^ pkg/diag/error.go:34:15: error: expected ‘)’ 34 | func (e *Error[T]) Error() string { | ^ pkg/diag/error.go:34:15: error: expected function name pkg/diag/error.go:34:15: error: expected ‘;’ or newline after top level declaration pkg/diag/error.go:36:1: error: expected declaration 36 | } | ^ pkg/diag/error.go:38:15: error: expected ‘)’ 38 | func (e *Error[T]) errorNoType() string { | ^ pkg/diag/error.go:38:15: error: expected function name pkg/diag/error.go:38:15: error: expected ‘;’ or newline after top level declaration pkg/diag/error.go:40:1: error: expected declaration 40 | } | ^ pkg/diag/error.go:43:15: error: expected ‘)’ 43 | func (e *Error[T]) Range() Ranging { | ^ pkg/diag/error.go:43:15: error: expected function name pkg/diag/error.go:43:15: error: expected ‘;’ or newline after top level declaration pkg/diag/error.go:45:1: error: expected declaration 45 | } | ^ pkg/diag/error.go:53:15: error: expected ‘)’ 53 | func (e *Error[T]) Show(indent string) string { | ^ pkg/diag/error.go:53:15: error: expected function name pkg/diag/error.go:53:15: error: expected ‘;’ or newline after top level declaration pkg/diag/error.go:55:1: error: expected declaration 55 | } | ^ pkg/diag/error.go:57:15: error: expected ‘)’ 57 | func (e *Error[T]) showNoType(indent string) string { | ^ pkg/diag/error.go:57:15: error: expected function name pkg/diag/error.go:57:15: error: expected ‘;’ or newline after top level declaration pkg/diag/error.go:59:9: error: expected declaration 59 | return messageStart + e.Message + messageEnd + | ^ pkg/diag/error.go:61:1: error: expected declaration 61 | } | ^ pkg/diag/error.go:73:16: error: expected ‘(’ 73 | func PackErrors[T ErrorTag](errs []*Error[T]) error { | ^ pkg/diag/error.go:73:19: error: expected ‘]’ 73 | func PackErrors[T ErrorTag](errs []*Error[T]) error { | ^ pkg/diag/error.go:73:19: error: expected ‘;’ or newline after top level declaration pkg/diag/error.go:77:9: error: expected declaration 77 | case 1: | ^ pkg/diag/error.go:79:9: error: expected declaration 79 | default: | ^ pkg/diag/error.go:81:9: error: expected declaration 81 | } | ^ pkg/diag/error.go:82:1: error: expected declaration 82 | } | ^ pkg/diag/error.go:86:18: error: expected ‘(’ 86 | func UnpackErrors[T ErrorTag](err error) []*Error[T] { | ^ pkg/diag/error.go:86:21: error: expected ‘]’ 86 | func UnpackErrors[T ErrorTag](err error) []*Error[T] { | ^ pkg/diag/error.go:86:21: error: expected ‘;’ or newline after top level declaration pkg/diag/error.go:90:9: error: expected declaration 90 | case multiError[T]: | ^ pkg/diag/error.go:92:9: error: expected declaration 92 | default: | ^ pkg/diag/error.go:94:9: error: expected declaration 94 | } | ^ pkg/diag/error.go:95:1: error: expected declaration 95 | } | ^ pkg/diag/error.go:97:19: error: expected ‘]’ 97 | type multiError[T ErrorTag] []*Error[T] | ^ pkg/diag/error.go:99:21: error: expected ‘)’ 99 | func (err multiError[T]) Error() string { | ^ pkg/diag/error.go:99:21: error: expected function name pkg/diag/error.go:99:21: error: expected ‘;’ or newline after top level declaration pkg/diag/error.go:101:9: error: expected declaration 101 | fmt.Fprintf(&sb, "multiple %s: ", errorTagPlural[T]()) | ^ pkg/diag/error.go:102:9: error: expected declaration 102 | for i, e := range err { | ^ pkg/diag/error.go:105:17: error: expected declaration 105 | } | ^ pkg/diag/error.go:106:17: error: expected declaration 106 | sb.WriteString(e.errorNoType()) | ^ pkg/diag/error.go:107:9: error: expected declaration 107 | } | ^ pkg/diag/error.go:108:9: error: expected declaration 108 | return sb.String() | ^ pkg/diag/error.go:109:1: error: expected declaration 109 | } | ^ pkg/diag/error.go:111:21: error: expected ‘)’ 111 | func (err multiError[T]) Show(indent string) string { | ^ pkg/diag/error.go:111:21: error: expected function name pkg/diag/error.go:111:21: error: expected ‘;’ or newline after top level declaration pkg/diag/error.go:113:9: error: expected declaration 113 | fmt.Fprintf(&sb, "Multiple %s:", errorTagPlural[T]()) | ^ pkg/diag/error.go:114:9: error: expected declaration 114 | indent += " " | ^ pkg/diag/error.go:115:9: error: expected declaration 115 | for _, e := range err { | ^ pkg/diag/error.go:117:17: error: expected declaration 117 | sb.WriteString(e.showNoType(indent)) | ^ pkg/diag/error.go:118:9: error: expected declaration 118 | } | ^ pkg/diag/error.go:119:9: error: expected declaration 119 | return sb.String() | ^ pkg/diag/error.go:120:1: error: expected declaration 120 | } | ^ pkg/diag/error.go:122:14: error: expected ‘(’ 122 | func errorTag[T ErrorTag]() string { | ^ pkg/diag/error.go:122:17: error: expected ‘]’ 122 | func errorTag[T ErrorTag]() string { | ^ pkg/diag/error.go:122:17: error: expected ‘;’ or newline after top level declaration pkg/diag/error.go:124:9: error: expected declaration 124 | return t.ErrorTag() | ^ pkg/diag/error.go:125:1: error: expected declaration 125 | } | ^ pkg/diag/error.go:130:20: error: expected ‘(’ 130 | func errorTagPlural[T ErrorTag]() string { return errorTag[T]() + "s" } | ^ pkg/diag/error.go:130:23: error: expected ‘]’ 130 | func errorTagPlural[T ErrorTag]() string { return errorTag[T]() + "s" } | ^ pkg/diag/error.go:130:23: error: expected ‘;’ or newline after top level declaration pkg/diag/error.go:132:19: error: expected ‘(’ 132 | func errorTagTitle[T ErrorTag]() string { return strutil.Title(errorTag[T]()) } | ^ pkg/diag/error.go:132:22: error: expected ‘]’ 132 | func errorTagTitle[T ErrorTag]() string { return strutil.Title(errorTag[T]()) } | ^ pkg/diag/error.go:132:22: error: expected ‘;’ or newline after top level declaration note: module requires Go 1.21 github.com/mattn/go-isatty src.elv.sh/pkg/sys # src.elv.sh/pkg/sys pkg/sys/sys.go:15:46: error: reference to undefined name ‘notifySignals’ 15 | func NotifySignals() chan os.Signal { return notifySignals() } | ^ pkg/sys/sys.go:18:18: error: reference to undefined name ‘sigWINCH’ 18 | const SIGWINCH = sigWINCH | ^ pkg/sys/sys.go:21:53: error: reference to undefined name ‘winSize’ 21 | func WinSize(file *os.File) (row, col int) { return winSize(file) } | ^ note: module requires Go 1.21 src.elv.sh/pkg/persistent/hash src.elv.sh/pkg/persistent/hashmap src.elv.sh/pkg/persistent/vector src.elv.sh/pkg/wcwidth src.elv.sh/pkg/cli/histutil golang.org/x/sync/semaphore src.elv.sh/pkg/errutil src.elv.sh/pkg/glob src.elv.sh/pkg src.elv.sh/pkg/getopt src.elv.sh/pkg/mods/epm src.elv.sh/pkg/mods/readline-binding src.elv.sh/pkg/diff src.elv.sh/pkg/pprof ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-staging-with-build-support-i486/build/build used straw: :with_build_support:clean_chroot: build@eurobuild6-7-i486