All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Issue compiling on Ubuntu under WSL
       [not found] <CA+1XQnkaNvzxb2gyse=UOR1AvE=uxCks7KuLmPmbmdgusDd+GQ@mail.gmail.com>
@ 2020-05-03 11:28 ` Renato Moutinho
  2020-05-03 11:47   ` Baruch Siach
  2020-05-03 13:55   ` Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Renato Moutinho @ 2020-05-03 11:28 UTC (permalink / raw)
  To: buildroot

Hi there,

    I've been trying to compile buildroot on Unbuntu running under WSL. I
assume this isn't a supported configuration but my intention is to provide
additional information for an issue opened on WSL's github.

Ultimately, the build fails with the error reported below. What I wanted to
do is prefix this last *mv *command with an *strace *so I can submit
additional information to the WSL dev team but I'm unable to find the *Makefile
*responsible for this command specifically. Can anyone help me with this?

xzcat
/home/moutinho/buildroot-labs/buildroot/dl/toolchain-external-arm-arm/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf.tar.xz
| tar --strip-components=1 -C
/home/moutinho/buildroot-labs/buildroot/output/build/toolchain-external-arm-arm-2019.12
--exclude='usr/lib/locale/*'   -xf -
rm -rf /home/moutinho/buildroot-labs/buildroot/output/host/opt/ext-toolchain
mkdir -p
/home/moutinho/buildroot-labs/buildroot/output/host/opt/ext-toolchain
mv
/home/moutinho/buildroot-labs/buildroot/output/build/toolchain-external-arm-arm-2019.12/*
/home/moutinho/buildroot-labs/buildroot/output/host/opt/ext-toolchain/
mv: cannot move
'/home/moutinho/buildroot-labs/buildroot/output/build/toolchain-external-arm-arm-2019.12/arm-none-linux-gnueabihf'
to
'/home/moutinho/buildroot-labs/buildroot/output/host/opt/ext-toolchain/arm-none-linux-gnueabihf':
Permission denied
package/pkg-generic.mk:193: recipe for target
'/home/moutinho/buildroot-labs/buildroot/output/build/toolchain-external-arm-arm-2019.12/.stamp_extracted'
failed
make[1]: ***
[/home/moutinho/buildroot-labs/buildroot/output/build/toolchain-external-arm-arm-2019.12/.stamp_extracted]
Error 1
Makefile:84: recipe for target '_all' failed
make: *** [_all] Error 2

Best regards,

Renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20200503/f45e7011/attachment.html>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Issue compiling on Ubuntu under WSL
  2020-05-03 11:28 ` [Buildroot] Issue compiling on Ubuntu under WSL Renato Moutinho
@ 2020-05-03 11:47   ` Baruch Siach
  2020-05-03 13:55   ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Baruch Siach @ 2020-05-03 11:47 UTC (permalink / raw)
  To: buildroot

Hi Renato,

On Sun, May 03 2020, Renato Moutinho wrote:
> Hi there,
>
>     I've been trying to compile buildroot on Unbuntu running under WSL. I
> assume this isn't a supported configuration but my intention is to provide
> additional information for an issue opened on WSL's github.
>
> Ultimately, the build fails with the error reported below. What I wanted to
> do is prefix this last *mv *command with an *strace *so I can submit
> additional information to the WSL dev team but I'm unable to find the *Makefile
> *responsible for this command specifically. Can anyone help me with this?

See the TOOLCHAIN_EXTERNAL_MOVE macro in
toolchain/toolchain-external/pkg-toolchain-external.mk.

baruch

> xzcat
> /home/moutinho/buildroot-labs/buildroot/dl/toolchain-external-arm-arm/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf.tar.xz
> | tar --strip-components=1 -C
> /home/moutinho/buildroot-labs/buildroot/output/build/toolchain-external-arm-arm-2019.12
> --exclude='usr/lib/locale/*'   -xf -
> rm -rf /home/moutinho/buildroot-labs/buildroot/output/host/opt/ext-toolchain
> mkdir -p
> /home/moutinho/buildroot-labs/buildroot/output/host/opt/ext-toolchain
> mv
> /home/moutinho/buildroot-labs/buildroot/output/build/toolchain-external-arm-arm-2019.12/*
> /home/moutinho/buildroot-labs/buildroot/output/host/opt/ext-toolchain/
> mv: cannot move
> '/home/moutinho/buildroot-labs/buildroot/output/build/toolchain-external-arm-arm-2019.12/arm-none-linux-gnueabihf'
> to
> '/home/moutinho/buildroot-labs/buildroot/output/host/opt/ext-toolchain/arm-none-linux-gnueabihf':
> Permission denied
> package/pkg-generic.mk:193: recipe for target
> '/home/moutinho/buildroot-labs/buildroot/output/build/toolchain-external-arm-arm-2019.12/.stamp_extracted'
> failed
> make[1]: ***
> [/home/moutinho/buildroot-labs/buildroot/output/build/toolchain-external-arm-arm-2019.12/.stamp_extracted]
> Error 1
> Makefile:84: recipe for target '_all' failed
> make: *** [_all] Error 2
>
> Best regards,
>
> Renato

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Issue compiling on Ubuntu under WSL
  2020-05-03 11:28 ` [Buildroot] Issue compiling on Ubuntu under WSL Renato Moutinho
  2020-05-03 11:47   ` Baruch Siach
@ 2020-05-03 13:55   ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2020-05-03 13:55 UTC (permalink / raw)
  To: buildroot

Hello Renato,

On Sun, 3 May 2020 08:28:07 -0300
Renato Moutinho <renato.moutinho@gmail.com> wrote:

>     I've been trying to compile buildroot on Unbuntu running under WSL. I
> assume this isn't a supported configuration but my intention is to provide
> additional information for an issue opened on WSL's github.
> 
> Ultimately, the build fails with the error reported below. What I wanted to
> do is prefix this last *mv *command with an *strace *so I can submit
> additional information to the WSL dev team but I'm unable to find the *Makefile
> *responsible for this command specifically. Can anyone help me with this?

This issue is also being discussed at
https://github.com/microsoft/WSL/issues/5108, i.e it has been reported
to WSL upstream.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-03 13:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CA+1XQnkaNvzxb2gyse=UOR1AvE=uxCks7KuLmPmbmdgusDd+GQ@mail.gmail.com>
2020-05-03 11:28 ` [Buildroot] Issue compiling on Ubuntu under WSL Renato Moutinho
2020-05-03 11:47   ` Baruch Siach
2020-05-03 13:55   ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.