* Package: app-containers/apptainer-1.0.3:0 * Repository: gentoo * Maintainer: marecki@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux network suid userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 5.19.9-gentoo-dist * Checking for suitable kernel configuration options ... [ ok ] >>> Unpacking source... >>> Unpacking apptainer-1.0.3.tar.gz to /var/tmp/portage/app-containers/apptainer-1.0.3/work >>> Source unpacked in /var/tmp/portage/app-containers/apptainer-1.0.3/work >>> Preparing source in /var/tmp/portage/app-containers/apptainer-1.0.3/work/apptainer-1.0.3 ... * Applying apptainer-1.0.2-trim_upstream_cflags.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-containers/apptainer-1.0.3/work/apptainer-1.0.3 ... Configuring for project `apptainer' with languages: C, Golang => running pre-basechecks project specific checks ... => running base system checks ... checking: host C compiler... clang checking: host C++ compiler... clang++ checking: host Go compiler (at least version 1.16.12)... /usr/bin/go checking: host C compiler option -Wall... no checking: host C compiler option -Wfatal-errors... no checking: host C compiler option -Wno-unknown-warning-option... no checking: host C compiler option -Wstrict-prototypes... no checking: host C compiler option -Wpointer-arith... no checking: host C compiler option -Wbad-function-cast... no checking: host C compiler option -Woverlength-strings... no checking: host C compiler option -Wframe-larger-than=2047... no checking: host C compiler option -Wno-sign-compare... no checking: host C compiler option -Wclobbered... no checking: host C compiler option -Wempty-body... no checking: host C compiler option -Wmissing-parameter-type... no checking: host C compiler option -Wtype-limits... no checking: host C compiler option -Wunused-parameter... no checking: host C compiler option -Wunused-but-set-parameter... no checking: host C compiler option -Wno-discarded-qualifiers... no checking: host C compiler option -Wno-incompatible-pointer-types... no checking: host C compiler option -pipe... no checking: host C compiler option -fmessage-length=0... no checking: host C compiler option -fPIC... no checking: host `ar' path... /usr/bin/ar checking: host `ld' path... /usr/bin/ld checking: host `ranlib' path... /usr/bin/ranlib checking: host `objcopy' path... /usr/bin/objcopy checking: target C compiler... clang checking: target C++ compiler... clang++ checking: target `ar' path... /usr/bin/ar checking: target `ld' path... /usr/bin/ld checking: target `ranlib' path... /usr/bin/ranlib checking: target `objcopy' path... /usr/bin/objcopy checking: host compiles static binaries... yes checking: target compiles static binaries... yes checking: host os type... unix checking: host architecture... x86_64 checking: target architecture... x86_64 checking: host architecture word size... 64 checking: target architecture word size... 64 checking: project version... 1.0.3 checking: project short version... 1.0.3 => 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 Finding paths to external executables. These paths are written into apptainer.conf and can be overridden there. checking: cryptsetup... yes (/sbin/cryptsetup) checking: go... yes (/usr/bin/go) checking: ldconfig... yes (/sbin/ldconfig) checking: mksquashfs... yes (/usr/bin/mksquashfs) checking: nvidia-container-cli... no checking: unsquashfs... yes (/usr/bin/unsquashfs) => generating fragments ... => building Makefile ... => generating apptainer.spec ... => project apptainer setup with : - host arch: x86_64 - host wordsize: 64-bit - host C compiler: clang - host Go compiler: /usr/bin/go - host system: unix --- - target arch: x86_64 - target wordsize: 64-bit - target C compiler: clang --- - config profile: release --- - SUID install: yes - Network plugins: yes --- - verbose: yes --- - cryptsetup: /sbin/cryptsetup --- - version: 1.0.3 => /var/tmp/portage/app-containers/apptainer-1.0.3/work/apptainer-1.0.3/builddir/Makefile ready, try: $ cd /var/tmp/portage/app-containers/apptainer-1.0.3/work/apptainer-1.0.3/builddir $ make >>> Source configured. '/var/tmp/portage/app-containers/apptainer-1.0.3/temp/clang14.log' -> '/var/tmp/clang/app-containers/apptainer-1.0.3/clang14.log' '/var/tmp/portage/app-containers/apptainer-1.0.3/temp/clang15.log' -> '/var/tmp/clang/app-containers/apptainer-1.0.3/clang15.log' >>> Compiling source in /var/tmp/portage/app-containers/apptainer-1.0.3/work/apptainer-1.0.3 ... make -j4 -C builddir make: Entering directory '/var/tmp/portage/app-containers/apptainer-1.0.3/work/apptainer-1.0.3/builddir' GEN GO DEP /var/tmp/portage/app-containers/apptainer-1.0.3/work/apptainer-1.0.3/builddir/singularity.d /var/tmp/portage/app-containers/apptainer-1.0.3/work/apptainer-1.0.3/makeit/gengodep -v3 "/usr/bin/go" "apptainer_SOURCE" "containers_image_openpgp sylog oci_engine apptainer_engine fakeroot_engine apparmor selinux seccomp" "/var/tmp/portage/app-containers/apptainer-1.0.3/work/apptainer-1.0.3/builddir/singularity.d" "/var/tmp/portage/app-containers/apptainer-1.0.3/work/apptainer-1.0.3/cmd/apptainer" GEN GO DEP /var/tmp/portage/app-containers/apptainer-1.0.3/work/apptainer-1.0.3/builddir/starter.d /var/tmp/portage/app-containers/apptainer-1.0.3/work/apptainer-1.0.3/makeit/gengodep -v3 "/usr/bin/go" "starter_SOURCE" "containers_image_openpgp sylog oci_engine apptainer_engine fakeroot_engine apparmor selinux seccomp" "/var/tmp/portage/app-containers/apptainer-1.0.3/work/apptainer-1.0.3/builddir/starter.d" "/var/tmp/portage/app-containers/apptainer-1.0.3/work/apptainer-1.0.3/cmd/starter" GEN /var/tmp/portage/app-containers/apptainer-1.0.3/work/apptainer-1.0.3/scripts/go-generate /usr/bin/go run -mod=vendor /var/tmp/portage/app-containers/apptainer-1.0.3/work/apptainer-1.0.3/scripts/expand-env.go < /var/tmp/portage/app-containers/apptainer-1.0.3/work/apptainer-1.0.3/scripts/go-generate.in > /var/tmp/portage/app-containers/apptainer-1.0.3/work/apptainer-1.0.3/scripts/go-generate chmod +x /var/tmp/portage/app-containers/apptainer-1.0.3/work/apptainer-1.0.3/scripts/go-generate rm -f /var/tmp/portage/app-containers/apptainer-1.0.3/work/apptainer-1.0.3/internal/pkg/buildcfg/config.go cd /var/tmp/portage/app-containers/apptainer-1.0.3/work/apptainer-1.0.3/internal/pkg/buildcfg && /var/tmp/portage/app-containers/apptainer-1.0.3/work/apptainer-1.0.3/scripts/go-generate GO apptainer [+] GO_TAGS "containers_image_openpgp sylog oci_engine apptainer_engine fakeroot_engine apparmor selinux seccomp" /usr/bin/go build -mod=vendor -buildmode=pie -tags "containers_image_openpgp sylog oci_engine apptainer_engine fakeroot_engine apparmor selinux seccomp" -ldflags="-B 0x`head -c20 /dev/urandom|od -An -tx1|tr -d ' \n'`" -gcflags=github.com/apptainer/apptainer/...="-trimpath /var/tmp/portage/app-containers/apptainer-1.0.3/work/apptainer-1.0.3=>github.com/apptainer/apptainer@v0.0.0" -asmflags=github.com/apptainer/apptainer/...="-trimpath /var/tmp/portage/app-containers/apptainer-1.0.3/work/apptainer-1.0.3=>github.com/apptainer/apptainer@v0.0.0" \ -o ./apptainer /var/tmp/portage/app-containers/apptainer-1.0.3/work/apptainer-1.0.3/cmd/apptainer # github.com/seccomp/libseccomp-golang ../vendor/github.com/seccomp/libseccomp-golang/seccomp_internal.go:619:7: duplicate case (_Ciconst_C_ACT_KILL_THREAD) (constant 0 of type C.uint) in expression switch ../vendor/github.com/seccomp/libseccomp-golang/seccomp_internal.go:615:7: previous case make: *** [Makefile:183: apptainer] Error 2 make: Leaving directory '/var/tmp/portage/app-containers/apptainer-1.0.3/work/apptainer-1.0.3/builddir' * ERROR: app-containers/apptainer-1.0.3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-containers/apptainer-1.0.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-containers/apptainer-1.0.3::gentoo'`. * The complete build log is located at '/var/log/portage/app-containers:apptainer-1.0.3:20220918-134631.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-containers/apptainer-1.0.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-containers/apptainer-1.0.3/temp/environment'. * Working directory: '/var/tmp/portage/app-containers/apptainer-1.0.3/work/apptainer-1.0.3' * S: '/var/tmp/portage/app-containers/apptainer-1.0.3/work/apptainer-1.0.3'