[pacman-dev] [PATCH] makepkg: deterministic PKGINFO libprovides for multiple library versions

Eli Schwartz eschwartz at archlinux.org
Sun May 10 22:49:59 UTC 2020

On 5/10/20 6:45 PM, anthraxx at archlinux.org wrote:
> From: Levente Polyak <anthraxx at archlinux.org>
> While iterating over the provides array, the find call for locating a
> shared library may result in listing multiple entries which by itself
> does not produce a stable deterministic order and may vary depending on
> the underlying filesystem.
> To provide a stable listing and a reproducible .PKGINFO file the result
> of find is piped to sort with a static LC_ALL=C localisation.

Wait, what. Do we have packages with libprovides providing multiple
versions of a shared library?

I mean yes, given this possibility it does seem like we'd need to sort
them, but still... why does this exist? :p

Eli Schwartz
Bug Wrangler and Trusted User

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1601 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/pacman-dev/attachments/20200510/8c5ab279/attachment.sig>

More information about the pacman-dev mailing list