==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done
==> Making package: apptainer 1.4.1-1 (Sun Jun 29 22:50:46 2025)
==> Retrieving sources...
  -> Cloning apptainer git repo...
Cloning into bare repository '/home/leming/work/apptainer/apptainer'...
  -> Found tmpfiles.conf
  -> Found ftbfs-redefined-fortify_source.patch
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    apptainer ... Skipped
    tmpfiles.conf ... Passed
    ftbfs-redefined-fortify_source.patch ... Passed
==> Validating source files with b2sums...
    apptainer ... Skipped
    tmpfiles.conf ... Passed
    ftbfs-redefined-fortify_source.patch ... Passed
==> Making package: apptainer 1.4.1-1 (Sun Jun 29 22:50:58 2025)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (8) fuse-common-3.17.1-1  fuse2-2.9.9-5  fuse3-3.17.1-1  lzo-2.10-5
             fuse-overlayfs-1.15-1  fuse2fs-1.47.2-2  squashfs-tools-4.7-1
             squashfuse-0.6.1-1

Total Download Size:   0.57 MiB
Total Installed Size:  3.13 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 squashfs-tools-4.7-1-aarch64 downloading...
 fuse3-3.17.1-1-aarch64 downloading...
 fuse2-2.9.9-5-aarch64 downloading...
 squashfuse-0.6.1-1-aarch64 downloading...
 fuse-overlayfs-1.15-1-aarch64 downloading...
 fuse2fs-1.47.2-2-aarch64 downloading...
 fuse-common-3.17.1-1-aarch64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing fuse-common...
installing fuse3...
installing fuse2fs...
installing fuse-overlayfs...
installing lzo...
installing squashfs-tools...
installing fuse2...
installing squashfuse...
:: Running post-transaction hooks...
(1/2) Reloading device manager configuration...
  Skipped: Device manager is not running.
