(007009) [18:20:56] $ pmbootstrap /usr/bin/pmbootstrap build linux-motorola-troika (007009) [18:20:56] Pmbootstrap v3.3.2 (Python 3.12.10 (main, Apr 9 2025, 08:28:36) [GCC 14.2.0]) (007009) [18:20:57] % cd /home/swee/.local/var/pmbootstrap/cache_git/pmaports; git remote -v (007009) [18:20:57] % cd /home/swee/.local/var/pmbootstrap/cache_git/pmaports; git show origin/master:channels.cfg (007009) [18:20:57] Attempting to build: linux-motorola-troika (007009) [18:20:57] aarch64/linux-motorola-troika: Generating dependency tree (007009) [18:20:59] Build is necessary for package 'linux-motorola-troika': No binary package available (007009) [18:21:04] Building 1 package (007009) [18:21:04] * edge/linux-motorola-troika (007009) [18:21:04] => (1/1) edge/linux-motorola-troika: Installing dependencies (007009) [18:21:04] Attempting to build: clang, g++-aarch64, gcc-aarch64, abuild, ccache-cross-symlinks (007009) [18:21:04] x86_64/g++-aarch64: Generating dependency tree (007009) [18:21:06] x86_64/so:libc.musl-x86_64.so.1: marked for build (007009) [18:21:06] x86_64/so:libgmp.so.10: marked for build (007009) [18:21:06] x86_64/so:libisl.so.23: marked for build (007009) [18:21:06] x86_64/so:libmpc.so.3: marked for build (007009) [18:21:06] x86_64/so:libmpfr.so.6: marked for build (007009) [18:21:06] x86_64/so:libz.so.1: marked for build (007009) [18:21:06] x86_64/binutils-aarch64: marked for build (007009) [18:21:06] x86_64/mpc1: marked for build (007009) [18:21:06] x86_64/so:libc.musl-x86_64.so.1: marked for build (007009) [18:21:06] x86_64/so:libgcc_s.so.1: marked for build (007009) [18:21:06] x86_64/so:libgmp.so.10: marked for build (007009) [18:21:06] x86_64/so:libisl.so.23: marked for build (007009) [18:21:06] x86_64/so:libmpc.so.3: marked for build (007009) [18:21:06] x86_64/so:libmpfr.so.6: marked for build (007009) [18:21:06] x86_64/so:libstdc++.so.6: marked for build (007009) [18:21:06] x86_64/so:libz.so.1: marked for build (007009) [18:21:06] x86_64/gcc-aarch64: Generating dependency tree (007009) [18:21:06] x86_64/binutils-aarch64: marked for build (007009) [18:21:06] x86_64/bison: marked for build (007009) [18:21:06] x86_64/flex: marked for build (007009) [18:21:06] x86_64/g++: marked for build (007009) [18:21:06] x86_64/gawk: marked for build (007009) [18:21:06] x86_64/gcc: marked for build (007009) [18:21:06] x86_64/gmp-dev: marked for build (007009) [18:21:06] x86_64/isl-dev: marked for build (007009) [18:21:06] x86_64/linux-headers: marked for build (007009) [18:21:06] x86_64/mpc1: marked for build (007009) [18:21:06] x86_64/mpc1-dev: marked for build (007009) [18:21:06] x86_64/mpfr-dev: marked for build (007009) [18:21:06] x86_64/musl-dev-aarch64: marked for build (007009) [18:21:06] x86_64/so:libc.musl-x86_64.so.1: marked for build (007009) [18:21:06] x86_64/so:libgcc_s.so.1: marked for build (007009) [18:21:06] x86_64/so:libgmp.so.10: marked for build (007009) [18:21:06] x86_64/so:libisl.so.23: marked for build (007009) [18:21:06] x86_64/so:libmpc.so.3: marked for build (007009) [18:21:06] x86_64/so:libmpfr.so.6: marked for build (007009) [18:21:06] x86_64/so:libstdc++.so.6: marked for build (007009) [18:21:06] x86_64/so:libz.so.1: marked for build (007009) [18:21:06] x86_64/texinfo: marked for build (007009) [18:21:06] x86_64/zip: marked for build (007009) [18:21:06] x86_64/zlib-dev: marked for build (007009) [18:21:06] x86_64/libstdc++-dev$_target: marked for build (007009) [18:21:06] x86_64/gcc$_target: marked for build (007009) [18:21:06] x86_64/musl-dev: marked for build (007009) [18:21:06] x86_64/so:libc.musl-x86_64.so.1: marked for build (007009) [18:21:06] x86_64/so:libgmp.so.10: marked for build (007009) [18:21:06] x86_64/so:libisl.so.23: marked for build (007009) [18:21:06] x86_64/so:libmpc.so.3: marked for build (007009) [18:21:06] x86_64/so:libmpfr.so.6: marked for build (007009) [18:21:06] x86_64/so:libz.so.1: marked for build (007009) [18:21:06] x86_64/binutils-aarch64: marked for build (007009) [18:21:06] x86_64/mpc1: marked for build (007009) [18:21:06] x86_64/so:libc.musl-x86_64.so.1: marked for build (007009) [18:21:06] x86_64/so:libgcc_s.so.1: marked for build (007009) [18:21:06] x86_64/so:libgmp.so.10: marked for build (007009) [18:21:06] x86_64/so:libisl.so.23: marked for build (007009) [18:21:06] x86_64/so:libmpc.so.3: marked for build (007009) [18:21:06] x86_64/so:libmpfr.so.6: marked for build (007009) [18:21:06] x86_64/so:libstdc++.so.6: marked for build (007009) [18:21:06] x86_64/so:libz.so.1: marked for build (007009) [18:21:06] x86_64/abuild: Generating dependency tree (007009) [18:21:07] x86_64/zlib-dev: marked for build (007009) [18:21:08] x86_64/perl: marked for build (007009) [18:21:08] x86_64/perl-libwww: marked for build (007009) [18:21:08] x86_64/perl-json: marked for build (007009) [18:21:08] x86_64/perl-module-build-tiny: marked for build (007009) [18:21:08] x86_64/perl-lwp-protocol-https: marked for build (007009) [18:21:08] x86_64/abuild: marked for build (007009) [18:21:08] x86_64/ccache-cross-symlinks: Generating dependency tree (007009) [18:21:08] /bin/sh: has multiple providers (yash-binsh, dash-binsh, busybox-binsh, oils-for-unix-binsh), picked shortest: yash-binsh (007009) [18:21:08] (native) install ccache-cross-symlinks abuild gcc-aarch64 g++-aarch64 clang (007009) [18:21:08] % doas mkdir -p /home/swee/.local/var/pmbootstrap/tmp (007009) [18:21:11] % doas rm -f /home/swee/.local/var/pmbootstrap/tmp/apk_progress_fifo (007009) [18:21:11] % doas mkfifo /home/swee/.local/var/pmbootstrap/tmp/apk_progress_fifo (007009) [18:21:11] % doas cat /home/swee/.local/var/pmbootstrap/tmp/apk_progress_fifo (007009) [18:21:11] % doas sh -c exec 3>/home/swee/.local/var/pmbootstrap/tmp/apk_progress_fifo; /home/swee/.local/var/pmbootstrap/apk.static --progress-fd 3 --no-progress --root /home/swee/.local/var/pmbootstrap/chroot_native --arch x86_64 --cache-dir /home/swee/.local/var/pmbootstrap/cache_apk_x86_64 --repository /home/swee/.local/var/pmbootstrap/packages/edge --repository /home/swee/.local/var/pmbootstrap/packages/edge add --no-interactive clang g++-aarch64 gcc-aarch64 abuild ccache-cross-symlinks ; (007009) [18:21:11] New background process: pid=7086, output=background WARNING: opening /home/swee/.local/var/pmbootstrap/packages/edge: No such file or directory OK: 1353 MiB in 292 packages (007009) [18:21:12] /bin/sh: has multiple providers (yash-binsh, dash-binsh, busybox-binsh, oils-for-unix-binsh), picked shortest: yash-binsh (007009) [18:21:12] (native) install bash bc binutils-gold bison clang devicepkg-dev findutils flex openssl-dev perl (007009) [18:21:12] % doas mkdir -p /home/swee/.local/var/pmbootstrap/tmp (007009) [18:21:12] % doas rm -f /home/swee/.local/var/pmbootstrap/tmp/apk_progress_fifo (007009) [18:21:12] % doas mkfifo /home/swee/.local/var/pmbootstrap/tmp/apk_progress_fifo (007009) [18:21:12] % doas cat /home/swee/.local/var/pmbootstrap/tmp/apk_progress_fifo (007009) [18:21:12] % doas sh -c exec 3>/home/swee/.local/var/pmbootstrap/tmp/apk_progress_fifo; /home/swee/.local/var/pmbootstrap/apk.static --progress-fd 3 --no-progress --root /home/swee/.local/var/pmbootstrap/chroot_native --arch x86_64 --cache-dir /home/swee/.local/var/pmbootstrap/cache_apk_x86_64 --repository /home/swee/.local/var/pmbootstrap/packages/edge --repository /home/swee/.local/var/pmbootstrap/packages/edge add --no-interactive bash bc binutils-gold bison clang devicepkg-dev findutils flex openssl-dev perl ; (007009) [18:21:12] New background process: pid=7091, output=background WARNING: opening /home/swee/.local/var/pmbootstrap/packages/edge: No such file or directory (1/1) Installing binutils-gold (2.44-r0) Executing busybox-1.37.0-r16.trigger OK: 1355 MiB in 293 packages (007009) [18:21:14] => edge/linux-motorola-troika: Building package (007009) [18:21:14] (native) % mkdir -p /home/pmos/packages; rm -f /home/pmos/packages/pmos; ln -sf /mnt/pmbootstrap/packages/edge /home/pmos/packages/pmos (007009) [18:21:14] % doas rm -rf /home/swee/.local/var/pmbootstrap/chroot_native/home/pmos/build (007009) [18:21:16] % doas mkdir -p /home/swee/.local/var/pmbootstrap/chroot_native/home/pmos/build (007009) [18:21:16] % doas cp -rL /home/swee/.local/var/pmbootstrap/cache_git/pmaports/device/testing/linux-motorola-troika/APKBUILD /home/swee/.local/var/pmbootstrap/chroot_native/home/pmos/build/APKBUILD (007009) [18:21:16] % doas cp -rL /home/swee/.local/var/pmbootstrap/cache_git/pmaports/device/testing/linux-motorola-troika/config-motorola-troika.aarch64 /home/swee/.local/var/pmbootstrap/chroot_native/home/pmos/build/config-motorola-troika.aarch64 (007009) [18:21:16] % doas sh -c cat /usr/lib/python3.12/site-packages/pmb/data/abuild_overrides.sh >> /home/swee/.local/var/pmbootstrap/chroot_native/home/pmos/build/APKBUILD (007009) [18:21:16] (native) % chown -R pmos:pmos /home/pmos/build (007009) [18:21:16] % doas umount /home/swee/.local/var/pmbootstrap/chroot_native/mnt/pmaports (007009) [18:21:16] % doas mount --bind /home/swee/.local/var/pmbootstrap/cache_git/pmaports /home/swee/.local/var/pmbootstrap/chroot_native/mnt/pmaports (007009) [18:21:16] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/build ; (007009) [18:21:16] (native) % busybox su pmos -c HOME=/home/pmos ln -sf /mnt/pmaports/.git /home/pmos/build/.git ; (007009) [18:21:16] (native) % cd /home/pmos/build; busybox su pmos -c CARCH=aarch64 SUDO_APK='abuild-apk --no-progress' CROSS_COMPILE=aarch64-alpine-linux-musl- CC=aarch64-alpine-linux-musl-gcc CCACHE_DISABLE=1 GOCACHE=/home/pmos/.cache/go-build HOME=/home/pmos abuild -D postmarketOS -d ; >>> linux-motorola-troika: Building pmos/linux-motorola-troika 4.14-r0 (using abuild 3.15.0_rc2-r0) started Fri, 25 Apr 2025 01:21:16 +0000 >>> linux-motorola-troika: Validating /home/pmos/build/APKBUILD... >>> WARNING: linux-motorola-troika: No maintainer >>> linux-motorola-troika: Cleaning up srcdir >>> linux-motorola-troika: Cleaning up pkgdir >>> linux-motorola-troika: Cleaning up tmpdir >>> linux-motorola-troika: Fetching linux-motorola-troika-809b8162409a893f026c0b48ef90e3ddd51ec4ee.tar.gz::https://github.com/LineageOS/android_kernel_motorola_exynos9610/archive/809b8162409a893f026c0b48ef90e3ddd51ec4ee.tar.gz >>> linux-motorola-troika: Fetching linux-motorola-troika-809b8162409a893f026c0b48ef90e3ddd51ec4ee.tar.gz::https://github.com/LineageOS/android_kernel_motorola_exynos9610/archive/809b8162409a893f026c0b48ef90e3ddd51ec4ee.tar.gz >>> linux-motorola-troika: Checking sha512sums... linux-motorola-troika-809b8162409a893f026c0b48ef90e3ddd51ec4ee.tar.gz: OK config-motorola-troika.aarch64: OK >>> linux-motorola-troika: Unpacking /var/cache/distfiles/linux-motorola-troika-809b8162409a893f026c0b48ef90e3ddd51ec4ee.tar.gz... NOTE: replacing /home/pmos/build/src/android_kernel_motorola_exynos9610-809b8162409a893f026c0b48ef90e3ddd51ec4ee/include/linux/compiler-gcc.h! If your build breaks with 'Please don't include 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/android_kernel_motorola_exynos9610-809b8162409a893f026c0b48ef90e3ddd51ec4ee/include/linux/compiler-gcc.h' make: Entering directory '/home/pmos/build/src/android_kernel_motorola_exynos9610-809b8162409a893f026c0b48ef90e3ddd51ec4ee' ../scripts/kconfig/conf.c:78:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 78 | printf(_("aborted!\n\n")); | ^~~~~~~~~~~~~~~~~ ../scripts/kconfig/lkc.h:34:17: note: expanded from macro '_' 34 | #define _(text) gettext(text) | ^~~~~~~~~~~~~ ../scripts/kconfig/conf.c:78:10: note: treat the string as an argument to avoid this 78 | printf(_("aborted!\n\n")); | ^ | "%s", ../scripts/kconfig/lkc.h:34:17: note: expanded from macro '_' 34 | #define _(text) gettext(text) | ^ ../scripts/kconfig/conf.c:79:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 79 | printf(_("Console input/output is redirected. ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scripts/kconfig/lkc.h:34:17: note: expanded from macro '_' 34 | #define _(text) gettext(text) | ^~~~~~~~~~~~~ ../scripts/kconfig/conf.c:79:10: note: treat the string as an argument to avoid this 79 | printf(_("Console input/output is redirected. ")); | ^ | "%s", ../scripts/kconfig/lkc.h:34:17: note: expanded from macro '_' 34 | #define _(text) gettext(text) | ^ ../scripts/kconfig/conf.c:80:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 80 | printf(_("Run 'make oldconfig' to update configuration.\n\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scripts/kconfig/lkc.h:34:17: note: expanded from macro '_' 34 | #define _(text) gettext(text) | ^~~~~~~~~~~~~ ../scripts/kconfig/conf.c:80:10: note: treat the string as an argument to avoid this 80 | printf(_("Run 'make oldconfig' to update configuration.\n\n")); | ^ | "%s", ../scripts/kconfig/lkc.h:34:17: note: expanded from macro '_' 34 | #define _(text) gettext(text) | ^ ../scripts/kconfig/conf.c:90:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 90 | printf(_("(NEW) ")); | ^~~~~~~~~~~ ../scripts/kconfig/lkc.h:34:17: note: expanded from macro '_' 34 | #define _(text) gettext(text) | ^~~~~~~~~~~~~ ../scripts/kconfig/conf.c:90:10: note: treat the string as an argument to avoid this 90 | printf(_("(NEW) ")); | ^ | "%s", ../scripts/kconfig/lkc.h:34:17: note: expanded from macro '_' 34 | #define _(text) gettext(text) | ^ ../scripts/kconfig/conf.c:291:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 291 | printf(_(" (NEW)")); | ^~~~~~~~~~~ ../scripts/kconfig/lkc.h:34:17: note: expanded from macro '_' 34 | #define _(text) gettext(text) | ^~~~~~~~~~~~~ ../scripts/kconfig/conf.c:291:12: note: treat the string as an argument to avoid this 291 | printf(_(" (NEW)")); | ^ | "%s", ../scripts/kconfig/lkc.h:34:17: note: expanded from macro '_' 34 | #define _(text) gettext(text) | ^ ../scripts/kconfig/conf.c:439:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 439 | printf(_("*\n* Restart config...\n*\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scripts/kconfig/lkc.h:34:17: note: expanded from macro '_' 34 | #define _(text) gettext(text) | ^~~~~~~~~~~~~ ../scripts/kconfig/conf.c:439:13: note: treat the string as an argument to avoid this 439 | printf(_("*\n* Restart config...\n*\n")); | ^ | "%s", ../scripts/kconfig/lkc.h:34:17: note: expanded from macro '_' 34 | #define _(text) gettext(text) | ^ ../scripts/kconfig/conf.c:641:6: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 641 | _("\n*** The configuration requires explicit update.\n\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scripts/kconfig/lkc.h:34:17: note: expanded from macro '_' 34 | #define _(text) gettext(text) | ^~~~~~~~~~~~~ ../scripts/kconfig/conf.c:641:6: note: treat the string as an argument to avoid this 641 | _("\n*** The configuration requires explicit update.\n\n")); | ^ | "%s", ../scripts/kconfig/lkc.h:34:17: note: expanded from macro '_' 34 | #define _(text) gettext(text) | ^ ../scripts/kconfig/conf.c:694:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 694 | fprintf(stderr, _("\n*** Error during writing of the configuration.\n\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scripts/kconfig/lkc.h:34:17: note: expanded from macro '_' 34 | #define _(text) gettext(text) | ^~~~~~~~~~~~~ ../scripts/kconfig/conf.c:694:20: note: treat the string as an argument to avoid this 694 | fprintf(stderr, _("\n*** Error during writing of the configuration.\n\n")); | ^ | "%s", ../scripts/kconfig/lkc.h:34:17: note: expanded from macro '_' 34 | #define _(text) gettext(text) | ^ ../scripts/kconfig/conf.c:698:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 698 | fprintf(stderr, _("\n*** Error during update of the configuration.\n\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scripts/kconfig/lkc.h:34:17: note: expanded from macro '_' 34 | #define _(text) gettext(text) | ^~~~~~~~~~~~~ ../scripts/kconfig/conf.c:698:20: note: treat the string as an argument to avoid this 698 | fprintf(stderr, _("\n*** Error during update of the configuration.\n\n")); | ^ | "%s", ../scripts/kconfig/lkc.h:34:17: note: expanded from macro '_' 34 | #define _(text) gettext(text) | ^ ../scripts/kconfig/conf.c:709:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 709 | fprintf(stderr, _("\n*** Error during writing of the configuration.\n\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scripts/kconfig/lkc.h:34:17: note: expanded from macro '_' 34 | #define _(text) gettext(text) | ^~~~~~~~~~~~~ ../scripts/kconfig/conf.c:709:20: note: treat the string as an argument to avoid this 709 | fprintf(stderr, _("\n*** Error during writing of the configuration.\n\n")); | ^ | "%s", ../scripts/kconfig/lkc.h:34:17: note: expanded from macro '_' 34 | #define _(text) gettext(text) | ^ 10 warnings generated. In file included from scripts/kconfig/zconf.tab.c:2470: ../scripts/kconfig/symbol.c:1153:4: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 1153 | fprintf(stderr, "For a resolution refer to Documentation/kbuild/kconfig-language.txt\n"); | ^ ../scripts/kconfig/symbol.c:1150:3: note: previous statement is here 1150 | if (stack->sym == last_sym) | ^ 1 warning generated. scripts/kconfig/conf -s --oldconfig Kconfig make: Leaving directory '/home/pmos/build/src/android_kernel_motorola_exynos9610-809b8162409a893f026c0b48ef90e3ddd51ec4ee' In file included from scripts/kconfig/zconf.tab.c:2470: In function 'dep_stack_insert', inlined from 'sym_check_print_recursive' at ../scripts/kconfig/symbol.c:1123:3, inlined from 'sym_check_deps' at ../scripts/kconfig/symbol.c:1300:3: ../scripts/kconfig/symbol.c:1099:19: warning: storing the address of local variable 'cv_stack' in 'check_top' [-Wdangling-pointer=] 1099 | check_top = stack; | ~~~~~~~~~~^~~~~~~ ../scripts/kconfig/symbol.c: In function 'sym_check_deps': ../scripts/kconfig/symbol.c:1120:26: note: 'cv_stack' declared here 1120 | struct dep_stack cv_stack; | ^~~~~~~~ ../scripts/kconfig/symbol.c:1090:4: note: 'check_top' declared here 1090 | } *check_top; | ^~~~~~~~~ scripts/kconfig/conf -s --silentoldconfig Kconfig arch/arm64/Makefile:57: Detected assembler with broken .inst; disassembly will be unreliable /bin/sh: aarch64-alpine-linux-musl-ld.gold: not found Cannot use CONFIG_LTO_CLANG: requires GNU gold 1.12 or later make[1]: *** [/home/pmos/build/src/android_kernel_motorola_exynos9610-809b8162409a893f026c0b48ef90e3ddd51ec4ee/Makefile:1195: prepare-compiler-check] Error 1 make: *** [Makefile:146: sub-make] Error 2 >>> ERROR: linux-motorola-troika: build failed (007009) [18:22:46] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (007009) [18:22:46] NOTE: The failed command's output is above the ^^^ line in the log file: /home/swee/.local/var/pmbootstrap/log.txt (007009) [18:22:46] ERROR: Couldn't build aarch64/linux-motorola-troika-4.14-r0.apk!