[Bug 657789] New: libffi-devel misses libffi.pc
https://bugzilla.novell.com/show_bug.cgi?id=657789 https://bugzilla.novell.com/show_bug.cgi?id=657789#c0 Summary: libffi-devel misses libffi.pc Classification: openSUSE Product: openSUSE 11.4 Version: Factory Platform: All OS/Version: All Status: NEW Severity: Major Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: d137@abv.bg QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.215 Safari/534.10 Summary says it all. The package libff-devel misses libffic.pc required for compiling wayland and some other stuff I guess. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=657789
https://bugzilla.novell.com/show_bug.cgi?id=657789#c
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=657789
https://bugzilla.novell.com/show_bug.cgi?id=657789#c1
Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=657789
https://bugzilla.novell.com/show_bug.cgi?id=657789#c2
damian ivanov
https://bugzilla.novell.com/show_bug.cgi?id=657789
https://bugzilla.novell.com/show_bug.cgi?id=657789#c3
--- Comment #3 from Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=657789
https://bugzilla.novell.com/show_bug.cgi?id=657789#c4
Michael Meeks
https://bugzilla.novell.com/show_bug.cgi?id=657789
https://bugzilla.novell.com/show_bug.cgi?id=657789#c5
Richard Guenther
cat /usr/lib64/pkgconfig/libffi.pc Name: libffi Version: 3.0.9 Libs: -lffi
that should in theory also work for multilibs (libffi is in the standard search path). I have trouble with a test build right now, so the commit to devel:gcc will take some time. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=657789 https://bugzilla.novell.com/show_bug.cgi?id=657789#c6 --- Comment #6 from damian ivanov2010-12-11 13:53:54 UTC --- Well, I think we are not talking about the same package... I mean http://sourceware.org/libffi/ I talked to the libffi-discuss maling list: Damian Ivanov writes: > Hi there, > > I have a problem compiling wayland, the NG display server on openSUSE > 11.4. The build process fails with the missing libffi message, still > libffi-devel and libffi are installed, but there is no libffi.pc (for > pkgconfig) file included. > I've filed a bug report for that at > https://bugzilla.novell.com/show_bug.cgi?id=657789 . Should the distro > include/generate the .pc file or could you include it? libffi.pc comes with libffi and will get installed with make install. It should be part of their libffi-devel package. The program includes a libffi.pc.in file and should get installed with make install. I've downloaded also the libffi-devel from other distro's. They contain the .pc file without patching e.g from fedora: src rpm: http://mirror.telepoint.bg/fedora/fedora/linux//development/rawhide/source/SRPMS/libffi-3.0.9-1.fc13.src.rpm i586: http://mirror.telepoint.bg/fedora/fedora/linux//development/rawhide/i386/os/Packages/libffi-devel-3.0.9-1.fc13.i686.rpm and http://mirror.telepoint.bg/fedora/fedora/linux//development/rawhide/i386/os/Packages/libffi-3.0.9-1.fc13.i686.rpm >From the build service in: 1) server:monitoring 2) devel:languages:ruby:1.9 I found libffi and libffi-devel packages, that contain libffi and the devel package. It contains libffi.pc.in . -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=657789
https://bugzilla.novell.com/show_bug.cgi?id=657789#c7
Jan Engelhardt
Thus, for libffi[-devel]-32bit, how are you supposed to use it? Doing gcc test.c `pkg-config --libs libffi` -m32 does not work
pkg-config is configured and built for exactly one host triple. On x86_64-suse-linux-gnu, /usr/bin/pkg-config is configured to look into /usr/lib64/pkgconfig/, where .pc files for 64-bit compliation (and only that) are located. If you want to crosscompile to 32-bit, you will need a pkg-config compiled for i586-suse-linux-gnu which then looks in /usr/lib/pkgconfig, where 32-bit .pc files are located. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=657789
https://bugzilla.novell.com/show_bug.cgi?id=657789#c8
Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=657789
https://bugzilla.novell.com/show_bug.cgi?id=657789#c9
Richard Guenther
participants (1)
-
bugzilla_noreply@novell.com