Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 321361 - media-gfx/povray-3.7.0_beta35 has unnecessary ./configure check for <libpng 1.4
Summary: media-gfx/povray-3.7.0_beta35 has unnecessary ./configure check for <libpng 1.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Joe Peterson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libpng-1.4
  Show dependency tree
 
Reported: 2010-05-24 19:58 UTC by René Gabriëls
Modified: 2010-05-24 21:38 UTC (History)
0 users

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 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.