Commit Graph
576 Commits
Author SHA1 Message Date
Achill Gilgenast de51296af2 cross/systemd-boot-x86: upgrade to 258.3
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/94695

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7575>
2025-12-15 18:22:55 +00:00
Jens Reidel 4971cffa24 cross/systemd-boot-x86: upgrade to 258.2
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7372>
2025-11-15 00:08:53 +00:00
Oliver Smith 1f18c9a29e cross/gcc-*: upgrade to 15.2.0-r2
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7289>
2025-11-02 13:28:40 +01:00
Jens Reidel 3960d31623 cross/gcc-*: upgrade to 15.2.0-r1
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7221>
2025-10-20 23:41:02 +00:00
Jens Reidel 20261cb654 cross/systemd-boot-x86: upgrade to 258.1
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7194>
2025-10-14 02:21:30 +02:00
Oliver Smith a326582cd6 cross/musl-*: downgrade to 1.2.5
[ci:skip-vercheck]: Follow Alpine's downgrade to 1.2.5

Related: https://gitlab.alpinelinux.org/alpine/aports/-/commit/e4b8c67bb1d2d22e98f0c00b50b7fb0b71eee6c9
Related: https://gitlab.alpinelinux.org/alpine/aports/-/commit/28eb815e5d8bacf7467aed9db0fc6ac026e97cea
Related: https://gitlab.alpinelinux.org/alpine/aports/-/commit/f2036bfe000ab05e1f300c6fce57be3da9db426e
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7188>
2025-10-14 00:08:14 +00:00
Jens Reidel 3632851500 cross/crossdirect: Add support for loongarch64
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7116>
2025-10-12 16:36:48 +00:00
Jens Reidel b3500aaa5b cross/{gcc,musl}-loongarch64: Generate with aportgen
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7116>
2025-10-12 16:36:48 +00:00
Jens Reidel e5b378b65f cross/musl-*: upgrade to 1.2.6_git20250919
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7182>
2025-10-12 10:10:59 +00:00
Oliver Smith 38245b028f cross/busybox-static-*: remove
The busybox-static packages were used by devices using the obscure
"isorec" boot method (that I originally introduced with the
samsung-i9100, based on what I saw in the downstream kernel repo at the
time IIRC). This method is fairly limited, e.g. we can't append a
cmdline easily according to MR 6917. After the samsung-i9100 has been
switched over to use u-boot in MR 6921, all users of busybox-static are
now in device/archived/. Let's remove the busybox-static packages so
there are less packages we need to sync with Alpine.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7145>
2025-10-05 22:48:50 +00:00
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
Oliver Smith 219e9e5e8a cross/systemd-boot-x86: upgrade to 258
Related: https://gitlab.alpinelinux.org/alpine/aports/-/commit/be9e1474db71102756a209a31e39085a67b16305
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7060>
2025-09-18 19:47:25 +02:00
Jens Reidel a42bce2407 cross/busybox-static-*: upgrade to 1.37.0-r23
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7019

[ci:skip-build]: already built successfully in CI
2025-09-08 20:41:46 +02:00
Achill Gilgenast d8be95c138 cross/systemd-boot-x86: upgrade to 257.9
https://gitlab.alpinelinux.org/alpine/aports/-/commit/baef68076879beea57f864db4d69a61e6ee0c476

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7013>
2025-09-08 01:54:28 +00:00
Oliver Smith d2b4965e3a cross/musl-*: upgrade to 1.2.5-r20
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6955>
2025-08-20 18:58:19 +02:00
Oliver Smith 5053fa4853 cross/.gitlab-ci.yml: add tags: [qemu]
The runners from OSUOSL sometimes still fail to run jobs that emulate
other arches via QEMU. We run into this when building gcc-x86_64 for
aarch64 on x86_64 through QEMU. Use the usual workaround of running the
job on our own builder.

Related: postmarketos issue 83
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6909>
2025-08-17 16:13:35 +00:00
Oliver Smith ed7213823e cross/.gitlab-ci.yml: store log on error
Make the log available, currently it gets cut off:

> Job's log exceeded limit of 4194304 bytes.
> Job execution will continue but no more output will be collected.

