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.
Created attachment 185716 [details] Suggested ebuild with selective freetype support
Please attach diffs when you did changes to an ebuild. That would be much more handy for our devs :)
Created attachment 185718 [details, diff] Patch for wine-1.1.12.ebuild
My bad. The useflag should be "truetype" not "freetype", or freetype would have to be added. Oh well...
Created attachment 185719 [details] Patch for wine-1.1.12.ebuild to use "truetype" useflag
The combination of "-truetype +X" is not tested with this. I would want either none or both...
*** Bug 263287 has been marked as a duplicate of this bug. ***
should be fixed with 1.1.33+