sartura / replica

Replica.one is an easy to use build system designed to deliver both secure and flexible firmware images.
MIT License
26 stars 12 forks source link

Module has invalid ELF structures #16

Closed Sheng2216 closed 3 years ago

Sheng2216 commented 3 years ago

when we run the dmesg command to check the message buffer of the kernel, we always got this error: [ 6.643359] Module has invalid ELF structures [ 6.643474] Module has invalid ELF structures [ 6.643635] Module has invalid ELF structures [ 6.643739] Module has invalid ELF structures

the whole dmesge result is attached in the file below module_error.txt another thing is that when we run the lsmod command, we didn't see useful information, and it won't return anything.

jela1337 commented 3 years ago

Hi @Sheng-IoT, this issue should be resolved now with the new changes in the dev/rpi4-debootstrap branch.

Sheng2216 commented 3 years ago

Hi, I am trying to build a new image with the new branch, but I got the error messages shown below, is this problem caused by an unstable internet connection? or it's caused by some other issues?

The following 4 packages have failed to build, install, or execute

12 70.20 * postinst:

12 70.20 *

12 70.20 * (dev-libs/libaio-0.3.112:0/0::gentoo, ebuild scheduled for merge), Log file:

12 70.20 * '/var/tmp/portage/dev-libs/libaio-0.3.112/temp/build.log'

12 70.20 * (app-arch/cpio-2.12-r1:0/0::gentoo, ebuild scheduled for merge), Log file:

12 70.20 * '/var/tmp/portage/app-arch/cpio-2.12-r1/temp/build.log'

12 70.20 * (dev-libs/lzo-2.10:2/2::gentoo, ebuild scheduled for merge), Log file:

12 70.20 * '/var/tmp/portage/dev-libs/lzo-2.10/temp/build.log'

12 70.20 * (dev-libs/userspace-rcu-0.13.0:0/8::gentoo, ebuild scheduled for merge), Log file:

12 70.20 * '/var/tmp/portage/dev-libs/userspace-rcu-0.13.0/temp/build.log'

and down below is the full building log

sheng@sheng-VirtualBox:~/Documents/replica$ sudo make DEBOOTSTRAP_INCLUDE="curl python3 python3-pip" J=6 TARGET_DISTRO=debian CTARGET=aarch64-unknown-linux-gnu package_rpi4 docker pull gentoo/stage3:20211005 20211005: Pulling from gentoo/stage3 Digest: sha256:ef3ab6ce05c9a9952c8ae94a1f034bc1d89567e056f570e895a2203054714d69 Status: Image is up to date for gentoo/stage3:20211005 docker.io/gentoo/stage3:20211005 docker build . -f targets/rpi4.cache --build-arg CTARGET="aarch64-unknown-linux-gnu" --build-arg BUILDKIT_INLINE_CACHE=1 --secret id=env,src=environment.cache --tag replica/rpi4:latest [+] Building 91.9s (12/21)
=> [internal] load build definition from rpi4.cache 0.0s => => transferring dockerfile: 5.76kB 0.0s => [internal] load .dockerignore 0.1s => => transferring context: 35B 0.0s => resolve image config for docker.io/docker/dockerfile:1.2 16.1s => CACHED docker-image://docker.io/docker/dockerfile:1.2@sha256:e2a8561e419ab1ba6b2fe6cbdf49fd92b95912df1cf7d313c3e2230a333fdbcc 0.0s => [internal] load metadata for docker.io/gentoo/stage3:replica 0.0s => [stage-0 1/15] FROM docker.io/gentoo/stage3:replica 0.0s => [internal] load build context 4.9s => => transferring context: 7.81MB 4.7s => CACHED [stage-0 2/15] COPY ./repos/gentoo /var/db/repos/gentoo 0.0s => CACHED [stage-0 3/15] COPY ./environment.sh /etc/profile.d/replica.sh 0.0s => CACHED [stage-0 4/15] RUN --mount=type=secret,id=env,target=/run/environment --mount=type=cache,target=/var/cache/distfiles --mount=type=cache,target=/var/cache 0.0s => CACHED [stage-0 5/15] COPY ./repos/host /var/db/repos/host 0.0s => ERROR [stage-0 6/15] RUN --mount=type=secret,id=env,target=/run/environment --mount=type=cache,target=/var/cache/distfiles --mount=type=cache,target=/var/cache 70.4s


[stage-0 6/15] RUN --mount=type=secret,id=env,target=/run/environment --mount=type=cache,target=/var/cache/distfiles --mount=type=cache,target=/var/cache/ccache mkdir -p /etc/portage/repos.conf && set_repository_conf / host 10 && set_portage_profile / host default && emerge -vt --keep-going=n --deep --noreplace --changed-use @system:

12 0.514

12 0.514 These are the packages that would be merged, in reverse order:

12 0.514

12 0.514 Calculating dependencies

