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

Bug 1799427

Summary: gnome-documents: FTBFS in Fedora rawhide/f32
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: gnome-documentsAssignee: Elad Alfassa <elad>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: anujmorex, cosimo.cecchi, debarshir, elad, gnome-sig, klember, pranav913, yaroslav
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
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:
Bug Depends On:    
Bug Blocks: 1750908    
Description Flags
state.log none

Description Fedora Release Engineering 2020-02-06 17:02:05 UTC
gnome-documents failed to build from source in Fedora rawhide/f32

For details on the mass rebuild see:
Please fix gnome-documents at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
gnome-documents will be orphaned. Before branching of Fedora 33,
gnome-documents will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:

Comment 1 Fedora Release Engineering 2020-02-06 17:02:08 UTC
Created attachment 1659099 [details]

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2020-02-06 17:02:10 UTC
Created attachment 1659100 [details]

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2020-02-06 17:02:11 UTC
Created attachment 1659101 [details]

Comment 4 Ben Cotton 2020-02-11 17:07:44 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle.
Changing version to 32.

Comment 5 Fedora Release Engineering 2020-02-16 04:24:31 UTC
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.


Comment 6 Yaroslav Fedevych 2020-02-25 23:08:13 UTC
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/ b/getting-started/
index 4cb4fe7..4b87e2f 100644
--- a/getting-started/
+++ b/getting-started/
@@ -21,7 +21,7 @@ foreach lingua: linguas
       input: join_paths(lingua, source + '.svg'),
       output: source + '.pdf',
-      command: [inkscape, '-z', '-A', '@OUTPUT@', '@INPUT@']
+      command: [inkscape, '-z', '-o', '@OUTPUT@', '@INPUT@']

Comment 7 Kalev Lember 2020-02-26 13:13:40 UTC
Ah nice! Thanks for figuring this out.

I've forwarded the patch upstream:

Comment 8 Fedora Update System 2020-02-26 13:30:33 UTC
FEDORA-2020-a5edfbb616 has been submitted as an update to Fedora 32.

Comment 9 Yaroslav Fedevych 2020-02-26 14:08:22 UTC
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. :-(

Comment 10 Fedora Update System 2020-02-28 01:27:05 UTC
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 for
instructions on how to install test updates.
You can provide feedback for this update here:

Comment 11 Fedora Update System 2020-03-16 20:15:15 UTC
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.

Comment 12 Fedora Update System 2020-03-16 20:29:11 UTC
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.