1 |
I can almost emerge system now :-) The only thing missing is |
2 |
readline. readline contains rlfe, which links to readline. When |
3 |
trying to do the actual link, my portage ld tries to link both /usr/ |
4 |
lib/readline and $PREFIX/usr/lib/readline, and complains about |
5 |
duplicate symbols. I suspect that somehow, /usr/lib is hardcoded into |
6 |
ld. I tried to remerge odcctools, but that didn't help either. |
7 |
|
8 |
Can someone please help? Thanx! |
9 |
|
10 |
This is (part of the) output from emerge: |
11 |
|
12 |
powerpc-apple-darwin8-gcc -L../.. -o rlfe rlfe.o pty.o -lreadline - |
13 |
lhistory -lcurses |
14 |
/Volumes/portage/prefix/usr/bin/ld: multiple definitions of symbol |
15 |
_read_history |
16 |
/usr/lib/libreadline.dylib(readline.o_s) definition of _read_history |
17 |
../../libhistory.a(histfile.o) definition of _read_history in section |
18 |
(__TEXT,__text) |
19 |
|
20 |
[... about 20 more symbols ...] |
21 |
|
22 |
/Volumes/portage/prefix/usr/bin/ld: multiple definitions of symbol |
23 |
_history_search_prefix |
24 |
/usr/lib/libreadline.dylib(readline.o_s) definition of |
25 |
_history_search_prefix |
26 |
../../libhistory.a(histsearch.o) definition of _history_search_prefix |
27 |
in section (__TEXT,__text) |
28 |
collect2: ld returned 1 exit status |
29 |
make: *** [rlfe] Error 1 |
30 |
|
31 |
!!! ERROR: sys-libs/readline-5.1_p2 failed. |
32 |
Call stack: |
33 |
ebuild.sh, line 1660: Called dyn_compile |
34 |
ebuild.sh, line 1057: Called src_compile |
35 |
readline-5.1_p2.ebuild, line 70: Called die |
36 |
|
37 |
!!! make rlfe failed |
38 |
|
39 |
Here's my emerge --info --verbose |
40 |
emerge: wheel group use is being deprecated. Please update group and |
41 |
passwd to |
42 |
include the portage user as noted above, and then use group |
43 |
portage. |
44 |
!!! Relying on the shell to locate gcc, this may break |
45 |
!!! DISTCC, installing gcc-config and setting your current gcc |
46 |
!!! profile will fix this |
47 |
Portage 2.1.13 (default-darwin/macos/10.4/ppc, gcc-4.0.1, |
48 |
libsystem-7.1-r0, 8.6.0 Power Macintosh) |
49 |
================================================================= |
50 |
System uname: 8.6.0 Power Macintosh powerpc |
51 |
Unknown Host Operating System |
52 |
distcc 2.18.3-Apple powerpc-apple-darwin8.0 (protocols 1 and 2) |
53 |
(default port 3632) [disabled] |
54 |
dev-lang/python: 2.4.2 |
55 |
sys-apps/sandbox: [Not Present] |
56 |
sys-devel/autoconf: 2.13, 2.59-r7 |
57 |
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 |
58 |
sys-devel/binutils: [Not Present] |
59 |
sys-devel/libtool: 1.5.22 |
60 |
sys-devel/odcctools: 20060123 |
61 |
virtual/os-headers: 7.1 |
62 |
ACCEPT_KEYWORDS="ppc-macos ~ppc-macos" |
63 |
ACCEPT_LICENSE="" |
64 |
ARCH="ppc" |
65 |
AUTOCLEAN="yes" |
66 |
BASH_ENV="/etc/spork/is/not/valid/profile.env" |
67 |
CBUILD="powerpc-apple-darwin8" |
68 |
CCACHE_DIR="/var/root/.ccache" |
69 |
CFLAGS="-O2 -pipe" |
70 |
CHOST="powerpc-apple-darwin8" |
71 |
CLEAN_DELAY="5" |
72 |
CONFIG_PROTECT="/Volumes/portage/prefix/etc /etc /usr/kde/2/share/ |
73 |
config /usr/kde/3/share/config /usr/share/config /var/qmail/control" |
74 |
CONFIG_PROTECT_MASK="/etc/gconf /Volumes/portage/prefix/etc/env.d" |
75 |
CXXFLAGS="-O2 -pipe" |
76 |
DEFAULT_PATH="Volumes/portage/prefix/sbin:/Volumes/portage/prefix/usr/ |
77 |
sbin:/Volumes/portage/prefix/bin:/Volumes/portage/prefix/usr/bin:/ |
78 |
Volumes/portage/prefix/usr/lib/portage/bin" |
79 |
DISTDIR="/Volumes/portage/prefix/usr/portage/distfiles" |
80 |
ELIBC="Darwin" |
81 |
EMERGE_WARNING_DELAY="10" |
82 |
FEATURES="autoconfig collision-protect distlocks metadata-transfer |
83 |
sfperms strict" |
84 |
FETCHCOMMAND="/usr/bin/curl --connect-timeout 15 -# -f -o ${DISTDIR}/$ |
85 |
{FILE} ${URI}" |
86 |
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/ |
87 |
pub/linux/distributions/gentoo" |
88 |
HOME="/Volumes/portage" |
89 |
KERNEL="Darwin" |
90 |
MACOSX_DEPLOYMENT_TARGET="10.4" |
91 |
MAKEOPTS="-j2" |
92 |
OLDPWD="/Volumes/portage/prefix/etc" |
93 |
PATH="Volumes/portage/prefix/sbin:/Volumes/portage/prefix/usr/sbin:/ |
94 |
Volumes/portage/prefix/bin:/Volumes/portage/prefix/usr/bin:/Volumes/ |
95 |
portage/prefix/usr/lib/portage/bin" |
96 |
PKGDIR="/Volumes/portage/prefix/usr/portage/packages" |
97 |
PLATFORM="Darwin" |
98 |
PORTAGE_ARCHLIST="ppc s390 amd64 x86-macos ppc64 m68k arm sparc sh |
99 |
mips ia64 alpha ppc-macos hppa x86" |
100 |
PORTAGE_BINHOST_CHUNKSIZE="3000" |
101 |
PORTAGE_CALLER="emerge" |
102 |
PORTAGE_GID="601" |
103 |
PORTAGE_GROUP="portage" |
104 |
PORTAGE_INST_GID="601" |
105 |
PORTAGE_INST_UID="601" |
106 |
PORTAGE_INST_USER="portage" |
107 |
PORTAGE_MASTER_PID="20104" |
108 |
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times |
109 |
--compress --force --whole-file --delete --delete-after --stats -- |
110 |
timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/ |
111 |
packages'" |
112 |
PORTAGE_RSYNC_RETRIES="3" |
113 |
PORTAGE_TMPDIR="/Volumes/portage/prefix/var/tmp" |
114 |
PORTAGE_USER="portage" |
115 |
PORTAGE_WORKDIR_MODE="0700" |
116 |
PORTDIR="/Volumes/portage/prefix/usr/portage" |
117 |
PORTDIR_OVERLAY="/Volumes/portage/local/portage" |
118 |
PREFIX="/Volumes/portage/prefix" |
119 |
PRELINK_PATH="" |
120 |
PRELINK_PATH_MASK="" |
121 |
PWD="/Volumes/portage/prefix" |
122 |
RESUMECOMMAND="/usr/bin/curl --connect-timeout 15 -# -f -C - -o $ |
123 |
{DISTDIR}/${FILE} ${URI}" |
124 |
RPMDIR="/Volumes/portage/prefix/usr/portage/rpm" |
125 |
SHELL="/bin/bash" |
126 |
SHLVL="1" |
127 |
SYNC="rsync://rsync.gentoo.org/gentoo-portage" |
128 |
TERM="xterm-color" |
129 |
USE="ppc berkdb bzip2 emboss python zlib elibc_Darwin kernel_Darwin |
130 |
platform_Darwin userland_Darwin" |
131 |
USER="portage" |
132 |
USERLAND="Darwin" |
133 |
USE_EXPAND="DVB_CARDS ELIBC FCDSL_CARDS FRITZCAPI_CARDS INPUT_DEVICES |
134 |
KERNEL LINGUAS PLATFORM USERLAND VIDEO_CARDS" |
135 |
USE_EXPAND_HIDDEN="" |
136 |
USE_ORDER="env:pkg:conf:defaults" |
137 |
XARGS="xargs" |
138 |
_="/Volumes/portage/prefix/usr/bin/emerge" |
139 |
|
140 |
-- |
141 |
gentoo-osx@g.o mailing list |