Re: Workaround for build failure of misc/mate-user-guide

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Mon, 15 Jan 2024 11:19:44 UTC
Moin-moin!


It's a well-known issue of outdated itstool.
See https://github.com/itstool/itstool/issues/36 (and other pull requests)

However, PR47 + PR51 still not resolve the issue, need more investigation.

On 15.01.2024 12:56, Tomoaki AOKI wrote:
> Hi.
> 
> FYI:
> 
> Currently, misc/mate-user-guide fails to build as seen in
> freebsd-pkg-fallouts ML [1] [2].
> This reproduced in my poudriere jail.
> 
> This can be fixed by removing py39-libxml2-2.11.6.pkg and
> itstool-2.0.7.pkg from poudriere's local repo, then, start poudriere
> jail again (and once more).
> 
> 
> Some details with this.
> 
> In the build log, "Segmentation fault (core dumped)" is observed after
> running itstool, but poudriere cleans the jail at least by default.
> 
> Deleting itstool-2.0.7.pkg alone and retrying failed, so I've tried
> building misc/mate-user-guide on bare-metal environment and
> found /usr/ports/misc/mate-user-guide/work/mate-user-guide-1.26.0/mate-user-guide/ja/python3.9.core.
> 
> Using the core, lldb backtrace suggested it's related with
> textproc/py-libxml2. So I attempted to delete py39-libxml2-2.11.6.pkg,
> too and finally succeeded.
> 
> I was going to file a bug for this, but I was puzzled while preparing.
> Because textproc/py-libxml2 is bumped in the same commit with
> textproc/libxml2, and has "USE_GNOME=	libxml2" line in its
> Makefile.
> 
> So I decided not to file a bug for it for now and report the workaround
> here, freebsd-ports ML.
> 
> [1]
> https://lists.freebsd.org/archives/freebsd-pkg-fallout/2024-January/549477.html
> 
> [2]
> https://lists.freebsd.org/archives/freebsd-pkg-fallout/2024-January/549741.html
> 
> Regards.
> 

-- 
Sincerely,
Dima (fluffy@FreeBSD.org, https://t.me/FluffyBSD)
(desktop, kde, x11, office, ports-secteam)@FreeBSD team