svn commit: r364287 - head/ports-mgmt/pkg-devel

Vsevolod Stakhov vsevolod at FreeBSD.org
Thu Aug 7 16:45:01 UTC 2014


On 07/08/14 17:40, Matthias Andree wrote:
> Am 07.08.2014 um 18:08 schrieb Vsevolod Stakhov:
> 
>> Due to mainly [2] there are a lot of broken deps, for example, libxml2
>> provides libxml2.so.2.12, whilst all dependant ports requires
>> libxml2.so.2. Consequently, some weird packages, such as wine-i386-devel
>> are installed, since it pretends to provide libxml2.so.2 and due to [3]
>> and [1] wine is treated as a provide candidate.
> 
> The library's SONAME should be the canonical name because that gets
> recorded in another library's or executable's NEEDED tag, and pkg might
> be able to check at package creation, and again before install, if a
> file installing a library also installs a file that matches the SONAME.

That is how it works for shared lib requires. But that is not how it
works for shared lib provides. And this ambiguity is the source of [3].

>> shared libraries requires. Of course, that doesn't save us from false
>> positives but fixing of [1] - [4] issues is hard and it would likely
>> require full rebuild and re-installation of all packages.
> 
> Aren't we doing that weekly anyways?

Do all users reinstall all their packages weekly? No, they don't I suppose.

-- 
Vsevolod Stakhov


More information about the svn-ports-all mailing list