Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113174 - net-mail/metamail- does not yet work
Summary: net-mail/metamail- does not yet work
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: PPC OS X
: High enhancement (vote)
Assignee: Gentoo for Mac OS X
Depends on:
Reported: 2005-11-21 08:27 UTC by Tobias Hahn
Modified: 2008-03-24 18:05 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Hahn 2005-11-21 08:27:56 UTC
metamail has the following problems preventing it to compile:
-depends on sharutils which collide with BSD sharutils
=when compiling, at some stage in the makefile, the command

ar cru .libs/

is issued. With GNU ar, this command creates an empty archive (what the authors
probably want at that stage of compilation). BSD ar gives the error below. ar is
called from a file called libtool in the compile directory. I have no clue where
this libtool is generated from (configure, ebuild author, portage, package
author). I'd like to get this working, so please help: Who is responsible for
libtool? Is there an easy workaround? What is the proper procedure to fix this?

Making all in replace
/bin/sh ../libtool --mode=link gcc  -O2 -pipe  -o     
mkdir .libs
rm -fr .libs/ .libs/libreplace.* .libs/libreplace.*
ar cru .libs/
ar: no archive members specified
usage:  ar -d [-TLsv] archive file ...
        ar -m [-TLsv] archive file ...
        ar -m [-abiTLsv] position archive file ...
        ar -p [-TLsv] archive [file ...]
        ar -q [-cTLsv] archive file ...
        ar -r [-cuTLsv] archive file ...
        ar -r [-abciuTLsv] position archive file ...
        ar -t [-TLsv] archive [file ...]
        ar -x [-ouTLsv] archive [file ...]
make[1]: *** [] Error 1
make: *** [all-recursive] Error 1

!!! ERROR: net-mail/metamail- failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! (no error message)

PS. I am well aware that metamail is not even tagged ~ppc-macos...

Reproducible: Always
Steps to Reproduce:
Comment 1 Fabian Groffen gentoo-dev 2005-11-21 11:08:35 UTC
sharutils is a bit problematic I think.  The package provides on linux:

On my OSX I don't have mail-files, mailshar, remsync and unshar.
Comment 2 Fabian Groffen gentoo-dev 2005-11-21 11:18:32 UTC
libtool is an autotools component.  Running glibtoolize doesn't help either. 
During configure it says "creating libtool", so I guess you'll have to hack
configure for now.  I don't know a quick solution for now.
Comment 3 Fabian Groffen gentoo-dev 2008-03-24 18:05:19 UTC
Error is due to libtool/autoconf/-make not understanding that on Darwin "ar" complains when you try to make an archive with no members.  According to a GNU manual, this is intended though.  I'm not sure how to fix it (properly).