Skip to content

Instantly share code, notes, and snippets.

@gmankab
Created February 7, 2025 10:35
Show Gist options
  • Save gmankab/32c934efcfb0c229f0bb322b4f7fd5e9 to your computer and use it in GitHub Desktop.
Save gmankab/32c934efcfb0c229f0bb322b4f7fd5e9 to your computer and use it in GitHub Desktop.
bash-5.2$ source /tmp/pmbootstrap/helpers/envkernel.sh
pmbootstrap envkernel.sh activated successfully.
* kernel source: /tmp/linux
* output folder: /tmp/linux/.output
* architecture: arm64 (nothing-spacewar is aarch64)
* cross compile: aarch64-alpine-linux-musl-gcc (Alpine 14.2.0)
* aliases: make, kernelroot, pmbootstrap, pmbroot, run-script (see 'type make' etc.)
* run 'deactivate' to revert all env changes
[envkernel] bash-5.2$ make defconfig sc7280.config
*** pmbootstrap envkernel.sh active for /tmp/linux! ***
[02:40:37] (native) % su pmos -c 'CCACHE_DISABLE=1 ARCH=arm64 CROSS_COMPILE=/usr/bin/aarch64-alpine-linux-musl- make -C /mnt/linux O=/mnt/linux/.output CC=aarch64-alpine-linux-musl-gcc HOSTCC=gcc defconfig sc7280.config'
make: Entering directory '/mnt/linux'
make[1]: Entering directory '/mnt/linux/.output'
GEN Makefile
*** Default configuration is based on 'defconfig'
#
# No change to .config
#
GEN Makefile
../scripts/kconfig/Makefile:109: *** sc7280.config fragment does not exists on this architecture. Stop.
make[3]: *** [../Makefile:733: sc7280.config] Error 2
make[2]: *** [/mnt/linux/Makefile:372: __build_one_by_one] Error 2
make[1]: *** [/mnt/linux/Makefile:251: __sub-make] Error 2
make[1]: Leaving directory '/mnt/linux/.output'
make: *** [Makefile:251: __sub-make] Error 2
make: Leaving directory '/mnt/linux'
[02:40:41] NOTE: The failed command's output is above the ^^^ line in the log file: /var/home/gmanka/.local/var/pmbootstrap/log.txt
[02:40:41] ERROR: Command failed (exit code 2): (native) % busybox su pmos -c HOME=/home/pmos CCACHE_DISABLE=1 ARCH=arm64 CROSS_COMPILE=/usr/bin/aarch64-alpine-linux-musl- make -C /mnt/linux O=/mnt/linux/.output CC=aarch64-alpine-linux-musl-gcc HOSTCC=gcc defconfig sc7280.config ;
[02:40:41] See also: <https://postmarketos.org/troubleshooting>
Run 'pmbootstrap log' for details.
Before you report this error, ensure that pmbootstrap is up to date.
Find the latest version here: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/tags
Your version: 3.2.0
Channel: edge (pmaports: master)
Device: nothing-spacewar (aarch64)
UI: gnome-mobile
systemd: no ('never' selected in 'pmbootstrap init')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment