Louis Brauer(lo...@emacs.ch) on 2024.01.28 20:54:17 +0000:
> I've just installed 7.4-current on an ARM64 machine and tried to pkg_add the 
> "htop" package. It fails and this is the output of pkg_add:
> 
> # pkg_add htop
> quirks-7.0:updatedb-0p0: ok
> quirks-7.0 signed on 2024-01-21T11:57:22Z
> quirks-7.0: ok
> htop-3.2.2:bzip2-1.0.8p0: ok
> htop-3.2.2:pcre2-10.37p1: ok
> htop-3.2.2:libiconv-1.17: ok
> Can't install gettext-runtime-0.22.4 because of libraries
> |library c++.9.0 not found
> | /usr/lib/libc++.so.10.0 (system): bad major
> |library c++abi.6.0 not found
> | /usr/lib/libc++abi.so.7.0 (system): bad major
> Direct dependencies for gettext-runtime-0.22.4 resolve to libiconv-1.17
> Full dependency tree is libiconv-1.17
> htop-3.2.2:libffi-3.4.4p0: ok
> htop-3.2.2:sqlite3-3.44.2: ok
> htop-3.2.2:xz-5.4.5: ok
> Can't install python-3.10.13p0: can't resolve gettext-runtime-0.22.4
> Can't install glib2-2.78.3: can't resolve 
> python-3.10.13p0,gettext-runtime-0.22.4
> Can't install desktop-file-utils-0.27: can't resolve glib2-2.78.3
> Can't install htop-3.2.2: can't resolve desktop-file-utils-0.27
> Couldn't install desktop-file-utils-0.27 gettext-runtime-0.22.4 glib2-2.78.3 
> htop-3.2.2 python-3.10.13p0
> 
> It works fine on -stable. Since I do not have much experience with
> -current or the package system, I'm not sure if that is a bug in the
> -current tree or if there is anything I missed?

libc++ and libc++abi were updated on the 26th. The changes were incompatible
with the previous version so they got newer version numbers.

This can happen on -current. On OpenBSD, there is no guarantee for binary
backward compatibility of libaries, so when the version changes, binaries
need to be recompiled.

Now, packages are build independent from the base. This means that there is
a time lag between such a library bump and the packages catching up.
Wait a few hours or a day and try pkg_add again.

The same can happen when you upgrade to a newer -current.
If you run current, you have to live with this.

/B.

> 
> Any advice would be much appreciated.
> 
> - Louis
> 

-- 

Reply via email to