build: fix cross-compile without CPU emulation
All threads resolved!
All threads resolved!
Fix cross compiling where CPU emulation is not needed, for example building x86 packages on x86_64 machines.
This is the case with both:
- CrossCompile.UNNECESSARY
- arch != Arch.native()
Fix the logic in CrossCompile().build_chroot that returned the native chroot in that case instead of Chroot.buildroot(arch).
Fix error:
/usr/bin/abuild: line 2692: x86_64-alpine-linux-musl-strip: not found
Edited by Oliver Smith
Merge request reports
Activity
mentioned in issue build.postmarketos.org#155 (closed)
- Resolved by Oliver Smith
unrelated CI error:
pmb/helpers/logging.py:169:34: SyntaxError: Cannot use star annotation on Python 3.10 (syntax was added in Python 3.11) | 169 | def critical(msg: object, *args: str, **kwargs: Any) -> None: | ^^^ 170 | logging.critical(msg, *args, **kwargs) |
mentioned in commit ollieparanoid/pmbootstrap@aa1761e6
mentioned in commit ollieparanoid/pmbootstrap@805c05f0
mentioned in commit ollieparanoid/pmbootstrap@c0cdd559
mentioned in commit ollieparanoid/pmbootstrap@3dd7b5e1
mentioned in merge request pmaports!6339 (merged)
- Resolved by Alexey Minnekhanov
Will this fix build.postmarketos.org#155 (closed) ?
Please register or sign in to reply