From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] Issue compiling on Ubuntu under WSL
Date: Sun, 03 May 2020 14:47:28 +0300 [thread overview]
Message-ID: <87bln5grzj.fsf@tarshish> (raw)
In-Reply-To: <CA+1XQn=Np1jRm6A+drXhFaWrzUHR2yfHcXTvNFL6HHhJUTy5JQ@mail.gmail.com>
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 -
next prev parent reply other threads:[~2020-05-03 11:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 [this message]
2020-05-03 13:55 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bln5grzj.fsf@tarshish \
--to=baruch@tkos.co.il \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox