Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1799427
Summary: | gnome-documents: FTBFS in Fedora rawhide/f32 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Fedora Release Engineering <releng> | ||||||||
Component: | gnome-documents | Assignee: | Elad Alfassa <elad> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | unspecified | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | 32 | CC: | anujmorex, cosimo.cecchi, debarshir, elad, gnome-sig, klember, pranav913, yaroslav | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | gnome-documents-3.34.0-4.fc32 | Doc Type: | If docs needed, set a value | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2020-03-16 20:15:15 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: | 1750908 | ||||||||||
Attachments: |
|
Description
Fedora Release Engineering
2020-02-06 17:02:05 UTC
Created attachment 1659099 [details]
build.log
file build.log too big, will only attach last 32768 bytes
Created attachment 1659100 [details]
root.log
file root.log too big, will only attach last 32768 bytes
Created attachment 1659101 [details]
state.log
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle. Changing version to 32. Dear Maintainer, your package has not been built successfully in 32. Action is required from you. If you can fix your package to build, perform a build in koji, and either create an update in bodhi, or close this bug without creating an update, if updating is not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to acknowledge this. Following the latest policy for such packages [2], your package will be orphaned if this bug remains in NEW state more than 8 weeks. A week before the mass branching of Fedora 33 according to the schedule [3], any packages not successfully rebuilt at least on Fedora 31 will be retired regardless of the status of this bug. [1] https://fedoraproject.org/wiki/Updates_Policy [2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/ [3] https://fedoraproject.org/wiki/Releases/33/Schedule The package fails to build because it invokes Inkscape to convert a SVG into PDF incorrectly. ---------------------- [20/45] /usr/bin/inkscape -z -A getting-started/landing.pdf ../getting-started/C/landing.svg FAILED: getting-started/landing.pdf /usr/bin/inkscape -z -A getting-started/landing.pdf ../getting-started/C/landing.svg Unable to init server: Could not connect: Connection refused Unknown option -A ---------------------- The option was there in Inkscape 0.92.x, but Fedora 32 (and even Fedora 31, via update) sports a beta of Inkscape 1.0, which doesn't have this option anymore. Case in point, building the Fedora 31 version of the package fails just the same. The most straightforward way to fix that command would be to change -A to -o: /usr/bin/inkscape -z -o getting-started/landing.pdf ../getting-started/C/landing.svg This patch is enough to make the package build: diff --git a/getting-started/meson.build b/getting-started/meson.build index 4cb4fe7..4b87e2f 100644 --- a/getting-started/meson.build +++ b/getting-started/meson.build @@ -21,7 +21,7 @@ foreach lingua: linguas source, input: join_paths(lingua, source + '.svg'), output: source + '.pdf', - command: [inkscape, '-z', '-A', '@OUTPUT@', '@INPUT@'] + command: [inkscape, '-z', '-o', '@OUTPUT@', '@INPUT@'] ) endforeach Ah nice! Thanks for figuring this out. I've forwarded the patch upstream: https://gitlab.gnome.org/GNOME/gnome-documents/-/merge_requests/31 FEDORA-2020-a5edfbb616 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-a5edfbb616 I'm afraid that for good upstreaming, patch would need to be modified to somehow cover both Inkscape 0.92 and 1.0, because the upstream has to deal with different distros which might be more lukewarm towards allowing beta software into their main repositories. (1.0.0 is in beta, it's not released yet and the development pace is rather glacial when I last looked.) A rather unfortunate move on Inkscape's part by not providing the old switches, at least with big fat deprecation warnings. :-( gnome-documents-3.34.0-4.fc32 has been pushed to the Fedora 32 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-a5edfbb616 gnome-documents-3.34.0-4.fc32 has been pushed to the Fedora 32 stable repository. If problems still persist, please make note of it in this bug report. gnome-documents-3.34.0-4.fc32 has been pushed to the Fedora 32 stable repository. If problems still persist, please make note of it in this bug report. |