[pacman-dev] [PATCH] makepkg: deterministic PKGINFO libprovides for multiple library versions
allan at archlinux.org
Mon May 11 02:17:08 UTC 2020
On 11/5/20 8:49 am, Eli Schwartz wrote:
> 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
There was historically a package that provided an old compatibility
library as well as the new one (you could only build against the new
one). Really should have been a separate package.
Patch looks good.
More information about the pacman-dev