Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66149 - ranlib acting funny
Summary: ranlib acting funny
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC All
: High normal (vote)
Assignee: osx porters
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-02 12:19 UTC by Ben Powers
Modified: 2005-02-06 13:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Powers 2004-10-02 12:19:13 UTC
the ebuild fails like so, at ranlib

gcc -mcpu=7450 -O2 -pipe -maltivec -mabi=altivec -mpowerpc-gfxopt  -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE -DHAVE_CONFIG_H -I. -I. -DLOCALEDIR=\"/usr/share/locale\" -c dialog.c
ar -cr libdialog.a rc.o calendar.o fselect.o timebox.o formbox.o guage.o tailbox.o arrows.o buttons.o checklist.o inputbox.o inputstr.o menubox.o mouse.o mousewget.o msgbox.o textbox.o ui_getc.o util.o version.o yesno.o
ranlib libdialog.a
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require -mode=MODE be specified.
ranlib: warning: cannot infer operation mode from `libdialog.a'
ranlib: you must specify a MODE
Try `ranlib --help' for more information.
make: *** [libdialog.a] Error 1
make: *** Waiting for unfinished jobs....

Portage 2.0.51_rc7 (default-macos-10.3, gcc-3.3, libsystem-7.1-r0, 7.5.0 Power Macintosh)
=================================================================
System uname: 7.5.0 Power Macintosh powerpc
macos-20040726
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.57,sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.6.3,sys-devel/automake-1.8.5-r1
Binutils: 
Headers:  
Libtools: sys-devel/libtool-1.5.2-r5,sys-devel/libtool-2.4.4
ACCEPT_KEYWORDS="macos ppc ~ppc-macos"
AUTOCLEAN="yes"
CFLAGS="-mcpu=7450 -O2 -pipe -maltivec -mabi=altivec -mpowerpc-gfxopt"
CHOST="powerpc-apple-darwin"
COMPILER=""
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="-mcpu=7450 -O2 -pipe -maltivec -mabi=altivec -mpowerpc-gfxopt"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache collision-protect cvs distlocks keepwork"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="macos berkdb cdr gdbm ldap mysql perl python ruby"
Comment 1 Ben Powers 2004-10-02 12:33:03 UTC
in addition to dialog ebuild, fftw ebuild has this error as well

/usr/bin/install -c .libs/libsfftw.a /var/tmp/portage/fftw-2.1.5-r1/image//usr/lib/libsfftw.a
ranlib /var/tmp/portage/fftw-2.1.5-r1/image//usr/lib/libsfftw.a
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require -mode=MODE be specified.
ranlib: warning: cannot infer operation mode from `/var/tmp/portage/fftw-2.1.5-r1/image//usr/lib/libsfftw.a'
ranlib: you must specify a MODE
Try `ranlib --help' for more information.
make[2]: *** [install-libLTLIBRARIES] Error 1
make[1]: *** [install-am] Error 2
make: *** [install-recursive] Error 1

and lftp ebuild
rm -f libtasks.a
ar cru libtasks.a PollVec.o SMTask.o ProcWait.o GetPass.o ConnectionSlot.o CharReader.o LsCache.o FileAccess.o ResMgr.o Filter.o SignalHook.o FileCopy.o xmalloc.o FileSet.o log.o buffer.o url.o StatusLine.o plural.o misc.o fg.o module.o resource.o DummyProto.o ArgV.o Speedometer.o FileGlob.o netrc.o ColumnOutput.o FileSetOutput.o lftp_tinfo.o TimeDate.o Timer.o GetFileInfo.o StringPool.o DirColors.o IdNameCache.o PatternSet.o LocalDir.o 
ranlib libtasks.a
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require -mode=MODE be specified.
ranlib: warning: cannot infer operation mode from `libtasks.a'
ranlib: you must specify a MODE
Try `ranlib --help' for more information.
make[1]: *** [libtasks.a] Error 1
make: *** [all-recursive] Error 1
Comment 2 Kito (RETIRED) gentoo-dev 2004-10-02 13:35:42 UTC
Benny, it looks like you overwrote Apples libtool. Reinstall Xcode 1.5 and the errors will not happen. I'm closing this bug as using non-apple libtool is currently unsupported.
Comment 3 Hasan Khalil (RETIRED) gentoo-dev 2005-02-06 13:33:30 UTC
Closing out bugs that've been resolved for a while now...