:: 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: bazelisk 1.25.0-5.0 (Tue Mar 25 17:49:42 2025)
==> Retrieving sources...
  -> Updating bazelisk git repo...
==> Validating source files with sha256sums...
    bazelisk ... 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 2025-06-16
==> Making package: bazelisk 1.25.0-5.0 (Tue Mar 25 17:49:52 2025)
==> 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 (5) perl-error-0.17029-7.0  perl-mailtools-2.22-1.0  perl-timedate-2.33-7.0  gcc-go-14.2.1+r753+g1cd744a6828f-1.0  git-2.47.0-1.0

Total Installed Size:  146.78 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 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]
:: Running post-transaction hooks...
(1/5) Creating system user accounts...
Creating group 'git' with GID 972.
Creating user 'git' (git daemon user) with UID 972 and GID 972.
(2/5) Reloading system manager configuration...
  Skipped: Current root is not booted.
(3/5) Arming ConditionNeedsUpdate...
(4/5) Checking for old perl modules...
(5/5) Updating the info directory file...
==> Retrieving sources...
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Creating working copy of bazelisk git repo...
Cloning into 'bazelisk'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
==> Starting build()...
go: downloading github.com/gofrs/flock v0.12.1
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: downloading github.com/hashicorp/go-version v1.7.0
go: downloading golang.org/x/sys v0.27.0
go: downloading golang.org/x/term v0.26.0
go build: when using gccgo toolchain, please pass linker flags using -gccgoflags, not -ldflags
# github.com/gofrs/flock
/build/go/pkg/mod/github.com/gofrs/flock@v0.12.1/flock_others.go:14:30: error: reference to undefined identifier ‘errors.ErrUnsupported’
   14 |                 Err:  errors.ErrUnsupported,
      |                              ^
/build/go/pkg/mod/github.com/gofrs/flock@v0.12.1/flock_others.go:22:30: error: reference to undefined identifier ‘errors.ErrUnsupported’
   22 |                 Err:  errors.ErrUnsupported,
      |                              ^
/build/go/pkg/mod/github.com/gofrs/flock@v0.12.1/flock_others.go:30:30: error: reference to undefined identifier ‘errors.ErrUnsupported’
   30 |                 Err:  errors.ErrUnsupported,
      |                              ^
/build/go/pkg/mod/github.com/gofrs/flock@v0.12.1/flock_unix.go:29:1: error: redefinition of ‘Lock’
   29 | func (f *Flock) Lock() error {
      | ^
/build/go/pkg/mod/github.com/gofrs/flock@v0.12.1/flock_others.go:10:1: note: previous definition of ‘Lock’ was here
   10 | func (f *Flock) Lock() error {
      | ^
/build/go/pkg/mod/github.com/gofrs/flock@v0.12.1/flock_unix.go:40:1: error: redefinition of ‘RLock’
   40 | func (f *Flock) RLock() error {
      | ^
/build/go/pkg/mod/github.com/gofrs/flock@v0.12.1/flock_others.go:18:1: note: previous definition of ‘RLock’ was here
   18 | func (f *Flock) RLock() error {
      | ^
/build/go/pkg/mod/github.com/gofrs/flock@v0.12.1/flock_unix.go:94:1: error: redefinition of ‘Unlock’
   94 | func (f *Flock) Unlock() error {
      | ^
/build/go/pkg/mod/github.com/gofrs/flock@v0.12.1/flock_others.go:26:1: note: previous definition of ‘Unlock’ was here
   26 | func (f *Flock) Unlock() error {
      | ^
/build/go/pkg/mod/github.com/gofrs/flock@v0.12.1/flock_unix.go:124:1: error: redefinition of ‘TryLock’
  124 | func (f *Flock) TryLock() (bool, error) {
      | ^
/build/go/pkg/mod/github.com/gofrs/flock@v0.12.1/flock_others.go:34:1: note: previous definition of ‘TryLock’ was here
   34 | func (f *Flock) TryLock() (bool, error) {
      | ^
/build/go/pkg/mod/github.com/gofrs/flock@v0.12.1/flock_unix.go:137:1: error: redefinition of ‘TryRLock’
  137 | func (f *Flock) TryRLock() (bool, error) {
      | ^
/build/go/pkg/mod/github.com/gofrs/flock@v0.12.1/flock_others.go:38:1: note: previous definition of ‘TryRLock’ was here
   38 | func (f *Flock) TryRLock() (bool, error) {
      | ^
note: module requires Go 1.21
==> 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