pmaports/cross
Oliver Smith fca3e7d7ee
cross/crossdirect: fix "unsupported relocation"
Crossdirect redirects archivers (gz, bzip2, ...) to their native
versions when cross compiling. This works e.g. when extracting sources or
packing the .apks at the end of the build. But it currently fails when
such an archiver gets called during package().

For example with bootchart2:

  >>> bootchart2: Entering fakeroot...
  ...
  gzip -c bootchart2.1 > /home/pmos/build/pkg/bootchart2/usr/share/man/man1/bootchart2.1.gz
  Error relocating /native/usr/lib/libfakeroot.so: unsupported relocation type 6
  Error relocating /native/usr/lib/libfakeroot.so: unsupported relocation type 6
  Error relocating /native/usr/lib/libfakeroot.so: unsupported relocation type 1
  Error relocating /native/usr/lib/libfakeroot.so: unsupported relocation type 6

Fix this by running the foreign arch version when it gets called in a
fakeroot.

Fixes: 8a7c9ce7 ("cross/crossdirect: run archivers natively too")
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7120>
2025-10-01 19:56:10 +02:00
..
arch-bin-masquerade cross/arch-bin-masquerade, main/anbox-image, linux-*: use pmb:cross-native (MR 1169) 2020-04-25 10:50:38 +02:00
busybox-static-aarch64 cross/busybox-static-*: upgrade to 1.37.0-r23 2025-09-08 20:41:46 +02:00
busybox-static-armhf cross/busybox-static-*: upgrade to 1.37.0-r23 2025-09-08 20:41:46 +02:00
busybox-static-armv7 cross/busybox-static-*: upgrade to 1.37.0-r23 2025-09-08 20:41:46 +02:00
ccache-cross-symlinks pmb:crossdirect: support ppc64le 2025-07-13 15:34:28 +02:00
crossdirect cross/crossdirect: fix "unsupported relocation" 2025-10-01 19:56:10 +02:00
gcc-aarch64 cross/gcc-*: upgrade to 15.2.0-r0 2025-08-17 16:13:29 +00:00
gcc-armhf cross/gcc-*: upgrade to 15.2.0-r0 2025-08-17 16:13:29 +00:00
gcc-armv7 cross/gcc-*: upgrade to 15.2.0-r0 2025-08-17 16:13:29 +00:00
gcc-ppc64le cross/{gcc-ppc64le,musl-ppc64le}: Generate with aportgen (MR 5774) 2025-08-17 12:43:26 +00:00
gcc-riscv64 cross/gcc-*: upgrade to 15.2.0-r0 2025-08-17 16:13:29 +00:00
gcc-x86 cross/gcc-*: upgrade to 15.2.0-r0 2025-08-17 16:13:29 +00:00
gcc-x86_64 cross/gcc-*: upgrade to 15.2.0-r0 2025-08-17 16:13:29 +00:00
gcc4-aarch64 {main,cross}/gcc{4,6}*: remove !tracedeps option (MR 3498) 2022-10-07 21:36:17 +02:00
gcc4-armhf {main,cross}/gcc{4,6}*: remove !tracedeps option (MR 3498) 2022-10-07 21:36:17 +02:00
gcc4-armv7 {main,cross}/gcc{4,6}*: remove !tracedeps option (MR 3498) 2022-10-07 21:36:17 +02:00
gcc6-aarch64 {main,cross}/gcc{4,6}*: remove !tracedeps option (MR 3498) 2022-10-07 21:36:17 +02:00
gcc6-armhf {main,cross}/gcc{4,6}*: remove !tracedeps option (MR 3498) 2022-10-07 21:36:17 +02:00
gcc6-armv7 {main,cross}/gcc{4,6}*: remove !tracedeps option (MR 3498) 2022-10-07 21:36:17 +02:00
grub-efi-x86 cross/grub-efi-x86: upgrade to 2.12-r8 2025-06-22 18:58:14 +02:00
grub-x86 treewide: fix tabs, final newline, trailing whitespace (MR 3530) 2022-10-16 16:27:22 +02:00
musl-aarch64 cross/musl-*: upgrade to 1.2.5-r20 2025-08-20 18:58:19 +02:00
musl-armhf cross/musl-*: upgrade to 1.2.5-r20 2025-08-20 18:58:19 +02:00
musl-armv7 cross/musl-*: upgrade to 1.2.5-r20 2025-08-20 18:58:19 +02:00
musl-ppc64le cross/musl-*: upgrade to 1.2.5-r20 2025-08-20 18:58:19 +02:00
musl-riscv64 cross/musl-*: upgrade to 1.2.5-r20 2025-08-20 18:58:19 +02:00
musl-x86 cross/musl-*: upgrade to 1.2.5-r20 2025-08-20 18:58:19 +02:00
musl-x86_64 cross/musl-*: upgrade to 1.2.5-r20 2025-08-20 18:58:19 +02:00
systemd-boot-x86 cross/systemd-boot-x86: upgrade to 258 2025-09-18 19:47:25 +02:00
.gitlab-ci.yml cross/.gitlab-ci.yml: add tags: [qemu] 2025-08-17 16:13:35 +00:00