pmaports/extra-repos/systemd
Aelin fddebb2279
systemd/systemd: fix the provider mess
This fixes two issues:

1. I was investigating why currently, pmbootstrap build --force
   libcamera would fail. It turns out that the problem was possible to
   reduce down to apk add eudev-dev resulting in installing eudev-dev
   instead of systemd-dev, even with the systemd repository enabled.
   This is because apk actually thinks it has a higher version:

name <eudev-dev> selected from selectable list
select_package: eudev-dev (requirers=1, autosel=1, iif=0, order_id=0x40005807)
  consider systemd-dev-261_rc4-r0 iif_triggered=0, tag_ok=1, selectable=1, available=1, flags=0x0, provider_priority=100, installed=0
   prefer existing package
    choose as new provider
  consider eudev-dev-3.2.14-r6 iif_triggered=0, tag_ok=1, selectable=1, available=1, flags=0x0, provider_priority=100, installed=0
    select latest by requested name (greater)
    choose as new provider
  consider libudev-zero-dev-1.0.4-r0 iif_triggered=0, tag_ok=1, selectable=1, available=1, flags=0x0, provider_priority=20, installed=0
    select latest by requested name (less)
selecting: eudev-dev-3.2.14-r6, available: 1
assign eudev-dev to eudev-dev-3.2.14-r6
disqualify_package: systemd-dev-261_rc4-r0 (conflicting provides)
disqualify_package: libudev-zero-dev-1.0.4-r0 (conflicting provides)

   And why is that? It's because we have two providers here: One is
   eudev-dev with a provider version of 3.2.14-r6, and the other is
   systemd-dev with a provider version that is empty. This then results
   in apk thinking the version number is greater, as seen above in the
   verbose output. An unversioned provides= for an exact package name
   match will never, ever, ever have any effect, even if the priority is
   set super high, because the version number comparison is before apk
   even starts looking at provider priorities.

   Therefore, we should not have unversioned provides for eudev,
   eudev-dev, eudev-libs and udev. Since those have fairly low version
   numbers, we can just provide them with systemd's version number and
   we'll be fine. This will now result in apk actually installing
   systemd-dev when eudev-dev is prompted for installation.

2. After fixing the aforementioned issue, I noticed that I couldn't
   build anything anymore. This is because my dependency tree would pull
   in systemd and systemd-udev - completely normal. However, both
   systemd and systemd-udev were providing eudev, and apk will refuse to
   install two packages that provide the same thing at the same time.
   The fix for this is to just not provide eudev in the top-level
   systemd package and rather let systemd-udev do that.

With this, I can now finally build libcamera again!

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8857>
2026-06-19 03:46:53 +02:00
..
accountsservice */*: use consistent pkgver scheme for Alpine forks 2026-01-20 15:53:13 +01:00
cups systemd/cups: upgrade to 2.4.19 2026-06-10 19:31:06 +09:00
dbus */*: use consistent pkgver scheme for Alpine forks 2026-01-20 15:53:13 +01:00
dbus-broker systemd/dbus-broker: skip tests on all archs except x86_64 2026-03-30 15:38:09 -07:00
drkonqi systemd/kjournald: upgrade to 26.04.2 2026-06-17 18:53:52 +00:00
dsme systemd/dsme: upgrade to 0.84.8 2026-02-02 17:01:49 +01:00
gdm */*: update my name and email 2026-06-06 21:14:12 +02:00
gnome-desktop */*: update my name and email 2026-06-06 21:14:12 +02:00
gnome-keyring */*: update my name and email 2026-06-06 21:14:12 +02:00
gnome-logs systemd/gnome-logs: upgrade to 50.0 2026-03-13 11:18:58 +00:00
gnome-session systemd/gnome-session: upgrade to 50.1 2026-06-08 10:51:50 +00:00
gnome-settings-daemon-mobile */*: update my name and email 2026-06-06 21:14:12 +02:00
gnome-shell */*: update my name and email 2026-06-06 21:14:12 +02:00
gnome-shell-mobile systemd/gnome-shell-mobile: Fix a keyboard issue causing excessive battery drain 2026-06-14 08:43:55 +00:00
kjournald systemd/kjournald: upgrade to 26.04.2 2026-06-17 18:53:52 +00:00
kscreenlocker systemd/plasma*: upgrade to 6.7.0 2026-06-17 18:53:52 +00:00
kwin systemd/plasma*: upgrade to 6.7.0 2026-06-17 18:53:52 +00:00
mutter */*: update my name and email 2026-06-06 21:14:12 +02:00
mutter-mobile */*: update my name and email 2026-06-06 21:14:12 +02:00
networkmanager Drop maintainership for jane400 2026-05-03 13:15:49 +00:00
phosh */*: update my name and email 2026-06-06 21:14:12 +02:00
plasma-login-manager systemd/plasma*: upgrade to 6.7.0 2026-06-17 18:53:52 +00:00
plasma-workspace systemd/plasma*: upgrade to 6.7.0 2026-06-17 18:53:52 +00:00
polkit Drop maintainership for jane400 2026-05-03 13:15:49 +00:00
postmarketos-base-systemd systemd/postmarketos-base-systemd: enable unudhpcd service 2026-06-18 06:27:13 +00:00
postmarketos-repo-nightly systemd/postmarketos-repo-nightly: new aport 2026-03-08 13:30:16 +01:00
systemd systemd/systemd: fix the provider mess 2026-06-19 03:46:53 +02:00
systemd-services */*: move to maintainer= variables 2026-01-12 17:01:35 +01:00
systemd-stage0 systemd/systemd: fix the provider mess 2026-06-19 03:46:53 +02:00
upower systemd/upower: take over maintainership, sync with upstream 2026-01-21 20:25:27 +01:00
xorg-server systemd/xorg-server: upgrade to 21.1.23 2026-06-07 12:51:52 +02:00