Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 281981

Summary: mail-filter/amavisd-new configure fails on multilib-nosymlink
Product: Gentoo Linux Reporter: Nathan Phillip Brink (binki) (RETIRED) <binki>
Component: [OLD] ServerAssignee: Antivirus Team <antivirus>
Status: RESOLVED FIXED    
Severity: normal CC: mjo, net-mail+disabled
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: adds $(get_libdir) where it belongs
log of configure failing

Description Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2009-08-19 02:51:28 UTC
My libmilter.a (why is this a static library?) is in /usr/lib64/libmilter.a, not /usr/lib/libmilter.a. My /usr/lib is not a symlink to /usr/lib64 because it doesn't have to be (AFAIK).
Comment 1 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2009-08-19 02:54:09 UTC
Created attachment 201658 [details, diff]
adds $(get_libdir) where it belongs
Comment 2 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2009-08-19 02:57:51 UTC
Created attachment 201659 [details]
log of configure failing
Comment 3 Michael Orlitzky gentoo-dev 2011-04-18 03:09:38 UTC
Still exists in newer versions. The fix seems pretty straightforward?

# fg
USE="milter" ACCEPT_KEYWORDS="~amd64" emerge amavisd-new
no
checking for htons in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for pthread_once in -lpthread... no
checking for snprintf... no
checking for mkdtemp... no
checking for mktemp... no
checking for libmilter/mfapi.h... /usr/include/libmilter/mfapi.h
checking for libmilter.a... no
checking for libsm.a... no
checking for libsmutil.a... no
checking for sendmail... /usr/sbin/sendmail
checking for rm... /bin/rm
configure: WARNING: Oops.. I couldn't find libmilter.a.  Please install Sendmail 8.12
configure: WARNING: and its libraries.  You must run Build in the libmilter/ directory
configure: WARNING: to compiler libmilter.
Comment 4 Eray Aslan gentoo-dev 2011-04-18 11:13:06 UTC
Added without a revbump:

+  18 Apr 2011; Eray Aslan <eras@gentoo.org> amavisd-new-2.6.5.ebuild:
+  use get_libdir for helper-progs - bug #281981
+

But you should really be using the amavisd-milter package by Petr Rehor.  >=net-mail/amavisd-new-2.7.0 will be dropping the milter support.

Check bug #318853 for amavisd-milter.  The ebuild looks OK.