All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mustafa Yuecel <yuecelm@ee.ethz.ch>
To: openembedded-devel@lists.openembedded.org
Subject: Re: busybox-1.2.1 fails
Date: Sat, 26 Aug 2006 14:48:41 +0200	[thread overview]
Message-ID: <44F04329.3060502@ee.ethz.ch> (raw)
In-Reply-To: <44F04FFC.1030006@free.fr>

Mohammed Amine SAYA wrote:
> 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'
>>>
>>> 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 ?

I have the same problem. I think that the installation routine of
busybox was slightly changed. The bin, sbin and usr directories already
exists in the busybox directory, so the above mv command will fail...



  reply	other threads:[~2006-08-26 12:50 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
2006-08-26 12:48       ` Mustafa Yuecel [this message]
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=44F04329.3060502@ee.ethz.ch \
    --to=yuecelm@ee.ethz.ch \
    --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 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.