12 0.594 * IMPORTANT: 10 news items need reading for repository 'gentoo'.

12 0.594 * Use eselect news read to view new items.

12 0.594

12 3.627 .. . ...... .... done!

12 36.34 [nomerge ] virtual/ssh-0::gentoo USE="-minimal"

12 36.34 [ebuild R ] net-misc/openssh-8.6_p1-r2::gentoo USE="pam pie scp ssl -X -X509 -audit -bindist* (-debug) -hpn -kerberos -ldns -libedit -livecd -sctp -security-key (-selinux) -static -test -xmss" 0 KiB

12 36.34 [ebuild N ] sys-kernel/genkernel-4.2.3::gentoo USE="firmware (-ibm)" PYTHON_SINGLE_TARGET="python3_9 (-python3_10) -python3_8" 0 KiB

12 36.34 [ebuild N ] sys-fs/multipath-tools-0.8.6-r1::gentoo USE="-rbd -systemd -test" 0 KiB

12 36.34 [ebuild N ] sys-fs/mtd-utils-2.1.3::gentoo USE="lzo xattr (zstd)" 0 KiB

12 36.34 [ebuild N ] sys-devel/crossdev-20210621::gentoo 0 KiB

12 36.34 [ebuild N ] sys-devel/bc-1.07.1-r3::gentoo USE="readline -libedit -static" 0 KiB

12 36.34 [ebuild N ] sys-apps/dtc-1.6.0::gentoo USE="-static-libs -yaml" 0 KiB

12 36.34 [ebuild R ] net-misc/iputils-20210722::gentoo USE="arping filecaps* ipv6 nls ssl -caps -clockdiff -doc -gcrypt -idn -nettle -rarpd -rdisc -static -test -tftpd -tracepath -traceroute6" 0 KiB

12 36.34 [ebuild N ] dev-vcs/git-2.32.0-r1::gentoo USE="blksha1 curl gpg iconv nls pcre perl threads webdav -cgi -cvs -doc -emacs -gnome-keyring -highlight -mediawiki -mediawiki-experimental -perforce (-ppcsha1) -subversion -test -tk -xinetd" PYTHON_SINGLE_TARGET="python3_9 (-python3_10) -python3_8" 0 KiB

12 36.34 [ebuild N ] dev-util/strace-5.12-r1::gentoo USE="-aio -elfutils -perl (-selinux) -static -unwind" 0 KiB

12 36.34 [ebuild N ~] dev-util/pahole-1.21::gentoo USE="-debug" PYTHON_SINGLE_TARGET="python3_9 -python3_8" 0 KiB

12 36.34 [ebuild N ] dev-util/debootstrap-1.0.123::gentoo 0 KiB

12 36.34 [ebuild N ~] dev-util/bpftool-5.14.6::gentoo USE="-caps" 0 KiB

12 36.34 [ebuild N ] dev-embedded/u-boot-tools-2021.07::gentoo USE="-envtools" 0 KiB

12 36.34 [ebuild N ] app-portage/gentoolkit-0.5.1-r1::gentoo USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 0 KiB

12 36.34 [ebuild N ] app-portage/eix-0.35.2::gentoo USE="nls -debug -doc -sqlite" 0 KiB

12 36.34 [nomerge ] dev-util/bpftool-5.14.6::gentoo USE="-caps"

12 36.34 [ebuild N ] dev-python/docutils-0.17.1::gentoo PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 0 KiB

12 36.34 [ebuild N ] dev-python/pygments-2.10.0::gentoo USE="-doc -test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 0 KiB

12 36.34 [nomerge ] app-editors/vim-8.2.0814-r100::gentoo USE="acl ipv6 nls -X -cscope -debug -gpm -lua -minimal -perl -python -racket -ruby (-selinux) -sound -tcl -terminal -vim-pager" LUA_SINGLE_TARGET="lua5-1 -luajit" PYTHON_SINGLE_TARGET="python3_9 (-python3_10) -python3_8"

12 36.34 [nomerge ] app-editors/vim-core-8.2.0814::gentoo USE="acl nls -minimal"

12 36.34 [ebuild N ] app-vim/gentoo-syntax-20210716::gentoo USE="-ignore-glep31" 0 KiB

12 36.34 [ebuild N ] app-editors/vim-8.2.0814-r100::gentoo USE="acl ipv6 nls -X -cscope -debug -gpm -lua -minimal -perl -python -racket -ruby (-selinux) -sound -tcl -terminal -vim-pager" LUA_SINGLE_TARGET="lua5-1 -luajit" PYTHON_SINGLE_TARGET="python3_9 (-python3_10) -python3_8" 0 KiB

12 36.34 [ebuild N ] app-editors/vim-core-8.2.0814::gentoo USE="acl nls -minimal" 0 KiB

12 36.34 [nomerge ] sys-fs/multipath-tools-0.8.6-r1::gentoo USE="-rbd -systemd -test"

