frank0x01 n00b
Joined: 06 Apr 2023 Posts: 8
|
Posted: Thu Sep 05, 2024 6:33 pm Post subject: Unable to compile app-containers/containerd-1.7.21 |
|
|
Hi all,
I'm using a BananaPi R2 and have docker installed. The latest versions will not compile due to an error during compile phase of containerd. It is not entirely clear to me what the error exactly is and what to do to resolve it.
emerge --info '=app-containers/containerd-1.7.21::gentoo'
Quote: |
Portage 3.0.65 (python 3.12.3-final-0, default/linux/arm/23.0/split-usr/armv7a_sf, gcc-13, glibc-2.39-r6, 5.4.150-bpi-r2+ armv7l)
=================================================================
System Settings
=================================================================
System uname: Linux-5.4.150-bpi-r2+-armv7l-ARMv7_Processor_rev_3_-v7l-with-glibc2.39
KiB Mem: 2059936 total, 1106960 free
KiB Swap: 12582908 total, 12514044 free
Timestamp of repository gentoo: Thu, 05 Sep 2024 03:00:00 +0000
Head commit of repository gentoo: fb2de69bb488f826e2f8da97e7934e4f8a5106a5
sh bash 5.2_p26-r6
ld GNU ld (Gentoo 2.41 p5) 2.41.0
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.2_p26-r6::gentoo
dev-build/autoconf: 2.71-r7::gentoo
dev-build/automake: 1.16.5-r2::gentoo
dev-build/cmake: 3.30.2::gentoo
dev-build/libtool: 2.4.7-r4::gentoo
dev-build/make: 4.4.1-r1::gentoo
dev-build/meson: 1.5.1::gentoo
dev-lang/perl: 5.38.2-r3::gentoo
dev-lang/python: 3.12.3-r1::gentoo
sys-apps/baselayout: 2.15::gentoo
sys-apps/openrc: 0.54.2::gentoo
sys-apps/sandbox: 2.38::gentoo
sys-devel/binutils: 2.41-r5::gentoo, 2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc: 13.3.1_p20240614::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.39-r6::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: False
sync-rsync-verify-max-age: 24
sync-rsync-verify-metamanifest: yes
sync-rsync-extra-opts:
sync-rsync-verify-jobs: 1
ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="@FREE @FREE"
Portage 3.0.65 (python 3.12.3-final-0, default/linux/arm/23.0/split-usr/armv7a_sf, gcc-13, glibc-2.39-r6, 5.4.150-bpi-r2+ armv7l)
=================================================================
System Settings
=================================================================
System uname: Linux-5.4.150-bpi-r2+-armv7l-ARMv7_Processor_rev_3_-v7l-with-glibc2.39
KiB Mem: 2059936 total, 1106960 free
KiB Swap: 12582908 total, 12514044 free
Timestamp of repository gentoo: Thu, 05 Sep 2024 03:00:00 +0000
Head commit of repository gentoo: fb2de69bb488f826e2f8da97e7934e4f8a5106a5
sh bash 5.2_p26-r6
ld GNU ld (Gentoo 2.41 p5) 2.41.0
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.2_p26-r6::gentoo
dev-build/autoconf: 2.71-r7::gentoo
dev-build/automake: 1.16.5-r2::gentoo
dev-build/cmake: 3.30.2::gentoo
dev-build/libtool: 2.4.7-r4::gentoo
dev-build/make: 4.4.1-r1::gentoo
dev-build/meson: 1.5.1::gentoo
dev-lang/perl: 5.38.2-r3::gentoo
dev-lang/python: 3.12.3-r1::gentoo
sys-apps/baselayout: 2.15::gentoo
sys-apps/openrc: 0.54.2::gentoo
sys-apps/sandbox: 2.38::gentoo
sys-devel/binutils: 2.41-r5::gentoo, 2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc: 13.3.1_p20240614::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.39-r6::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: False
sync-rsync-verify-max-age: 24
sync-rsync-verify-metamanifest: yes
sync-rsync-extra-opts:
sync-rsync-verify-jobs: 1
ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="@FREE @FREE"
CBUILD="armv7a-softfp-linux-gnueabi"
CFLAGS="-O2 -pipe -march=armv7-a"
CHOST="armv7a-softfp-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
|
/var/tmp/portage/app-containers/containerd-1.7.21/temp/build.log
Quote: |
* Package: app-containers/containerd-1.7.21:0
* Repository: gentoo
* Maintainer: williamh@gentoo.org
* USE: arm cri elibc_glibc kernel_linux seccomp
* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
+ bin/gen-manpages
go build -gcflags=-trimpath=/var/tmp/portage/app-containers/containerd-1.7.21/homedir/go/src -buildmode=pie -o bin/gen-manpages -ldflags '-X github.com/containerd/containerd/version.Version=v1.7.21 -X github.com/containerd/containerd/version.Revision=472731909fa34bd7bc9c087e4c27943f9835f111 -X github.com/containerd/containerd/version.Package=github.com/containerd/containerd ' -tags "no_btrfs no_devmapper seccomp " ./cmd/gen-manpages
WORK=/var/tmp/portage/app-containers/containerd-1.7.21/temp/go-build3596078523
internal/unsafeheader
mkdir -p $WORK/b009/
echo '# import config' > $WORK/b009/importcfg # internal
cd /var/tmp/portage/app-containers/containerd-1.7.21/work/containerd-1.7.21
/usr/lib/go/pkg/tool/linux_arm/compile -o $WORK/b009/_pkg_.a -trimpath "$WORK/b009=>" -p internal/unsafeheader -std -complete -installsuffix shared -buildid DDP6p0IIq-GB0I_9FSeF/DDP6p0IIq-GB0I_9FSeF -goversion go1.22.6 -c=4 -shared -nolocalimports -importcfg $WORK/b009/importcfg -pack /usr/lib/go/src/internal/unsafeheader/unsafeheader.go
encoding
mkdir -p $WORK/b003/
echo '# import config' > $WORK/b003/importcfg # internal
/usr/lib/go/pkg/tool/linux_arm/compile -o $WORK/b003/_pkg_.a -trimpath "$WORK/b003=>" -p encoding -std -complete -installsuffix shared -buildid CoHmi7ipsYndwpwYobxD/CoHmi7ipsYndwpwYobxD -goversion go1.22.6 -c=4 -shared -nolocalimports -importcfg $WORK/b003/importcfg -pack /usr/lib/go/src/encoding/encoding.go
internal/goarch
mkdir -p $WORK/b007/
echo '# import config' > $WORK/b007/importcfg # internal
/usr/lib/go/pkg/tool/linux_arm/compile -o $WORK/b007/_pkg_.a -trimpath "$WORK/b007=>" -p internal/goarch -std -complete -installsuffix shared -buildid 5PR9syabPxgUZEnWhGf3/5PR9syabPxgUZEnWhGf3 -goversion go1.22.6 -c=4 -shared -nolocalimports -importcfg $WORK/b007/importcfg -pack /usr/lib/go/src/internal/goarch/goarch.go /usr/lib/go/src/internal/goarch/goarch_arm.go /usr/lib/go/src/internal/goarch/zgoarch_arm.go
internal/cpu
mkdir -p $WORK/b012/
echo -n > $WORK/b012/go_asm.h # internal
cd /usr/lib/go/src/internal/cpu
/usr/lib/go/pkg/tool/linux_arm/asm -p internal/cpu -trimpath "$WORK/b012=>" -I $WORK/b012/ -I /usr/lib/go/pkg/include -D GOOS_linux -D GOARCH_arm -shared -D GOARM_7 -D GOARM_6 -D GOARM_5 -gensymabis -o $WORK/b012/symabis ./cpu.s
/usr/lib/go/pkg/tool/linux_arm/buildid -w $WORK/b009/_pkg_.a # internal
cp $WORK/b009/_pkg_.a /var/tmp/portage/app-containers/containerd-1.7.21/temp/go-build/cf/cf3d6abb837d4cb1e9d14203a9a15dbb18cdfd82a281ca517337603c501fbe0b-d # internal
internal/coverage/rtcov
mkdir -p $WORK/b014/
echo '# import config' > $WORK/b014/importcfg # internal
cd /var/tmp/portage/app-containers/containerd-1.7.21/work/containerd-1.7.21
/usr/lib/go/pkg/tool/linux_arm/compile -o $WORK/b014/_pkg_.a -trimpath "$WORK/b014=>" -p internal/cove
rage/rtcov -std -complete -installsuffix shared -buildid aBODyBKRsnDal-VJphdJ/aBODyBKRsnDal-VJphdJ -goversion go1.22.6 -c=4 -shared -nolocalimports -importcfg $WORK/b014/importcfg -pack /usr/lib/go/src/internal/coverage/rtcov/rtcov.go
echo '# import config' > $WORK/b012/importcfg # internal
/usr/lib/go/pkg/tool/linux_arm/compile -o $WORK/b012/_pkg_.a -trimpath "$WORK/b012=>" -p internal/cpu -std -installsuffix shared -buildid aWrakF1RiPvYlpQx8RCG/aWrakF1RiPvYlpQx8RCG -goversion go1.22.6 -symabis $WORK/b012/symabis -c=4 -shared -nolocalimports -importcfg $WORK/b012/importcfg -pack -asmhdr $WORK/b012/go_asm.h /usr/lib/go/src/internal/cpu/cpu.go /usr/lib/go/src/internal/cpu/cpu_arm.go /usr/lib/go/src/internal/cpu/cpu_no_name.go
/usr/lib/go/pkg/tool/linux_arm/buildid -w $WORK/b007/_pkg_.a # internal
cp $WORK/b007/_pkg_.a /var/tmp/portage/app-containers/containerd-1.7.21/temp/go-build/01/01a8b794aeb676f90f9b9f40a58c7dc43d60437d46b7cbccd6e0d9e9acf87183-d # internal
/usr/lib/go/pkg/tool/linux_arm/buildid -w $WORK/b003/_pkg_.a # internal
internal/abi
mkdir -p $WORK/b006/
cp $WORK/b003/_pkg_.a /var/tmp/portage/app-containers/containerd-1.7.21/temp/go-build/6c/6c79f34effae324649a8ee6a26f107f63cd8c3d225026893858af944e8440e72-d # internal
echo -n > $WORK/b006/go_asm.h # internal
cd /usr/lib/go/src/internal/abi
/usr/lib/go/pkg/tool/linux_arm/asm -p internal/abi -trimpath "$WORK/b006=>" -I $WORK/b006/ -I /usr/lib/go/pkg/include -D GOOS_linux -D GOARCH_arm -shared -D GOARM_7 -D GOARM_6 -D GOARM_5 -gensymabis -o $WORK/b006/symabis ./abi_test.s ./stub.s
internal/chacha8rand
mkdir -p $WORK/b013/
echo -n > $WORK/b013/go_asm.h # internal
cd /usr/lib/go/src/internal/chacha8rand
/usr/lib/go/pkg/tool/linux_arm/asm -p internal/chacha8rand -trimpath "$WORK/b013=>" -I $WORK/b013/ -I /usr/lib/go/pkg/include -D GOOS_linux -D GOARCH_arm -shared -D GOARM_7 -D GOARM_6 -D GOARM_5 -gensymabis -o $WORK/b013/symabis ./chacha8_stub.s
/usr/lib/go/pkg/tool/linux_arm/buildid -w $WORK/b014/_pkg_.a # internal
cp $WORK/b014/_pkg_.a /var/tmp/portage/app-containers/containerd-1.7.21/temp/go-build/73/73c14800c0e4faf15f7ccaf6ba2f9f67a87da79f309494c0158de9060e5fca7a-d # internal
internal/godebugs
mkdir -p $WORK/b015/
echo '# import config' > $WORK/b015/importcfg # internal
cd /var/tmp/portage/app-containers/containerd-1.7.21/work/containerd-1.7.21
/usr/lib/go/pkg/tool/linux_arm/compile -o $WORK/b015/_pkg_.a -trimpath "$WORK/b015=>" -p internal/godebugs -std -complete -installsuffix shared -buildid iQkXY2hrpu2_-7GmI2p9/iQkXY2hrpu2_-7GmI2p9 -goversion go1.22.6 -c=4 -shared -nolocalimports -importcfg $WORK/b015/importcfg -pack /usr/lib/go/src/internal/godebugs/table.go
cat >/var/tmp/portage/app-containers/containerd-1.7.21/temp/go-build3596078523/b013/importcfg << 'EOF' # internal
# import config
packagefile internal/goarch=/var/tmp/portage/app-containers/containerd-1.7.21/temp/go-build3596078523/b007/_pkg_.a
EOF
/usr/lib/go/pkg/tool/linux_arm/compile -o $WORK/b013/_pkg_.a -trimpath "$WORK/b013=>" -p internal/chacha8rand -std -installsuffix shared -buildid 2jCSMw9r1fCSFR2DL-L_/2jCSMw9r1fCSFR2DL-L_ -goversion go1.22.6 -symabis $WORK/b013/symabis -c=4 -shared -nolocalimports -importcfg $WORK/b013/importcfg -pack -asmhdr $WORK/b013/go_asm.h /usr/lib/go/src/internal/chacha8rand/chacha8.go /usr/lib/go/src/internal/chac...skipping...
dep\tgo.opentelemetry.io/otel/metric\tv1.21.0\t\ndep\tgo.opentelemetry.io/otel/sdk\tv1.21.0\t\ndep\tgo.opentelemetry.io/otel/trace\tv1.21.0\t\ndep\tgo.opentelemetry.io/proto/otlp\tv1.0.0\t\ndep\tgolang.org/x/crypto\tv0.21.0
\t\ndep\tgolang.org/x/mod\tv0.12.0\t\ndep\tgolang.org/x/net\tv0.23.0\t\ndep\tgolang.org/x/oauth2\tv0.11.0\t\ndep\tgolang.org/x/sync\tv0.5.0\t\ndep\tgolang.org/x/sys\tv0.18.0\t\ndep\tgolang.org/x/term\tv0.18.0\t\ndep
\tgolang.org/x/text\tv0.14.0\t\ndep\tgolang.org/x/time\tv0.0.0-20220210224613-90d013bbcef8\t\ndep\tgoogle.golang.org/genproto\tv0.0.0-20231211222908-989df2bf70f3\t\ndep\tgoogle.golang.org/genproto/googleapis/api
\tv0.0.0-20231120223509-83a465c0220f\t\ndep\tgoogle.golang.org/genproto/googleapis/rpc\tv0.0.0-20231212172506-995d672761c0\t\ndep\tgoogle.golang.org/grpc\tv1.59.0\t\ndep\tgoogle.golang.org/protobuf\tv1.33.0\t\ndep\tgopkg.in/inf.v0\tv0.9.1\t\ndep\tgopkg.in/yaml.v2\tv2.4.0\t\ndep\tgopkg.in/yaml.v3\tv3.0.1\t\ndep\tk8s.io/api\tv0.26.2
\t\ndep\tk8s.io/apimachinery\tv0.26.2\t\ndep\tk8s.io/apiserver\tv0.26.2\t\ndep\tk8s.io/client-go\tv0.26.2\t\ndep\tk8s.io/component-base\tv0.26.2\t\ndep\tk8s.io/cri-api\tv0.27.1\t\ndep\tk8s.io/klog/v2\tv2.90.1\t\ndep\tk8s.io/utils\tv0.0.0-20230220204549-a5ecb0141aa5\t\ndep\tsigs.k8s.io/json\tv0.0.0-20220713155537-f223a00ba0e2\t\ndep\tsigs.k8s.io/structured-merge-diff/v4\tv4.2.3\t\ndep\tsigs.k8s.io/yaml\tv1.3.0\t\ndep\ttags.cncf.io/container-device-interface\tv0.7.2\t\ndep\ttags.cncf.io/container-device-interface/specs-go\tv0.7.0\t\nbuild\t-buildmode=pie\nbuild\t-compiler=gc\nbuild\t-gcflags=-trimpath=/var/tmp/portage/app-containers/containerd-1.7.21/homedir/go/src\nbuild\t-ldflags=\"-X github.com/containerd/containerd/version.Version=v1.7.21 -X github.com/containerd/containerd/version.Revision=472731909fa34bd7bc9c087e4c27943f9835f111 -X github.com/containerd/containerd/version.Package=github.com/containerd/containerd \"\nbuild\t-tags=no_btrfs,no_devmapper,seccomp,urfave_cli_no_docs\nbuild\tDefaultGODEBUG=httplaxcontentlength=1,httpmuxgo121=1,tls10server=1,tlsrsakex=1,tlsunsafeekm=1\nbuild\tCGO_ENABLED=1\nbuild\tCGO_CFLAGS=\"-O2 -pipe -march=armv7-a\"\nbuild\tCGO_CPPFLAGS=\nbuild\tCGO_CXXFLAGS=\"-O2 -pipe -march=armv7-a\"\nbuild\tCGO_LDFLAGS=\"-Wl,-O1 -Wl,--as-needed\"\nbuild\tGOARCH=arm\nbuild\tGOOS=linux\nbuild\tGOARM=7\n\xf92C1\x86\x18 r\x00\x82B\x10A\x16\xd8\xf2"
EOF
mkdir -p $WORK/b001/exe/
cd .
/usr/lib/go/pkg/tool/linux_arm/link -o $WORK/b001/exe/a.out -importcfg $WORK/b001/importcfg.link -installsuffix shared -X=runtime.godebugDefault=httplaxcontentlength=1,httpmuxgo121=1,tls10server=1,tlsrsakex=1,tlsunsafeekm=1 -buildmode=pie -buildid=6FqX4CxNupCsW8O93u5N/vjAhL5FcI6JkDF1AUdA2/DBJeIFjEjPyNyyikyssp/6FqX4CxNupCsW8O93u5N -X github.com/containerd/containerd/version.Version=v1.7.21 -X github.com/containerd/containerd/version.Revision=472731909fa34bd7bc9c087e4c27943f9835f111 -X github.com/containerd/containerd/version.Package=github.com/containerd/containerd -extld=armv7a-softfp-linux-gnueabi-gcc $WORK/b001/_pkg_.a
/usr/lib/go/pkg/tool/linux_arm/buildid -w $WORK/b001/exe/a.out # internal
mkdir -p bin/
cp $WORK/b001/exe/a.out bin/containerd
rm -rf $WORK/b001/
* ERROR: app-containers/containerd-1.7.21::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=app-containers/containerd-1.7.21::gentoo'`,
* the complete build log and the output of `emerge -pqv '=app-containers/containerd-1.7.21::gentoo'`.
* The complete build log is located at '/var/tmp/portage/app-containers/containerd-1.7.21/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-containers/containerd-1.7.21/temp/environment'.
* Working directory: '/var/tmp/portage/app-containers/containerd-1.7.21/work/containerd-1.7.21'
* S: '/var/tmp/portage/app-containers/containerd-1.7.21/work/containerd-1.7.21'
|
I downgraded the linux-headers to 5.15 but it still won't compile.
Thank you.
Mod note: Fixed some long lines. -- Banana |
|