Bug 6411 - [Update Request]Update graphicsmagick package to fix a packaging problem
Summary: [Update Request]Update graphicsmagick package to fix a packaging problem
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: mga2-32-OK, mga2-64-OK
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2012-06-11 09:31 CEST by Christof Bürgi
Modified: 2012-07-29 19:12 CEST (History)
4 users (show)

See Also:
Source RPM: graphicsmagick-1.3.13-1.1.mga2.src.rpm
CVE:
Status comment:


Attachments

Description Christof Bürgi 2012-06-11 09:31:05 CEST
Description of problem:
The binary RPM contains only the dynamic versions (.so) of the GraphicsMagick modules. Due to a quirk in the GraphicsMagick module loader, the static versions (.la) are required, too. Otherwise, no module can be loaded at all.

Without the modules, GraphicsMagick doesn't know any file formats, and is thus pretty much useless.


Version-Release number of selected component (if applicable):
graphicsmagick-1.3.13-1.mga2


How reproducible:
Every time I try to use GraphicsMagick to display, convert or edit an image file.


Steps to Reproduce:
1. gm convert -list format
2. get no output (empty list)

NOTE: The error is, of course, not reproducible, if you got the static versions of the modules from another source.
Thierry Vignaud 2012-06-14 07:33:00 CEST

Assignee: bugsquad => fundawang
Summary: binary rpm of GraphicsMagick incomplete (thus unusable) => GraphicsMagick lacks .la files and thus is unusable

Comment 1 Funda Wang 2012-06-14 09:17:37 CEST
Please test graphicsmagick-1.3.13-1.1.mga2.src.rpm from core/updates_testing.

Status: NEW => ASSIGNED

Comment 2 Christof Bürgi 2012-06-14 22:22:13 CEST
graphicsmagick-1.3.13-1.1.mga2 seems to work perfectly.

Appearantly, the missing static files weren't the problem after all. Sorry for the mislead. I was pretty certain that this was the cause.
Comment 3 Funda Wang 2012-06-15 09:45:43 CEST
Reassign to qabugs for updates routine.

The graphicsmagick packages shipped in Mageia 2 contains a packaging bug, which will lead to gm program not working at all. The relative packages have been patched to workaround this problem.

Assignee: fundawang => qa-bugs
Summary: GraphicsMagick lacks .la files and thus is unusable => [Update Request]Update graphicsmagick package to fix a packaging problem
Source RPM: graphicsmagick-1.3.13-1.mga2.src.rpm => graphicsmagick-1.3.13-1.1.mga2.src.rpm

Comment 4 Carolyn Rowse 2012-06-15 21:46:10 CEST
I'll test this on i586 over the weekend.

CC: (none) => isolde

Comment 5 Carolyn Rowse 2012-06-16 17:39:54 CEST
On i586:

I installed the program, verified that I couldn't get a list of formats.

I updated libgraphicsmagick3, then tried again and got a very long list of formats, many of which I'd never even heard of!

I've never used GM before, but with the help of the website I spent some time displaying and converting some files using JPG, PDF, TIFF, MIFF, MAT, PBM. PGM and BMP formats including adding some extra options - monochrome, resizing, adding text - and all that worked fine.

Any more detailed testing would have to be done by someone with a more in-depth knowledge of graphics than I've got.


I might be able to do the same for x86_64, will let you know.
Comment 6 Carolyn Rowse 2012-06-16 19:28:18 CEST
Still can't test on x86_64, sorry.
Comment 7 Carolyn Rowse 2012-06-17 10:57:50 CEST
Got a 64-bit VM up and running - will test on that.
Comment 8 Carolyn Rowse 2012-06-17 21:52:19 CEST
Did similar tests to the above in x86_64 VM and what I tried is now working fine.
Comment 9 claire robinson 2012-06-17 22:06:48 CEST
Thankyou Carolyn. Do you want to validate it?

See how to on the wiki :)

https://wiki.mageia.org/en/QA_process_for_validating_updates
Carolyn Rowse 2012-06-18 18:32:20 CEST

Whiteboard: (none) => Tested on i586 and x86_64. Update validated.

claire robinson 2012-06-18 18:54:46 CEST

Whiteboard: Tested on i586 and x86_64. Update validated. => (none)

Comment 10 Carolyn Rowse 2012-06-18 19:07:30 CEST
Testing complete of graphicsmagick-1.3.13-1.1.mga2.src.rpm for mageia 2 i586 and mageia 2 x86_64.
Update validated.

Whiteboard: (none) => mga2-32-OK, mga2-64-OK

Comment 11 claire robinson 2012-06-18 22:00:58 CEST
Validating

Advisory
--------
The binary rpm contains only the dynamic versions (.so) of the GraphicsMagick
modules. Due to a quirk in the GraphicsMagick module loader, the static
versions (.la) are required, too. Otherwise, no module can be loaded at all.
--------

SRPM: graphicsmagick-1.3.13-1.1.mga2.src.rpm

Could sysadmin please puch from core/updates_testing to core/updates

Thanks!

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs
Hardware: x86_64 => All

Comment 12 Thomas Backlund 2012-06-20 22:32:26 CEST
Update pushed:
https://wiki.mageia.org/en/Support/Advisories/MGAA-2012-0085

Status: ASSIGNED => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED

Comment 13 Samuel Verschelde 2012-07-28 16:50:05 CEST
Carolyn, could you provide a testing procedure? What you did in (In reply to comment #5)
> On i586:
> 
> I installed the program, verified that I couldn't get a list of formats.
> 
> I updated libgraphicsmagick3, then tried again and got a very long list of
> formats, many of which I'd never even heard of!
> 
> I've never used GM before, but with the help of the website I spent some time
> displaying and converting some files using JPG, PDF, TIFF, MIFF, MAT, PBM. PGM
> and BMP formats including adding some extra options - monochrome, resizing,
> adding text - and all that worked fine.
> 
> Any more detailed testing would have to be done by someone with a more in-depth
> knowledge of graphics than I've got.

The testing you did was good already, could you please provide a testing procedure (list of commands to type) that we could use for testing bug #6561? That would help us to test graphicsmagick updates faster.

CC: (none) => stormi

Comment 14 Carolyn Rowse 2012-07-28 20:07:32 CEST
Yes, I'll work something out as soon I have time.

Carolyn
Comment 15 Carolyn Rowse 2012-07-29 17:25:25 CEST
I've put a suggested testing procedure in the QA wiki section (correctly I hope).

Carolyn
Comment 16 Samuel Verschelde 2012-07-29 19:12:27 CEST
Nice, thanks a lot. It looks good.

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