Hi, On Fri, Jun 23, 2017 at 10:15:42AM +0000, Baeuerle, Florian wrote: > I've been working on getting Qt-5.9 built with the latest ptxdist and I > encountered a bug which is related to the way, ptxdist uses pkg-config. > > I already found a (hacky) workaround, but I think the root cause > actually is how ptxdist uses pkg-config. > > The problem is already described in the Qt-Bug-Tracker in detail, so > I'll just refer to that: > > https://bugreports.qt.io/browse/QTBUG-61593
I am aware of this issue. The problem is, that there is no setup that works for all packages. Packages like Qt that try to be clever usually cause the biggest problems because the are all 'clever' in different way. Having a pkg-config that just provides the correct paths works for most things. The initial implementation of our current pkg-config wrapper predates PKG_CONFIG_SYSROOT_DIR. Maybe we could change this now, but this will take a lot of careful review. Setting PKG_CONFIG_SYSROOT_DIR=/ will help in this case. Regards, Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de