

























@fri.sch try this chroot way:
sudo pacman -S base-devel
sudo rm -rf mfgtools-git
git clone https://aur.archlinux.org/mfgtools-git.git
cd mfgtools-git
extra-x86_64-build
Stolen from & thanks to @xiota
Thanks again @Bitals! I tried to build using makepkg -sfC and in a clean chroot with pkgctl build. Both attempts fail with the known error message.
Thanks @Bitals! Unfortunately I'm still getting the same error even when trying to install the package freshly on a fully up-to-date system.
@fri.sch my error resolved itself sometime after the python 3.12 update, assuming extra/asciidoc got rebuilt for it. So first check is to see if your system is fully up to date.
Also, -git packages do not need constant pkgver updates, the pkgver() function in PKGBUILD handles this on build time locally.
I'm getting the same error when upgrading to 1.5.179 as reported by Bitals below. Can this be fixed? Is there a workaround? Also there is now 1.5.181 available. Can you update, please? Thanks!
14:07:03 ==> Checking for packaging issues...
14:07:03 ==> WARNING: Package contains reference to $srcdir
14:07:03 usr/bin/uuu
14:07:03 ==> Creating package "mfgtools-git"...
14:07:03 -> Generating .PKGINFO file...
14:07:03 -> Generating .BUILDINFO file...
14:07:03 -> Generating .MTREE file...
14:07:04 -> Compressing package...
14:07:04 ==> Starting package_mfgtools-doc-git()...
14:07:06 a2x: ERROR: "dblatex" -t pdf -p "/usr/lib/python3.11/site-packages/asciidoc/resources/dblatex/asciidoc-dblatex.xsl" -s "/usr/lib/python3.11/site-packages/asciidoc/resources/dblatex/asciidoc-dblatex.sty" "/home/builder/.cache/aurutils/sync/mfgtools-git/src/mfgtools-doc/UUU.xml" returned non-zero exit status 1
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
@Bitals FYI the issue is resolved and the problem was simply that I'm not on Arch, but on Manjaro and package updates are therefore lagging behind. With the latest updates everything works fine now. Sorry for the noise.