Gentoo Archives: gentoo-osx

From: m h <sesquile@×××××.com>
To: gentoo-osx@l.g.o
Subject: Re: [gentoo-osx] [PREFIX] SUCCESS!!! system installed
Date: Fri, 24 Mar 2006 18:45:58
Message-Id: e36b84ee0603241045j7bf0ec29pbc64aa834522254@mail.gmail.com
In Reply to: Re: [gentoo-osx] [PREFIX] SUCCESS!!! system installed by Grobian
1 On 3/24/06, Grobian <grobian@g.o> wrote:
2 > On 23-03-2006 21:07:21 -0600, Kito wrote:
3 > > On Mar 23, 2006, at 7:52 PM, m h wrote:
4 > > >>I get:
5 > > >>/usr/bin/ld: cannot find /lib/libz.so
6 > > >>collect2: ld returned 1 exit status
7 > > >>
8 > > >>Very weird.....
9 > > >>
10 > >
11 > > Hrmm, your gcc is using the system ld.... we need to fix that first I think.
12 >
13 > Probably forgot to update the symlink to ld?
14 >
15 > > Yeah, lets go back to the first problem of getting gcc using the portage
16 > > binutils....I don't like this one ;)
17 >
18 > Please try.
19 >
20
21 So I tried re-emerging binutils. I guess it fails at the end, but
22 gets far enough that it thinks it's installed... Here's the tail end:
23 --- !empty dir /data1/tmp/Mar21
24 --- !empty dir /data1/tmp
25 --- !empty dir /data1
26 !!! EBUILD_PHASE=postrm
27 !!! D=/data1/tmp/Mar21/var/tmp/binpkgs/binutils-2.16.1-r1/image/data1/tmp/Mar21
28 !!! DEST=/data1/tmp/Mar21/var/tmp/binpkgs/binutils-2.16.1-r1/image/
29 !!! PREFIX=/data1/tmp/Mar21
30 !!! ROOT=/data1/tmp/Mar21
31 /data1/tmp/Mar21/usr/bin/binutils-config: line 14:
32 /etc/init.d/functions.sh: No such file or directory
33 /data1/tmp/Mar21/usr/bin/binutils-config: line 14:
34 /etc/init.d/functions.sh: No such file or directory
35 !!! EBUILD_PHASE=clean
36 !!! D=/data1/tmp/Mar21/var/tmp/binpkgs/binutils-2.16.1-r1/image/data1/tmp/Mar21
37 !!! DEST=/data1/tmp/Mar21/var/tmp/binpkgs/binutils-2.16.1-r1/image/
38 !!! PREFIX=/data1/tmp/Mar21
39 !!! ROOT=/data1/tmp/Mar21
40 >>> Original instance of package unmerged safely.
41 !!! EBUILD_PHASE=postinst
42 !!! D=/data1/tmp/Mar21/var/tmp/portage/binutils-2.16.1-r1/image/data1/tmp/Mar21
43 !!! DEST=/data1/tmp/Mar21/var/tmp/portage/binutils-2.16.1-r1/image/
44 !!! PREFIX=/data1/tmp/Mar21
45 !!! ROOT=/data1/tmp/Mar21
46 /data1/tmp/Mar21/usr/bin/binutils-config: line 14:
47 /etc/init.d/functions.sh: No such file or directory
48 /data1/tmp/Mar21/usr/bin/binutils-config: Could not source
49 /etc/init.d/functions.sh!
50 >>> Regenerating /etc/ld.so.cache...
51 >>> sys-devel/binutils-2.16.1-r1 merged.
52 !!! EBUILD_PHASE=clean
53 !!! D=/data1/tmp/Mar21/var/tmp/portage/binutils-2.16.1-r1/image/data1/tmp/Mar21
54 !!! DEST=/data1/tmp/Mar21/var/tmp/portage/binutils-2.16.1-r1/image/
55 !!! PREFIX=/data1/tmp/Mar21
56 !!! ROOT=/data1/tmp/Mar21
57
58 >>> No packages selected for removal by clean.
59
60 >>> Auto-cleaning packages...
61
62 >>> No outdated packages were found on your system.
63
64
65 * error scanning /etc
66
67 -------------------------------
68 Then it dies....
69
70 Also looking over the directories when it's trying to install, it
71 seems like there are some places where it's trying to install/remove
72 from ${PREFIX}/${PREFIX}!
73
74 Here's an example of what I mean...
75 --- !empty dir /data1/tmp/Mar21/data1/tmp/Mar21/usr/lib/binutils/i686-pc-linux-gnu/2.16.1/ldscripts
76 --- !empty dir /data1/tmp/Mar21/data1/tmp/Mar21/usr/lib/binutils/i686-pc-linux-gnu/2.16.1/include
77 --- !empty dir /data1/tmp/Mar21/data1/tmp/Mar21/usr/lib/binutils/i686-pc-linux-gnu/2.16.1
78 --- !empty dir /data1/tmp/Mar21/data1/tmp/Mar21/usr/lib/binutils/i686-pc-linux-gnu
79
80 My PREFIX is /data1/tmp/Mar21 so there are a lot of ${PREFIX}/${PREFIX}
81
82 Ideas about dealing with the double PREFIX? I guess Mac people are
83 running binutils issues since they use the host linker?
84
85 -matt
86
87 --
88 gentoo-osx@g.o mailing list

Replies

Subject Author
Re: [gentoo-osx] [PREFIX] SUCCESS!!! system installed m h <sesquile@×××××.com>