12 36.34 [ebuild N ] sys-fs/lvm2-2.02.188-r2::gentoo USE="readline thin udev -device-mapper-only -lvm2create_initrd -sanlock (-selinux) -static -static-libs -systemd" 0 KiB

12 36.34 [ebuild N ] virtual/libudev-232-r5:0/1::gentoo USE="-systemd" ABI_X86="(64) -32 (-x32)" 0 KiB

12 36.34 [nomerge ] sys-devel/clang-12.0.1:12::gentoo USE="static-analyzer -debug -default-compiler-rt -default-libcxx -default-lld -doc -llvm-libunwind -test -xml" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (ARM) (BPF) (X86) (-AMDGPU) (-ARC) -AVR (-CSKY) -Hexagon -Lanai -MSP430 -Mips (-NVPTX) -PowerPC -RISCV -Sparc -SystemZ (-VE) -WebAssembly -XCore" PYTHON_SINGLE_TARGET="python3_9 -python3_10 -python3_8"

12 36.34 [ebuild N ] sys-devel/clang-runtime-12.0.1:12.0.1::gentoo USE="compiler-rt sanitize -libcxx (-openmp)" ABI_X86="32 (64) (-x32)" 0 KiB

12 36.34 [ebuild N ] sys-libs/compiler-rt-sanitizers-12.0.1:12.0.1::gentoo USE="asan cfi clang dfsan gwp-asan hwasan libfuzzer lsan memprof msan profile safestack scudo tsan ubsan xray (-shadowcallstack) -test" 0 KiB

12 36.34 [ebuild N ] sys-libs/compiler-rt-12.0.1:12.0.1::gentoo USE="clang -test" 0 KiB

12 36.34 [ebuild N ] sys-devel/clang-12.0.1:12::gentoo USE="static-analyzer -debug -default-compiler-rt -default-libcxx -default-lld -doc -llvm-libunwind -test -xml" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (ARM) (BPF) (X86) (-AMDGPU) (-ARC) -AVR (-CSKY) -Hexagon -Lanai -MSP430 -Mips (-NVPTX) -PowerPC -RISCV -Sparc -SystemZ (-VE) -WebAssembly -XCore" PYTHON_SINGLE_TARGET="python3_9 -python3_10 -python3_8" 0 KiB

12 36.34 [ebuild N ] sys-devel/llvm-12.0.1:12::gentoo USE="libffi ncurses -debug -doc -exegesis -gold -libedit -test -xar -xml -z3" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (ARM) (BPF) (X86) (-AMDGPU) (-ARC) -AVR (-CSKY) -Hexagon -Lanai -MSP430 -Mips (-NVPTX) -PowerPC -RISCV -Sparc -SystemZ (-VE) -WebAssembly -XCore" 0 KiB

12 36.34 [nomerge ] sys-apps/util-linux-2.37.2-r1::gentoo USE="cramfs hardlink logger ncurses nls pam readline (split-usr) suid (unicode) -audit -build -caps -cryptsetup -fdformat -kill -magic -python (-selinux) -slang -static-libs -su -systemd -test -tty-helpers -udev" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_9 -python3_8"

12 36.34 [ebuild R ] sys-libs/pam-1.5.1_p20210622-r1::gentoo USE="filecaps* (split-usr) -audit -berkdb -debug -nis (-selinux)" ABI_X86="(64) -32 (-x32)" 0 KiB

12 36.34 [nomerge ] dev-util/debootstrap-1.0.123::gentoo

12 36.34 [ebuild N ~] app-arch/dpkg-1.20.9::gentoo USE="bzip2 lzma nls unicode update-alternatives zlib -libmd (-selinux) -static-libs -test" 0 KiB

12 36.34 [nomerge ] sys-fs/multipath-tools-0.8.6-r1::gentoo USE="-rbd -systemd -test"

12 36.34 [ebuild N ] dev-libs/json-c-0.15:0/5::gentoo USE="-doc -static-libs -threads" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="-rdrand" 0 KiB

12 36.34 [nomerge ] dev-util/bpftool-5.14.6::gentoo USE="-caps"

12 36.34 [ebuild N ] virtual/libelf-3:0/1::gentoo ABI_X86="(64) -32 (-x32)" 0 KiB

12 36.34 [ebuild N ] dev-libs/elfutils-0.185::gentoo USE="bzip2 nls utils -lzma -static-libs -test (-threads) -valgrind -zstd" ABI_X86="(64) -32 (-x32)" 0 KiB

12 36.34 [nomerge ] app-editors/vim-8.2.0814-r100::gentoo USE="acl ipv6 nls -X -cscope -debug -gpm -lua -minimal -perl -python -racket -ruby (-selinux) -sound -tcl -terminal -vim-pager" LUA_SINGLE_TARGET="lua5-1 -luajit" PYTHON_SINGLE_TARGET="python3_9 (-python3_10) -python3_8"

