Stefan Hagen wrote:
> Stuart Henderson wrote:
>> On 2021/08/15 22:51, Stefan Hagen wrote:
>>> Portcheck is happy, but make ports-lib-depends-check has issues:
>>>
>>> $ make port-lib-depends-check
>>>
>>> lurch-0.7.0-src(net/lurch):
>>> Missing lib: jabber.0 (/usr/local/lib/purple-2/lurch.so) (NOT REACHABLE)
>>> Extra:  purple.7
>>> *** Error 1 in target 'port-lib-depends-check' (ignored)
>>
>> That needs lib/purple-2/jabber in WANTLIB and net/pidgin,-libpurple in
>> LIB_DEPENDS, it does not want purple in WANTLIB. check-lib-depends will
>> still warn because it doesn't handle subdirectories properly.
>
> Now that I know what to look for, I found the documentation in
> library-specs(7).
>
>>> $ ldd /usr/local/lib/purple-2/lurch.so | grep jabber
>>> [...] /usr/local/lib/purple-2/libjabber.so.0.0
>>
>> Use objdump -p and look for NEEDED lines, ldd will show inter-library deps
>> too which shouldn't be listed.
>
> Good to know. Thanks.
>
> Attached is the corrected port:
> - updated WANTLIB
> - added comment about portcheck + lib-depends-check errors
> - fixed PKGNAME
> - fixed some variables and tabs

*ping*

The errors thrown by lib-depends-check and portcheck are caused by the
path in WANTLIB and can be ignored.

Attachment: lurch.tgz
Description: application/tar-gz

Reply via email to