Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 591636 - sys-devel/crossdev generated pkg-config ignores PKG_CONFIG_PATH
Summary: sys-devel/crossdev generated pkg-config ignores PKG_CONFIG_PATH
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Crossdev team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-18 20:49 UTC by Malte
Modified: 2021-10-27 09:19 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Malte 2016-08-18 20:49:54 UTC
I want to build some programs with the armv7a-hardfloat-linux-gnueabi toolchain which I generated via crossdev. 

It fails because it is not able to find a library which i installed locally into my home folder. 
Solution: set PKG_CONFIG_PATH to contain that local folder.

Now there is the problem the armv7a-hardfloat-linux-gnueabi-pkg-config does not find the libraries .pc file while stock pkg-config does. Additionally armv7a-hardfloat-linux-gnueabi-pkg-config fails with this message:  realpath: ‘pkgconfig/..’: No such file or directory, perhaps you should add to PKG_CONFIG_PATH blahblah ... 

Is this supposed to happen?
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2020-08-15 08:55:19 UTC
crossdev (perhaps over-zealously) cleans them up in https://gitweb.gentoo.org/proj/crossdev.git/tree/wrappers/cross-pkg-config#n75

We should either allow PKG_CONFIG_PATH as is or have an equivalent variable.