Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 346717 - <=app-emulation/wine-1.1.38 wont build with libpng1.4
Summary: <=app-emulation/wine-1.1.38 wont build with libpng1.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-25 02:38 UTC by Brandon Captain
Modified: 2010-12-01 11:05 UTC (History)
0 users

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


Attachments
emerge --info output (emerge-info,5.05 KB, text/plain)
2010-11-27 16:56 UTC, Brandon Captain
Details
last 100 lines of failed emerge (tail-100.log,16.45 KB, text/plain)
2010-11-27 17:07 UTC, Brandon Captain
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brandon Captain 2010-11-25 02:38:21 UTC
<=app-emulation/wine-1.1.38 wont build with libpng1.4, it needs libpng1.2

the ebuilds don't specify anything about libpng, but wine's 'configure' picks out the latest libpng installed and uses it. a quick fix is to just temporarily remove libpng1.4 and compile the seversions of wine. however, I hope to submit an epatch for each wine version in portage soon.

Reproducible: Always

Steps to Reproduce:
Comment 1 Brandon Captain 2010-11-25 02:49:13 UTC
I was wrong about the 'quick work around' by removing libpng 1.4 and just having 1.2 installed to get it compiled. this is still a bit of a mystery

a work around I'm trying now is to compile wine with --without-png (and removing the existing png line) on the econf line in the ebuild.
Comment 2 Brandon Captain 2010-11-25 02:57:55 UTC
http://pastebin.com/JHJcpZgC

output of the error, compiling wine 1.1.38
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2010-11-27 15:27:21 UTC
(In reply to comment #2)
> http://pastebin.com/JHJcpZgC
> 
> output of the error, compiling wine 1.1.38

Please attach that to this bug report as a file. Also, post your `emerge --info' in a comment.
Comment 4 Brandon Captain 2010-11-27 16:56:55 UTC
Created attachment 255609 [details]
emerge --info output
Comment 5 Brandon Captain 2010-11-27 17:07:30 UTC
Created attachment 255611 [details]
last 100 lines of failed emerge
Comment 6 Rafał Mużyło 2010-11-27 20:05:26 UTC
As you've noticed yourself, it's fixed in more recent wine releases.
You should probably look at the entries for dlls/windowscodecs/pngformat.c in wine git from around 05.02.2010
Comment 7 SpanKY gentoo-dev 2010-12-01 11:05:32 UTC
ive just punted al of the wine-1.1.x versions.  i'm not wasting time on backporting this fix.