Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 518790

Summary: sys-devel/crossdev-20140729: cross-pkg-config expects libc.so or fails to find pc files in libdir/pkgconfig (mingw targets)
Product: Gentoo Linux Reporter: Luke-Jr <luke-jr+gentoobugs>
Component: [OLD] Core systemAssignee: Embedded Gentoo Team <embedded>
Status: RESOLVED FIXED    
Severity: normal CC: gentoo.bugzilla
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Luke-Jr 2014-08-02 03:16:15 UTC
Created attachment 382050 [details]
emerge --info

This is regression from crossdev 20140118 and earlier, introduced in 20140729.

Most libraries install their .pc files under libdir/pkgconfig; however, crossdev is now finding this using gcc to search for libc.so which does not exist on (at least) MinGW targets, thus all attempts to build software needing these libraries for the targets fail.
Comment 1 LE GARREC Vincent 2014-08-27 07:36:41 UTC
Right. The bug comes from the script i686-pc-mingw32-pkg-config. The variable ${libdir} does not return "lib" but the current folder. I can't provide a patch (it's out of my competencies) but the regression is there.