Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281981 - mail-filter/amavisd-new configure fails on multilib-nosymlink
Summary: mail-filter/amavisd-new configure fails on multilib-nosymlink
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Antivirus Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-19 02:51 UTC by Nathan Phillip Brink (binki) (RETIRED)
Modified: 2011-04-18 11:13 UTC (History)
2 users (show)

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


Attachments
adds $(get_libdir) where it belongs (amavisd-new.ebuild.milter-get_libdir.patch,881 bytes, patch)
2009-08-19 02:54 UTC, Nathan Phillip Brink (binki) (RETIRED)
Details | Diff
log of configure failing (amavisd-new-2.6.1-r1.build.log,3.51 KB, text/plain)
2009-08-19 02:57 UTC, Nathan Phillip Brink (binki) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
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.