12 36.34 [ebuild N ] app-eselect/eselect-vi-1.2::gentoo 0 KiB

12 36.34 [nomerge ] dev-util/bpftool-5.14.6::gentoo USE="-caps"

12 36.34 [ebuild N ] sys-libs/binutils-libs-2.37_p1:0/2.37::gentoo USE="nls -64-bit-bfd (-cet) -multitarget -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB

12 36.34 [nomerge ] sys-fs/lvm2-2.02.188-r2::gentoo USE="readline thin udev -device-mapper-only -lvm2create_initrd -sanlock (-selinux) -static -static-libs -systemd"

12 36.34 [ebuild N ] sys-block/thin-provisioning-tools-0.9.0::gentoo USE="-static -test" 0 KiB

12 36.34 [nomerge ] virtual/libc-1-r1::gentoo

12 36.34 [nomerge ] sys-libs/glibc-2.33-r1:2.2::gentoo USE="(crypt) multiarch (multilib) ssp (static-libs) -audit -caps (-cet) -compile-locales -custom-cflags -doc -gd -headers-only -multilib-bootstrap -nscd -profile (-selinux) -static-pie -suid -systemtap -test (-vanilla)"

12 36.34 [nomerge ] sys-devel/bison-3.7.6::gentoo USE="nls -examples -static -test"

12 36.34 [nomerge ] sys-devel/gettext-0.21-r1::gentoo USE="acl cxx ncurses nls openmp -cvs -doc -emacs -git -java -static-libs" ABI_X86="(64) -32 (-x32)"

12 36.34 [ebuild R ] dev-libs/libxml2-2.9.12-r5:2::gentoo USE="ipv6 readline -debug -examples -icu -lzma (-python*) -static-libs -test -verify-sig" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_9 (-python3_10) -python3_8" 0 KiB

12 36.34 [nomerge ] sys-devel/clang-12.0.1:12::gentoo USE="static-analyzer -debug -default-compiler-rt -default-libcxx -default-lld -doc -llvm-libunwind -test -xml" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (ARM) (BPF) (X86) (-AMDGPU) (-ARC) -AVR (-CSKY) -Hexagon -Lanai -MSP430 -Mips (-NVPTX) -PowerPC -RISCV -Sparc -SystemZ (-VE) -WebAssembly -XCore" PYTHON_SINGLE_TARGET="python3_9 -python3_10 -python3_8"

12 36.34 [ebuild N ~] sys-devel/clang-common-13.0.0::gentoo 0 KiB

12 36.34 [nomerge ] dev-vcs/git-2.32.0-r1::gentoo USE="blksha1 curl gpg iconv nls pcre perl threads webdav -cgi -cvs -doc -emacs -gnome-keyring -highlight -mediawiki -mediawiki-experimental -perforce (-ppcsha1) -subversion -test -tk -xinetd" PYTHON_SINGLE_TARGET="python3_9 (-python3_10) -python3_8"

12 36.34 [ebuild N ] dev-perl/MailTools-2.210.0::gentoo USE="-examples -test" 0 KiB

12 36.34 [ebuild N ] virtual/perl-libnet-3.130.0::gentoo USE="ssl" 0 KiB

12 36.34 [ebuild N ] dev-perl/IO-Socket-SSL-2.71.0::gentoo USE="-examples -idn -test" 0 KiB

12 36.34 [ebuild N ] dev-perl/Mozilla-CA-20999999::gentoo 0 KiB

12 36.34 [ebuild N ] dev-perl/Net-SSLeay-1.900.0::gentoo USE="-examples -minimal -test" 0 KiB

12 36.34 [ebuild R ] dev-libs/openssl-1.1.1l:0/1.1::gentoo USE="asm -bindist* -rfc3779 -sctp -sslv3 -static-libs -test -tls-compression -tls-heartbeat -vanilla" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="(sse2)" 0 KiB

12 36.34 [ebuild N ] dev-perl/Error-0.170.290::gentoo USE="-test" 0 KiB

12 36.34 [ebuild N ] dev-perl/Authen-SASL-2.160.0-r2::gentoo USE="-kerberos -test" 0 KiB

12 36.34 [ebuild N ] dev-perl/Digest-HMAC-1.40.0::gentoo 0 KiB

12 36.34 [ebuild N ] virtual/perl-Digest-SHA-6.20.0-r2::gentoo 0 KiB

12 36.34 [nomerge ] dev-perl/Net-SSLeay-1.900.0::gentoo USE="-examples -minimal -test"

12 36.34 [ebuild N ] virtual/perl-MIME-Base64-3.160.0::gentoo 0 KiB

12 36.34 [nomerge ] dev-perl/MailTools-2.210.0::gentoo USE="-examples -test"

12 36.34 [ebuild N ] virtual/perl-IO-1.460.0::gentoo 0 KiB

12 36.34 [ebuild N ] dev-perl/TimeDate-2.330.0-r1::gentoo USE="-test" 0 KiB

