After recent emerge --sync, snort update failed. Did unmerge of snort and libnet. Snort keeps failing on libnet.h, saying it needs 1.0.2a, even though it is installed. Reproducible: Always Steps to Reproduce: 1.USE="flexresp" emerge snort Actual Results: squid2 root # emerge -pv snort These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] net-libs/libnet-1.0.2a-r3 0 kB [ebuild N ] net-analyzer/snort-2.3.0_rc2 +flexresp +mysql -odbc -postgres -prelude (-selinux) -snortsam +ssl 0 kB Total size of downloads: 0 kB Then: emerge snort sys-libs/libnet-1.0.2a-r3 emerges fine, then: >>> emerge (2 of 2) net-analyzer/snort-2.3.0_rc2 to / >>> md5 src_uri ;-) snort-2.3.0RC2.tar.gz >>> Unpacking source... >>> Unpacking snort-2.3.0RC2.tar.gz to /var/tmp/portage/snort-2.3.0_rc2/work * Using GNU config files from /usr/share/libtool * Updating config.sub [ ok ] * Updating config.guess [ ok ] * Applying 2.3.0_rc2-libnet-1.0.patch ... [ ok ] * Patching /etc/snort.conf * Regenerating autoconf/automake files ./autogen.sh: ./autogen.sh: No such file or directory >>> Source unpacked. * econf: updating snort-2.3.0RC2/config.guess with /usr/share/gnuconfig/config.guess * econf: updating snort-2.3.0RC2/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --without-postgresql --with-mysql --with-openssl --without-odbc --without-oracle --without-prelude --enable-flexresp configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets ${MAKE}... yes checking for i686-pc-linux-gnu-strip... no checking for strip... strip checking for style of include used by make... GNU checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for i686-pc-linux-gnu-ranlib... no checking for ranlib... ranlib checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether i686-pc-linux-gnu-gcc accepts -g... (cached) yes checking dependency style of i686-pc-linux-gnu-gcc... (cached) gcc3 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking whether byte ordering is bigendian... no checking for sparc alignment... no checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for strings.h... (cached) yes checking for string.h... (cached) yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking for inet_ntoa in -lnsl... yes checking for socket in -lsocket... no checking whether printf must be declared... no checking whether fprintf must be declared... no checking whether syslog must be declared... no checking whether puts must be declared... no checking whether fputs must be declared... no checking whether fputc must be declared... no checking whether fopen must be declared... no checking whether fclose must be declared... no checking whether fwrite must be declared... no checking whether fflush must be declared... no checking whether getopt must be declared... no checking whether bzero must be declared... no checking whether bcopy must be declared... no checking whether memset must be declared... no checking whether strtol must be declared... no checking whether strcasecmp must be declared... no checking whether strncasecmp must be declared... no checking whether strerror must be declared... no checking whether perror must be declared... no checking whether socket must be declared... no checking whether sendto must be declared... no checking whether vsnprintf must be declared... no checking whether snprintf must be declared... no checking whether strtoul must be declared... no checking for snprintf... yes checking for strlcpy... no checking for strlcat... no checking for strerror... yes checking for __FUNCTION__... yes checking for floor in -lm... yes checking for pcap_datalink in -lpcap... yes checking pcre.h usability... yes checking pcre.h presence... yes checking for pcre.h... yes checking for pcre_compile in -lpcre... yes checking for mysql... yes checking for compress in -lz... yes ./configure: line 1: libnet-config: command not found ./configure: line 1: libnet-config: command not found ./configure: line 1: libnet-config: command not found ./configure: line 1: libnet-config: command not found checking libnet.h usability... no checking libnet.h presence... no checking for libnet.h... no ERROR! Libnet header not found, go get it from http://www.packetfactory.net/projects/libnet/ or use the --with-libnet-* options, if you have it installed in unusual place make: *** No targets specified and no makefile found. Stop. Expected Results: emerged properly Thanks for your help!
Looks like autogen.sh is no longer available in ${S}, so the configure.in patch never got picked up. Fixed.