Bug 1720868 - fig2dev broken in transfig-3.2.7a-1.fc31
Summary: fig2dev broken in transfig-3.2.7a-1.fc31
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: transfig
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: tomm.momi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1704807
TreeView+ depends on / blocked
 
Reported: 2019-06-15 22:55 UTC by Michael Young
Modified: 2019-06-18 13:40 UTC (History)
6 users (show)

Fixed In Version: transfig-3.2.7a-2.fc31
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-18 13:40:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michael Young 2019-06-15 22:55:39 UTC
The build of xen in rawhide runs
/usr/bin/fig2dev -L png network-bridge.fig >network-bridge.png.tmp

which gives the error
BUILDSTDERR: sh: -q: command not found
BUILDSTDERR: Error in ghostcript or netpbm command
BUILDSTDERR: command was:  -q -dSAFER -r80 -g711x553 -sDEVICE=ppmraw -o - - | pnmtopng 2>/tmp/f2derrormA6tlP
BUILDSTDERR: Messages resulting:
BUILDSTDERR:   pnmtopng: Error reading first byte of what is expected to be a Netpbm magic number.  Most often, this means your input file is empty

It looks like transfig-3.2.7a now auto-detects gs at build time which means it needs
BuildRequires: ghostscript
in the spec file as otherwise no gs is set and fig2dev fails as above.

xen does build with transfig built with BuildRequires: ghostscript added to the spec file.

Comment 1 Zbigniew Jędrzejewski-Szmek 2019-06-18 13:33:52 UTC
Considering that this bug makes the package unusable, and that the fix is very straightforward,
I pushed the fix directly to dist-git and started a rebuild of the package.

Comment 2 Zbigniew Jędrzejewski-Szmek 2019-06-18 13:40:52 UTC
Built in rawhide.


Note You need to log in before you can comment on or make changes to this bug.