1 |
amit0 ~ # fgrep make-symlinks /var/log/portage/elog/summary.log |
2 |
/var/log/emerge.log;echo $? |
3 |
1 |
4 |
amit0 ~ # euse -a make-symlinks |
5 |
amit0 ~ # |
6 |
|
7 |
amit0 ~ # grep -i -A 8 busybox-1.13.2 /var/log/portage/elog/summary.log |
8 |
>>> Messages generated by process 17234 on 2009-09-02 17:35:08 IDT for |
9 |
package sys-apps/busybox-1.13.2: |
10 |
|
11 |
WARN: unpack |
12 |
Could not locate user configfile, so we will save a default one |
13 |
|
14 |
LOG: install |
15 |
Your configuration for sys-apps/busybox-1.13.2 has been saved in |
16 |
/etc/portage/savedconfig/sys-apps/busybox-1.13.2 for your editing pleasure. |
17 |
You can edit these files by hand and remerge this package with |
18 |
USE=savedconfig to customise the configuration. |
19 |
You can rename this file/directory to one of the following for |
20 |
its configuration to apply to multiple versions: |
21 |
${PORTAGE_CONFIGROOT}/etc/portage/savedconfig/ |
22 |
[${CTARGET}|${CHOST}|""]/${CATEGORY}/[${PF}|${P}|${PN}] |
23 |
|
24 |
|
25 |
>>> Messages generated by process 17234 on 2009-09-02 17:36:00 IDT for |
26 |
package media-sound/alsa-utils-1.0.20-r4: |
27 |
|
28 |
FWIW, exing the excess exe-s from /bin/ helped relieve my pains. |
29 |
Amit |
30 |
|
31 |
|
32 |
Alan McKinnon wrote: |
33 |
> On Wednesday 25 November 2009 11:35:53 Amit Dor-Shifer wrote: |
34 |
> |
35 |
>> Hi. |
36 |
>> I've just stumbled on an abnormality for which I've yet no explanation. |
37 |
>> Posting for possible general interest. |
38 |
>> |
39 |
>> Yesterday ebuild unpack started to emit errors: |
40 |
>> |
41 |
>> find: unrecognized: -mindepth |
42 |
>> BusyBox v1.13.2 (2009-09-02 17:33:46 IDT) multi-call binary |
43 |
>> |
44 |
>> Usage: find [PATH...] [EXPRESSION] |
45 |
>> |
46 |
>> |
47 |
>> This happened because I had a /bin/find, identical to /bin/busybox |
48 |
>> |
49 |
>> amit0 ~ # ls -la /bin/find /bin/busybox |
50 |
>> -rwxr-xr-x 176 root root 981048 Sep 2 17:35 /bin/busybox* |
51 |
>> -rwxr-xr-x 176 root root 981048 Sep 2 17:35 /bin/find* |
52 |
>> |
53 |
>> /bin/find isn't associated with any package, but it's creation time |
54 |
>> coincides with the last emerge of busybox, 1.8.2 -> 1.13.2. |
55 |
>> |
56 |
>> It seems that all of busybox's embedded exe's (I have 130) were created |
57 |
>> on my FS. |
58 |
>> |
59 |
> |
60 |
> |
61 |
> This all happened because you didn't read this: |
62 |
> |
63 |
> pkg_preinst() { |
64 |
> if use make-symlinks && [[ ! ${VERY_BRAVE_OR_VERY_DUMB} == "yes" ]] && |
65 |
> [[ ${ROOT} == "/" ]] ; then |
66 |
> ewarn "setting USE=make-symlinks and emerging to / is very |
67 |
> dangerous." |
68 |
> ewarn "it WILL overwrite lots of system programs like: ls bash |
69 |
> awk grep (bug 60805 for full list)." |
70 |
> ewarn "If you are creating a binary only and not merging this |
71 |
> is probably ok." |
72 |
> ewarn "set env VERY_BRAVE_OR_VERY_DUMB=yes if this is realy |
73 |
> what you want." |
74 |
> die "silly options will destroy your system" |
75 |
> fi |
76 |
> |
77 |
> /bin/find is not associated with any packages because it's created in |
78 |
> postinst() |
79 |
> |
80 |
> And now you have a huge problem because (at least last time I tried) busybox |
81 |
> does not implement tar -o; to test, try and emerge something. If it fails, |
82 |
> this is the only way it will ever work: |
83 |
> |
84 |
> boot off alternate media and chroot into your usual /. If you are lucky, you |
85 |
> will have a tar binpkg as a backup which you can unpack into / on the chroot; |
86 |
> if not then you have to get one from somewhere - some kind soul will likely |
87 |
> send you one of you specify your arch and cpu type |
88 |
> |
89 |
> Then remove busybox. You don't need it as you have GNU. Busybox is useful for |
90 |
> embedded and rescue systems and not much use on desktops, hence the warnings |
91 |
> in the ebuild about not writing to / with symlinks |
92 |
> |
93 |
> |
94 |
> |