On 2017/11/11 11:42, Björn Ketelaars wrote: > On Fri 10/11/2017 15:49, Daniel Jakots wrote: > > On Wed, 1 Nov 2017 12:58:59 +0100, Björn Ketelaars > > <bjorn.ketela...@hydroxide.nl> wrote: > > > > > The diff below brings lastpass-cli to the latest version. Changelog > > > can be found at > > > https://github.com/lastpass/lastpass-cli/releases/tag/v1.2.2 > > > > /usr/ports/security/lastpass-cli$ make lib-depends-check > > > > lastpass-cli-1.2.2(security/lastpass-cli): > > Missing lib: xml2.15 (/usr/local/bin/lpass) (NOT REACHABLE) > > Extra: xml2.16 > > Scanning: ok > > *** Error 1 in /usr/ports/security/lastpass-cli > > (/usr/ports/infrastructure/mk/bsd.port.mk:2240 'lib-depends-check') > > > > can you check it please? > > > > Cheers, > > Daniel > > To check If all libraries can be reached I use port-lib-depends-check, as > described by https://www.openbsd.org/faq/ports/testing.html. Running make > port-lib-depends-check indicates that the WANTLIB part is OK. > > Is it a mistake to use port-lib-depends-check to check WANTLIB?
No. The problem here is that Daniel's ports tree and packages aren't in sync (libxml's library version was bumped recently). > lib-depends-check is a different beast: > > $ make lib-depends-check > > lastpass-cli-1.2.2(security/lastpass-cli): > Missing: c.92 (/usr/local/bin/lpass) (system lib) > Missing: crypto.42 (/usr/local/bin/lpass) (system lib) > Missing lib: curl.25 (/usr/local/bin/lpass) (NOT REACHABLE) > Missing: kvm.16 (/usr/local/bin/lpass) (system lib) > Missing: ssl.44 (/usr/local/bin/lpass) (system lib) > Missing lib: xml2.16 (/usr/local/bin/lpass) (NOT REACHABLE) > WANTLIB += c crypto kvm ssl > Scanning: ok > *** Error 1 in /home/code/ports/security/lastpass-cli > (/home/code/ports/infrastructure/mk/bsd.port.mk:2240 'lib-depends-check') lib-depends-check uses the package (/usr/ports/packages/.../lastpass-cli*tgz), perhaps you haven't re-built this after base OS libraries were updated. > From infrastructure/mk/bsd.port.mk I understand that port-lib-depends-check > and lib-depends-check are different functions. Which one should be used to > check WANTLIB? More important: any idea on how to fix the problem that has > been found by make lib-depends-check? I don't see anything to fix - I have committed the update.