Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 739444 - gnome-extra/filemanager-actions-3.4 fails to compile (compilation error: file C/fma-config-tool.xml line 58 element article)
Summary: gnome-extra/filemanager-actions-3.4 fails to compile (compilation error: file...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 774927
  Show dependency tree
 
Reported: 2020-08-28 21:40 UTC by Agostino Sarubbo
Modified: 2021-07-30 06:46 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,470.94 KB, text/plain)
2020-08-28 21:40 UTC, Agostino Sarubbo
Details
the build log (build.log,447.48 KB, text/x-log)
2020-10-22 08:50 UTC, Mamadou Babaei
Details
My emerge --info (emerge-info.txt,5.83 KB, text/plain)
2020-10-22 08:51 UTC, Mamadou Babaei
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-08-28 21:40:04 UTC
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.
Comment 1 Agostino Sarubbo gentoo-dev 2020-08-28 21:40:07 UTC
Created attachment 657346 [details]
build.log

build log and emerge --info
Comment 2 Mamadou Babaei 2020-10-22 08:50:48 UTC
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.
Comment 3 Mamadou Babaei 2020-10-22 08:51:16 UTC
Created attachment 667934 [details]
My emerge --info
Comment 4 LE GARREC Vincent 2020-10-25 07:26:08 UTC
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
Comment 5 wolfgang 2021-03-15 03:43:41 UTC
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.
Comment 6 Thomas Deutschmann (RETIRED) gentoo-dev 2021-03-15 14:35:33 UTC
> 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
>
Comment 7 Larry the Git Cow gentoo-dev 2021-03-21 01:56:29 UTC
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(+)
Comment 8 Kobboi 2021-04-01 18:25:01 UTC
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
Comment 9 Kobboi 2021-04-01 18:25:47 UTC
Looks like the above issue was already logged as

https://bugs.gentoo.org/show_bug.cgi?id=779136