Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263219 - app-emulation/wine-1.1.12 fails to build on AMD64 with -X
Summary: app-emulation/wine-1.1.12 fails to build on AMD64 with -X
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
: 263287 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-03-21 08:58 UTC by Christian Schmidt
Modified: 2009-11-15 02:00 UTC (History)
1 user (show)

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


Attachments
Suggested ebuild with selective freetype support (wine-1.1.12.ebuild,3.83 KB, text/plain)
2009-03-21 08:59 UTC, Christian Schmidt
Details
Patch for wine-1.1.12.ebuild (wine-1.1.12.patch,1.22 KB, patch)
2009-03-21 09:45 UTC, Christian Schmidt
Details | Diff
Patch for wine-1.1.12.ebuild to use "truetype" useflag (wine-1.1.12.patch,1.23 KB, text/plain)
2009-03-21 09:53 UTC, Christian Schmidt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Schmidt 2009-03-21 08:58:44 UTC
app-emulation/wine-1.1.12 fails to build without X useflag on AMD64 as no 32bit freetype libs are installed:

checking for freetype-config... freetype-config
checking for -lfreetype... not found
configure: error: FreeType development files not found. Fonts will not be built.
Use the --without-freetype option if you really want this.

from config.log:

configure:14514: x86_64-pc-linux-gnu-gcc -m32 -o conftest  -O2 -pipe -march=athlon64  -Wl,-O1 conftest.c -lfreetype -
lfreetype -lz  >&5
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../libfreetype.so when searching for -lfreetype
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../libfreetype.a when searching for -lfreetype
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libfreetype.so when searching for -lfreetype
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libfreetype.a when searching for -lfreetype
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lfreetype
collect2: ld returned 1 exit status

It might be reasonable to allow to disable freetype with the freetype useflag (as I don't want X anyway), or disable freetype with X, or add a dependency on emul-linux-x86-xlibs for "+freetype -X". Attached ebuild does this.

Reproducible: Always

Steps to Reproduce:
Type "emerge wine" on console.
Actual Results:  
Configure stage fails.

Expected Results:  
Wine is built.
Comment 1 Christian Schmidt 2009-03-21 08:59:33 UTC
Created attachment 185716 [details]
Suggested ebuild with selective freetype support
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-21 09:42:19 UTC
Please attach diffs when you did changes to an ebuild. That would be much more
handy for our devs :)
Comment 3 Christian Schmidt 2009-03-21 09:45:33 UTC
Created attachment 185718 [details, diff]
Patch for wine-1.1.12.ebuild
Comment 4 Christian Schmidt 2009-03-21 09:48:11 UTC
My bad. The useflag should be "truetype" not "freetype", or freetype would have to be added. Oh well...
Comment 5 Christian Schmidt 2009-03-21 09:53:26 UTC
Created attachment 185719 [details]
Patch for wine-1.1.12.ebuild to use "truetype" useflag
Comment 6 Christian Schmidt 2009-03-21 09:56:18 UTC
The combination of "-truetype +X" is not tested with this. I would want either none or both...
Comment 7 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-21 21:50:21 UTC
*** Bug 263287 has been marked as a duplicate of this bug. ***
Comment 8 SpanKY gentoo-dev 2009-11-15 02:00:37 UTC
should be fixed with 1.1.33+