From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Thiery Date: Tue, 5 Nov 2019 08:19:23 +0000 Subject: [Buildroot] [PATCH 1/1] package/sysrepo: fix host/staging install steps In-Reply-To: <20191105090931.5b8953c9@windsurf> References: <20191103060113.4884-1-heiko.thiery@gmail.com> <20191104223848.5e67d301@windsurf.home> <20191105090931.5b8953c9@windsurf> Message-ID: <645328c13bf64cca873529e470eb453d@kontron.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net > -----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 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.