Error building libbsd

2018-06-21 Thread Nicolas Tsiogkas
Hi, following the steps described in https://github.com/RTEMS/rtems-libbsd I get an error "Could not create the directory ///h" while trying to build with waf 2.0.8 Is it a known problem? I have seen that the installation procedure has changed since 4.11 and now the tools and the bsps are insta

Re: Error building libbsd

2018-06-21 Thread Joel Sherrill
On Thu, Jun 21, 2018 at 8:52 AM, Nicolas Tsiogkas wrote: > Hi, > > following the steps described in https://github.com/RTEMS/rtems-libbsd I > get an error > > "Could not create the directory ///h" while trying to build with waf 2.0.8 > > Is it a known problem? > Not to me. What's your configure

Re: Error building libbsd

2018-06-21 Thread Nicolas Tsiogkas
Hi Joel, waf-2.0.8 configure --prefix="$sandbox/5" --rtems-bsps=arm/xilinx_zynq_a9_qemu has the following output: Setting top to : /home/niko/sandbox/rtems-libbsd Setting out to : /home/niko/sandbox/rtems-libbsd/build RTEMS Version

Re: Error building libbsd

2018-06-21 Thread Nicolas Tsiogkas
And apparently I forgot the host. It is ubuntu 16.04: Linux im-desktop-021 4.13.0-45-generic #50~16.04.1-Ubuntu SMP Wed May 30 11:18:27 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9) N. On Thu, Jun 21, 2018 at 4:19 PM Nicolas Tsiogkas wrote:

Re: Error building libbsd

2018-06-21 Thread Christian Mauderer
Am 21.06.2018 um 16:26 schrieb Nicolas Tsiogkas: > And apparently I forgot the host. > > It is ubuntu 16.04: > Linux im-desktop-021 4.13.0-45-generic #50~16.04.1-Ubuntu SMP Wed May 30 > 11:18:27 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux > gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9)  >

Re: Error building libbsd

2018-06-22 Thread Nicolas Tsiogkas
Hi Christian, it is a fresh clone. Although I had a previous build with 4.11 I decided try from scratch given the changes. Error is during the build. I'm configuring normally and when I try to waf it then it fails. Is there any way to increase the verbosity? I will repeat all the process from sc

Re: Error building libbsd

2018-06-22 Thread Nicolas Tsiogkas
Hi, I did the process again with no luck. I am attaching a zip with command outputs/logs. Regards, Niko On Fri, Jun 22, 2018 at 9:44 AM Nicolas Tsiogkas wrote: > Hi Christian, > > it is a fresh clone. Although I had a previous build with 4.11 I decided > try from scratch given the changes. > >

Re: Error building libbsd

2018-06-22 Thread Christian Mauderer
Hello Niko, from a quick glance, everything till the waf call looks good. What is really odd is the output of the last waf-2.0.8 call. There should be a lot more output starting with something like Waf: Entering directory `/home/EB/christian_m/Projekte/some-project/rtems-libbsd/build/arm-rte

Re: Error building libbsd

2018-06-22 Thread Nicolas Tsiogkas
Hi, waf was downloaded by the website (waf.io) niko@im-desktop-021:~/sandbox/rtems-libbsd$ which waf-2.0.8 /home/niko/.local/bin/waf-2.0.8 running also with waf-2.0.4 which used to work gives the same error ~/sandbox/rtems-libbsd$ waf-2.0.8 -v Could not create the directory ///h ~/sandbox/rtem

Re: Error building libbsd

2018-06-22 Thread Christian Mauderer
Hello Niko, Am 22.06.2018 um 13:23 schrieb Nicolas Tsiogkas: > Hi, > > waf was downloaded by the website (waf.io ) > > niko@im-desktop-021:~/sandbox/rtems-libbsd$ which waf-2.0.8  > /home/niko/.local/bin/waf-2.0.8 Should be OK. > > running also with waf-2.0.4 which used to work

Re: Error building libbsd

2018-06-25 Thread Nicolas Tsiogkas
Hi, sorry for the late reply. So, the patch didn't do a thing. Got the same print. But I tried to run waf with python3 python3 /home/niko/.local/bin/waf-2.0.8 and python3 /home/niko/.local/bin/waf-2.0.8 install That was successful. From that I can assume that there is some issue with the pyt

Re: Error building libbsd

2018-06-25 Thread Christian Mauderer
Hello Niko, if the patch didn't do anything to your output, the error has to happen quite early. The first one should have been printed when the build() function of the wscript has been reached. So I would assume that it already happens before that. If you have time and desire to find the bug, yo

Re: Error building libbsd

2018-06-25 Thread Nicolas Tsiogkas
Hi Christian, I will go with python3 indeed as I have to finally close a patch for Ethercat SOEM working with RTEMS 5. In parallel I will try to investigate with the waf examples and report back. Thanks for the prompt reply and effort. :) Regards, Niko On Mon, Jun 25, 2018 at 10:15 AM Christian

Re: Error building libbsd

2018-06-28 Thread Nicolas Tsiogkas
Hi, some later report. I compiled the examples and some private project with waf and all was smoothly. I suspect that there must be something with the libbsd scripts. Cheers, Niko On Mon, Jun 25, 2018 at 10:20 AM Nicolas Tsiogkas wrote: > Hi Christian, > > I will go with python3 indeed as I ha

Re: Error building libbsd

2018-06-29 Thread Christian Mauderer
Hello Niko, thanks for the feedback. Still sounds odd. Especially because it seems that the error happens before the wscript is called for build (otherwise you should have seen a message with the additional patch). So it has to be something in one of the generated cache files (either in build or t

Re: Error building libbsd

2018-07-02 Thread Nicolas Tsiogkas
Hi Christian, I even tried to go through with pdb before posting on the mailing list. For now I will leave it as is cause I have a more critical bug to fix on Ethercat working with RTEMSv5. If time allows later I will try to dig into it. Thanks for the support! Cheers, Niko On Fri, Jun 29, 2018