Re: [ptxdist] OSELAS.Toolchain 2019.09.0 - incorrect install path

2019-09-19 Thread Juergen Borleis
Hi Christoph (hope, this time its correct :) ),

On Thursday 19 September 2019 21:01:30 Rüdiger, Christoph wrote:
> that was the key. For everyone else running into this issue, the command
> to install the toolchain to /opt/OSELAS... is now
>
> ptxdist make install

\o/

> However, ptxdist still checks the existence of /opt/OSELAS.Toolchain...
> at the very beginning of the build. Shouldn't it do that as part of the
> make install step, given that it never touches /opt/ during ptxdist go?

Hmm, seems some old code still remains... Michael?

Cheers,
Jürgen

-- 
Pengutronix e.K.                             | Juergen Borleis             |
Linux Solutions for Science and Industry     | Phone: +49-5121-206917-5128 |
Peiner Str. 6-8, 31137 Hildesheim, Germany   | Fax:   +49-5121-206917- |
Amtsgericht Hildesheim, HRA 2686             | http://www.pengutronix.de/  |

___
ptxdist mailing list
ptxdist@pengutronix.de


Re: [ptxdist] OSELAS.Toolchain 2019.09.0 - incorrect install path

2019-09-19 Thread Rüdiger , Christoph
Hi Jürgen,

that was the key. For everyone else running into this issue, the command to 
install the toolchain to /opt/OSELAS... is now

ptxdist make install

However, ptxdist still checks the existence of /opt/OSELAS.Toolchain... at the 
very beginning of the build. Shouldn't it do that as part of the make install 
step, given that it never touches /opt/ during ptxdist go?

Thank you,
Christoph

-Original Message-
From: Juergen Borleis  
Sent: Thursday, September 19, 2019 2:51 AM
To: Rüdiger, Christoph 
Cc: ptxdist@pengutronix.de
Subject: Re: [ptxdist] OSELAS.Toolchain 2019.09.0 - incorrect install path

Hi Rüdiger,

On Thursday 19 September 2019 05:56:48 Rüdiger, Christoph wrote:
> I discovered an issue in the 2019.09.0 OSELAS toolchain where the 
> installation does not happen into the correct path at 
> /opt/OSELAS.Toolchain-2019.09.0/... What happens instead is that 
> everything gets installed into a package in the platform-... 
> directory, but the things never make it from there into the /opt/ directory.
>
> I've attached the logfile for building and installing just the 
> cross-binutils in a clean OSELAS-2019.09.0 project.
>
> From what I see, ptxdist creates the packages as it usually does, but 
> for whatever reason does not install it on the host.
>
> How is this supposed to happen? What is going wrong here?

configure; make; make install… ;)

Due to regular permission issues in "opt/", the install step is now a separate 
step: "ptxdist make install" if I remember correctly.

Refer 00d88a79453255ec56439af359aa3e805f1176dd
   "add make target to install the toolchain"

in the OSELAS.Toolchain repository for details.

Cheers,
Jürgen

--
Pengutronix e.K.                             | Juergen Borleis             | 
Industrial Linux Solutions                   | 
https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.pengutronix.de%2Fdata=02%7C01%7C%7C29312eab37c4454c978b08d73ccdb9a4%7Cd79555d18adb46eaaf6cb6b2a24e4fe7%7C0%7C0%7C637044726599373586sdata=VR%2BZaxTx5G0ErlXywoaiyd61pxFRRXIDMCTpySc7vS0%3Dreserved=0
  |
___
ptxdist mailing list
ptxdist@pengutronix.de


Re: [ptxdist] OSELAS.Toolchain 2019.09.0 - incorrect install path

2019-09-19 Thread Juergen Borleis
Hi Rüdiger,

On Thursday 19 September 2019 05:56:48 Rüdiger, Christoph wrote:
> I discovered an issue in the 2019.09.0 OSELAS toolchain where the
> installation does not happen into the correct path at
> /opt/OSELAS.Toolchain-2019.09.0/... What happens instead is that
> everything gets installed into a package in the platform-... directory,
> but the things never make it from there into the /opt/ directory.
>
> I've attached the logfile for building and installing just the
> cross-binutils in a clean OSELAS-2019.09.0 project.
>
> From what I see, ptxdist creates the packages as it usually does, but for
> whatever reason does not install it on the host.
>
> How is this supposed to happen? What is going wrong here?

configure; make; make install… ;)

Due to regular permission issues in "opt/", the install step is now a 
separate step: "ptxdist make install" if I remember correctly.

Refer 00d88a79453255ec56439af359aa3e805f1176dd
   "add make target to install the toolchain"

in the OSELAS.Toolchain repository for details.

Cheers,
Jürgen

-- 
Pengutronix e.K.                             | Juergen Borleis             |
Industrial Linux Solutions                   | http://www.pengutronix.de/  |

___
ptxdist mailing list
ptxdist@pengutronix.de