Page MenuHomeFreeBSD

Add a stage-qa check to check for the existence of SONAME in .so's.
ClosedPublic

Authored by mat on Aug 9 2016, 10:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 10 2024, 3:05 PM
Unknown Object (File)
Dec 22 2023, 10:30 PM
Unknown Object (File)
Dec 22 2023, 9:14 PM
Unknown Object (File)
Nov 25 2023, 6:32 AM
Unknown Object (File)
Nov 24 2023, 2:47 PM
Unknown Object (File)
Nov 21 2023, 3:35 PM
Unknown Object (File)
Nov 10 2023, 6:34 AM
Unknown Object (File)
Sep 11 2023, 1:47 PM
Subscribers

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 4744
Build 4798: arc lint + arc unit

Event Timeline

mat retitled this revision from to Add a stage-qa check to check for the existence of SONAME in .so's..
mat updated this object.
mat edited the test plan for this revision. (Show Details)

This probably needs special handling for ports that bundle libraries purposely with no SONAME. I think the wine and openoffice ports do this.

On the other hand, is this really a pkg bug?

mat edited edge metadata.
  • Incorporate the soname checks in proxydeps.
mat edited edge metadata.
  • Make it an error, it is BAD.

The fact that a .so doesn't have a SONAME is only a warning, because, hey, it may not be important.

On the other hand the fact that something uses a .so from another port without a SONAME is bad as pkg won't keep track of it.

I'm sure @bapt will say that every .so needs to have a SONAME :-)

Only the libraries in the form libbla.so.X needs a soname, otherwise when linked to a binary, the binary will be linked to libbla.so and not the libbla.so.X it should be looking for.
The check should not happen for ports that have the BUNDLE_LIBS=yes knob

This revision was automatically updated to reflect the committed changes.