On 2022/03/14 12:19, Florian Viehweger wrote:
> > 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

You need to clean some more, your ports tree and packages are out of sync.

harfbuzz was updated twice in the last fortnight. First to 4.0.0 which
has libharfbuzz.so.17.0, then to 4.0.1 which has libharfbuzz.so.17.1

The gtk+2 package you are trying to install was built against harfbuzz
3.4.0 (libharfbuzz.so.16.4).

Reply via email to