Bug 2216460
| Summary: | mate-utils FTI (due to internal conflicts caused by odd find-lang usage) and FTBFS (due to error in itstool during doc build) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Adam Williamson <awilliam> |
| Component: | mate-utils | Assignee: | Wolfgang Ulbrich <fedora> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | fedora, redhat-bugzilla |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-06-29 17:17:46 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
There is a long outstanding issue with itstool itself which is fixed by this PR. https://github.com/itstool/itstool/pull/47 For the moment i disabled building Portuguese language again for mate-search-tool. No idea why this few lines in rawhide branch were missing. https://src.fedoraproject.org/rpms/mate-utils/c/3e6f800e0a2c7fd46fa4d7a4152a49c5031654f9?branch=rawhide This build should fix building mate-compiz live image. https://koji.fedoraproject.org/koji/taskinfo?taskID=102456936 Mate-compiz image building is fixed. https://koji.fedoraproject.org/koji/buildinfo?buildID=2223426 |
The MATE_Compiz image build currently fails due to a file conflict between mate-utils-common and mate-dictionary, which are both built from this source package: file /usr/share/help/pt/mate-search-tool/index.docbook conflicts between attempted installs of mate-dictionary-1.26.1-1.fc39.x86_64 and mate-utils-common-1.26.1-1.fc39.noarch I believe this is caused by the rather odd use of the `--all-name` arg for find_lang, which causes every doc file for every tool to be included in each of the tool packages and in mate-utils-common. I can't see any justification for using that arg, so I tried rebuilding without it, but the build failed: if test -f "${mo}"; then mo="../${mo}"; else mo="/builddir/build/BUILD/mate-utils-1.26.1/gsearchtool/help/${mo}"; fi; \ (cd "sq/" && itstool -m "${mo}" ${d}/C/index.docbook ${d}/C/legal.xml) && \ touch "sq/sq.stamp" Traceback (most recent call last): File "/usr/bin/itstool", line 1647, in <module> doc.merge_translations(translations, opts.lang, strict=opts.strict) File "/usr/bin/itstool", line 1016, in merge_translations lcnode.setProp(attr, origlang) File "/usr/lib/python3.11/site-packages/libxml2.py", line 3636, in setProp if ret is None:raise treeError('xmlSetProp() failed') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ libxml2.treeError: xmlSetProp() failed I don't really have time to debug this, so filing a bug for the packager to look at. Reproducible: Always