:: 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... :: Starting full system upgrade... there is nothing to do ==> 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: shfmt 3.10.0-1.0 (Sun Oct 27 01:52:00 2024) ==> Retrieving sources... -> Found shfmt-3.10.0.tar.gz ==> Validating source files with b2sums... shfmt-3.10.0.tar.gz ... 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-18 ==> Making package: shfmt 3.10.0-1.0 (Sun Oct 27 01:52:09 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 (2) gcc-go-14.2.1+r134+gab884fffe3fc-1.0 scdoc-1.11.3-1.0 Total Installed Size: 106.02 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing gcc-go... installing scdoc... :: Running post-transaction hooks... (1/2) Arming ConditionNeedsUpdate... (2/2) Updating the info directory file... ==> Retrieving sources... -> Found shfmt-3.10.0.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting shfmt-3.10.0.tar.gz with bsdtar ==> Starting prepare()... go: downloading golang.org/x/term v0.25.0 go: downloading github.com/go-quicktest/qt v1.101.0 go: downloading github.com/google/renameio/v2 v2.0.0 go: downloading github.com/rogpeppe/go-internal v1.13.1 go: downloading mvdan.cc/editorconfig v0.3.0 go: downloading github.com/muesli/cancelreader v0.2.2 go: downloading golang.org/x/sync v0.8.0 go: downloading golang.org/x/sys v0.26.0 go: downloading github.com/creack/pty v1.1.23 go: downloading github.com/google/go-cmp v0.6.0 go: downloading github.com/kr/pretty v0.3.1 go: downloading github.com/kr/text v0.2.0 go: downloading golang.org/x/tools v0.22.0 # github.com/creack/pty v1.1.23 ## explicit; go 1.18 github.com/creack/pty # github.com/go-quicktest/qt v1.101.0 ## explicit; go 1.18 github.com/go-quicktest/qt # github.com/google/go-cmp v0.6.0 ## explicit; go 1.13 github.com/google/go-cmp/cmp github.com/google/go-cmp/cmp/cmpopts github.com/google/go-cmp/cmp/internal/diff github.com/google/go-cmp/cmp/internal/flags github.com/google/go-cmp/cmp/internal/function github.com/google/go-cmp/cmp/internal/value # github.com/google/renameio/v2 v2.0.0 ## explicit; go 1.13 github.com/google/renameio/v2 github.com/google/renameio/v2/maybe # github.com/kr/pretty v0.3.1 ## explicit; go 1.12 github.com/kr/pretty # github.com/kr/text v0.2.0 ## explicit github.com/kr/text # github.com/muesli/cancelreader v0.2.2 ## explicit; go 1.17 github.com/muesli/cancelreader # github.com/rogpeppe/go-internal v1.13.1 ## explicit; go 1.22 github.com/rogpeppe/go-internal/diff github.com/rogpeppe/go-internal/fmtsort github.com/rogpeppe/go-internal/imports github.com/rogpeppe/go-internal/internal/misspell github.com/rogpeppe/go-internal/internal/os/execpath github.com/rogpeppe/go-internal/par github.com/rogpeppe/go-internal/testenv github.com/rogpeppe/go-internal/testscript github.com/rogpeppe/go-internal/testscript/internal/pty github.com/rogpeppe/go-internal/txtar # golang.org/x/sync v0.8.0 ## explicit; go 1.18 golang.org/x/sync/errgroup # golang.org/x/sys v0.26.0 ## explicit; go 1.18 golang.org/x/sys/plan9 golang.org/x/sys/unix golang.org/x/sys/windows # golang.org/x/term v0.25.0 ## explicit; go 1.18 golang.org/x/term # golang.org/x/tools v0.22.0 ## explicit; go 1.19 golang.org/x/tools/txtar # mvdan.cc/editorconfig v0.3.0 ## explicit; go 1.21 mvdan.cc/editorconfig ==> Starting build()... go build: when using gccgo toolchain, please pass linker flags using -gccgoflags, not -ldflags github.com/google/renameio/v2 github.com/google/renameio/v2/maybe github.com/rogpeppe/go-internal/diff golang.org/x/sys/unix golang.org/x/term mvdan.cc/editorconfig mvdan.cc/sh/v3/fileutil mvdan.cc/sh/v3/syntax # mvdan.cc/sh/v3/syntax syntax/nodes.go:98:18: error: reference to undefined name ‘min’ 98 | offset = min(offset, offsetMax) | ^ syntax/parser.go:439:19: error: reference to undefined name ‘min’ 439 | offset := min(p.offs+int64(p.bsp)-int64(p.w), offsetMax) | ^ syntax/nodes.go:98:30: error: integer constant overflow 98 | offset = min(offset, offsetMax) | ^ syntax/parser.go:439:55: error: integer constant overflow 439 | offset := min(p.offs+int64(p.bsp)-int64(p.w), offsetMax) | ^ note: module requires Go 1.22 ==> 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:without_check: build@euronuc-i486