https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: gnome-extra/filemanager-actions-3.4 fails to compile. Discovered on: amd64 (internal ref: tinderbox) NOTE: This machine uses a clang/LLVM toolchain. If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004. This machine uses also GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Created attachment 657346 [details] build.log build log and emerge --info
Created attachment 667931 [details] the build log I have been having the exact same problem for quite some time now. Just felt lazy to report it.
Created attachment 667934 [details] My emerge --info
I simply disabled docs in the ebuild: In src_prepare() add: sed -i -e "s/docs//g" Makefile.{am,in} || die In src_install() remove: rm -v "${ED}usr/share/doc/${PF}"/objects-hierarchy.odg* || die
I can confirm this bug on my amd64 system as well. Looking through the logs, it appears that we're missing a program, `xml2po`. I'll do some digging and try to figure out how to resolve this.
> if [ -f "${mo}" ]; then mo="../${mo}"; else mo="/var/tmp/portage/gnome-extra/filemanager-actions-3.4/work/filemanager-actions-3.4/docs/manual/${mo}"; fi; \ > (cd de/ && \ > `which xml2po` -m docbook -e -t "${mo}" \ > "${d}C/fma-config-tool.xml" > fma-config-tool.xml.tmp && \ > cp fma-config-tool.xml.tmp fma-config-tool.xml && rm -f fma-config-tool.xml.tmp) > which: no xml2po in (/usr/lib/ccache/bin:/usr/lib/portage/python3.8/ebuild-helpers/xattr:/usr/lib/portage/python3.8/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/11/bin) > /bin/sh: line 4: -m: command not found > make[2]: *** [Makefile:1165: de/fma-config-tool.xml] Error 127 > make[2]: *** Waiting for unfinished jobs.... > compilation error: file C/fma-config-tool.xml line 58 element article >
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26db2c563a6cfc77a09252373e460d9414264ff0 commit 26db2c563a6cfc77a09252373e460d9414264ff0 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2021-03-21 01:55:48 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2021-03-21 01:56:10 +0000 gnome-extra/filemanager-actions: Add missing dependency Closes: https://bugs.gentoo.org/739444 Signed-off-by: Matt Turner <mattst88@gentoo.org> gnome-extra/filemanager-actions/filemanager-actions-3.4.ebuild | 1 + 1 file changed, 1 insertion(+)
Hm, did this work for anyone? if [ -f "${mo}" ]; then mo="../${mo}"; else mo="/var/tmp/portage/gnome-extra/filemanager-actions-3.4/work/filemanager-actions-3.4/docs/manual/${mo}"; fi; \ (cd sl/ && \ `which xml2po` -m docbook -e -t "${mo}" \ "${d}C/fma-config-tool.xml" > fma-config-tool.xml.tmp && \ cp fma-config-tool.xml.tmp fma-config-tool.xml && rm -f fma-config-tool.xml.tmp) xsltproc -o fma-config-tool-sl.omf --stringparam db2omf.basename fma-config-tool --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.5//EN" --stringparam db2omf.lang sl --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in "/var/tmp/portage/gnome-extra/filemanager-actions-3.4/work/filemanager-actions-3.4/docs/manual/fma-config-tool.omf.in" `/usr/bin/pkg-config --variable db2omf gnome-doc-utils` sl/fma-config-tool.xml || { rm -f "fma-config-tool-sl.omf"; exit 1; } db2omf: Could not construct the OMF creator element. Add an author element to fma-config-tool.xml. error: file sl/fma-config-tool.xml xsltRunStylesheet : run failed make[2]: *** [Makefile:1107: fma-config-tool-sl.omf] Error 1
Looks like the above issue was already logged as https://bugs.gentoo.org/show_bug.cgi?id=779136