* busybox-1.2.1 fails
@ 2006-08-26 2:13 Mohammed Amine SAYA
2006-08-26 11:09 ` pHilipp Zabel
0 siblings, 1 reply; 8+ messages in thread
From: Mohammed Amine SAYA @ 2006-08-26 2:13 UTC (permalink / raw)
To: openembedded-devel
Hi all,
I am trying to build an opie image but busybox fails.
I got this :
|
/home/users/asaya/Work/OpenEmbedded/OpenEmbedded-Dev1-mnt028/build/tmp/work/arm-linux/busybox-1.2.1-r1/image/usr/sbin:
| chroot
| fbset
| rdate
| udhcpd
|
|
/home/users/asaya/Work/OpenEmbedded/OpenEmbedded-Dev1-mnt028/build/tmp/work/arm-linux/busybox-1.2.1-r1/image/usr/share:
| udhcpc
|
|
/home/users/asaya/Work/OpenEmbedded/OpenEmbedded-Dev1-mnt028/build/tmp/work/arm-linux/busybox-1.2.1-r1/image/usr/share/udhcpc:
| default.script
| 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'
NOTE: Task failed:
/home/users/asaya/Work/OpenEmbedded/OpenEmbedded-Dev1-mnt028/build/tmp/work/arm-linux/busybox-1.2.1-r1/temp/log.do_install.19657
NOTE: package busybox-1.2.1-r1: task do_package: failed
ERROR: TaskFailed event exception, aborting
NOTE: package busybox-1.2.1: failed
ERROR: Build of opie-image failed
Any hint please ?
Amine.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: busybox-1.2.1 fails
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
0 siblings, 1 reply; 8+ messages in thread
From: pHilipp Zabel @ 2006-08-26 11:09 UTC (permalink / raw)
To: openembedded-devel
On 8/26/06, Mohammed Amine SAYA <amine.saya@free.fr> wrote:
> Hi all,
> I am trying to build an opie image but busybox fails.
> I got this :
[...]
> |
> /home/users/asaya/Work/OpenEmbedded/OpenEmbedded-Dev1-mnt028/build/tmp/work/arm-linux/busybox-1.2.1-r1/image/usr/share/udhcpc:
>
> | default.script
> | mv: cannot overwrite directory
Cannot overwrite directory?
Sounds like a permission problem.
Did you build as root once?
Try to manually rm -rf
/home/users/asaya/Work/OpenEmbedded/OpenEmbedded-Dev1-mnt028/build/tmp/work/arm-linux/busybox-1.2.1-r1/image
regards
Philipp
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: busybox-1.2.1 fails
2006-08-26 11:09 ` pHilipp Zabel
@ 2006-08-26 12:54 ` Mohammed Amine SAYA
2006-08-26 13:43 ` Mohammed Amine SAYA
0 siblings, 1 reply; 8+ messages in thread
From: Mohammed Amine SAYA @ 2006-08-26 12:54 UTC (permalink / raw)
To: Using the OpenEmbedded metadata to build Linux Distributions
pHilipp Zabel wrote:
> On 8/26/06, Mohammed Amine SAYA <amine.saya@free.fr> wrote:
>
>> Hi all,
>> I am trying to build an opie image but busybox fails.
>> I got this :
>>
> [...]
>
>> |
>> /home/users/asaya/Work/OpenEmbedded/OpenEmbedded-Dev1-mnt028/build/tmp/work/arm-linux/busybox-1.2.1-r1/image/usr/share/udhcpc:
>>
>> | default.script
>>
| 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'
>> | mv: cannot overwrite directory
>>
>
>
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.
Still not working.
Amine.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: busybox-1.2.1 fails
2006-08-26 12:54 ` Mohammed Amine SAYA
@ 2006-08-26 13:43 ` Mohammed Amine SAYA
2006-08-26 12:48 ` Mustafa Yuecel
0 siblings, 1 reply; 8+ messages in thread
From: Mohammed Amine SAYA @ 2006-08-26 13:43 UTC (permalink / raw)
To: Using the OpenEmbedded metadata to build Linux Distributions
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.
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: busybox-1.2.1 fails
2006-08-26 13:43 ` Mohammed Amine SAYA
@ 2006-08-26 12:48 ` Mustafa Yuecel
2006-08-26 13:07 ` Koen Kooi
2006-08-26 14:32 ` busybox-1.2.1 and sysvinit-2.86 fail Mohammed Amine SAYA
0 siblings, 2 replies; 8+ messages in thread
From: Mustafa Yuecel @ 2006-08-26 12:48 UTC (permalink / raw)
To: openembedded-devel
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...
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-08-26 13:27 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
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.