1 |
Hi all, |
2 |
I have followed the Gentoo emebedded handbook to create |
3 |
i686-unknown-linux-gnu |
4 |
First I have created a chroot envrironment stage3 and ran update |
5 |
to create it I did: |
6 |
crossdev -S -P -v -t --target i686-unknown-linux-gnu |
7 |
|
8 |
Now I tried to emerge with |
9 |
i686-unknown-linux-gnu-emerge -av busybox |
10 |
|
11 |
I tried to install bash, ncurses, but the output is the same. |
12 |
Every package I try to emerge, when the compilation finished, I get this: |
13 |
>>> Failed to emerge sys-apps/busybox-1.17.1-r1 for /usr/my.chost/, Log |
14 |
file: |
15 |
|
16 |
>>> '/usr/my.chost/tmp/portage/sys-apps/busybox-1.17.1-r1/temp/build.log' |
17 |
./_install/sbin/ubiattach -> ../bin/busybox |
18 |
./_install/sbin/ubidetach -> ../bin/busybox |
19 |
./_install/sbin/udhcpc -> ../bin/busybox |
20 |
./_install/sbin/udhcpd -> ../bin/busybox |
21 |
./_install/sbin/vconfig -> ../bin/busybox |
22 |
./_install/sbin/watchdog -> ../bin/busybox |
23 |
./_install/sbin/zcip -> ../bin/busybox |
24 |
|
25 |
|
26 |
-------------------------------------------------- |
27 |
You will probably need to make your busybox binary |
28 |
setuid root to ensure all configured applets will |
29 |
work properly. |
30 |
-------------------------------------------------- |
31 |
|
32 |
>>> Completed installing busybox-1.17.1-r1 into |
33 |
/usr/my.chost/tmp/portage/sys-apps/busybox-1.17.1-r1/image/ |
34 |
|
35 |
|
36 |
* Wrong EM_TYPE. Expected EM_X86 |
37 |
EM_386 ./bin/bb |
38 |
EM_386 ./bin/busybox |
39 |
|
40 |
* Messages for package sys-apps/busybox-1.17.1-r1 merged to /usr/my.chost/: |
41 |
|
42 |
* Could not locate user configfile, so we will save a default one |
43 |
* Your configuration for sys-apps/busybox-1.17.1-r1 has been saved in |
44 |
* /etc/portage/savedconfig/sys-apps/busybox-1.17.1-r1 for your editing |
45 |
pleasure. |
46 |
* You can edit these files by hand and remerge this package with |
47 |
* USE=savedconfig to customise the configuration. |
48 |
* You can rename this file/directory to one of the following for |
49 |
* its configuration to apply to multiple versions: |
50 |
* ${PORTAGE_CONFIGROOT}/etc/portage/savedconfig/ |
51 |
* [${CTARGET}|${CHOST}|""]/${CATEGORY}/[${PF}|${P}|${PN}] |
52 |
* The ebuild phase 'install' has exited unexpectedly. This type of |
53 |
* behavior is known to be triggered by things such as failed variable |
54 |
* assignments (bug #190128) or bad substitution errors (bug #200313). |
55 |
* Normally, before exiting, bash should have displayed an error message |
56 |
* above. If bash did not produce an error message above, it's possible |
57 |
* that the ebuild has called `exit` when it should have called `die` |
58 |
* instead. This behavior may also be triggered by a corrupt bash binary or |
59 |
* a hardware problem such as memory or cpu malfunction. If the problem is |
60 |
* not reproducible or it appears to occur randomly, then it is likely to |
61 |
* be triggered by a hardware problem. If you suspect a hardware problem |
62 |
* then you should try some basic hardware diagnostics such as memtest. |
63 |
* Please do not report this as a bug unless it is consistently |
64 |
* reproducible and you are sure that your bash binary and hardware are |
65 |
* functioning properly. |
66 |
|
67 |
I did play with the CHOST but this was not the problem. |
68 |
|
69 |
What should I check? |
70 |
|
71 |
Regards, |
72 |
Kfir |