net-analyzer/snort-2.4.0 fails during configure for me. I do see that this is masked, I am submitting this bug in the hope that it will help the maintainer. I wish I knew what was wrong here. >>> Unpacking source... >>> Unpacking snort-2.4.0.tar.gz to /var/tmp/portage/snort-2.4.0/work >>> Unpacking snort-2.4.0-genpatches.tar.bz2 to /var/tmp/portage/snort-2.4.0/work >>> Unpacking Community-Rules.tar.gz to /var/tmp/portage/snort-2.4.0/work * Using GNU config files from /usr/share/libtool * Updating config.sub [ ok ] * Updating config.guess [ ok ] * Regenerating autoconf/automake files configure.in:169: warning: underquoted definition of SN_CHECK_DECL run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal configure.in:202: warning: underquoted definition of SN_CHECK_DECLS configure.in:298: warning: underquoted definition of FAIL_MESSAGE /usr/share/aclocal/pth.m4:43: warning: underquoted definition of _AC_PTH_ERROR /usr/share/aclocal/pth.m4:55: warning: underquoted definition of _AC_PTH_VERBOSE /usr/share/aclocal/pth.m4:61: warning: underquoted definition of AC_CHECK_PTH /usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES /usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT /usr/share/aclocal/libgcrypt.m4:23: warning: underquoted definition of AM_PATH_LIBGCRYPT /usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB aclocal:configure.in:675: warning: macro `AM_PATH_LIBPRELUDE' not found in library configure.in:675: error: possibly undefined macro: AM_PATH_LIBPRELUDE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf-2.59: /usr/bin/autoconf-2.59 failed with exit status: 1 !!! ERROR: net-analyzer/snort-2.4.0 failed. !!! Function src_unpack, Line 73, Exitcode 1 Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.5-r0, 2.6.11.12-grsec-20050614 i686) ================================================================= System uname: 2.6.11.12-grsec-20050614 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.16 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-mcpu=pentium3 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mcpu=pentium3 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ ftp://gentoo.ccccom.com" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 apache2 apm arts avi berkdb bitmap-fonts cdr chroot crypt curl eds emboss encode fam foomaticdb fortran gd gdbm gif gpm gstreamer imagemagick imlib kde kerberos libg++ libwww mad mikmod mmxncurses motif mp3 mpeg ncurses ogg oggvorbis opengl pam pdflib perl pwdb python qt quicktime readline samba sdl snmp spell ssl tcpd truetype truetype-fonts type1-fonts vorbis xml2 xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Created attachment 67437 [details, diff] Fix autotool failure This patch modify the ebuild so that it invoke aclocal with the good options (-I m4 need to be specified to avoid ending up with undefined macro). The command used are the same as in the autojunk.sh generation script in the Snort CVS module.
Created attachment 67448 [details, diff] snort-2.4.0.ebuild.diff In addition, I had to add libtoolize --copy --force to the ebuild. Can you guys confirm if this works, as I could not reproduce the bug?
Thanks Yoann (and Marcelo ;)). Fixed in cvs.
Congrats on your first bug!