Bug 817780 - libAfterImage must be rebuilt fot libpng 1.5 in Fedora 17
Summary: libAfterImage must be rebuilt fot libpng 1.5 in Fedora 17
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libAfterImage
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Andreas Bierfert
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 836243 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-01 09:04 UTC by hansvon
Modified: 2012-06-30 22:06 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-30 22:02:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description hansvon 2012-05-01 09:04:49 UTC
Description of problem:

ROOT can't write png images because it seems to be built against libpng 1.2 (F17 comes with 1.5) 

Version-Release number of selected component (if applicable):
root-5.32.02-1.fc17.x86_64

How reproducible:
Always

Steps to Reproduce:
1. run "root"
2. enter the following code
TCanvas c("c","c",500,500);
TH1F histo("histo","histo",100,-5.,5.);
histo.FillRandom("gaus",5000);
histo.Draw();
c.SaveAs("gauss.png");

  
Actual results:
A warning message is printed:
libpng warning: Application built with libpng-1.2.44 but running with 1.5.10
Info in <TCanvas::Print>: file gauss.png has been created

But gauss.png is empty

Expected results:

gauss.png should not be empty

Additional info:

Comment 1 Mattias Ellert 2012-05-03 02:35:12 UTC
The latest root build in Fedora 17 is already built using libpng 1.5. However, root does not use libpng directtly, but uses it through libAfterImage. The libAfterImage package is not yet rebuilt using the new libpng package.

Reassigning to libAfterImage.

Comment 2 Mattias Ellert 2012-05-03 02:53:06 UTC
A patch to build libAfterImage with libpng 1,5 can be found in gentoo: 

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-libs/libafterimage/files/libafterimage-libpng15.patch

If I rebuild libAfterImage with this patch root starts working again.

Comment 3 hansvon 2012-05-08 08:09:59 UTC
Thank you. I confirm that the patch is working. I hope the maintainer of libAfterImage can rebuild the F17 package at some point.

Comment 4 Fedora Update System 2012-05-28 20:34:08 UTC
libAfterImage-1.20-5.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/libAfterImage-1.20-5.fc16

Comment 5 Fedora Update System 2012-05-28 20:34:39 UTC
libAfterImage-1.20-5.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/libAfterImage-1.20-5.fc17

Comment 6 Fedora Update System 2012-05-28 20:34:49 UTC
libAfterImage-1.20-5.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/libAfterImage-1.20-5.fc15

Comment 7 Fedora Update System 2012-05-29 16:20:44 UTC
Package libAfterImage-1.20-5.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libAfterImage-1.20-5.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-8568/libAfterImage-1.20-5.fc17
then log in and leave karma (feedback).

Comment 8 nvwarr 2012-06-28 13:32:56 UTC
*** Bug 836243 has been marked as a duplicate of this bug. ***

Comment 9 rueffer01 2012-06-28 17:33:45 UTC
I always updated my system, but I still had this bug and with every opening of new instance of TBrowser the error message "libpng warning: Application built with libpng-1.2.44 but running with 1.5.10" got created several times...

For me the problem was solved with updating the package libAfterImage as described in comment #7: 
   # su -c 'yum update --enablerepo=updates-testing libAfterImage-1.20-5.fc17'

So far so good, but this announcement was a month ago and in all these days the fix wasn't pushed into the "normal" repo. So please do so, otherwise a lot of people are forced to search for this bug report, like I was. The solution could be made very more easy.

Thanks a lot for your work, I appreciate that! ;)

Comment 10 nvwarr 2012-06-29 05:22:50 UTC
I second that. libAfterImage-1.20-5.fc17 also fixes my problem of creating .png files and, yes, I also noticed the problem with TBrowser. That is also fixed.

Comment 11 Fedora Update System 2012-06-30 22:02:47 UTC
libAfterImage-1.20-5.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2012-06-30 22:06:37 UTC
libAfterImage-1.20-5.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.


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