On Sun, May 19, 2024 at 09:15:44AM -0500, izder456 wrote: > Hello ports@, > > I am working on a port for net/abaddon which is a lightweight GTK3 > discord client written in C++. > > I got so far until a `make package` where I get this error: > > ===> Building package for abaddon-0.2.1 > Create /usr/packages/amd64/all/abaddon-0.2.1.tgz > Error: Libraries in packing-lists in the ports tree > and libraries from installed packages don't match > --- /tmp/dep_cache.u16eUfuw6/portstree-abaddon-0.2.1 Sun May 19 > 09:10:39 2024 +++ /tmp/dep_cache.u16eUfuw6/inst-abaddon-0.2.1 Sun May > 19 09:10:39 2024 @@ -22,7 +22,7 @@
I think your terminal messed up newlines here when you copy-pasted to your email; this makes this slightly harder to read. Note the '---' line has portstree-abaddon. And the '+++' line has inst-abaddon. This means it's showing you the difference between the version in your ports tree (typically under /usr/ports) and the installed version. > -W gtk-3.2201.0 > -W gtkmm-3.0.4.5 > -W handy-1.0.3 > --W harfbuzz.18.9 > +-W harfbuzz.18.8 Now comparing + and - to above: your portstree has library version 18.9 and you have library version 18.8 installed! That's what pkg_create is complaining about: your installed packages are behind. This will resolve once you update your snapshot with the new harfbuzz packages. Or you build and install harfbuzz from you ports tree. > -W intl.8.0 > -W m.10.1 > -W opus.1.5 > *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:3567 > 'wantlib-args': @case X${_DEPENDS_CACHE} in X) _DEPENDS_CACHE=$( > mktemp -d ...) *** Error 2 in . > (/usr/ports/infrastructure/mk/bsd.port.mk:2243 > '/usr/packages/amd64/all/abaddon-0.2.1.tgz': @trap "cd > /usr/packages/amd64/t...) *** Error 2 in . > (/usr/ports/infrastructure/mk/bsd.port.mk:2725 '_internal-package': > @case X${_DEPENDS_CACHE} in X) _DEPENDS_CACHE=$( mktem...) *** Error 2 > in /home/izder456/Projects/OpenBSD/ports/mystuff/net/abaddon > (/usr/ports/infrastructure/mk/bsd.port.mk:2704 'package': @lock=aba...) > > I have tried to update my plist with `make update-plist`, but to no > avail. make update-plist only affects that contents, the library versions are handled by SHARED_LIBS - see bsd.port.mk(5) and pkg_create(1).