[artix-general] galaxy autofs needing rebuild and upgrade

Javier je-vv at e.email
Fri May 2 03:44:04 CEST 2025


Hello !

With a recent artix upgrade, libxml2 moved from 2.13.8-1 to 2.14.2-2:

> upgraded libxml2 (2.13.8-1 -> 2.14.2-2)

As a consequence, software depending on libxml2 should have been re-built at least, given libxml2 doesn't offer even the same sonames:

> % ls -l /usr/lib/libxml2.*
> lrwxrwxrwx 1 root root   13 Apr 27 11:05 /usr/lib/libxml2.so -> libxml2.so.16*
> lrwxrwxrwx 1 root root   17 Apr 27 11:05 /usr/lib/libxml2.so.16 -> libxml2.so.16.0.2*
> -rwxr-xr-x 1 root root 1.3M Apr 27 11:05 /usr/lib/libxml2.so.16.0.2*

If you notice, libxml2.so.2 is no longer available.  Now, it so happens automount from galaxy autofs stopped working:
> automount: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory

One really quick work around, which works but doesn't seem the right one:

> cd /usr/lib/
> ln -s libxml2.so libxml2.so.2

So with it:

> % ls -l /usr/lib/libxml2.*
> lrwxrwxrwx 1 root root   13 Apr 27 11:05 /usr/lib/libxml2.so -> libxml2.so.16*
> lrwxrwxrwx 1 root root   17 Apr 27 11:05 /usr/lib/libxml2.so.16 -> libxml2.so.16.0.2*
> -rwxr-xr-x 1 root root 1.3M Apr 27 11:05 /usr/lib/libxml2.so.16.0.2*
> lrwxrwxrwx 1 root root   19 Apr 30 23:04 /usr/lib/libxml2.so.2 -> /usr/lib/libxml2.so*

And guess what, with it the current "galaxy/autofs 5.1.7-1" works.  I looked at the AUR current version which is "5.1.9-5", so it seems the galaxy autofs could get not just a necessary re-build, but also an upgrade.

The AUR package without tweaks fails to build given the lack of systemd because it's build with systemd in mind.  I guess tweaking the package to not build for/with systemd is not that complex.  From [1] it seems it's about removing "--with-systemd" from the "./configure" script args.  However I looked on [2] for autofs and didn't find it there to see how it was built on galaxy.

That said, it seems the initial work around mentioned is good enough, and I just wanted to point out the package requires re-build and upgrade, :)

Thanks !

-- 
Javier


[1]  https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=autofs
[2]  https://gitea.artixlinux.org


More information about the artix-general mailing list