12 36.34 [nomerge ] dev-perl/Digest-HMAC-1.40.0::gentoo

12 36.34 [ebuild N ] virtual/perl-Digest-MD5-2.580.0::gentoo 0 KiB

12 36.34 [ebuild R ] dev-lang/perl-5.34.0-r2:0/5.34::gentoo USE="(-berkdb) -debug -doc (-gdbm*) -ithreads -minimal" 0 KiB

12 36.34 [nomerge ] dev-util/bpftool-5.14.6::gentoo USE="-caps"

12 36.34 [ebuild N ] dev-util/patchutils-0.4.2::gentoo USE="pcre" 0 KiB

12 36.34 [ebuild N ] sys-fs/squashfs-tools-4.5::gentoo USE="xattr (zstd) -debug -lz4 -lzma -lzo" 0 KiB

12 36.34 [nomerge ] sys-block/thin-provisioning-tools-0.9.0::gentoo USE="-static -test"

12 36.34 [ebuild N ] dev-libs/boost-1.76.0-r1:0/1.76.0::gentoo USE="bzip2 nls threads zlib -context -debug -doc -icu -lzma -mpi -numpy -python -static-libs -tools -zstd" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_9 (-python3_10) -python3_8" 0 KiB

12 36.34 [nomerge ] sys-apps/grep-3.7::gentoo USE="nls pcre -static"

12 36.34 [ebuild R ] dev-libs/libpcre-8.45:3::gentoo USE="bzip2 cxx jit readline recursion-limit (split-usr) (unicode) zlib -libedit -pcre16 -pcre32 -static-libs*" ABI_X86="(64) -32 (-x32)" 0 KiB

12 36.34 [nomerge ] dev-libs/boost-1.76.0-r1:0/1.76.0::gentoo USE="bzip2 nls threads zlib -context -debug -doc -icu -lzma -mpi -numpy -python -static-libs -tools -zstd" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_9 (-python3_10) -python3_8"

12 36.34 [ebuild N ] dev-util/boost-build-1.76.0-r2::gentoo USE="-examples" 0 KiB

12 36.34 [nomerge ] app-portage/eix-0.35.2::gentoo USE="nls -debug -doc -sqlite"

12 36.34 [ebuild N ] app-shells/quoter-4.2::gentoo 0 KiB

12 36.34 [ebuild N ] app-shells/push-3.4::gentoo 0 KiB

12 36.34 [nomerge ] sys-libs/compiler-rt-sanitizers-12.0.1:12.0.1::gentoo USE="asan cfi clang dfsan gwp-asan hwasan libfuzzer lsan memprof msan profile safestack scudo tsan ubsan xray (-shadowcallstack) -test"

12 36.34 [nomerge ] sys-devel/llvm-12.0.1:12::gentoo USE="libffi ncurses -debug -doc -exegesis -gold -libedit -test -xar -xml -z3" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (ARM) (BPF) (X86) (-AMDGPU) (-ARC) -AVR (-CSKY) -Hexagon -Lanai -MSP430 -Mips (-NVPTX) -PowerPC -RISCV -Sparc -SystemZ (-VE) -WebAssembly -XCore"

12 36.34 [ebuild N ] sys-devel/llvm-common-12.0.1::gentoo 0 KiB

12 36.34 [nomerge ] sys-fs/mtd-utils-2.1.3::gentoo USE="lzo xattr (zstd)"

12 36.34 [ebuild N ] dev-libs/lzo-2.10:2::gentoo USE="(split-usr) -examples -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB

12 36.34 [nomerge ] sys-fs/multipath-tools-0.8.6-r1::gentoo USE="-rbd -systemd -test"

12 36.34 [ebuild N ] dev-libs/userspace-rcu-0.13.0:0/8::gentoo USE="-regression-test -static-libs -test" 0 KiB

12 36.34 [nomerge ] sys-kernel/genkernel-4.2.3::gentoo USE="firmware (-ibm)" PYTHON_SINGLE_TARGET="python3_9 (-python3_10) -python3_8"

12 36.34 [ebuild N ] sys-kernel/linux-firmware-20210818::gentoo USE="redistributable -initramfs -savedconfig (-unknown-license)" 0 KiB

12 36.34 [ebuild N ] app-arch/cpio-2.12-r1::gentoo USE="nls" 0 KiB

12 36.34 [nomerge ] sys-fs/multipath-tools-0.8.6-r1::gentoo USE="-rbd -systemd -test"

12 36.34 [ebuild N ] dev-libs/libaio-0.3.112::gentoo USE="(split-usr) -static-libs -test" ABI_X86="(64) -32 (-x32)" 0 KiB

12 36.34

12 36.34 Total: 66 packages (59 new, 7 reinstalls), Size of downloads: 0 KiB

12 36.45 >>> Verifying ebuild manifests

12 36.45

12 36.46 >>> Running pre-merge checks for sys-kernel/linux-firmware-20210818

