[Buildroot] [PATCH 1/1] package/sysrepo: fix host/staging install steps

Heiko Thiery Heiko.Thiery at kontron.com
Tue Nov 5 08:19:23 UTC 2019


> -----Ursprüngliche Nachricht-----
> Von: Thomas Petazzoni [mailto:thomas.petazzoni at bootlin.com]
> Gesendet: Dienstag, 5. November 2019 09:10
> An: Heiko Thiery
> Cc: Heiko Thiery; buildroot at buildroot.org
> Betreff: Re: [Buildroot] [PATCH 1/1] package/sysrepo: fix host/staging install
> steps
> 
> On Tue, 5 Nov 2019 09:03:27 +0100
> Heiko Thiery <heiko.thiery at gmail.com> wrote:
> 
> > The problem comes from the hardcoded TARGET_DIR that is compiled-in
> > the needed host tools (sysrepocfg, sysrepoctl) in the build host step.
> > This value is used
> > as target for this tools as well as search path for other dependencies.
> > With this all install steps tries to install parts into that
> > TARGET_DIR. I think it is not really clean that this happens. When I
> > just do the part hat only the tools are build in the host step. Then
> > the staging will fail because there are missing files that are
> > expected to be located in the TARGET_DIR. The tools have the hardcoded
> > search path set to the TARGET_DIR.
> 
> Hum, OK. Did you talk about this with the upstream project ?
> 
> Your proposed solution is probably good as a workaround, but long term it
> would be nice to have the upstream sysrepo project support better cross-
> compilation, by solving those paths issues.

I agree. I tried this and it is still ongoing.



More information about the buildroot mailing list