Remove --details-to-stdout, as it causes the log to only get written to
stdout, not to the log file.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6909>
2025-08-17 16:13:35 +00:00
Oliver Smith 6d9ab71015 cross/.gitlab-ci.yml: fix building 3 pkgs
The hello-world, iskey, pbsplash packages didn't actually get built in
this test as --force was missing and the versions don't change when
upgrading gcc. The last and most important one for building gcc-x86_64
with gcc-aarch64 did work though.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6909>
2025-08-17 16:13:32 +00:00
Oliver Smith 689d67be2e cross/gcc-*: upgrade to 15.2.0-r0
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6909>
2025-08-17 16:13:29 +00:00
Jens Reidel ed1039bc18 cross/{gcc-ppc64le,musl-ppc64le}: Generate with aportgen (MR 5774)
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/5774>
2025-08-17 12:43:26 +00:00
Oliver Smith a4a01e6896 cross/musl-*: upgrade to 1.2.5-r19
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6930

[ci:skip-build]: already built successfully in CI
2025-08-15 14:31:33 +02:00
Oliver Smith c836f3a0b6 cross/busybox-static-*: upgrade to 1.37.0-r22
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6901

[ci:skip-build]: already built successfully in CI
2025-08-08 17:20:59 -07:00
Oliver Smith abee2c9bd0 cross/systemd-boot-x86: upgrade to 257.8
Related: https://gitlab.alpinelinux.org/alpine/aports/-/commit/6240e9faf618122bd2a99be9b7c87447c5effe51

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6902
[ci:skip-build]: already built successfully in CI
2025-08-08 17:19:12 -07:00
Oliver Smith 08c7d7d784 cross/gcc-*: upgrade to 15.1.1_git20250726-r0
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6858

[ci:skip-build]: already built successfully in CI
2025-08-01 07:58:05 +02:00
Oliver Smith 403c5a4059 cross/musl-*: upgrade to 1.2.5-r17
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6856

[ci:skip-build]: already built successfully in CI
2025-08-01 07:55:57 +02:00
Oliver Smith a1b32209a3 cross/gcc-*: upgrade to 15.1.1_git20250719-r2
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6829

[ci:skip-build]: already built successfully in CI
2025-07-27 17:08:14 -04:00
Oliver Smith 48279a26b8 cross/musl-*: upgrade to 1.2.5-r15
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6828

[ci:skip-build]: already built successfully in CI
2025-07-27 11:26:03 +02:00
Oliver Smith 3fe30397b9 cross/busybox-static-*: upgrade to 1.37.0-r21
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6828
2025-07-27 11:25:59 +02:00
Oliver Smith 9ee28aa4de cross/busybox-static: upgrade to 1.37.-r20
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6816

[ci:skip-build]: already built successfully in CI
2025-07-23 19:24:02 +02:00
Oliver Smith 9481543b7b CI: add cross-gcc-tests
When upgrading our cross gcc packages, build some packages with them to
ensure they work as expected.

Put the gitlab-ci.yml in cross/ instead of cross/gcc-x86_64, because:
* it tests gcc-aarch64 too
* so it does not get removed when regenerating gcc-x86_64 with
  pmbootstrap

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6776
2025-07-15 08:32:56 +02:00
Oliver Smith 1e8d98e1fb cross/gcc: upgrade to 14.3.0-r6
Related: https://gitlab.alpinelinux.org/alpine/aports/-/commit/d0e738b780902942b991d6c993cb92cb6089c1a0

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6776
2025-07-15 08:32:56 +02:00
Oliver Smith ada641bbf4 cross/musl-*: upgrade to 1.2.5-r14
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6778

[ci:skip-build]: already built successfully in CI
2025-07-14 22:15:39 +02:00
Jens Reidel 2fd253416e pmb:crossdirect: support ppc64le
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6770

[ci:skip-build]: already built successfully in CI
2025-07-13 15:34:28 +02:00
Oliver Smith 8a7c9ce707 cross/crossdirect: run archivers natively too
Run native binaries for extracting / packing various archives if they
are installed in the native chroot when using the crossdirect
compilation method, instead of having them go through QEMU. The
resulting extracted/packed files should always be the same but this is
significantly faster.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6763
2025-07-13 12:25:58 +02:00
Oliver Smith 7e4ddbdc55 cross/crossdirect: tweak package() variables
* make arches and compilers diff friendly
* order arches alphabetically
* rename _bin to _bin_compilers in preparation for _bin_archivers

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6763
2025-07-13 12:25:58 +02:00
Oliver Smith 4070cdc539 cross/busybox-static: upgrade to 1.37.0-r19
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6759
2025-07-09 20:32:53 +02:00
Oliver Smith b636909bed cross/gcc-*: upgrade to 14.3.0-r5
Done with pmbootstrap MR 2521.