12 36.78 >>> Running pre-merge checks for sys-libs/compiler-rt-12.0.1

12 37.34 >>> Running pre-merge checks for sys-libs/compiler-rt-sanitizers-12.0.1

12 37.84 >>> Running pre-merge checks for net-misc/openssh-8.6_p1-r2

12 38.21 >>> Jobs: 0 of 66 complete, 1 running Load avg: 1.55, 1.23, 0.89

12 38.21 >>> Emerging (1 of 66) dev-libs/libaio-0.3.112::gentoo

12 38.21 >>> Jobs: 0 of 66 complete, 1 running Load avg: 1.55, 1.23, 0.89

12 38.21 >>> Jobs: 0 of 66 complete, 2 running Load avg: 1.55, 1.23, 0.89

12 38.21 >>> Emerging (2 of 66) app-arch/cpio-2.12-r1::gentoo

12 38.21 >>> Jobs: 0 of 66 complete, 2 running Load avg: 1.55, 1.23, 0.89

12 38.22 >>> Jobs: 0 of 66 complete, 3 running Load avg: 1.55, 1.23, 0.89

12 38.22 >>> Emerging (3 of 66) sys-kernel/linux-firmware-20210818::gentoo

12 38.22 >>> Jobs: 0 of 66 complete, 3 running Load avg: 1.55, 1.23, 0.89

12 38.22 >>> Jobs: 0 of 66 complete, 4 running Load avg: 1.55, 1.23, 0.89

12 38.22 >>> Emerging (4 of 66) dev-libs/userspace-rcu-0.13.0::gentoo

12 38.22 >>> Jobs: 0 of 66 complete, 4 running Load avg: 1.55, 1.23, 0.89

12 38.23 >>> Jobs: 0 of 66 complete, 5 running Load avg: 1.55, 1.23, 0.89

12 38.23 >>> Emerging (5 of 66) dev-libs/lzo-2.10::gentoo

12 38.23 >>> Jobs: 0 of 66 complete, 5 running Load avg: 1.55, 1.23, 0.89

12 38.23 >>> Jobs: 0 of 66 complete, 6 running Load avg: 1.55, 1.23, 0.89

12 38.23 >>> Emerging (6 of 66) sys-devel/llvm-common-12.0.1::gentoo

12 38.23 >>> Jobs: 0 of 66 complete, 6 running Load avg: 1.55, 1.23, 0.89

12 41.90 >>> Failed to emerge dev-libs/libaio-0.3.112, Log file:

12 41.90 >>> Jobs: 0 of 66 complete, 6 running Load avg: 1.75, 1.28, 0.90

12 41.90 >>> '/var/tmp/portage/dev-libs/libaio-0.3.112/temp/build.log'

12 41.90 >>> Jobs: 0 of 66 complete, 6 running Load avg: 1.75, 1.28, 0.90

12 41.90 >>> Jobs: 0 of 66 complete, 6 running, 1 failed Load avg: 1.75, 1.28, 0.90

12 41.90 >>> Jobs: 0 of 66 complete, 5 running, 1 failed Load avg: 1.75, 1.28, 0.90

12 43.12 >>> Failed to emerge app-arch/cpio-2.12-r1, Log file:

12 43.12 >>> Jobs: 0 of 66 complete, 5 running, 1 failed Load avg: 1.75, 1.28, 0.90

12 43.12 >>> '/var/tmp/portage/app-arch/cpio-2.12-r1/temp/build.log'

12 43.12 >>> Jobs: 0 of 66 complete, 5 running, 1 failed Load avg: 1.75, 1.28, 0.90

12 43.12 >>> Jobs: 0 of 66 complete, 5 running, 2 failed Load avg: 1.75, 1.28, 0.90

12 43.12 >>> Jobs: 0 of 66 complete, 4 running, 2 failed Load avg: 1.75, 1.28, 0.90

12 44.12 >>> Failed to emerge dev-libs/lzo-2.10, Log file:

12 44.12 >>> Jobs: 0 of 66 complete, 4 running, 2 failed Load avg: 1.75, 1.28, 0.90

12 44.12 >>> '/var/tmp/portage/dev-libs/lzo-2.10/temp/build.log'

12 44.12 >>> Jobs: 0 of 66 complete, 4 running, 2 failed Load avg: 1.75, 1.28, 0.90

12 44.12 >>> Jobs: 0 of 66 complete, 4 running, 3 failed Load avg: 1.75, 1.28, 0.90

12 44.12 >>> Jobs: 0 of 66 complete, 3 running, 3 failed Load avg: 1.75, 1.28, 0.90

12 44.13 >>> Failed to emerge dev-libs/userspace-rcu-0.13.0, Log file:

12 44.13 >>> Jobs: 0 of 66 complete, 3 running, 3 failed Load avg: 1.75, 1.28, 0.90

12 44.13 >>> '/var/tmp/portage/dev-libs/userspace-rcu-0.13.0/temp/build.log'

