Bug 4788

Summary: rsvg errors prevent building auto-multiple-choice
Product: Mageia Reporter: David Walser <luigiwalser>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: fundawang
Version: Cauldron   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: librsvg-2.35.2-2.mga2 CVE:
Status comment:

Description David Walser 2012-03-04 01:07:33 CET
The auto-multiple-choice package uses rsvg to convert some icons from SVG to PNG.

The librsvg package had been updated, removing the rsvg command (even though the manpage was still there).  I installed a symlink into the package called rsvg pointing to rsvg-convert, but now I get this message when trying to use it:
rsvg -w 32 -h 32 icons/auto-multiple-choice.svg icons/auto-multiple-choice.png
Multiple SVG files are only allowed for PDF and PS output.
make: *** [icons/auto-multiple-choice.png] Error 1
rsvg -w 24 -h 24 img_src/warning.svg html/images/warning.png
Multiple SVG files are only allowed for PDF and PS output.
make[1]: *** [html/images/warning.png] Error 1

Just for reference, the auto-multiple-choice package needs rebuilt because of netpbm, so that's how we got here.
David Walser 2012-03-04 01:08:42 CET

CC: (none) => fundawang

Comment 1 Funda Wang 2012-03-05 03:11:03 CET
seems fixed in librsvg-2.35.2-2.mga2.i586

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 2 Funda Wang 2012-03-05 03:15:26 CET
The command was wrong, I think it should be:
rsvg-convert -w 32 -h 32 icons/auto-multiple-choice.svg -o icons/auto-multiple-choice.png
Comment 3 David Walser 2012-03-05 05:00:25 CET
2.35.2-2.mga2 was me, but it didn't fix it.  Did the syntax for the rsvg-convert command change?  Was there something that was removed that could be added back?  Or should I just patch auto-multiple-choice to use the syntax you suggested?

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 4 Funda Wang 2012-03-05 05:21:24 CET
I've patched auto-multiple-choice with debian patches. Should be OK now.

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED