[Buildroot] [PATCH 1/1] connman: fix systemd build wih pkgconf 1.5.3

Petr Vorel petr.vorel at gmail.com
Wed Dec 19 21:15:31 UTC 2018

Hi Fabrice,

> Since the bump to 1.5.3, pkgconf prepends the sysroot to all absolute
> paths found in the .pc file. This is correct when the paths refer to
> something in STAGING_DIR (e.g. libdir, includedir), but not when it
> refers to something used for the target.

> connman uses the tmpfilesdir variable from systemd.pc to decide where to
> install things. Since DESTDIR is prepended to the install destination,
> this will end up in the wrong location.

> Until a better solution is found in pkgconf, pass the tmpfilesdir to use
> explicitly instead of relying on systemd.pc.

> Fixes:
>  - http://autobuild.buildroot.org/results/6a13e6dfc58b2b3f8fbad6d6d6462370a75a8ad4

> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Acked-by: Petr Vorel <petr.vorel at gmail.com>

Thanks for your fix!

Kind regards,

More information about the buildroot mailing list