12 44.13 >>> Jobs: 0 of 66 complete, 3 running, 3 failed Load avg: 1.75, 1.28, 0.90

12 44.13 >>> Jobs: 0 of 66 complete, 3 running, 4 failed Load avg: 1.75, 1.28, 0.90

12 44.13 >>> Jobs: 0 of 66 complete, 2 running, 4 failed Load avg: 1.75, 1.28, 0.90

12 50.03 >>> Jobs: 0 of 66 complete, 1 running, 4 failed Load avg: 1.77, 1.29, 0.91

12 63.53 >>> Jobs: 0 of 66 complete, 4 failed Load avg: 1.75, 1.31, 0.92

12 63.53 >>> Installing (6 of 66) sys-devel/llvm-common-12.0.1::gentoo

12 63.53 >>> Jobs: 0 of 66 complete, 4 failed Load avg: 1.75, 1.31, 0.92

12 66.91 >>> Jobs: 1 of 66 complete, 4 failed Load avg: 1.93, 1.35, 0.94

12 66.91 >>> Installing (3 of 66) sys-kernel/linux-firmware-20210818::gentoo

12 66.91 >>> Jobs: 1 of 66 complete, 4 failed Load avg: 1.93, 1.35, 0.94

12 70.19 >>> Jobs: 2 of 66 complete, 4 failed Load avg: 1.85, 1.35, 0.94

12 70.19

12 70.19 * Messages for package dev-libs/libaio-0.3.112:

12 70.19 * ERROR: dev-libs/libaio-0.3.112::gentoo failed (compile phase):

12 70.19 * emake failed

12 70.19 *

12 70.19 * If you need support, post the output of emerge --info '=dev-libs/libaio-0.3.112::gentoo',

12 70.19 * the complete build log and the output of emerge -pqv '=dev-libs/libaio-0.3.112::gentoo'.

12 70.19 * The complete build log is located at '/var/tmp/portage/dev-libs/libaio-0.3.112/temp/build.log'.

12 70.19 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libaio-0.3.112/temp/environment'.

12 70.19 * Working directory: '/var/tmp/portage/dev-libs/libaio-0.3.112/work/libaio-0.3.112-abi_x86_64.amd64'

12 70.19 * S: '/var/tmp/portage/dev-libs/libaio-0.3.112/work/libaio-0.3.112'

12 70.19 * Messages for package app-arch/cpio-2.12-r1:

12 70.19 * ERROR: app-arch/cpio-2.12-r1::gentoo failed (configure phase):

12 70.19 * econf failed

12 70.19 *

12 70.19 * Call stack:

12 70.19 * ebuild.sh, line 127: Called src_configure

12 70.19 * environment, line 455: Called econf '--enable-nls' '--bindir=/bin' '--with-rmt=/usr/sbin/rmt'

12 70.19 * phase-helpers.sh, line 711: Called __helpers_die 'econf failed'

12 70.19 * isolated-functions.sh, line 112: Called die

12 70.19 * The specific snippet of code:

12 70.19 * die "$@"

12 70.19 *

12 70.19 * If you need support, post the output of emerge --info '=app-arch/cpio-2.12-r1::gentoo',

12 70.19 * the complete build log and the output of emerge -pqv '=app-arch/cpio-2.12-r1::gentoo'.

12 70.19 * The complete build log is located at '/var/tmp/portage/app-arch/cpio-2.12-r1/temp/build.log'.

12 70.19 * The ebuild environment file is located at '/var/tmp/portage/app-arch/cpio-2.12-r1/temp/environment'.

12 70.19 * Working directory: '/var/tmp/portage/app-arch/cpio-2.12-r1/work/cpio-2.12'

12 70.19 * S: '/var/tmp/portage/app-arch/cpio-2.12-r1/work/cpio-2.12'

12 70.19 * Messages for package dev-libs/lzo-2.10:

12 70.19 * ERROR: dev-libs/lzo-2.10::gentoo failed (configure phase):

12 70.19 * econf failed

12 70.19 *

12 70.19 * Call stack:

12 70.19 * ebuild.sh, line 127: Called src_configure

12 70.19 * environment, line 1556: Called multilib-minimal_src_configure

12 70.19 * environment, line 1001: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'

12 70.19 * environment, line 1254: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'

12 70.19 * environment, line 931: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'

12 70.19 * environment, line 929: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'

12 70.19 * environment, line 326: Called multilib-minimal_abi_src_configure

12 70.19 * environment, line 995: Called multilib_src_configure

12 70.19 * environment, line 1466: Called econf '--enable-shared' '--disable-static'

12 70.19 * phase-helpers.sh, line 711: Called __helpers_die 'econf failed'

12 70.19 * isolated-functions.sh, line 112: Called die

12 70.19 * The specific snippet of code:

12 70.19 * die "$@"

12 70.19 *

