(222509) [04:04:42] % tail -n 60 -F /media/marineboy122/Develop/pmboot/log.txt
(222509) [04:04:42] *** output passed to pmbootstrap stdout, not to this log ***
(222539) [04:04:50] % cd /media/marineboy122/Develop/pmboot/cache_git/pmaports; git remote -v
origin https://gitlab.com/postmarketOS/pmaports.git (fetch)
origin https://gitlab.com/postmarketOS/pmaports.git (push)
(222539) [04:04:50] % cd /media/marineboy122/Develop/pmboot/cache_git/pmaports; git show origin/master:channels.cfg
# Reference: https://postmarketos.org/channels.cfg
[channels.cfg]
recommended=edge
[edge]
description=Rolling release channel
branch_pmaports=master
branch_aports=master
mirrordir_alpine=edge
[stable]
description=Stable release channel (first beta v20.05, does not have many devices yet)
branch_pmaports=v20.05
branch_aports=3.12-stable
mirrordir_alpine=v3.12
[stable-next]
description=Upcoming second beta v21.03. DO NOT USE.
branch_pmaports=v21.03
branch_aports=3.13-stable
mirrordir_alpine=v3.13
(222539) [04:04:53] Build is necessary for package 'linux-alcatel-pixi3-45': No binary package available
(222539) [04:04:53] (native) calculate depends of bash, bc, bison, devicepkg-dev, flex, openssl-dev, perl (pmbootstrap -v for details)
(222539) [04:04:53] (native) calculate depends of ccache-cross-symlinks, gcc-armv7, g++-armv7 (pmbootstrap -v for details)
(222539) [04:04:53] (native) build armv7/linux-alcatel-pixi3-45-3.10.65-r0.apk
(222539) [04:04:53] (native) % rm -rf /home/pmos/build
(222539) [04:04:55] % sudo cp -rL /media/marineboy122/Develop/pmboot/cache_git/pmaports/device/testing/linux-alcatel-pixi3-45/ /media/marineboy122/Develop/pmboot/chroot_native/home/pmos/build
(222539) [04:04:55] (native) % chown -R pmos:pmos /home/pmos/build
(222539) [04:04:55] % sudo umount /media/marineboy122/Develop/pmboot/chroot_native/mnt/pmaports
(222539) [04:04:55] % sudo mount --bind /media/marineboy122/Develop/pmboot/cache_git/pmaports /media/marineboy122/Develop/pmboot/chroot_native/mnt/pmaports
(222539) [04:04:55] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/build
(222539) [04:04:55] (native) % busybox su pmos -c HOME=/home/pmos ln -sf /mnt/pmaports/.git /home/pmos/build/.git
(222539) [04:04:55] (native) % cd /home/pmos/build; busybox su pmos -c CARCH=armv7 SUDO_APK='abuild-apk --no-progress' CROSS_COMPILE=armv7-alpine-linux-musleabihf- CC=armv7-alpine-linux-musleabihf-gcc HOME=/home/pmos abuild -D postmarketOS -d
>>> linux-alcatel-pixi3-45: Building pmos/linux-alcatel-pixi3-45 3.10.65-r0 (using abuild 3.7.0-r1) started Fri, 05 Mar 2021 00:04:56 +0000
>>> linux-alcatel-pixi3-45: Checking sanity of /home/pmos/build/APKBUILD...
>>> WARNING: linux-alcatel-pixi3-45: No maintainer
>>> linux-alcatel-pixi3-45: Cleaning up srcdir
>>> linux-alcatel-pixi3-45: Cleaning up pkgdir
>>> linux-alcatel-pixi3-45: Fetching linux-alcatel-pixi3-45-24ff52f11edaf789832f92538fb4340794172833.tar.gz::https://github.com/marineboy1/pixi3_45_kernel/archive/24ff52f11edaf789832f92538fb4340794172833.tar.gz
>>> linux-alcatel-pixi3-45: Fetching linux-alcatel-pixi3-45-24ff52f11edaf789832f92538fb4340794172833.tar.gz::https://github.com/marineboy1/pixi3_45_kernel/archive/24ff52f11edaf789832f92538fb4340794172833.tar.gz
>>> linux-alcatel-pixi3-45: Checking sha512sums...
linux-alcatel-pixi3-45-24ff52f11edaf789832f92538fb4340794172833.tar.gz: OK
config-alcatel-pixi3-45.armv7: OK
gcc7-give-up-on-ilog2-const-optimizations.patch: OK
gcc8-fix-put-user.patch: OK
gcc10-extern_YYLOC_global_declaration.patch: OK
>>> linux-alcatel-pixi3-45: Unpacking /var/cache/distfiles/linux-alcatel-pixi3-45-24ff52f11edaf789832f92538fb4340794172833.tar.gz...
>>> linux-alcatel-pixi3-45: gcc7-give-up-on-ilog2-const-optimizations.patch
patching file include/linux/log2.h
>>> linux-alcatel-pixi3-45: gcc8-fix-put-user.patch
patching file arch/arm/include/asm/uaccess.h
Hunk #1 succeeded at 168 (offset 6 lines).
>>> linux-alcatel-pixi3-45: gcc10-extern_YYLOC_global_declaration.patch
patching file scripts/dtc/dtc-lexer.l
patching file scripts/dtc/dtc-lexer.lex.c_shipped
NOTE: replacing /home/pmos/build/src/pixi3_45_kernel-24ff52f11edaf789832f92538fb4340794172833/include/linux/compiler-gcc.h! If your build breaks with 'Please
don't include <linux/compiler-gcc.h> directly' or a similar
compiler-gcc.h related error, then set
REPLACE_GCCH=0
in your kernel APKBUILD at the start of the
downstreamkernel_prepare.sh line.
'/usr/share/devicepkg-dev/compiler-gcc.h' -> '/home/pmos/build/src/pixi3_45_kernel-24ff52f11edaf789832f92538fb4340794172833/include/linux/compiler-gcc.h'
make: Entering directory '/home/pmos/build/src/pixi3_45_kernel-24ff52f11edaf789832f92538fb4340794172833'
HOSTCC scripts/basic/fixdep
GEN /home/pmos/build/src/pixi3_45_kernel-24ff52f11edaf789832f92538fb4340794172833/out/Makefile
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/zconf.tab.o
In file included from /home/pmos/build/src/pixi3_45_kernel-24ff52f11edaf789832f92538fb4340794172833/scripts/kconfig/zconf.tab.c:2503:
/home/pmos/build/src/pixi3_45_kernel-24ff52f11edaf789832f92538fb4340794172833/scripts/kconfig/menu.c: In function 'get_symbol_str':
/home/pmos/build/src/pixi3_45_kernel-24ff52f11edaf789832f92538fb4340794172833/scripts/kconfig/menu.c:567:18: warning: 'jump' may be used uninitialized in this function [-Wmaybe-uninitialized]
567 | jump->offset = r->len - 1;
| ~~~~~~~~~~~~~^~~~~~~~~~~~
/home/pmos/build/src/pixi3_45_kernel-24ff52f11edaf789832f92538fb4340794172833/scripts/kconfig/menu.c:528:19: note: 'jump' was declared here
528 | struct jump_key *jump;
| ^~~~
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --oldconfig Kconfig
#
# configuration written to .config
#
make: Leaving directory '/home/pmos/build/src/pixi3_45_kernel-24ff52f11edaf789832f92538fb4340794172833'
GEN /home/pmos/build/src/pixi3_45_kernel-24ff52f11edaf789832f92538fb4340794172833/out/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
include/config/auto.conf:729:warning: symbol value 'elf64-x86-64' invalid for OUTPUT_FORMAT
include/config/auto.conf:1053:warning: symbol value 'arch/x86/configs/x86_64_defconfig' invalid for ARCH_DEFCONFIG
include/config/auto.conf:1347:warning: symbol value '' invalid for ACPI_CUSTOM_DSDT_FILE
include/config/auto.conf:2410:warning: symbol value '-fcall-saved-rdi -fcall-saved-rsi -fcall-saved-rdx -fcall-saved-rcx -fcall-saved-r8 -fcall-saved-r9 -fcall-saved-r10 -fcall-saved-r11' invalid for ARCH_HWEIGHT_CFLAGS
include/config/auto.conf:3387:warning: symbol value 'm' invalid for KVM
GEN /home/pmos/build/src/pixi3_45_kernel-24ff52f11edaf789832f92538fb4340794172833/out/Makefile
WRAP arch/arm/include/generated/asm/auxvec.h
CHK include/generated/uapi/linux/version.h
WRAP arch/arm/include/generated/asm/bitsperlong.h
WRAP arch/arm/include/generated/asm/cputime.h
WRAP arch/arm/include/generated/asm/current.h
UPD include/generated/uapi/linux/version.h
WRAP arch/arm/include/generated/asm/emergency-restart.h
WRAP arch/arm/include/generated/asm/errno.h
WRAP arch/arm/include/generated/asm/exec.h
WRAP arch/arm/include/generated/asm/ioctl.h
WRAP arch/arm/include/generated/asm/ipcbuf.h
WRAP arch/arm/include/generated/asm/irq_regs.h
WRAP arch/arm/include/generated/asm/kdebug.h
WRAP arch/arm/include/generated/asm/local.h
WRAP arch/arm/include/generated/asm/local64.h
WRAP arch/arm/include/generated/asm/msgbuf.h
WRAP arch/arm/include/generated/asm/param.h
WRAP arch/arm/include/generated/asm/parport.h
WRAP arch/arm/include/generated/asm/poll.h
WRAP arch/arm/include/generated/asm/resource.h
WRAP arch/arm/include/generated/asm/sections.h
WRAP arch/arm/include/generated/asm/segment.h
WRAP arch/arm/include/generated/asm/sembuf.h
WRAP arch/arm/include/generated/asm/serial.h
WRAP arch/arm/include/generated/asm/shmbuf.h
WRAP arch/arm/include/generated/asm/simd.h
WRAP arch/arm/include/generated/asm/siginfo.h
WRAP arch/arm/include/generated/asm/sizes.h
WRAP arch/arm/include/generated/asm/socket.h
WRAP arch/arm/include/generated/asm/sockios.h
WRAP arch/arm/include/generated/asm/termbits.h
WRAP arch/arm/include/generated/asm/termios.h
WRAP arch/arm/include/generated/asm/timex.h
WRAP arch/arm/include/generated/asm/trace_clock.h
WRAP arch/arm/include/generated/asm/types.h
WRAP arch/arm/include/generated/asm/unaligned.h
Using /home/pmos/build/src/pixi3_45_kernel-24ff52f11edaf789832f92538fb4340794172833 as source for kernel
/home/pmos/build/src/pixi3_45_kernel-24ff52f11edaf789832f92538fb4340794172833 is not clean, please run 'make mrproper'
in the '/home/pmos/build/src/pixi3_45_kernel-24ff52f11edaf789832f92538fb4340794172833' directory.
make[1]: *** [/home/pmos/build/src/pixi3_45_kernel-24ff52f11edaf789832f92538fb4340794172833/Makefile:828: prepare3] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:130: sub-make] Error 2
>>> ERROR: linux-alcatel-pixi3-45: build failed
(222539) [04:06:06] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(222539) [04:06:06] NOTE: The failed command's output is above the ^^^ line in the log file: /media/marineboy122/Develop/pmboot/log.txt
(222539) [04:06:06] ERROR: Command failed: (native) % cd /home/pmos/build; busybox su pmos -c CARCH=armv7 SUDO_APK='abuild-apk --no-progress' CROSS_COMPILE=armv7-alpine-linux-musleabihf- CC=armv7-alpine-linux-musleabihf-gcc HOME=/home/pmos abuild -D postmarketOS -d
(222539) [04:06:06] See also: <https://postmarketos.org/troubleshooting>
(222539) [04:06:06] Traceback (most recent call last):
File "/home/marineboy122/.local/lib/python3.8/site-packages/pmb/__init__.py", line 49, in main
getattr(frontend, args.action)(args)
File "/home/marineboy122/.local/lib/python3.8/site-packages/pmb/helpers/frontend.py", line 115, in build
if not pmb.build.package(args, package, arch_package, force,
File "/home/marineboy122/.local/lib/python3.8/site-packages/pmb/build/_package.py", line 517, in package
(output, cmd, env) = run_abuild(args, apkbuild, arch, strict, force, cross,
File "/home/marineboy122/.local/lib/python3.8/site-packages/pmb/build/_package.py", line 447, in run_abuild
pmb.chroot.user(args, cmd, suffix, "/home/pmos/build", env=env)
File "/home/marineboy122/.local/lib/python3.8/site-packages/pmb/chroot/user.py", line 26, in user
return pmb.chroot.root(args, cmd, suffix, working_dir, output,
File "/home/marineboy122/.local/lib/python3.8/site-packages/pmb/chroot/root.py", line 74, in root
return pmb.helpers.run_core.core(args, msg, cmd_sudo, None, output,
File "/home/marineboy122/.local/lib/python3.8/site-packages/pmb/helpers/run_core.py", line 342, in core
check_return_code(args, code, log_message)
File "/home/marineboy122/.local/lib/python3.8/site-packages/pmb/helpers/run_core.py", line 218, in check_return_code
raise RuntimeError("Command failed: " + log_message)
RuntimeError: Command failed: (native) % cd /home/pmos/build; busybox su pmos -c CARCH=armv7 SUDO_APK='abuild-apk --no-progress' CROSS_COMPILE=armv7-alpine-linux-musleabihf- CC=armv7-alpine-linux-musleabihf-gcc HOME=/home/pmos abuild -D postmarketOS -d