Commit graph

581 commits

Author SHA1 Message Date
Achill Gilgenast
de6191ed00
cross/*: add empty maintainer= variables
non-"aportgen"erated packages in cross/

[ci:skip-vercheck]: same behaviour

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7765>
2026-01-17 00:51:36 +00:00
Pablo Correa Gómez
11e8136f44
ci: fetch ci-common files from "main" branch
Relates https://gitlab.postmarketos.org/postmarketOS/postmarketos/-/issues/122

Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7726>
2026-01-14 16:48:52 +00:00
Achill Gilgenast
ecd710af96
*/*: move to maintainer= variables
* Also move right above pkgname=
* Move Co-Maintainer lines above maintainer=
* Remove empty lines in the header

pmbootstrap 3.7+ & abuild supports maintainer= variables.

See also https://gitlab.alpinelinux.org/alpine/tsc/-/issues/88

[ci:skip-build]: no pkgver/pkgrel changes
[ci:ignore-count]: intended
[ci:skip-vercheck]: no functional changes
[skip ci]: false positives

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7723>
2026-01-12 17:01:35 +01:00
Oliver Smith
93f91ed3c0
cross/systemd-boot-x86: fix build without libintl
Fix that the build aborts with:
  Checking for function "dgettext" : NO
  meson.build:1029:21: ERROR: C shared or static library 'intl' not found

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7604>
2025-12-23 12:10:05 +00:00
Achill Gilgenast
30546c9795
cross/systemd-boot-x86: upgrade to 259
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/94895

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7604>
2025-12-23 12:10:05 +00:00
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: e4b8c67bb1
Related: 28eb815e5d
Related: f2036bfe00
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: be9e1474db
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
baef680768

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: 6240e9faf6

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: d0e738b780

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: d59b0fafdf

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