From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Apr 1 21:50:05 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 23F6416A408 for ; Sun, 1 Apr 2007 21:50:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id F34A113C487 for ; Sun, 1 Apr 2007 21:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l31Lo4K8089526 for ; Sun, 1 Apr 2007 21:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l31Lo4ke089525; Sun, 1 Apr 2007 21:50:04 GMT (envelope-from gnats) Resent-Date: Sun, 1 Apr 2007 21:50:04 GMT Resent-Message-Id: <200704012150.l31Lo4ke089525@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Garrett Cooper Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8F14C16A402 for ; Sun, 1 Apr 2007 21:42:55 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 7FEF313C48C for ; Sun, 1 Apr 2007 21:42:55 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l31LgtB7039663 for ; Sun, 1 Apr 2007 21:42:55 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l31Lbr2m039169; Sun, 1 Apr 2007 21:37:53 GMT (envelope-from nobody) Message-Id: <200704012137.l31Lbr2m039169@www.freebsd.org> Date: Sun, 1 Apr 2007 21:37:53 GMT From: Garrett Cooper To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: ports/111110: security/snort port broken in 7-current -- fails at snort configure stage X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Apr 2007 21:50:05 -0000 >Number: 111110 >Category: ports >Synopsis: security/snort port broken in 7-current -- fails at snort configure stage >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Apr 01 21:50:04 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Garrett Cooper >Release: 7-CURRENT >Organization: n/a >Environment: [root@hoover /usr/ports/net/libnet10]# uname -a FreeBSD hoover.localdomain 7.0-CURRENT FreeBSD 7.0-CURRENT #25: Mon Mar 26 23:21:11 PST 2007 root@hoover.localdomain:/usr/obj/usr/src/sys/HOOVER i386 >Description: The ports patched version of security/snort fails to build erroring out with the following message: checking for strlcat... yes 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 dlsym in -ldl... no checking for dlsym in -lc... no ERROR! programmatic interface to dynamic link loader not found. Cannot use dynamic plugin libraries. ===> Script "configure" failed unexpectedly. Please report the problem to clsung@FreeBSD.org [maintainer] and attach the "/usr/ports/security/snort/work/snort-2.6.1.3/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). Attempted to contact maintainer but he hasn't replied since I last sent him a message (2-3 weeks ago). >How-To-Repeat: Try and compile ports patched version of snort under 7-CURRENT. >Fix: From what I can tell configure operates properly, with snort unpatched using the local files instead of the system files: [root@hoover /usr/ports/distfiles/snort-2.6.1.3]# ./configure --enable-pthread --enable-perfprofiling --enable-maintainer-mode --prefix=/usr/local # SNIP 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 dlsym in -ldl... no checking for dlsym in -lc... yes checking for u_int8_t... yes checking for u_int16_t... yes checking for u_int32_t... yes checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status I can't seem to determine what the differences might be though: [root@hoover /usr/ports/distfiles/snort-2.6.1.3]# diff configure /usr/ports/security/snort/work/snort-2.6.1.3/configure 19567c19567 < LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" --- > LIBTOOL_DEPS=" /usr/local/share/libtool/ltmain.sh" 19570c19570 < LIBTOOL='$(SHELL) $(top_builddir)/libtool' --- > LIBTOOL='$(SHELL) /usr/local/bin/libtool' 23906,23907c23906,23907 < CFLAGS="${CFLAGS} `libnet-config --defines` `libnet-config --cflags`" < LIBS="${LIBS} `libnet-config --libs`" --- > CFLAGS="${CFLAGS} `/usr/local/bin/libnet10-config --defines` `/usr/local/bin/libnet10-config --cflags`" > LIBS="${LIBS} `/usr/local/bin/libnet10-config --libs`" 23931c23931 < CPPFLAGS="${CPPFLAGS} -DENABLE_RESPONSE `libnet-config --defines --cflags`" LDFLAGS="${LDFLAGS} `libnet-config --libs`" --- > CPPFLAGS="${CPPFLAGS} -DENABLE_RESPONSE `/usr/local/bin/libnet10-config --defines --cflags`" LDFLAGS="${LDFLAGS} `/usr/local/bin/libnet10-config --libs`" 23942c23942 < if test `libnet-config --cflags | wc -c` = "1"; then --- > if test `/usr/local/bin/libnet10-config --cflags | wc -c` = "1"; then 23947,23949c23947,23949 < if test `libnet-config --libs | wc -c` = "1"; then < { echo "$as_me:$LINENO: WARNING: libnet-config --libs is broken on your system. If you" >&5 < echo "$as_me: WARNING: libnet-config --libs is broken on your system. If you" >&2;} --- > if test `/usr/local/bin/libnet10-config --libs | wc -c` = "1"; then > { echo "$as_me:$LINENO: WARNING: /usr/local/bin/libnet10-config --libs is broken on your system. If you" >&5 > echo "$as_me: WARNING: /usr/local/bin/libnet10-config --libs is broken on your system. If you" >&2;} 24129c24129 < libnet_dir=`libnet-config --cflags | cut -dI -f2` --- > libnet_dir=`/usr/local/bin/libnet10-config --cflags | cut -dI -f2` 24533c24533 < CPPFLAGS="${CPPFLAGS} -DENABLE_REACT `libnet-config --defines --cflags`" LDFLAGS="${LDFLAGS} `libnet-config --libs`" --- > CPPFLAGS="${CPPFLAGS} -DENABLE_REACT `/usr/local/bin/libnet10-config --defines --cflags`" LDFLAGS="${LDFLAGS} `/usr/local/bin/libnet10-config --libs`" 24545c24545 < if test `libnet-config --cflags | wc -c` = "1"; then --- > if test `/usr/local/bin/libnet10-config --cflags | wc -c` = "1"; then 24550,24552c24550,24552 < if test `libnet-config --libs | wc -c` = "1"; then < { echo "$as_me:$LINENO: WARNING: libnet-config --libs is broken on your system. If you" >&5 < echo "$as_me: WARNING: libnet-config --libs is broken on your system. If you" >&2;} --- > if test `/usr/local/bin/libnet10-config --libs | wc -c` = "1"; then > { echo "$as_me:$LINENO: WARNING: /usr/local/bin/libnet10-config --libs is broken on your system. If you" >&5 > echo "$as_me: WARNING: /usr/local/bin/libnet10-config --libs is broken on your system. If you" >&2;} 24732c24732 < libnet_dir=`libnet-config --cflags | cut -dI -f2` --- > libnet_dir=`/usr/local/bin/libnet10-config --cflags | cut -dI -f2` But then again this package pulls in its own ltmain.sh file, instead of using the system wide one (that's my hunch for where stuff's not meshing). I've posted a complete side by side diff at: http://students.washington.edu/youshi10/posted/ltmain.sh.side_by_side.diff Any help would be more than appreciated in solving this annoying problem. Thanks! >Release-Note: >Audit-Trail: >Unformatted: