> I haven't looked at the diff but the check-lib-depends behaviour
> suggests that your ports tree and installed packages are out of sync,
> usual fix is to update both
 
Before doing something with ports, I always upgrade my system,
including base, packages and ports tree.
As this is a dedicated ports-building vm, I delete all packages before
starting work, to get a clean system.

I *think* there is a problem regarding harfbuzz. I've tried installing
it and gtk+2 from binary packages, build harfbuzz from ports and then
harfbuzz + gtk+2 both from ports.

After that I changed my CVS server to rule out problems with that.
No luck so far.

I always get 'bad major' from harfbuzz while installing gtk+2.

openbsd-ports$ make install
===>  Verifying specs: c++ c++abi pthread X11 Xcomposite Xcursor Xdamage Xext 
Xfixes Xi Xinerama Xrandr Xrender atk-1.0 cairo expat ffi fontconfig freetype 
fribidi gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 graphite2 
harfbuzz iconv intl m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png 
xcb xcb-render xcb-shm z c
===>  found c++.9.0 c++abi.6.0 pthread.26.1 X11.18.0 Xcomposite.4.0 Xcursor.5.0 
Xdamage.4.0 Xext.13.0 Xfixes.6.1 Xi.12.2 Xinerama.6.0 Xrandr.7.1 Xrender.6.0 
atk-1.0.21809.4 cairo.13.1 expat.14.0 ffi.1.2 fontconfig.13.1 freetype.30.1 
fribidi.3.1 gdk_pixbuf-2.0.3200.3 gio-2.0.4200.14 glib-2.0.4201.7 
gmodule-2.0.4200.14 gobject-2.0.4200.14 graphite2.2.0 harfbuzz.17.1 iconv.7.0 
intl.7.0 m.10.1 pango-1.0.3801.3 pangocairo-1.0.3801.3 pangoft2-1.0.3801.3 
pcre.3.0 pixman-1.40.0 png.18.0 xcb.4.1 xcb-render.1.1 xcb-shm.1.1 z.6.0 c.96.1
===>  Installing gtk+2-2.24.33p0 from /usr/ports/packages/amd64/all/
Can't install gtk+2-2.24.33p0 because of libraries
|library harfbuzz.16.4 not found
| /usr/local/lib/libharfbuzz.so.17.1 (harfbuzz-4.0.1): bad major
Direct dependencies for gtk+2-2.24.33p0 resolve to hicolor-icon-theme-0.17 
gnome-icon-theme-symbolic-3.12.0p3 gdk-pixbuf-2.42.6 
gtk-update-icon-cache-3.24.33 atk-2.36.0 pango-1.50.5
Full dependency tree is pango-1.50.5 libxml-2.9.13 pcre-8.44 sqlite3-3.36.0 
shared-mime-info-2.1p1 lzo2-2.10p2 harfbuzz-4.0.1 python-3.9.10 
gdk-pixbuf-2.42.6 graphite2-1.3.14 bzip2-1.0.8p0 jpeg-2.1.2v0 cairo-1.17.4p1 
hicolor-icon-theme-0.17 tiff-4.3.0 atk-2.36.0 
gnome-icon-theme-symbolic-3.12.0p3 xz-5.2.5p0 lz4-1.9.3p0 
gettext-runtime-0.21p1 gnome-icon-theme-3.12.0p5 fribidi-1.0.11 libffi-3.3p1 
glib2-2.70.4 libiconv-1.16p0 librsvg-2.52.7 gtk-update-icon-cache-3.24.33 
png-1.6.37 zstd-1.5.2
Couldn't install gtk+2-2.24.33p0
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2164 
'/var/db/pkg/gtk+2-2.24.33p0/+CONTENTS': @/usr/bin/env -i PKG_TMPDIR=/var/tm...)
*** Error 2 in /usr/ports/x11/gtk+2 
(/usr/ports/infrastructure/mk/bsd.port.mk:2607 'install': @lock=gtk+-2.24.33;  
export _LOCKS_HELD=" gtk+...)

Thanks!

-- 
greetings,

Florian Viehweger

Reply via email to