Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 647670 - =media-video/dvdauthor-0.7.2-r1 USE=imagemagick with media-gfx/imagemagick-7.x - pumux: coders/png.c:4199: ReadPNGImage: Assertion `exception->signature == MagickCoreSignature' failed.
Summary: =media-video/dvdauthor-0.7.2-r1 USE=imagemagick with media-gfx/imagemagick-7....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-14 22:44 UTC by Branko Grubic
Modified: 2018-02-26 09:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Branko Grubic 2018-02-14 22:44:17 UTC
I'm creating this bug report and I hope I'll provide a pull request with a patch.

Short description of the problem:
Patch introduced downstream to build dvdauthor with newer imagemagick is incomplete, it does provide new API changes, but new variables are never used by the code and triggers assert in imagemagick code.

I did explain this in bug #610574 comment #2.

I modified gentoo patch and tested that it compiles, and dvdauthor doesn't trigger an assert in imagemagick code. I was able to create DVD successfully.
Comment 1 Branko Grubic 2018-02-14 23:45:47 UTC
This is my first try, since the original patch is already used by stable ebuild, I created a new one with ebuild revision in the name.

Pull request is at: https://github.com/gentoo/gentoo/pull/7189

If anything needs to be adjusted/re-done, please let me know.
Comment 2 Larry the Git Cow gentoo-dev 2018-02-20 10:37:05 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79a21bdf0ece816aa69ae848e6580aa5ade9d2d2

commit 79a21bdf0ece816aa69ae848e6580aa5ade9d2d2
Author:     Branko Grubic <bitlord0xff@gmail.com>
AuthorDate: 2018-02-14 23:31:21 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-02-20 10:31:15 +0000

    media-video/dvdauthor: adjust imagemagick-7 patch
    
    Bug: https://bugs.gentoo.org/647670
    Closes: https://github.com/gentoo/gentoo/pull/7189

 media-video/dvdauthor/dvdauthor-0.7.2-r2.ebuild    | 49 ++++++++++++++
 .../files/dvdauthor-0.7.2-r2-imagemagick7.patch    | 75 ++++++++++++++++++++++
 2 files changed, 124 insertions(+)}
Comment 3 Branko Grubic 2018-02-26 09:03:29 UTC
Thank you for merging this. I did a quick test, and it still works as expected (compared to my previous local overlay version). Since this is merged and stable I'm closing this as resolved.