Bug 2225760
| Summary: | doxy2man: FTBFS in Fedora f39: manpage.xsl not found | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Fedora Release Engineering <releng> | ||||||||
| Component: | doxy2man | Assignee: | Nikos Mavrogiannopoulos <n.mavrogiannopoulos> | ||||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | unspecified | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | rawhide | CC: | jridky, mail, n.mavrogiannopoulos, nphilipp | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2023-07-27 10:45:01 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: | |||||||||||
| Bug Depends On: | |||||||||||
| Bug Blocks: | 2168842 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Fedora Release Engineering
2023-07-25 17:26:57 UTC
Created attachment 1977755 [details]
build.log
Created attachment 1977756 [details]
root.log
file root.log too big, will only attach last 32768 bytes
Created attachment 1977757 [details]
state.log
There seem to be changes in the asciidoc package. asciidoc.py is no longer available and after fixing that, I see: asciidoc: writing: /builddir/build/BUILD/doxy2man-5ce113f4d2a3fc6712f8eb8606a6b0899dc6f8d1/doxy2man.8.xml warning: failed to load external entity "/usr/share/asciidoc/docbook-xsl/manpage.xsl" cannot parse /usr/share/asciidoc/docbook-xsl/manpage.xsl I could not figure out a relevant change to asciidoc. I'm assigning it temporarily to asciidoc to get more information from the maintainer if any. I'd appreciate any help here. From asciidoc changelog: Version 10.0.0 (2021-10-16) --------------------------- .Breaking Changes AsciiDoc.py has been rewritten to be a https://pypi.org/project/asciidoc/[proper Python package], installable via pip. Downloading and running asciidoc from the repo is not recommended, but can be done through `python3 -m asciidoc` or `python3 -m asciidoc.a2x`. CLI usage should remain the same where both `asciidoc` and `a2x` CLI commands are available after pip installation. Support for overriding the bundled *.conf files is done through CLI flags, environment variables, etc., and not through directly editing the files within the installation. Importing asciidoc should no longer require the `asciidocapi.py` script, and can be done through regular python import, e.g. `import asciidoc; asciid oc.execute(...)`. The APIs of the asciidoc and a2x scripts are now considered "provisional" with no guarantee of BC between releases with the exception of the `asciidoc.execute` method. Please post an issue on our tracker for any method you directly r ely on and would like to have BC for. Since this change, there is no /usr/bin/asciidoc.py but just /usr/bin/asciidoc so I would first try to run the build with new call and than it could be investigated more if needed. Thank you Josef for the investigation. I have already changed the package to use asciidoc instead of asciidoc.py, but the issue is that asciidoc issues the error below: warning: failed to load external entity "/usr/share/asciidoc/docbook-xsl/manpage.xsl" cannot parse /usr/share/asciidoc/docbook-xsl/manpage.xsl The command that fails is: asciidoc -v -d manpage -b docbook doxy2man.8.txt && xsltproc --nonet -o doxy2man.8 /usr/share/asciidoc/docbook-xsl/manpage.xsl doxy2man.8.xml It is the reason of the failure I cannot understand. Indeed the f39 asciidoc package has manpage.xsl at /usr/lib/python3.12/site-packages/asciidoc/resources/docbook-xsl/manpage.xsl How can a package detect the right resource file to use? I now find that file using rpm --fileprovide. |