12 70.19 * If you need support, post the output of emerge --info '=dev-libs/lzo-2.10::gentoo',

12 70.19 * the complete build log and the output of emerge -pqv '=dev-libs/lzo-2.10::gentoo'.

12 70.19 * The complete build log is located at '/var/tmp/portage/dev-libs/lzo-2.10/temp/build.log'.

12 70.19 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/lzo-2.10/temp/environment'.

12 70.19 * Working directory: '/var/tmp/portage/dev-libs/lzo-2.10/work/lzo-2.10-abi_x86_64.amd64'

12 70.19 * S: '/var/tmp/portage/dev-libs/lzo-2.10/work/lzo-2.10'

12 70.19 * Messages for package dev-libs/userspace-rcu-0.13.0:

12 70.19 * ERROR: dev-libs/userspace-rcu-0.13.0::gentoo failed (configure phase):

12 70.19 * econf failed

12 70.19 *

12 70.19 * Call stack:

12 70.19 * ebuild.sh, line 127: Called src_configure

12 70.19 * environment, line 440: Called econf '--enable-shared' '--disable-static'

12 70.19 * phase-helpers.sh, line 711: Called __helpers_die 'econf failed'

12 70.19 * isolated-functions.sh, line 112: Called die

12 70.19 * The specific snippet of code:

12 70.19 * die "$@"

12 70.19 *

12 70.19 * If you need support, post the output of emerge --info '=dev-libs/userspace-rcu-0.13.0::gentoo',

12 70.19 * the complete build log and the output of emerge -pqv '=dev-libs/userspace-rcu-0.13.0::gentoo'.

12 70.19 * The complete build log is located at '/var/tmp/portage/dev-libs/userspace-rcu-0.13.0/temp/build.log'.

12 70.19 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/userspace-rcu-0.13.0/temp/environment'.

12 70.19 * Working directory: '/var/tmp/portage/dev-libs/userspace-rcu-0.13.0/work/userspace-rcu-0.13.0'

12 70.19 * S: '/var/tmp/portage/dev-libs/userspace-rcu-0.13.0/work/userspace-rcu-0.13.0'

12 70.19 * Messages for package sys-kernel/linux-firmware-20210818:

12 70.19 * Your configuration for sys-kernel/linux-firmware-20210818 has been saved in

12 70.19 * "/etc/portage/savedconfig/sys-kernel/linux-firmware-20210818" for your editing pleasure.

12 70.19 * You can edit these files by hand and remerge this package with

12 70.19 * USE=savedconfig to customise the configuration.

12 70.19 * You can rename this file/directory to one of the following for

12 70.19 * its configuration to apply to multiple versions:

12 70.20 * ${PORTAGE_CONFIGROOT}/etc/portage/savedconfig/

12 70.20 * [${CTARGET}|${CHOST}|""]/${CATEGORY}/[${PF}|${P}|${PN}]

12 70.20 * If you are only interested in particular firmware files, edit the saved

12 70.20 * configfile and remove those that you do not want.

12 70.20

12 70.20

12 70.20

12 70.20

12 70.20

12 70.20

12 70.20

12 70.20

12 70.20

12 70.20

12 70.20 *

12 70.20 * The following 4 packages have failed to build, install, or execute

12 70.20 * postinst:

12 70.20 *

12 70.20 * (dev-libs/libaio-0.3.112:0/0::gentoo, ebuild scheduled for merge), Log file:

12 70.20 * '/var/tmp/portage/dev-libs/libaio-0.3.112/temp/build.log'

12 70.20 * (app-arch/cpio-2.12-r1:0/0::gentoo, ebuild scheduled for merge), Log file:

12 70.20 * '/var/tmp/portage/app-arch/cpio-2.12-r1/temp/build.log'

12 70.20 * (dev-libs/lzo-2.10:2/2::gentoo, ebuild scheduled for merge), Log file:

12 70.20 * '/var/tmp/portage/dev-libs/lzo-2.10/temp/build.log'

12 70.20 * (dev-libs/userspace-rcu-0.13.0:0/8::gentoo, ebuild scheduled for merge), Log file:

12 70.20 * '/var/tmp/portage/dev-libs/userspace-rcu-0.13.0/temp/build.log'

12 70.20 *

12 70.20

12 70.20 * GNU info directory index is up-to-date.

12 70.21

12 70.21 * IMPORTANT: 10 news items need reading for repository 'gentoo'.

12 70.21 * Use eselect news read to view new items.

12 70.21


executor failed running [/bin/bash -l -c mkdir -p /etc/portage/repos.conf && set_repository_conf / host 10 && set_portage_profile / host default && emerge -vt --keep-going=n --deep --noreplace --changed-use @system]: exit code: 1 make: *** [Makefile:141: build_rpi4] Error 1 rm targets/rpi4.cache

Hi @Sheng-IoT, this issue should be resolved now with the new changes in the dev/rpi4-debootstrap branch.