Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#25369 - lib32-libfreetype2 does not include development files

Attached to Project: Community Packages
Opened by Joe (Tea) - Tuesday, 02 August 2011, 23:29 GMT
Last edited by Ionut Biru (wonder) - Wednesday, 03 August 2011, 14:45 GMT
Task Type Bug Report
Category Packages: Multilib
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When attempting to ./configure the Wine 32bit build, we are told that the 32bit freetype2 development files cannot be found. This was experienced using the PKGBUILD for the official Wine package. On closer inspection, it seems that lib32-freetype2 does not include the development files like it should.
This task depends upon

Closed by  Ionut Biru (wonder)
Wednesday, 03 August 2011, 14:45 GMT
Reason for closing:  Fixed
Additional comments about closing:  lib32-freetype2-2.4.6-2
Comment by Ionut Biru (wonder) - Wednesday, 03 August 2011, 06:19 GMT
lib32-freetype2 has as dependency freetype2, which has the devel files.

paste the config.log
Comment by Joe (Tea) - Wednesday, 03 August 2011, 14:01 GMT
Here's attempting to compile wine-stable... Will get you the config.log for the official [multilib] wine if needed, but I think this gives all the relevant information.
   config.log (413.6 KiB)
Comment by Ionut Biru (wonder) - Wednesday, 03 August 2011, 14:23 GMT
ok, works for wine from multilib. i noticed this:

configure:10052: checking for freetype-config
configure:10068: found /usr/bin/freetype-config
configure:10079: result: freetype-config
configure:10097: checking for -lfreetype
configure:10122: ccache gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -lfreetype -lfreetype -lz -lbz2 >&5
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../libbz2.so when searching for -lbz2
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../libbz2.a when searching for -lbz2
/usr/bin/ld: skipping incompatible /lib/libbz2.so when searching for -lbz2
/usr/bin/ld: skipping incompatible /usr/lib/libbz2.so when searching for -lbz2
/usr/bin/ld: skipping incompatible /usr/lib/libbz2.a when searching for -lbz2
/usr/bin/ld: cannot find -lbz2

freetype2 from extra has bzip2 support and that's why freetype-config returns -lfreetype -lz -lbz2
it seems that is missing lib32-bzip2 but what is curios is that is working fine for our wine in clean chroot.

13887 configure:10177: result: freetype-config
13888 configure:10195: checking for -lfreetype
13889 configure:10220: gcc -o conftest -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -lfreetype -lfreetype -lz -lbz2 >&5
13890 configure:10220: $? = 0
13891 configure:10236: result: libfreetype.so.6
Comment by Joe (Tea) - Wednesday, 03 August 2011, 14:29 GMT
So it only failed because I was missing lib32-bzip2? I guess I'll recommend adding that as a makedepends to the AUR packages. I suppose this bug is invalid, then. Thank you.
Comment by Ionut Biru (wonder) - Wednesday, 03 August 2011, 14:32 GMT
ok, got it,

your command has -m32, ours no.

we need add bzip2 support for lib32-freetype2

Loading...