On Thu, Jan 14, 2021 at 01:39:07PM +0000, Alex Naumov wrote:
> Hello,
> 
> by trying to 'make build' and 'make test' some ports, I get problem with
> libraries.
> I tried to  'make update-plist' and  'make port-lib-depends-check' like
> described in faq/ports/guide.html, but every time get the same error:
> 
> ===>  Verifying install for gdbm-* in databases/gdbm
> `/usr/ports/pobj/gdbm-1.18.1/fake-aarch64/.fake_done' is up to date.
> ===>  Building package for gdbm-1.18.1p0
> Create /usr/ports/packages/aarch64/all/gdbm-1.18.1p0.tgz
> Error: Libraries in packing-lists in the ports tree
>        and libraries from installed packages don't match

The ports tree and your installed packages are not sync'd.
So update both the local repo and the installed packages.
Or maybe a mismatch in base system & ports flavor is the cause of the error.

dmesg | egrep "(current|stable|release)" will tell you OpenBSD's flavor
https://www.openbsd.org/faq/ports/ports.html#PortsIntro
https://www.openbsd.org/faq/faq5.html#Flavors

> --- /tmp/dep_cache.xvEEohwvP/portstree-gdbm-1.18.1p0 Thu Jan 14 14:29:49
> 2021
> +++ /tmp/dep_cache.xvEEohwvP/inst-gdbm-1.18.1p0Thu Jan 14 14:29:49 2021
> 
> Can somebody explain how to solve this problem. Do I need just to update my
> current version or is there something else?
> 
> Thanks,
> Alex

regards,
  Dimitri

Reply via email to