Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 321361

Summary: media-gfx/povray-3.7.0_beta35 has unnecessary ./configure check for <libpng 1.4
Product: Gentoo Linux Reporter: René Gabriëls <renegabriels>
Component: New packagesAssignee: Joe Peterson (RETIRED) <lavajoe>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 305095    

Description René Gabriëls 2010-05-24 19:58:07 UTC
povray checks the libpng version during configure: it required a version < 1.4, which is not installed currently.  Even installing libpng:1.2 manualy doesn't work, presumably because pkgconfig only knows about version 1.4.

Reproducible: Always

Steps to Reproduce:
1. emerge povray

Actual Results:  
fails.

Expected Results:  
should compile fine.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-05-24 20:14:34 UTC
The now deleted _beta32 was fine with libpng 1.4, seems upstream added some retarded logic into _beta35:

checking for libpng version >= 1.2.5... 1.4.2, ok
checking for libpng version < 1.4 (not supported at the moment!)... bad
configure: error: cannot find a suitable PNG library

This needs to be patched out of the configure script, and please, if you plan on adding new packages into ~arch with libpng in *DEPEND string, really test it before committing...
Comment 2 Joe Peterson (RETIRED) gentoo-dev 2010-05-24 21:38:00 UTC
Pardon the goof (my bad) - I did not have libpng 1.4 installed when testing.

I have disabled this logic, but I am concerned there may be a real reason for it.  PNGs seem to write OK, however.