Future of libdepends and libprovides
Hi all, Since the support for libdepends and libprovides has been removed from the recently released pacman 6.1, [1] we need to do something before adopting it to Arch Linux. Many our packages rely on libdepends and libprovides, and if makepkg would not fill the soname version and architecture, those dependencies would be broken. I mentioned this one year ago, but no further discussions happened. [2] In short term, we should revert this commit [3] at distribution level to avoid breakages. In long term, we have to decide via RFC what to do with libdepends and libprovides. We could probably make a slow, manual transition to the new 'autodeps' feature in pacman, but it still does not support optional autodeps, [4] which means that would be impossible to mark any binary deps as optional. [1] https://gitlab.archlinux.org/pacman/pacman/-/releases/v6.1.0 [2] https://lists.archlinux.org/hyperkitty/list/arch-dev-public@lists.archlinux.... [3] https://gitlab.archlinux.org/pacman/pacman/-/commit/354a300cd26bb1c7e6551473... [4] https://gitlab.archlinux.org/pacman/pacman/-/merge_requests/58 -- György Balló Package Maintainer
On Mon, Mar 04, 2024 at 02:43:54PM +0100, Balló György wrote:
Hi all,
Thanks for writing the email.
Since the support for libdepends and libprovides has been removed from the recently released pacman 6.1, [1] we need to do something before adopting it to Arch Linux. Many our packages rely on libdepends and libprovides, and if makepkg would not fill the soname version and architecture, those dependencies would be broken. I mentioned this one year ago, but no further discussions happened. [2]
In short term, we should revert this commit [3] at distribution level to avoid breakages.
The commit has been reverted, but I have included the autodeps additions to our distributed `makepkg.conf` regardless.
In long term, we have to decide via RFC what to do with libdepends and libprovides. We could probably make a slow, manual transition to the new 'autodeps' feature in pacman, but it still does not support optional autodeps, [4] which means that would be impossible to mark any binary deps as optional.
Yes, we need to figure out what to do long term, but while that happens I don't mind keeping the revert around. I'll push pacman 6.1.0 into the testing repos today. -- Morten Linderud PGP: 9C02FF419FECBE16
participants (2)
-
Balló György
-
Morten Linderud