最終更新 1745543613

swee revised this gist 1745543613. Go to revision

1 file changed, 159 insertions

gistfile1.txt(file created)

@@ -0,0 +1,159 @@
1 + (018317) [18:11:01] $ pmbootstrap /usr/bin/pmbootstrap build linux-motorola-troika
2 + (018317) [18:11:01] Pmbootstrap v3.3.2 (Python 3.12.10 (main, Apr 9 2025, 08:28:36) [GCC 14.2.0])
3 + (018317) [18:11:02] % cd /home/swee/.local/var/pmbootstrap/cache_git/pmaports; git remote -v
4 + (018317) [18:11:02] % cd /home/swee/.local/var/pmbootstrap/cache_git/pmaports; git show origin/master:channels.cfg
5 + (018317) [18:11:02] Attempting to build: linux-motorola-troika
6 + (018317) [18:11:02] aarch64/linux-motorola-troika: Generating dependency tree
7 + (018317) [18:11:04] Build is necessary for package 'linux-motorola-troika': No binary package available
8 + (018317) [18:11:08] Building 1 package
9 + (018317) [18:11:08] * edge/linux-motorola-troika
10 + (018317) [18:11:08] => (1/1) edge/linux-motorola-troika: Installing dependencies
11 + (018317) [18:11:08] Attempting to build: g++-aarch64, gcc-aarch64, abuild, ccache-cross-symlinks
12 + (018317) [18:11:08] x86_64/g++-aarch64: Generating dependency tree
13 + (018317) [18:11:10] x86_64/so:libc.musl-x86_64.so.1: marked for build
14 + (018317) [18:11:10] x86_64/so:libgmp.so.10: marked for build
15 + (018317) [18:11:10] x86_64/so:libisl.so.23: marked for build
16 + (018317) [18:11:10] x86_64/so:libmpc.so.3: marked for build
17 + (018317) [18:11:10] x86_64/so:libmpfr.so.6: marked for build
18 + (018317) [18:11:10] x86_64/so:libz.so.1: marked for build
19 + (018317) [18:11:10] x86_64/binutils-aarch64: marked for build
20 + (018317) [18:11:10] x86_64/mpc1: marked for build
21 + (018317) [18:11:10] x86_64/so:libc.musl-x86_64.so.1: marked for build
22 + (018317) [18:11:10] x86_64/so:libgcc_s.so.1: marked for build
23 + (018317) [18:11:10] x86_64/so:libgmp.so.10: marked for build
24 + (018317) [18:11:10] x86_64/so:libisl.so.23: marked for build
25 + (018317) [18:11:10] x86_64/so:libmpc.so.3: marked for build
26 + (018317) [18:11:10] x86_64/so:libmpfr.so.6: marked for build
27 + (018317) [18:11:10] x86_64/so:libstdc++.so.6: marked for build
28 + (018317) [18:11:10] x86_64/so:libz.so.1: marked for build
29 + (018317) [18:11:10] x86_64/gcc-aarch64: Generating dependency tree
30 + (018317) [18:11:10] x86_64/binutils-aarch64: marked for build
31 + (018317) [18:11:10] x86_64/bison: marked for build
32 + (018317) [18:11:10] x86_64/flex: marked for build
33 + (018317) [18:11:10] x86_64/g++: marked for build
34 + (018317) [18:11:10] x86_64/gawk: marked for build
35 + (018317) [18:11:10] x86_64/gcc: marked for build
36 + (018317) [18:11:10] x86_64/gmp-dev: marked for build
37 + (018317) [18:11:10] x86_64/isl-dev: marked for build
38 + (018317) [18:11:10] x86_64/linux-headers: marked for build
39 + (018317) [18:11:10] x86_64/mpc1: marked for build
40 + (018317) [18:11:10] x86_64/mpc1-dev: marked for build
41 + (018317) [18:11:10] x86_64/mpfr-dev: marked for build
42 + (018317) [18:11:10] x86_64/musl-dev-aarch64: marked for build
43 + (018317) [18:11:10] x86_64/so:libc.musl-x86_64.so.1: marked for build
44 + (018317) [18:11:10] x86_64/so:libgcc_s.so.1: marked for build
45 + (018317) [18:11:10] x86_64/so:libgmp.so.10: marked for build
46 + (018317) [18:11:10] x86_64/so:libisl.so.23: marked for build
47 + (018317) [18:11:10] x86_64/so:libmpc.so.3: marked for build
48 + (018317) [18:11:10] x86_64/so:libmpfr.so.6: marked for build
49 + (018317) [18:11:10] x86_64/so:libstdc++.so.6: marked for build
50 + (018317) [18:11:10] x86_64/so:libz.so.1: marked for build
51 + (018317) [18:11:10] x86_64/texinfo: marked for build
52 + (018317) [18:11:10] x86_64/zip: marked for build
53 + (018317) [18:11:10] x86_64/zlib-dev: marked for build
54 + (018317) [18:11:10] x86_64/libstdc++-dev$_target: marked for build
55 + (018317) [18:11:10] x86_64/gcc$_target: marked for build
56 + (018317) [18:11:10] x86_64/musl-dev: marked for build
57 + (018317) [18:11:10] x86_64/so:libc.musl-x86_64.so.1: marked for build
58 + (018317) [18:11:10] x86_64/so:libgmp.so.10: marked for build
59 + (018317) [18:11:10] x86_64/so:libisl.so.23: marked for build
60 + (018317) [18:11:10] x86_64/so:libmpc.so.3: marked for build
61 + (018317) [18:11:10] x86_64/so:libmpfr.so.6: marked for build
62 + (018317) [18:11:10] x86_64/so:libz.so.1: marked for build
63 + (018317) [18:11:10] x86_64/binutils-aarch64: marked for build
64 + (018317) [18:11:10] x86_64/mpc1: marked for build
65 + (018317) [18:11:10] x86_64/so:libc.musl-x86_64.so.1: marked for build
66 + (018317) [18:11:10] x86_64/so:libgcc_s.so.1: marked for build
67 + (018317) [18:11:10] x86_64/so:libgmp.so.10: marked for build
68 + (018317) [18:11:10] x86_64/so:libisl.so.23: marked for build
69 + (018317) [18:11:10] x86_64/so:libmpc.so.3: marked for build
70 + (018317) [18:11:10] x86_64/so:libmpfr.so.6: marked for build
71 + (018317) [18:11:10] x86_64/so:libstdc++.so.6: marked for build
72 + (018317) [18:11:10] x86_64/so:libz.so.1: marked for build
73 + (018317) [18:11:10] x86_64/abuild: Generating dependency tree
74 + (018317) [18:11:11] x86_64/zlib-dev: marked for build
75 + (018317) [18:11:11] x86_64/perl: marked for build
76 + (018317) [18:11:11] x86_64/perl-libwww: marked for build
77 + (018317) [18:11:11] x86_64/perl-json: marked for build
78 + (018317) [18:11:11] x86_64/perl-module-build-tiny: marked for build
79 + (018317) [18:11:11] x86_64/perl-lwp-protocol-https: marked for build
80 + (018317) [18:11:11] x86_64/abuild: marked for build
81 + (018317) [18:11:11] x86_64/ccache-cross-symlinks: Generating dependency tree
82 + (018317) [18:11:11] /bin/sh: has multiple providers (yash-binsh, dash-binsh, busybox-binsh, oils-for-unix-binsh), picked shortest: yash-binsh
83 + (018317) [18:11:11] (native) install ccache-cross-symlinks abuild gcc-aarch64 g++-aarch64
84 + (018317) [18:11:11] % doas mkdir -p /home/swee/.local/var/pmbootstrap/tmp
85 + (018317) [18:11:14] % doas rm -f /home/swee/.local/var/pmbootstrap/tmp/apk_progress_fifo
86 + (018317) [18:11:14] % doas mkfifo /home/swee/.local/var/pmbootstrap/tmp/apk_progress_fifo
87 + (018317) [18:11:14] % doas cat /home/swee/.local/var/pmbootstrap/tmp/apk_progress_fifo
88 + (018317) [18:11:14] % 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 g++-aarch64 gcc-aarch64 abuild ccache-cross-symlinks ;
89 + (018317) [18:11:14] New background process: pid=18331, output=background
90 + WARNING: opening /home/swee/.local/var/pmbootstrap/packages/edge: No such file or directory
91 + OK: 1353 MiB in 292 packages
92 + (018317) [18:11:15] /bin/sh: has multiple providers (yash-binsh, dash-binsh, busybox-binsh, oils-for-unix-binsh), picked shortest: yash-binsh
93 + (018317) [18:11:15] (native) install bash bc bison devicepkg-dev findutils flex ncurses-dev openssl-dev perl
94 + (018317) [18:11:15] % doas mkdir -p /home/swee/.local/var/pmbootstrap/tmp
95 + (018317) [18:11:15] % doas rm -f /home/swee/.local/var/pmbootstrap/tmp/apk_progress_fifo
96 + (018317) [18:11:15] % doas mkfifo /home/swee/.local/var/pmbootstrap/tmp/apk_progress_fifo
97 + (018317) [18:11:15] % doas cat /home/swee/.local/var/pmbootstrap/tmp/apk_progress_fifo
98 + (018317) [18:11:15] % 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 bison devicepkg-dev findutils flex ncurses-dev openssl-dev perl ;
99 + (018317) [18:11:15] New background process: pid=18336, output=background
100 + WARNING: opening /home/swee/.local/var/pmbootstrap/packages/edge: No such file or directory
101 + OK: 1353 MiB in 292 packages
102 + (018317) [18:11:16] => edge/linux-motorola-troika: Building package
103 + (018317) [18:11:16] (native) % mkdir -p /home/pmos/packages; rm -f /home/pmos/packages/pmos; ln -sf /mnt/pmbootstrap/packages/edge /home/pmos/packages/pmos
104 + (018317) [18:11:16] % doas rm -rf /home/swee/.local/var/pmbootstrap/chroot_native/home/pmos/build
105 + (018317) [18:11:18] % doas mkdir -p /home/swee/.local/var/pmbootstrap/chroot_native/home/pmos/build
106 + (018317) [18:11:18] % 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
107 + (018317) [18:11:18] % 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
108 + (018317) [18:11:18] % 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
109 + (018317) [18:11:18] (native) % chown -R pmos:pmos /home/pmos/build
110 + (018317) [18:11:18] % doas umount /home/swee/.local/var/pmbootstrap/chroot_native/mnt/pmaports
111 + (018317) [18:11:18] % doas mount --bind /home/swee/.local/var/pmbootstrap/cache_git/pmaports /home/swee/.local/var/pmbootstrap/chroot_native/mnt/pmaports
112 + (018317) [18:11:18] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/build ;
113 + (018317) [18:11:18] (native) % busybox su pmos -c HOME=/home/pmos ln -sf /mnt/pmaports/.git /home/pmos/build/.git ;
114 + (018317) [18:11:18] (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 ;
115 + >>> linux-motorola-troika: Building pmos/linux-motorola-troika 4.14-r0 (using abuild 3.15.0_rc2-r0) started Fri, 25 Apr 2025 01:11:19 +0000
116 + >>> linux-motorola-troika: Validating /home/pmos/build/APKBUILD...
117 + >>> WARNING: linux-motorola-troika: No maintainer
118 + >>> linux-motorola-troika: Cleaning up srcdir
119 + >>> linux-motorola-troika: Cleaning up pkgdir
120 + >>> linux-motorola-troika: Cleaning up tmpdir
121 + >>> linux-motorola-troika: Fetching linux-motorola-troika-809b8162409a893f026c0b48ef90e3ddd51ec4ee.tar.gz::https://github.com/LineageOS/android_kernel_motorola_exynos9610/archive/809b8162409a893f026c0b48ef90e3ddd51ec4ee.tar.gz
122 + >>> linux-motorola-troika: Fetching linux-motorola-troika-809b8162409a893f026c0b48ef90e3ddd51ec4ee.tar.gz::https://github.com/LineageOS/android_kernel_motorola_exynos9610/archive/809b8162409a893f026c0b48ef90e3ddd51ec4ee.tar.gz
123 + >>> linux-motorola-troika: Checking sha512sums...
124 + linux-motorola-troika-809b8162409a893f026c0b48ef90e3ddd51ec4ee.tar.gz: OK
125 + config-motorola-troika.aarch64: OK
126 + >>> linux-motorola-troika: Unpacking /var/cache/distfiles/linux-motorola-troika-809b8162409a893f026c0b48ef90e3ddd51ec4ee.tar.gz...
127 + NOTE: replacing /home/pmos/build/src/android_kernel_motorola_exynos9610-809b8162409a893f026c0b48ef90e3ddd51ec4ee/include/linux/compiler-gcc.h! If your build breaks with 'Please
128 + don't include <linux/compiler-gcc.h> directly' or a similar
129 + compiler-gcc.h related error, then set
130 + REPLACE_GCCH=0
131 + in your kernel APKBUILD at the start of the
132 + downstreamkernel_prepare.sh line.
133 + '/usr/share/devicepkg-dev/compiler-gcc.h' -> '/home/pmos/build/src/android_kernel_motorola_exynos9610-809b8162409a893f026c0b48ef90e3ddd51ec4ee/include/linux/compiler-gcc.h'
134 + make: Entering directory '/home/pmos/build/src/android_kernel_motorola_exynos9610-809b8162409a893f026c0b48ef90e3ddd51ec4ee'
135 + In file included from scripts/kconfig/zconf.tab.c:2470:
136 + In function 'dep_stack_insert',
137 + inlined from 'sym_check_print_recursive' at ../scripts/kconfig/symbol.c:1123:3,
138 + inlined from 'sym_check_deps' at ../scripts/kconfig/symbol.c:1300:3:
139 + ../scripts/kconfig/symbol.c:1099:19: warning: storing the address of local variable 'cv_stack' in 'check_top' [-Wdangling-pointer=]
140 + 1099 | check_top = stack;
141 + | ~~~~~~~~~~^~~~~~~
142 + ../scripts/kconfig/symbol.c: In function 'sym_check_deps':
143 + ../scripts/kconfig/symbol.c:1120:26: note: 'cv_stack' declared here
144 + 1120 | struct dep_stack cv_stack;
145 + | ^~~~~~~~
146 + ../scripts/kconfig/symbol.c:1090:4: note: 'check_top' declared here
147 + 1090 | } *check_top;
148 + | ^~~~~~~~~
149 + scripts/kconfig/conf -s --oldconfig Kconfig
150 + make: Leaving directory '/home/pmos/build/src/android_kernel_motorola_exynos9610-809b8162409a893f026c0b48ef90e3ddd51ec4ee'
151 + scripts/kconfig/conf -s --silentoldconfig Kconfig
152 + /bin/sh: aarch64-alpine-linux-musl-ld.gold: not found
153 + Cannot use CONFIG_LTO_CLANG: requires clang 5.0 or later
154 + make[1]: *** [/home/pmos/build/src/android_kernel_motorola_exynos9610-809b8162409a893f026c0b48ef90e3ddd51ec4ee/Makefile:1192: prepare-compiler-check] Error 1
155 + make: *** [Makefile:146: sub-make] Error 2
156 + >>> ERROR: linux-motorola-troika: build failed
157 + (018317) [18:12:15] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
158 + (018317) [18:12:15] NOTE: The failed command's output is above the ^^^ line in the log file: /home/swee/.local/var/pmbootstrap/log.txt
159 + (018317) [18:12:15] ERROR: Couldn't build aarch64/linux-motorola-troika-4.14-r0.apk!
Newer Older