Related: https://gitlab.alpinelinux.org/alpine/aports/-/commit/d59b0fafdf18e18e816f5aa706f54e823d2d2701

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6722
[ci:skip-build]: already built successfully in CI
2025-06-30 00:25:22 +02:00
Oliver Smith 9342e5f003 cross/musl-*: upgrade to 1.2.5-r13
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6730

[ci:skip-build]: already built successfully in CI
2025-06-29 22:37:16 +02:00
fossdd 537d07e241 cross/systemd-boot-x86: upgrade to 257.7
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6721

[ci:skip-build]: already built successfully in CI
2025-06-26 23:55:25 +02:00
Oliver Smith afa8c187a9 cross/gcc-*: upgrade to 14.3.0-r4
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6689

[ci:skip-build]: already built successfully in CI
2025-06-22 20:45:06 +02:00
Oliver Smith 35dcc9e730 cross/grub-efi-x86: upgrade to 2.12-r8
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6688

[ci:skip-build]: already built successfully in CI
2025-06-22 18:58:14 +02:00
Oliver Smith 879be2b85c cross/musl-*: upgrade to 1.2.5-r12
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6651

[ci:skip-build]: already built successfully in CI
2025-06-12 19:04:24 +02:00
Oliver Smith c2b9218453 cross/musl-*: upgrade to 1.2.5-r11
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6647

[ci:skip-build]: already built successfully in CI
2025-06-12 09:43:17 +02:00
Oliver Smith 5bc86711b1 cross/gcc-*: upgrade to 14.3.0-r3
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6619

[ci:skip-build]: already built successfully in CI
2025-06-12 09:42:07 +02:00
Oliver Smith d4c110d809 cross/gcc-*: upgrade to 14.3.0-r1
Done with pmb MR 2521. I've verified that gcc-aarch64 builds and the
following packages can be cross compiled from aarch64 to x86_64:

* hello-world
* iskey
* pbsplash
* gcc-x86_64

Related: https://gitlab.postmarketos.org/postmarketOS/continuous-testing/upstream-compat/-/blob/master/docs/how-to-fix-upstream-compat-errors.md#gcc-

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6587
[ci:skip-build]: already built successfully in CI
2025-06-01 15:09:21 +02:00
Oliver Smith 9358db8346 cross/systemd-boot-x86: upgrade to 257.6
Related: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/84963

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6574
[ci:skip-build]: already built successfully in CI
2025-05-30 14:39:22 -07:00
Clayton Craft fd96e65267 cross/busybox-static-*: upgrade to 1.37.0-r18 2025-05-29 14:18:10 -07:00
Clayton Craft f80528b498 cross/systemd-boot-x86: new aport
fixes #3711

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6506
2025-05-15 22:48:30 +02:00
Oliver Smith 3c58ddae78 cross/gcc-x86_64: fix depends line for aarch64
The gcc-x86_64 is only built for aarch64. Set the depends line to
so:libc.musl-aarch64.so.1 as we had it before 42a50731 ("cross/gcc-*:
upgrade to 14.2.0-r6"). I had set it to so:libc.musl-x86_64.so.1 like
the other cross gccs by accident.

[ci:skip-build]: I'll verify it builds locally before merge.
[ci:skip-vercheck]: version not bumped intentionally.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6501
2025-05-12 07:20:13 +02:00
Oliver Smith baadc8f89a cross/gcc-*: add depends again
Bring back manually listed soname depends that were removed in 42a50731
("cross/gcc-*: upgrade to 14.2.0-r6 "). Without these we get various
cross compiler errors (issue 3705).

How these were removed: the cross/gcc-* packages are generated from
"pmbootstrap aportgen", and the code in master currently removes those.
There was a WIP MR that adds the depends again, but it was not finished
(pmbootstrap MR 2521). This needs to be fixed in pmbootstrap and we need
a better process that ensures we can't push broken cross compilers to
master anymore if followed correctly. I'll look into all of that, but
first let's get the cross compilers working again in edge.

[ci:skip-vercheck]: for generated gccs we keep the same pkgrel as in
                    alpine. I'll force a rebuild in BPO after merge (not
                    ideal, but fixing this is rather urgent as cross
                    compilation is otherwise broken in pmOS edge)
[ci:skip-build]: tested locally

Related: issue 3705

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6500
2025-05-11 22:38:20 +02:00