From mboxrd@z Thu Jan 1 00:00:00 1970 From: Baruch Siach Date: Sun, 03 May 2020 14:47:28 +0300 Subject: [Buildroot] Issue compiling on Ubuntu under WSL In-Reply-To: References: Message-ID: <87bln5grzj.fsf@tarshish> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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 -