Page MenuHomeFreeBSD

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

Authored by mat on Aug 9 2016, 10:23 PM.

Diff Detail

rP FreeBSD ports repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

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 needs a soname, otherwise when linked to a binary, the binary will be linked to and not the 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.