Summary: | gnome-extra/filemanager-actions-3.4 fails to compile (compilation error: file C/fma-config-tool.xml line 58 element article) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | foti.giuseppe, gentoo.bugzilla, gentoo, sam, vmfhrmfoaj, whissi |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 774927 | ||
Attachments: |
build.log
the build log My emerge --info |
Description
Agostino Sarubbo
2020-08-28 21:40:04 UTC
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 |