Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Mohammed Amine SAYA <amine.saya@free.fr>
To: Using the OpenEmbedded metadata to build Linux Distributions
	<openembedded-devel@lists.openembedded.org>
Subject: Re: busybox-1.2.1 fails
Date: Sat, 26 Aug 2006 15:43:24 +0200	[thread overview]
Message-ID: <44F04FFC.1030006@free.fr> (raw)
In-Reply-To: <44F0447D.8070309@free.fr>

Mohammed Amine SAYA wrote:
> | mv: cannot overwrite directory 
> `/home/users/asaya/Work/OpenEmbedded/OpenEmbedded-Dev1-mnt028/build/tmp/work/arm-linux/busybox-1.2.1-r1/image/busybox/bin'
> | mv: cannot overwrite directory 
> `/home/users/asaya/Work/OpenEmbedded/OpenEmbedded-Dev1-mnt028/build/tmp/work/arm-linux/busybox-1.2.1-r1/image/busybox/sbin'
> | mv: cannot overwrite directory 
> `/home/users/asaya/Work/OpenEmbedded/OpenEmbedded-Dev1-mnt028/build/tmp/work/arm-linux/busybox-1.2.1-r1/image/busybox/usr'
>
>   
> Hi Philipp,
> Thank you for your help.
>   
>> Cannot overwrite directory?
>> Sounds like a permission problem.
>> Did you build as root once?
>>   
>>     
> No
>   
>> Try to manually rm -rf
>> /home/users/asaya/Work/OpenEmbedded/OpenEmbedded-Dev1-mnt028/build/tmp/work/arm-linux/busybox-1.2.1-r1/image
>>     
> It worked, I removed it the image directory.
> I used to build opie successfully with the old openembedded database 
> (until monotone 0.25) and bitbake 1.3.X.
> I don't know what's happening. I ls -l almost all busybox directories in 
> $HOME/Work/OpenEmbedded/OpenEmbedded-Dev1-mnt028/build/tmp/work/arm-linux/busybox-1.2.1-r1 
> and everything
> seems to belong to me with the right mode.
>
>
>
>   
It turns out that this line inside do_install function in 
busybox_1.2.1.bb file is causing the trouble :
mv ${D}${base_bindir} ${D}${base_sbindir} ${D}${prefix} ${D}/busybox/

I replaced "mv" with "cp -a" and it works, does anyone object to that or 
have a better fix ?


Amine.



  reply	other threads:[~2006-08-26 12:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-26  2:13 busybox-1.2.1 fails Mohammed Amine SAYA
2006-08-26 11:09 ` pHilipp Zabel
2006-08-26 12:54   ` Mohammed Amine SAYA
2006-08-26 13:43     ` Mohammed Amine SAYA [this message]
2006-08-26 12:48       ` Mustafa Yuecel
2006-08-26 13:07         ` Koen Kooi
2006-08-26 14:28           ` Mohammed Amine SAYA
2006-08-26 14:32         ` busybox-1.2.1 and sysvinit-2.86 fail Mohammed Amine SAYA

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=44F04FFC.1030006@free.fr \
    --to=amine.saya@free.fr \
    --cc=openembedded-devel@lists.openembedded.org \
    /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