Re: libxml2 Port Blocking Upgrades

From: Kevin Oberman <rkoberman_at_gmail.com>
Date: Wed, 06 Apr 2022 23:22:29 UTC
On Wed, Apr 6, 2022 at 3:47 AM Mark Tinka <mark@tinka.africa> wrote:

> Hi all.
>
> For the past week or so, an issue with the libxml2 port is preventing
> other ports from being upgraded.
>
> This is the error I am getting on a number of boxes:
>
> *****
>
> cc: error: no such file or directory: '/usr/local/lib/libxml2.a'
> gmake[4]: *** [Makefile:544: libxslt.la] Error 1
> gmake[4]: Leaving directory
> '/usr/ports/textproc/libxslt/work/libxslt-1.1.35/libxslt'
> gmake[3]: *** [Makefile:645: all-recursive] Error 1
> gmake[3]: Leaving directory
> '/usr/ports/textproc/libxslt/work/libxslt-1.1.35'
> gmake[2]: *** [Makefile:448: all] Error 2
> gmake[2]: Leaving directory
> '/usr/ports/textproc/libxslt/work/libxslt-1.1.35'
> ===> Compilation failed unexpectedly.
> Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
> the maintainer.
> *** Error code 1
>
> Stop.
> make[1]: stopped in /usr/ports/textproc/libxslt
> *** Error code 1
>
> Stop.
> make: stopped in /usr/ports/textproc/libxslt
>
> ===>>> make build failed for textproc/libxslt
> ===>>> Aborting update
>
> ===>>> Update for textproc/libxslt failed
> ===>>> Aborting update
>
> ===>>> Update for devel/glib20 failed
> ===>>> Aborting update
>
> *****
>
> The closest I can find to this issue is this PR:
>
>     https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262853
>
> Any idea of when this would make it into the ports, if it is, indeed, the
> issue?
>
> Mark.
>

I don't think that 262853 is the source of the problem, though I'm not sure
from the provided information. A build with MAKE_JOBS_UNSAFE and some
earlier bit of the log MIGHT make this clearer. As far as I can tell, the
libxml2 port does not install any .a libs, only the shareables (.so).

In any case, I re-installed libxslt one minute and 25 seconds after the
libxml2 commit with no issues on my 13-Stable system.
-- 
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683