(2/2) Arming ConditionNeedsUpdate...
[?25h==> Checking buildtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (6) perl-error-0.17030-1  perl-mailtools-2.22-1  perl-timedate-2.33-7
             zlib-ng-2.2.4-1  git-2.50.0-1  go-2:1.24.4-1

Total Download Size:    43.78 MiB
Total Installed Size:  278.97 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 go-2:1.24.4-1-aarch64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing perl-error...
installing perl-timedate...
installing perl-mailtools...
installing zlib-ng...
installing git...
Optional dependencies for git
    git-zsh-completion: upstream zsh completion
    tk: gitk and git gui
    openssh: ssh transport and crypto
    man: show help with `git command --help`
    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 [installed]
    subversion: git svn
    org.freedesktop.secrets: keyring credential helper
    libsecret: libsecret credential helper [installed]
installing go...
:: Running post-transaction hooks...
(1/4) Creating system user accounts...
Creating group 'git' with GID 971.
Creating user 'git' (git daemon user) with UID 971 and GID 971.
(2/4) Reloading system manager configuration...
  Skipped: Current root is not booted.
(3/4) Arming ConditionNeedsUpdate...
(4/4) Checking for old perl modules...
[?25h==> Retrieving sources...
  -> Found tmpfiles.conf
  -> Found ftbfs-redefined-fortify_source.patch
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Creating working copy of apptainer git repo...
Cloning into 'apptainer'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
patching file mconfig
patching file mlocal/frags/debug_opts.mk
patching file mlocal/frags/go_runtime_opts.mk
==> Starting build()...
Configuring for project `apptainer' with languages: C, Golang
=> running pre-basechecks project specific checks ...
=> running base system checks ...
 checking: host C compiler... cc
 checking: host C++ compiler... c++
 checking: host Go compiler (at least version 1.23.6)... /usr/bin/go
 checking: host C compiler option -Wall... yes
 checking: host C compiler option -Werror... yes
 checking: host C compiler option -Wfatal-errors... yes
 checking: host C compiler option -Wno-unknown-warning-option... yes
 checking: host C compiler option -Wstrict-prototypes... yes
 checking: host C compiler option -Wpointer-arith... yes
 checking: host C compiler option -Wbad-function-cast... yes
 checking: host C compiler option -Woverlength-strings... yes
 checking: host C compiler option -Wframe-larger-than=2047... yes
 checking: host C compiler option -Wno-sign-compare... yes
 checking: host C compiler option -Wclobbered... yes
 checking: host C compiler option -Wempty-body... yes
 checking: host C compiler option -Wmissing-parameter-type... yes
 checking: host C compiler option -Wtype-limits... yes
 checking: host C compiler option -Wunused-parameter... yes
 checking: host C compiler option -Wunused-but-set-parameter... yes
 checking: host C compiler option -Wno-discarded-qualifiers... yes
 checking: host C compiler option -Wno-incompatible-pointer-types... yes
 checking: host C compiler option -pipe... yes
 checking: host C compiler option -fmessage-length=0... yes
 checking: host C compiler option -fPIC... yes
 checking: host `ar' path... ar
 checking: host `ld' path... ld
 checking: host `ranlib' path... ranlib
 checking: host `objcopy' path... objcopy
 checking: target C compiler... cc
 checking: target C++ compiler... c++
 checking: target `ar' path... ar
 checking: target `ld' path... ld
 checking: target `ranlib' path... ranlib
 checking: target `objcopy' path... objcopy
 checking: host compiles static binaries... yes
 checking: target compiles static binaries... yes
 checking: host os type... distcc[1217] ERROR: compile (null) on localhost failed with exit code 2
unix
 checking: host architecture... aarch64
 checking: target architecture... aarch64
 checking: host architecture word size... 64
 checking: target architecture word size... 64
 checking: project version... 1.4.1
 checking: project short version... 1.4.1
 checking: unprivileged user namespaces... enabled
=> running post-basechecks project specific checks ...
 checking: namespace: CLONE_NEWPID... yes
 checking: namespace: CLONE_FS... yes
 checking: namespace: CLONE_NEWNS... yes
 checking: namespace: CLONE_NEWUSER... yes
 checking: namespace: CLONE_NEWIPC... yes
 checking: namespace: CLONE_NEWNET... yes
 checking: namespace: CLONE_NEWUTS... yes
 checking: namespace: CLONE_NEWCGROUP... yes
 checking: feature: NO_NEW_PRIVS... yes
 checking: feature: MS_SLAVE... yes
 checking: feature: MS_REC... yes
 checking: feature: MS_PRIVATE... yes
 checking: user capabilities... yes
 checking: header linux/securebits.h... yes
 checking: header linux/capability.h... yes
 checking: libseccomp+headers... yes
 checking: libsubid support... yes
=> generating fragments ...
=> building Makefile ...
=> generating apptainer.spec ...
=> project apptainer setup with :
    - host arch: aarch64
    - host wordsize: 64-bit
    - host C compiler: cc
    - host Go compiler: /usr/bin/go
    - host system: unix
      ---
    - target arch: aarch64
    - target wordsize: 64-bit
    - target C compiler: cc
      ---
    - config profile: release-stripped
      ---
    - SUID install: no
    - Network plugins: yes
      ---
    - verbose: yes
      ---
    - version: 1.4.1
=> /build/apptainer/src/apptainer/builddir/Makefile ready, try:
   $ cd /build/apptainer/src/apptainer/builddir
   $ make
make: Entering directory '/build/apptainer/src/apptainer/builddir'
 GEN GO DEP /build/apptainer/src/apptainer/builddir/apptainer.deps
cd /build/apptainer/src/apptainer && ./makeit/gengodep -v3 "/usr/bin/go" "apptainer_SOURCE" "containers_image_openpgp sylog oci_engine apptainer_engine fakeroot_engine apparmor selinux seccomp libsubid" "/build/apptainer/src/apptainer/builddir/apptainer.deps" "/build/apptainer/src/apptainer/cmd/apptainer"
go: downloading golang.org/x/text v0.22.0
go: downloading github.com/ProtonMail/go-crypto v1.1.6
go: downloading github.com/apptainer/container-key-client v0.8.0
go: downloading github.com/apptainer/container-library-client v1.4.10
go: downloading github.com/apptainer/sif/v2 v2.20.2
go: downloading github.com/docker/go-units v0.5.0
go: downloading github.com/fatih/color v1.18.0
go: downloading github.com/google/go-containerregistry v0.20.2
go: downloading github.com/shopspring/decimal v1.4.0
go: downloading github.com/sigstore/sigstore v1.8.14
go: downloading github.com/spf13/cobra v1.9.1
go: downloading golang.org/x/sys v0.30.0
go: downloading golang.org/x/term v0.29.0
go: downloading github.com/samber/lo v1.49.1
go: downloading github.com/containers/image/v5 v5.33.1
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading github.com/opencontainers/runc v1.2.5
go: downloading github.com/opencontainers/runtime-spec v1.2.1
go: downloading github.com/pelletier/go-toml/v2 v2.2.3
go: downloading github.com/buger/goterm v1.0.4
go: downloading github.com/creack/pty v1.1.24
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/sylabs/json-resp v0.9.4
go: downloading github.com/docker/docker v27.5.1+incompatible
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/blang/semver/v4 v4.0.0
go: downloading github.com/go-log/log v0.2.0
go: downloading github.com/gosimple/slug v1.15.0
go: downloading golang.org/x/crypto v0.33.0
go: downloading github.com/spf13/pflag v1.0.6
go: downloading github.com/opencontainers/go-digest v1.0.0
go: downloading github.com/opencontainers/image-spec v1.1.1
go: downloading golang.org/x/sync v0.11.0
go: downloading github.com/mattn/go-colorable v0.1.13
go: downloading github.com/mattn/go-isatty v0.0.20
go: downloading github.com/google/uuid v1.6.0
go: downloading github.com/cyphar/filepath-securejoin v0.4.1
go: downloading mvdan.cc/sh/v3 v3.10.0
go: downloading github.com/BurntSushi/toml v1.4.0
go: downloading github.com/apex/log v1.9.0
go: downloading github.com/opencontainers/umoci v0.4.7
go: downloading github.com/letsencrypt/boulder v0.0.0-20240620165639-de9c06129bec
go: downloading github.com/secure-systems-lab/go-securesystemslib v0.9.0
go: downloading github.com/sigstore/protobuf-specs v0.4.0
go: downloading github.com/docker/cli v27.5.1+incompatible
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/containers/ocicrypt v1.2.0
go: downloading github.com/containers/storage v1.56.1
go: downloading github.com/sirupsen/logrus v1.9.3
go: downloading github.com/vbauerster/mpb/v8 v8.9.1
go: downloading github.com/docker/go-connections v0.5.0
go: downloading github.com/docker/distribution v2.8.3+incompatible
go: downloading github.com/sigstore/fulcio v1.6.4
go: downloading github.com/moby/sys/mountinfo v0.7.2
go: downloading github.com/moby/sys/userns v0.1.0
go: downloading github.com/cilium/ebpf v0.16.0
go: downloading github.com/coreos/go-systemd/v22 v22.5.0
go: downloading github.com/godbus/dbus/v5 v5.1.0
go: downloading github.com/containerd/stargz-snapshotter/estargz v0.15.1
go: downloading github.com/seccomp/containers-golang v0.6.0
go: downloading github.com/cloudflare/circl v1.3.7
go: downloading github.com/gosimple/unidecode v1.0.1
go: downloading github.com/moby/sys/sequential v0.6.0
go: downloading github.com/muesli/cancelreader v0.2.2
go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20240814211410-ddb44dafa142
go: downloading google.golang.org/protobuf v1.36.4
go: downloading github.com/containers/libtrust v0.0.0-20230121012942-c1716e8a8d01
go: downloading golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c
go: downloading github.com/klauspost/compress v1.17.11
go: downloading github.com/klauspost/pgzip v1.2.6
go: downloading github.com/golang/protobuf v1.5.4
go: downloading github.com/ulikunitz/xz v0.5.12
go: downloading github.com/rootless-containers/proto v0.1.0
go: downloading github.com/vbatts/go-mtree v0.5.0
go: downloading github.com/titanous/rocacheck v0.0.0-20171023193734-afe73141d399
go: downloading github.com/docker/docker-credential-helpers v0.8.2
go: downloading github.com/cyberphone/json-canonicalization v0.0.0-20231217050601-ba74d44ecf5f
go: downloading github.com/sigstore/rekor v1.3.6
go: downloading github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d
go: downloading github.com/mattn/go-runewidth v0.0.16
go: downloading github.com/VividCortex/ewma v1.2.0
go: downloading github.com/distribution/reference v0.6.0
go: downloading github.com/gorilla/mux v1.8.1
go: downloading github.com/seccomp/libseccomp-golang v0.10.0
go: downloading github.com/moby/sys/user v0.3.0
go: downloading github.com/opencontainers/selinux v1.11.1
go: downloading github.com/vbatts/tar-split v0.11.6
go: downloading github.com/moby/docker-image-spec v1.3.1
go: downloading go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.53.0
go: downloading go.opentelemetry.io/otel/trace v1.28.0
go: downloading github.com/containerd/log v0.1.0
go: downloading github.com/moby/patternmatcher v0.5.0
go: downloading go.opentelemetry.io/otel v1.28.0
go: downloading github.com/mattn/go-sqlite3 v1.14.24
go: downloading github.com/go-jose/go-jose/v4 v4.0.4
go: downloading google.golang.org/grpc v1.67.0
go: downloading go.mozilla.org/pkcs7 v0.0.0-20210826202110-33d05740a352
go: downloading github.com/miekg/pkcs11 v1.1.1
go: downloading github.com/stefanberger/go-pkcs11uri v0.0.0-20230803200340-78284954bff6
go: downloading github.com/rivo/uniseg v0.4.7
go: downloading github.com/json-iterator/go v1.1.12
go: downloading github.com/moby/sys/capability v0.3.0
go: downloading golang.org/x/net v0.33.0
go: downloading github.com/felixge/httpsnoop v1.0.4
go: downloading go.opentelemetry.io/otel/metric v1.28.0
go: downloading github.com/go-openapi/errors v0.22.0
go: downloading github.com/go-openapi/runtime v0.28.0
go: downloading github.com/go-openapi/strfmt v0.23.0
go: downloading github.com/go-openapi/swag v0.23.0
go: downloading github.com/go-openapi/validate v0.24.0
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/modern-go/reflect2 v1.0.2
go: downloading github.com/gogo/protobuf v1.3.2
go: downloading github.com/go-logr/logr v1.4.2
go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2
go: downloading github.com/mitchellh/mapstructure v1.5.0
go: downloading github.com/oklog/ulid v1.3.1
go: downloading go.mongodb.org/mongo-driver v1.14.0
go: downloading github.com/mailru/easyjson v0.7.7
go: downloading github.com/go-logr/stdr v1.2.2
go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1
go: downloading github.com/go-openapi/analysis v0.23.0
go: downloading github.com/go-openapi/jsonpointer v0.21.0
go: downloading github.com/go-openapi/loads v0.22.0
go: downloading github.com/go-openapi/spec v0.21.0
go: downloading github.com/josharian/intern v1.0.0
go: downloading github.com/go-openapi/jsonreference v0.21.0
 GEN GO DEP /build/apptainer/src/apptainer/builddir/starter.deps
cd /build/apptainer/src/apptainer && ./makeit/gengodep -v3 "/usr/bin/go" "starter_SOURCE" "containers_image_openpgp sylog oci_engine apptainer_engine fakeroot_engine apparmor selinux seccomp libsubid" "/build/apptainer/src/apptainer/builddir/starter.deps" "/build/apptainer/src/apptainer/cmd/starter"
go: downloading github.com/containernetworking/cni v1.2.3
go: downloading github.com/containernetworking/plugins v1.5.1
go: downloading github.com/astromechza/etcpwdparse v0.0.0-20170319193008-f0e5f0779716
go: downloading github.com/safchain/ethtool v0.4.0
go: downloading github.com/coreos/go-iptables v0.7.0
go: downloading github.com/vishvananda/netlink v1.2.1-beta.2
go: downloading github.com/vishvananda/netns v0.0.4
 GEN /build/apptainer/src/apptainer/scripts/go-generate
cd /build/apptainer/src/apptainer && /usr/bin/go run -mod=readonly scripts/expand-env.go < /build/apptainer/src/apptainer/scripts/go-generate.in > /build/apptainer/src/apptainer/scripts/go-generate
chmod +x /build/apptainer/src/apptainer/scripts/go-generate
rm -f /build/apptainer/src/apptainer/internal/pkg/buildcfg/config.go
cd /build/apptainer/src/apptainer/internal/pkg/buildcfg && /build/apptainer/src/apptainer/scripts/go-generate
 GO /build/apptainer/src/apptainer/builddir/apptainer
    [+] GO_TAGS "containers_image_openpgp sylog oci_engine apptainer_engine fakeroot_engine apparmor selinux seccomp libsubid"
cd /build/apptainer/src/apptainer && /usr/bin/go build -mod=readonly -buildmode=pie -tags "containers_image_openpgp sylog oci_engine apptainer_engine fakeroot_engine apparmor selinux seccomp libsubid" -ldflags="-s -w" \
	-o /build/apptainer/src/apptainer/builddir/apptainer /build/apptainer/src/apptainer/cmd/apptainer
# github.com/apptainer/apptainer/cmd/apptainer
Erratum 835769 found and fixed at "/tmp/go-link-3357099974/000058.o", section 1, offset 0x00047a68.
Erratum 835769 found and fixed at "/tmp/go-link-3357099974/000058.o", section 1, offset 0x000c7bf0.
Erratum 835769 found and fixed at "/tmp/go-link-3357099974/000058.o", section 1, offset 0x000cb720.
Erratum 835769 found and fixed at "/tmp/go-link-3357099974/000058.o", section 1, offset 0x000cc220.
Erratum 835769 found and fixed at "/tmp/go-link-3357099974/000058.o", section 1, offset 0x000d8448.
Erratum 835769 found and fixed at "/tmp/go-link-3357099974/000058.o", section 1, offset 0x00047a68.
Erratum 835769 found and fixed at "/tmp/go-link-3357099974/000058.o", section 1, offset 0x000c7bf0.
Erratum 835769 found and fixed at "/tmp/go-link-3357099974/000058.o", section 1, offset 0x000cb720.
Erratum 835769 found and fixed at "/tmp/go-link-3357099974/000058.o", section 1, offset 0x000cc220.
Erratum 835769 found and fixed at "/tmp/go-link-3357099974/000058.o", section 1, offset 0x000d8448.
 GEN /build/apptainer/src/apptainer/builddir/bash-completion/completions/apptainer
rm -f /build/apptainer/src/apptainer/builddir/bash-completion/completions/apptainer
mkdir -p /build/apptainer/src/apptainer/builddir/bash-completion/completions
cd /build/apptainer/src/apptainer && /usr/bin/go run -mod=readonly -tags "containers_image_openpgp sylog oci_engine apptainer_engine fakeroot_engine apparmor selinux seccomp libsubid" \
	cmd/bash_completion/bash_completion.go /build/apptainer/src/apptainer/builddir/bash-completion/completions/apptainer
# github.com/opencontainers/runc/libcontainer/internal/userns
distcc[34436] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
# github.com/opencontainers/runc/libcontainer/internal/userns
distcc[34462] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
# command-line-arguments
Erratum 835769 found and fixed at "/tmp/go-link-757167080/000058.o", section 1, offset 0x00047a68.
Erratum 835769 found and fixed at "/tmp/go-link-757167080/000058.o", section 1, offset 0x000c7bf0.
Erratum 835769 found and fixed at "/tmp/go-link-757167080/000058.o", section 1, offset 0x000cb720.
Erratum 835769 found and fixed at "/tmp/go-link-757167080/000058.o", section 1, offset 0x000cc220.
Erratum 835769 found and fixed at "/tmp/go-link-757167080/000058.o", section 1, offset 0x000d8448.
Erratum 835769 found and fixed at "/tmp/go-link-757167080/000058.o", section 1, offset 0x00047a68.
Erratum 835769 found and fixed at "/tmp/go-link-757167080/000058.o", section 1, offset 0x000c7bf0.
Erratum 835769 found and fixed at "/tmp/go-link-757167080/000058.o", section 1, offset 0x000cb720.
Erratum 835769 found and fixed at "/tmp/go-link-757167080/000058.o", section 1, offset 0x000cc220.
Erratum 835769 found and fixed at "/tmp/go-link-757167080/000058.o", section 1, offset 0x000d8448.
 GEN /build/apptainer/src/apptainer/builddir/bash-completion/completions/singularity
rm -f /build/apptainer/src/apptainer/builddir/bash-completion/completions/singularity
mkdir -p /build/apptainer/src/apptainer/builddir/bash-completion/completions
cd /build/apptainer/src/apptainer && /usr/bin/go run -mod=readonly -tags "containers_image_openpgp sylog oci_engine apptainer_engine fakeroot_engine apparmor selinux seccomp libsubid" \
	cmd/bash_completion/bash_completion.go /build/apptainer/src/apptainer/builddir/bash-completion/completions/singularity
# github.com/opencontainers/runc/libcontainer/internal/userns
distcc[34436] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
# github.com/opencontainers/runc/libcontainer/internal/userns
distcc[34462] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
# command-line-arguments
Erratum 835769 found and fixed at "/tmp/go-link-757167080/000058.o", section 1, offset 0x00047a68.
Erratum 835769 found and fixed at "/tmp/go-link-757167080/000058.o", section 1, offset 0x000c7bf0.
Erratum 835769 found and fixed at "/tmp/go-link-757167080/000058.o", section 1, offset 0x000cb720.
Erratum 835769 found and fixed at "/tmp/go-link-757167080/000058.o", section 1, offset 0x000cc220.
Erratum 835769 found and fixed at "/tmp/go-link-757167080/000058.o", section 1, offset 0x000d8448.
Erratum 835769 found and fixed at "/tmp/go-link-757167080/000058.o", section 1, offset 0x00047a68.
Erratum 835769 found and fixed at "/tmp/go-link-757167080/000058.o", section 1, offset 0x000c7bf0.
Erratum 835769 found and fixed at "/tmp/go-link-757167080/000058.o", section 1, offset 0x000cb720.
Erratum 835769 found and fixed at "/tmp/go-link-757167080/000058.o", section 1, offset 0x000cc220.
Erratum 835769 found and fixed at "/tmp/go-link-757167080/000058.o", section 1, offset 0x000d8448.
 GEN /build/apptainer/src/apptainer/builddir/apptainer.conf from /etc/apptainer/apptainer.conf
/build/apptainer/src/apptainer/builddir/apptainer confgen /etc/apptainer/apptainer.conf /build/apptainer/src/apptainer/builddir/apptainer.conf
 MAN /build/apptainer/src/apptainer/builddir/usr/share/man/man1
mkdir -p /build/apptainer/src/apptainer/builddir/usr/share/man/man1
cd /build/apptainer/src/apptainer && /usr/bin/go run -mod=readonly -tags "containers_image_openpgp sylog oci_engine apptainer_engine fakeroot_engine apparmor selinux seccomp libsubid" \
	cmd/docs/docs.go man --dir /build/apptainer/src/apptainer/builddir/usr/share/man/man1
go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.6
go: downloading github.com/russross/blackfriday/v2 v2.1.0
# github.com/opencontainers/runc/libcontainer/internal/userns
distcc[34436] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
# github.com/opencontainers/runc/libcontainer/internal/userns
distcc[34462] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
# command-line-arguments
Erratum 835769 found and fixed at "/tmp/go-link-4112738341/000058.o", section 1, offset 0x00047a68.
Erratum 835769 found and fixed at "/tmp/go-link-4112738341/000058.o", section 1, offset 0x000c7bf0.
Erratum 835769 found and fixed at "/tmp/go-link-4112738341/000058.o", section 1, offset 0x000cb720.
Erratum 835769 found and fixed at "/tmp/go-link-4112738341/000058.o", section 1, offset 0x000cc220.
Erratum 835769 found and fixed at "/tmp/go-link-4112738341/000058.o", section 1, offset 0x000d8448.
Erratum 835769 found and fixed at "/tmp/go-link-4112738341/000058.o", section 1, offset 0x00047a68.
Erratum 835769 found and fixed at "/tmp/go-link-4112738341/000058.o", section 1, offset 0x000c7bf0.
Erratum 835769 found and fixed at "/tmp/go-link-4112738341/000058.o", section 1, offset 0x000cb720.
Erratum 835769 found and fixed at "/tmp/go-link-4112738341/000058.o", section 1, offset 0x000cc220.
Erratum 835769 found and fixed at "/tmp/go-link-4112738341/000058.o", section 1, offset 0x000d8448.
INFO:    Creating Apptainer man pages at /build/apptainer/src/apptainer/builddir/usr/share/man/man1
cd /build/apptainer/src/apptainer/builddir/usr/share/man/man1;							\
	for M in apptainer*; do					\
		S="`echo $M|sed 's/apptainer/singularity/'`";	\
		ln -fs $M $S;					\
	done
umask 0022 && mkdir -p /build/apptainer/src/apptainer/builddir/cni
cd /build/apptainer/src/apptainer && for p in github.com/containernetworking/plugins/plugins/ipam/dhcp github.com/containernetworking/plugins/plugins/ipam/host-local github.com/containernetworking/plugins/plugins/ipam/static github.com/containernetworking/plugins/plugins/main/bridge github.com/containernetworking/plugins/plugins/main/host-device github.com/containernetworking/plugins/plugins/main/ipvlan github.com/containernetworking/plugins/plugins/main/loopback github.com/containernetworking/plugins/plugins/main/macvlan github.com/containernetworking/plugins/plugins/main/ptp github.com/containernetworking/plugins/plugins/main/vlan github.com/containernetworking/plugins/plugins/meta/bandwidth github.com/containernetworking/plugins/plugins/meta/firewall github.com/containernetworking/plugins/plugins/meta/portmap github.com/containernetworking/plugins/plugins/meta/sbr github.com/containernetworking/plugins/plugins/meta/tuning github.com/containernetworking/plugins/plugins/meta/vrf; do \
	name=`basename $p`; \
	cniplugin=/build/apptainer/src/apptainer/builddir/cni/$name; \
	if [ ! -f $cniplugin ]; then \
		echo " CNI PLUGIN" $name; \
	/usr/bin/go build -mod=readonly -buildmode=pie -tags "containers_image_openpgp sylog oci_engine apptainer_engine fakeroot_engine apparmor selinux seccomp libsubid" -ldflags="-s -w" \
		-o $cniplugin $p; \
	fi \
done
 CNI PLUGIN dhcp
go: downloading github.com/d2g/dhcp4client v1.0.0
go: downloading github.com/d2g/dhcp4 v0.0.0-20170904100407-a1d1b6c41b1c
 CNI PLUGIN host-local
go: downloading github.com/alexflint/go-filemutex v1.3.0
 CNI PLUGIN static
 CNI PLUGIN bridge
go: downloading github.com/networkplumbing/go-nft v0.4.0
 CNI PLUGIN host-device
 CNI PLUGIN ipvlan
 CNI PLUGIN loopback
 CNI PLUGIN macvlan
 CNI PLUGIN ptp
 CNI PLUGIN vlan
 CNI PLUGIN bandwidth
 CNI PLUGIN firewall
 CNI PLUGIN portmap
go: downloading github.com/mattn/go-shellwords v1.0.12
 CNI PLUGIN sbr
 CNI PLUGIN tuning
 CNI PLUGIN vrf
 GO clean -cache
/usr/bin/go clean -cache 2>/dev/null
touch /build/apptainer/src/apptainer/builddir/.clean-starter
 GO /build/apptainer/src/apptainer/builddir/cmd/starter/c/starter
cd /build/apptainer/src/apptainer && /usr/bin/go build -mod=readonly -buildmode=pie -tags "containers_image_openpgp sylog oci_engine apptainer_engine fakeroot_engine apparmor selinux seccomp libsubid" -ldflags="-s -w" \
	-o /build/apptainer/src/apptainer/builddir/cmd/starter/c/starter cmd/starter/main_linux.go
 CC /build/apptainer/src/apptainer/builddir/offsetpreload.so
cc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -Wformat -Wformat-security -fstack-protector --param ssp-buffer-size=4 -Wall -Werror -Wfatal-errors -Wno-unknown-warning-option -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Woverlength-strings -Wframe-larger-than=2047 -Wno-sign-compare -Wclobbered -Wempty-body -Wmissing-parameter-type -Wtype-limits -Wunused-parameter -Wunused-but-set-parameter -Wno-discarded-qualifiers -Wno-incompatible-pointer-types -pipe -fmessage-length=0 -fPIC -O2 -shared -o /build/apptainer/src/apptainer/builddir/offsetpreload.so /build/apptainer/src/apptainer/tools/offsetpreload.c -ldl
 GEN /build/apptainer/src/apptainer/scripts/go-test
cd /build/apptainer/src/apptainer && /usr/bin/go run -mod=readonly scripts/expand-env.go < /build/apptainer/src/apptainer/scripts/go-test.in > /build/apptainer/src/apptainer/scripts/go-test
chmod +x /build/apptainer/src/apptainer/scripts/go-test
make: Leaving directory '/build/apptainer/src/apptainer/builddir'
==> Entering fakeroot environment...
==> Starting package()...
make: Entering directory '/build/apptainer/src/apptainer/builddir'
 INSTALL /build/apptainer/pkg/apptainer/usr/bin/apptainer
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/usr/bin
install -m 0755 /build/apptainer/src/apptainer/builddir/apptainer /build/apptainer/pkg/apptainer/usr/bin/apptainer # set cp to install
 INSTALL /build/apptainer/pkg/apptainer/usr/bin/singularity
ln -sf apptainer /build/apptainer/pkg/apptainer/usr/bin/singularity
 INSTALL /build/apptainer/pkg/apptainer/usr/share/bash-completion/completions/apptainer
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/usr/share/bash-completion/completions
install -m 0644 /build/apptainer/src/apptainer/builddir/bash-completion/completions/apptainer /build/apptainer/pkg/apptainer/usr/share/bash-completion/completions/apptainer
 INSTALL /build/apptainer/pkg/apptainer/usr/share/bash-completion/completions/singularity
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/usr/share/bash-completion/completions
install -m 0644 /build/apptainer/src/apptainer/builddir/bash-completion/completions/singularity /build/apptainer/pkg/apptainer/usr/share/bash-completion/completions/singularity
 INSTALL /build/apptainer/pkg/apptainer/etc/apptainer/apptainer.conf
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/etc/apptainer
install -m 0644 /build/apptainer/src/apptainer/builddir/apptainer.conf /build/apptainer/pkg/apptainer/etc/apptainer/apptainer.conf
 INSTALL /build/apptainer/pkg/apptainer/etc/apptainer/remote.yaml
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/etc/apptainer
install -m 0644 /build/apptainer/src/apptainer/etc/remote.yaml /build/apptainer/pkg/apptainer/etc/apptainer/remote.yaml
 INSTALL /build/apptainer/pkg/apptainer/usr/share/man/man1
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/usr/share/man/man1
install -m 0644 -t /build/apptainer/pkg/apptainer/usr/share/man/man1 /build/apptainer/src/apptainer/builddir/usr/share/man/man1/*
 INSTALL CNI PLUGIN /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni/dhcp
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni
install -m 0755 /build/apptainer/src/apptainer/builddir/cni/dhcp /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni/dhcp
 INSTALL CNI PLUGIN /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni/host-local
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni
install -m 0755 /build/apptainer/src/apptainer/builddir/cni/host-local /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni/host-local
 INSTALL CNI PLUGIN /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni/static
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni
install -m 0755 /build/apptainer/src/apptainer/builddir/cni/static /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni/static
 INSTALL CNI PLUGIN /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni/bridge
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni
install -m 0755 /build/apptainer/src/apptainer/builddir/cni/bridge /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni/bridge
 INSTALL CNI PLUGIN /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni/host-device
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni
install -m 0755 /build/apptainer/src/apptainer/builddir/cni/host-device /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni/host-device
 INSTALL CNI PLUGIN /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni/ipvlan
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni
install -m 0755 /build/apptainer/src/apptainer/builddir/cni/ipvlan /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni/ipvlan
 INSTALL CNI PLUGIN /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni/loopback
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni
install -m 0755 /build/apptainer/src/apptainer/builddir/cni/loopback /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni/loopback
 INSTALL CNI PLUGIN /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni/macvlan
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni
install -m 0755 /build/apptainer/src/apptainer/builddir/cni/macvlan /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni/macvlan
 INSTALL CNI PLUGIN /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni/ptp
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni
install -m 0755 /build/apptainer/src/apptainer/builddir/cni/ptp /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni/ptp
 INSTALL CNI PLUGIN /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni/vlan
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni
install -m 0755 /build/apptainer/src/apptainer/builddir/cni/vlan /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni/vlan
 INSTALL CNI PLUGIN /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni/bandwidth
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni
install -m 0755 /build/apptainer/src/apptainer/builddir/cni/bandwidth /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni/bandwidth
 INSTALL CNI PLUGIN /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni/firewall
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni
install -m 0755 /build/apptainer/src/apptainer/builddir/cni/firewall /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni/firewall
 INSTALL CNI PLUGIN /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni/portmap
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni
install -m 0755 /build/apptainer/src/apptainer/builddir/cni/portmap /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni/portmap
 INSTALL CNI PLUGIN /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni/sbr
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni
install -m 0755 /build/apptainer/src/apptainer/builddir/cni/sbr /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni/sbr
 INSTALL CNI PLUGIN /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni/tuning
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni
install -m 0755 /build/apptainer/src/apptainer/builddir/cni/tuning /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni/tuning
 INSTALL CNI PLUGIN /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni/vrf
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni
install -m 0755 /build/apptainer/src/apptainer/builddir/cni/vrf /build/apptainer/pkg/apptainer/usr/lib/apptainer/cni/vrf
 INSTALL CNI CONFIGURATION FILES
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/etc/apptainer/network
install -m 0644 /build/apptainer/src/apptainer/etc/network/00_bridge.conflist /build/apptainer/src/apptainer/etc/network/10_ptp.conflist /build/apptainer/src/apptainer/etc/network/20_ipvlan.conflist /build/apptainer/src/apptainer/etc/network/30_macvlan.conflist /build/apptainer/src/apptainer/etc/network/40_fakeroot.conflist /build/apptainer/pkg/apptainer/etc/apptainer/network
 INSTALL /build/apptainer/pkg/apptainer/usr/lib/apptainer/bin/starter
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/usr/lib/apptainer/bin
install -m 0755 /build/apptainer/src/apptainer/builddir/cmd/starter/c/starter /build/apptainer/pkg/apptainer/usr/lib/apptainer/bin/starter
 INSTALL /build/apptainer/pkg/apptainer/usr/lib/apptainer/lib/offsetpreload.so
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/usr/lib/apptainer/lib
install -m 0755 /build/apptainer/src/apptainer/builddir/offsetpreload.so /build/apptainer/pkg/apptainer/usr/lib/apptainer/lib/offsetpreload.so
 INSTALL /build/apptainer/pkg/apptainer/var/lib/apptainer/mnt/session
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/var/lib/apptainer/mnt/session
 INSTALL /build/apptainer/pkg/apptainer/usr/bin/run-singularity
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/usr/bin
install -m 0755 /build/apptainer/src/apptainer/scripts/run-singularity /build/apptainer/pkg/apptainer/usr/bin/run-singularity
 INSTALL /build/apptainer/pkg/apptainer/etc/apptainer/capability.json
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/etc/apptainer
touch /build/apptainer/pkg/apptainer/etc/apptainer/capability.json
 INSTALL /build/apptainer/pkg/apptainer/etc/apptainer/ecl.toml
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/etc/apptainer
install -m 0644 /build/apptainer/src/apptainer/internal/pkg/syecl/syecl.toml.example /build/apptainer/pkg/apptainer/etc/apptainer/ecl.toml
 INSTALL /build/apptainer/pkg/apptainer/etc/apptainer/seccomp-profiles/default.json
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/etc/apptainer/seccomp-profiles
install -m 0644 /build/apptainer/src/apptainer/etc/seccomp-profiles/default.json /build/apptainer/pkg/apptainer/etc/apptainer/seccomp-profiles/default.json
 INSTALL /build/apptainer/pkg/apptainer/etc/apptainer/nvliblist.conf
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/etc/apptainer
install -m 0644 /build/apptainer/src/apptainer/etc/nvliblist.conf /build/apptainer/pkg/apptainer/etc/apptainer/nvliblist.conf
 INSTALL /build/apptainer/pkg/apptainer/etc/apptainer/rocmliblist.conf
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/etc/apptainer
install -m 0644 /build/apptainer/src/apptainer/etc/rocmliblist.conf /build/apptainer/pkg/apptainer/etc/apptainer/rocmliblist.conf
 INSTALL /build/apptainer/pkg/apptainer/etc/apptainer/cgroups/cgroups.toml
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/etc/apptainer/cgroups
install -m 0644 /build/apptainer/src/apptainer/internal/pkg/cgroups/example/cgroups.toml /build/apptainer/pkg/apptainer/etc/apptainer/cgroups/cgroups.toml
 INSTALL /build/apptainer/pkg/apptainer/etc/apptainer/global-pgp-public
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/etc/apptainer
install -m 0644 /build/apptainer/src/apptainer/etc/global-pgp-public /build/apptainer/pkg/apptainer/etc/apptainer/global-pgp-public
 INSTALL /build/apptainer/pkg/apptainer/etc/apptainer/dmtcp-conf.yaml
umask 0022 && mkdir -p /build/apptainer/pkg/apptainer/etc/apptainer
install -m 0644 /build/apptainer/src/apptainer/etc/dmtcp-conf.yaml /build/apptainer/pkg/apptainer/etc/apptainer/dmtcp-conf.yaml
 DONE
make: Leaving directory '/build/apptainer/src/apptainer/builddir'
install: creating directory '/build/apptainer/pkg/apptainer/usr/share/licenses'
install: creating directory '/build/apptainer/pkg/apptainer/usr/share/licenses/apptainer'
'LICENSE.md' -> '/build/apptainer/pkg/apptainer/usr/share/licenses/apptainer/LICENSE.md'
'LICENSE_DEPENDENCIES.md' -> '/build/apptainer/pkg/apptainer/usr/share/licenses/apptainer/LICENSE_DEPENDENCIES.md'
'LICENSE_THIRD_PARTY.md' -> '/build/apptainer/pkg/apptainer/usr/share/licenses/apptainer/LICENSE_THIRD_PARTY.md'
install: creating directory '/build/apptainer/pkg/apptainer/usr/share/doc'
install: creating directory '/build/apptainer/pkg/apptainer/usr/share/doc/apptainer'
'README.md' -> '/build/apptainer/pkg/apptainer/usr/share/doc/apptainer/README.md'
install: creating directory '/build/apptainer/pkg/apptainer/usr/lib/tmpfiles.d'
'/build/apptainer/src/tmpfiles.conf' -> '/build/apptainer/pkg/apptainer/usr/lib/tmpfiles.d/apptainer.conf'
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> WARNING: Package contains reference to $srcdir
usr/bin/apptainer
==> Creating package "apptainer"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: apptainer 1.4.1-1 (Sun Jun 29 22:56:45 2025)
==> Cleaning up...