| Summary: | app-antivirus/clamav-0.93, autoconf fails fails with undefined macro: AC_LIB_PROG_LD | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Aurélien Francillon <aurelien.francillon> |
| Component: | Current packages | Assignee: | Net-Mail Packages <net-mail+disabled> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | antivirus, asl, bonbons, natanael.copa |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
glibc emerge --info
emerge --info clamav-0.93-lib-ld.m4.patch |
||
|
Description
Aurélien Francillon
2008-04-22 14:35:43 UTC
oups,
forgot to add the contents of autoconf log file :
/var/tmp/portage/app-antivirus/clamav-0.93/temp/autoconf-18763.out:
***** autoconf *****
***** autoconf
configure.in:381: warning: AC_LIB_PROG_LD is m4_require'd but not m4_defun'd
m4/lib-link.m4:109: AC_LIB_RPATH is expanded from...
m4/lib-link.m4:17: AC_LIB_LINKFLAGS is expanded from...
configure.in:381: the top level
configure:13494: error: possibly undefined macro: AC_LIB_PROG_LD
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
Not related to uclibc, I've got it too on a classical /usr/portage/profiles/default/linux/amd64/2008.0 profile. Seems like the new "AT_M4DIR="m4" eautoreconf" doesn't help. updated summary as it also happens on glibc based hosts @Arnaud : can you provide your emerge --info ? that could help finding where the problem comes from ... Created attachment 150948 [details]
glibc emerge --info
Sure, attached.
Created attachment 151010 [details]
emerge --info
I'm seeing exactly the same error.
My system is x86 on amd64 kernel (vserver guest) with
make.profile: ${PORTDIR}/profiles/default-linux/x86/vserver
I'm using binpkg and after each update I run
emerge --depclean --with-bdeps=n
(binpkg repository shared with other vserver guests)
Created attachment 151403 [details, diff]
clamav-0.93-lib-ld.m4.patch
Problem is that it needs lib-ld.m4 (from gettext) to run eautoreconf.
The attached patch adds this file to the m4 dir.
(In reply to comment #6) > clamav-0.93-lib-ld.m4.patch fixed the problem thanks! Thanks for the research, Natanael. I have, however, simply copied the lib-ld.m4 file from gettext to $FILESDIR - no need to have patch for a new file. :) The file gets copied to m4/ dir if nls flag is disabled, as that is when we do not require gettext to be installed. |