/usr/bin/libtool -dynamic -arch_only `/usr/bin/arch` -install_name /usr/lib/libhistory.4.3.dylib -current_version 4.3 -compatibility_version 4 -v -o libhistory.4.3.dylib history.so histexpand.so histfile.so histsearch.so shell.so mbutil.so xmalloc.so -lSystem -lncurses -lcc_dynamic /usr/bin/libtool -dynamic -arch_only `/usr/bin/arch` -install_name /usr/lib/libreadline.4.3.dylib -current_version 4.3 -compatibility_version 4 -v -o libreadline.4.3.dylib readline.so vi_mode.so funmap.so keymaps.so parens.so search.so rltty.so complete.so bind.so isearch.so display.so signals.so util.so kill.so undo.so macro.so input.so callback.so terminal.so text.so nls.so misc.so xmalloc.so history.so histexpand.so histfile.so histsearch.so shell.so mbutil.so tilde.so compat.so -lSystem -lncurses -lcc_dynamic /usr/bin/libtool: can't locate file for: -lcc_dynamic /usr/bin/libtool: file: -lcc_dynamic is not an object file (not allowed in a library) /usr/bin/libtool: can't locate file for: -lcc_dynamic /usr/bin/libtool: file: -lcc_dynamic is not an object file (not allowed in a library) make[1]: *** [libreadline.4.3.dylib] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [libhistory.4.3.dylib] Error 1 make: [shared] Error 2 (ignored) rm -f libreadline.4.3.dylib rm -f libhistory.4.3.dylib /usr/bin/libtool -dynamic -arch_only `/usr/bin/arch` -install_name /usr/lib/libhistory.4.3.dylib -current_version 4.3 -compatibility_version 4 -v -o libhistory.4.3.dylib history.so histexpand.so histfile.so histsearch.so shell.so mbutil.so xmalloc.so -lSystem -lncurses -lcc_dynamic /usr/bin/libtool -dynamic -arch_only `/usr/bin/arch` -install_name /usr/lib/libreadline.4.3.dylib -current_version 4.3 -compatibility_version 4 -v -o libreadline.4.3.dylib readline.so vi_mode.so funmap.so keymaps.so parens.so search.so rltty.so complete.so bind.so isearch.so display.so signals.so util.so kill.so undo.so macro.so input.so callback.so terminal.so text.so nls.so misc.so xmalloc.so history.so histexpand.so histfile.so histsearch.so shell.so mbutil.so tilde.so compat.so -lSystem -lncurses -lcc_dynamic /usr/bin/libtool: can't locate file for: -lcc_dynamic /usr/bin/libtool: file: -lcc_dynamic is not an object file (not allowed in a library) /usr/bin/libtool: can't locate file for: -lcc_dynamic /usr/bin/libtool: file: -lcc_dynamic is not an object file (not allowed in a library) make: *** [libreadline.4.3.dylib] Error 1 make: *** Waiting for unfinished jobs.... make: *** [libhistory.4.3.dylib] Error 1 Reproducible: Always Steps to Reproduce: 1. 2. 3. emerge info !!! Relying on the shell to locate gcc, this may break !!! DISTCC, installing gcc-config and setting your current gcc !!! profile will fix this Portage 2.0.51.20-r5 (default-darwin/macos/10.4, gcc-4.0.0, libsystem-7.1-r0, 8.0.0 Power Macintosh) ================================================================= System uname: 8.0.0 Power Macintosh powerpc macos-20041118 distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled] dev-lang/python: [Not Present] sys-apps/sandbox: [Not Present] sys-devel/autoconf: [Not Present] sys-devel/automake: [Not Present] sys-devel/binutils: [Not Present] sys-devel/libtool: [Not Present] virtual/os-headers: 7.1 ACCEPT_KEYWORDS="ppc-macos ~ppc-macos" AUTOCLEAN="yes" CBUILD="powerpc-apple-darwin" CFLAGS="-O2 -pipe" CHOST="powerpc-apple-darwin" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-protect distlocks strict userpriv" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc emboss ncurses nls ppc-macos userland_Darwin kernel_Darwin libc_Darwin" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
We do not yet officially support Tiger. For now, simply avoid installing sys-libs/readline by putting it in your /etc/portage/profile/package.provided file -- my guess is that it'll belong in the profile soon anyhow since Tiger provides BSD readline. My applications work just fine linked against the BSD readline even installed via portage. Note that you should refrain from emerge system after that profile insertion. Or you can just mask readline with package.mask if you like, for now. More on this later. Also, run disk utility and 'fix permissions'. that created the libcc_dynamic.a symlink necessary in /usr/lib/. Can you confirm this?
I can confirm this... adding "sys-libs/readline" to /usr/portage/profiles/package.mask fixes "emerge system" error with readline on Tiger
Should be taken care of with the latest 10.4 profile.
Should readline be package.provided and not package.masked? What about for packages that depend on sys-libs/readline?
Apologies, that should read "package.provided and package.masked".
I thought there was indeed a readline available on OSX. Unfortunately I emerged readline myself so I cannot reliably check...