Bug 23220 - update of imagemagick breaks gscan2pdf
Summary: update of imagemagick breaks gscan2pdf
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA6-64-OK
Keywords: advisory, validated_update
: 23235 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-06-22 23:39 CEST by Martin Spiegel
Modified: 2018-06-26 20:02 CEST (History)
4 users (show)

See Also:
Source RPM: imagemagick-6.9.10.0-1.mga6.src.rpm
CVE:
Status comment:


Attachments

Description Martin Spiegel 2018-06-22 23:39:48 CEST
Description of problem:
After the last update of imagemagick and perl-Image-Magick to version 6.9.10.0 gscan2pdf fails to start with the following messages:
Invalid version format (non-numeric data) at /usr/lib/perl5/5.22.3/x86_64-linux-thread-multi/DynaLoader.pm line 216.
Compilation failed in require at /usr/lib/perl5/5.22.3/parent.pm line 20.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.22.3/x86_64-linux-thread-multi/Image/Magick.pm line 22.
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.22.3/Gscan2pdf/Page.pm line 14.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.22.3/Gscan2pdf/Page.pm line 14.
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.22.3/Gscan2pdf/Document.pm line 13.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.22.3/Gscan2pdf/Document.pm line 13.
Compilation failed in require at /bin/gscan2pdf line 49.
BEGIN failed--compilation aborted at /bin/gscan2pdf line 49.
&Image::Magick::Q16::constant not defined. The required ImageMagick libraries are not installed or not installed properly.
END failed--call queue aborted at /bin/gscan2pdf line 49.

Version-Release number of selected component (if applicable):
imagemagick-6.9.10.0-1.mga6
perl-Image-Magick-6.9.10.0-1.mga6

How reproducible:
always as soon as the update has occurred

Steps to Reproduce:
1. Downgrade imagemagick and perl-Image-Magick to version 6.9.8.7 -> gscan2pdf starts correctly
2. Update imagemagick and perl-Image-Magick to version 6.9.10.0 (either automatically or manually) -> gscan2pdf fails to start
3. Problem seems to be independent of the gscan2pdf version: 1.8.2-1 and 2.1.2 (recompiled form Cauldron sources) are both affected.
Comment 1 David GEIGER 2018-06-23 05:32:49 CEST
Hmmmmm! I can reproduce here and this come from a perl-Image-Magick regression since 6.9.10.0 release:

https://github.com/ImageMagick/ImageMagick6/issues/11

CC: (none) => geiger.david68210

Comment 2 David GEIGER 2018-06-23 05:46:55 CEST
So, new updated imagemagick-6.9.10.0-1.1.mga6 in Core/Updates_testing repo should fix this issue!

Please test it, thanks in advance.
Comment 3 Martin Spiegel 2018-06-23 11:30:15 CEST
Ok,after updating to 6.9.10.0-1.1.mga6 gscan2pdf works as expected. However, this update requires an update of glibc and glibc-devel to 2.22-29mga6 at the same time (which is also available via Core/Updates_testing).
Thanks a lot for the quick fix
Comment 4 Frédéric "LpSolit" Buclin 2018-06-25 01:40:17 CEST
Tested successfully using 6.9.10.0-1.1.mga6 on x64. Please push this to updates asap. :)

Severity: normal => major

Comment 5 Marja Van Waes 2018-06-25 16:54:09 CEST
(In reply to Martin Spiegel from comment #3)
> Ok,after updating to 6.9.10.0-1.1.mga6 gscan2pdf works as expected. However,
> this update requires an update of glibc and glibc-devel to 2.22-29mga6 at
> the same time (which is also available via Core/Updates_testing).
> Thanks a lot for the quick fix

glibc-2.22-29.mga6 and glibc-devel-2.22-29.mga6 were pushed to Core/Updates last night, see bug 23136

@ David 

Do you want to write an advisory and reassing to QA?

I took the liberty to add MGA6-64-OK to the whiteboard, because of Martin's and Frédéric's successful tests.

Whiteboard: (none) => MGA6-64-OK
Assignee: bugsquad => geiger.david68210
CC: (none) => marja11

Comment 6 David GEIGER 2018-06-25 17:34:32 CEST
Assigning to QA,


Advisory:
=============================

An upstream regression was found in latest imagemagick 6.9.10.0 release that broke some packages, like gscan2pdf, who need it to run.
So this update fixes this issue.


Packages in 6/core/updates_testing:
========================
imagemagick-6.9.10.0-1.1.mga6
imagemagick-doc-6.9.10.0-1.1.mga6
perl-Image-Magick-6.9.10.0-1.1.mga6
libmagick-devel-6.9.10.0-1.1.mga6
libmagick++-6Q16_8-6.9.10.0-1.1.mga6
libmagick-6Q16_6-6.9.10.0-1.1.mga6
lib64magick-devel-6.9.10.0-1.1.mga6
lib64magick++-6Q16_8-6.9.10.0-1.1.mga6
lib64magick-6Q16_6-6.9.10.0-1.1.mga6
imagemagick-desktop-6.9.10.0-1.1.mga6

Source RPM: 
========================
imagemagick-6.9.10.0-1.1.mga6.src.rpm

Assignee: geiger.david68210 => qa-bugs

Comment 7 Rémi Verschelde 2018-06-26 08:48:25 CEST
Advisory uploaded, validating.

Keywords: (none) => advisory, validated_update
CC: (none) => sysadmin-bugs

Comment 8 Marja Van Waes 2018-06-26 17:40:44 CEST
*** Bug 23235 has been marked as a duplicate of this bug. ***

CC: (none) => darkwheel

Comment 9 Mageia Robot 2018-06-26 20:02:13 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2018-0124.html

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


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