1 |
Am Sonntag, den 15.07.2007, 10:23 +0000 schrieb Duncan: |
2 |
> Marc Joliet <marcec@×××.de> posted |
3 |
> 1184460910.24252.59.camel@××××××××××××××××××××××××××××××.de, excerpted |
4 |
> below, on Sun, 15 Jul 2007 02:55:10 +0200: |
5 |
> |
6 |
> > making executable: usr/lib32/libc.so |
7 |
> > making executable: usr/lib32/libpthread.so making executable: |
8 |
> > usr/lib64/libc.so |
9 |
> > making executable: usr/lib64/libpthread.so |
10 |
> > * checking 2373 files for package collisions [...] |
11 |
> > existing file /lib is not owned by this package |
12 |
> > * This package is blocked because it wants to overwrite |
13 |
> > * files belonging to other packages (see messages above). |
14 |
> > * If you have no clue what this is all about report it |
15 |
> > * as a bug for this package on http://bugs.gentoo.org |
16 |
> > |
17 |
> > package sys-libs/glibc-2.5-r4 NOT merged |
18 |
> > |
19 |
> > |
20 |
> > Searching all installed packages for file collisions... Press Ctrl-C to |
21 |
> > Stop |
22 |
> > |
23 |
> > * x11-drivers/nvidia-drivers-1.0.9746-r1: |
24 |
> > |
25 |
> > '/lib' |
26 |
> |
27 |
> [snip] |
28 |
> |
29 |
> > Is there a 'clean' work around? The only option I found is to set |
30 |
> > COLLISION_IGNORE="/lib" in make.conf. That seems to do the trick insofar |
31 |
> > that glibc merges. For "emerge --info" see attachment. |
32 |
> > |
33 |
> > Apparently, from what I read, the collision-protect[1] option is |
34 |
> > supposed to ignore directories. Since this was asked in other reports I |
35 |
> > found while searching for info: /lib is not a symlink, rather /lib64 is |
36 |
> > a symlink to /lib. Out of curiosity: when would /lib ever be a symlink? |
37 |
> |
38 |
> It's probably a portage bug, confusion due to lib64 being a symlink to |
39 |
> lib for amd64. The thing is, not a lot of folks run collision-protect, |
40 |
> and while many devs do, in a lot of cases they aren't running stable, but |
41 |
> ~arch. Thus, they'll have long since moved past that version of portage, |
42 |
> and may not have caught the issue (tho packages /are/ supposed to be |
43 |
> tested on stable with collision-protect on, before stabilizing) |
44 |
|
45 |
I only activated it because I also run games and I recall it being |
46 |
recommended to activate it when using 3rd party binaries. |
47 |
|
48 |
> Have you seen http://bugs.gentoo.org/show_bug.cgi?id=80846 (which is |
49 |
> linked from the bug you mentioned)? It looks like either that bug or a |
50 |
> special case very similar to that bug. What portage are you running? Is |
51 |
> it the 2.1.2 series past the -pre1 mentioned in that bug? Is portage |
52 |
> updated to the latest stable on your system? |
53 |
|
54 |
No, I haven't seen it. Though I can't tell if it may be related, plus |
55 |
the bug is marked "resolved fixed", so I assume it still is. Though I am |
56 |
confused as to how a collision in glibc could have been missed. That's |
57 |
why I thought it may be an error on my account, or a broken file |
58 |
somewhere (and the likes). |
59 |
|
60 |
Also, I am very up to date. I run a cron-job every day at 23:00 to sync |
61 |
and then manually update. So I have the most recent stable of everything |
62 |
I have, along with a select few applications as ~amd64 and exactly 3 |
63 |
packages unmasked (ut99 related packages). |
64 |
|
65 |
> Beyond that, you'll need to let the experts tell you. It's close enough |
66 |
> to 80846 to be a dup, but if you are running portage 2.1.2 or later, |
67 |
> according to that, it /should/ be fixed, so maybe it's a corner case that |
68 |
> was missed, or... I don't know! |
69 |
|
70 |
Me neither :-|. |
71 |
|
72 |
> As for symlinks and lib/lib64, Gentoo/amd64 has gone both ways over the |
73 |
> years. Some release stage tarballs had lib64 -> lib, others lib -> |
74 |
> lib64. FWIW, here's what I have here/now: |
75 |
> |
76 |
> $ls -d -l /lib /lib64 |
77 |
> lrwxrwxrwx 1 root root 5 2007-05-22 23:49 /lib -> lib64/ |
78 |
> drwxr-xr-x 10 root root 4376 2007-07-13 10:17 /lib64/ |
79 |
> |
80 |
> FWIW, my /usr location symlink points in the same direction as well. |
81 |
> However, that's because when I switched off multilib, I tried running the |
82 |
> two as separate dirs. It didn't quite work, however, because a few |
83 |
> ebuilds install to lib64 but call or install scripts that call the app in |
84 |
> (hardcoded) lib, or the reverse, so they can't be separate dirs, or the |
85 |
> system will be expecting it in one and not finding it, because it's in |
86 |
> the other. So, once I figured out it wouldn't work, I resymlinked them, |
87 |
> and it was easiest to cp from lib to lib64, then delete lib and make it a |
88 |
> symlink, so that's what I did. IDR what it was before, or know which way |
89 |
> the current release stage tarballs set it up. |
90 |
|
91 |
Thanks for the info. Sorry to say, but my gentoo install was originally |
92 |
Sabayon. However, I moved to stable arch and removed the Sabayon |
93 |
overlay. So my system seems to be pure gentoo now, with only a few |
94 |
remnants of Sabayon: the boot splash, for instance, and the fact that |
95 |
Sabayon per default creates all file systems on a logical volume. I'll |
96 |
have to make some corrections to my fs setup sometime, like move /boot |
97 |
off the volume and make a separate /home partition. Blegh. |
98 |
|
99 |
> -- |
100 |
> Duncan - List replies preferred. No HTML msgs. |
101 |
> "Every nonfree program has a lord, a master -- |
102 |
> and if you use the program, he is your master." Richard Stallman |
103 |
> |
104 |
|
105 |
Thanks for the help, I guess this means it ought to be reported as a |
106 |
bug. |
107 |
-- |
108 |
Marc Joliet |