From owner-freebsd-ports Mon Jun 3 12:57:20 2002 Delivered-To: freebsd-ports@freebsd.org Received: from 21322530218.direct.eti.at (21322530218.direct.eti.at [213.225.30.218]) by hub.freebsd.org (Postfix) with ESMTP id 6A11E37B401; Mon, 3 Jun 2002 12:57:08 -0700 (PDT) Received: from sauna.arved.de (sauna.arved.de [192.168.2.4]) by 21322530218.direct.eti.at (8.11.6/8.11.6) with ESMTP id g53K3qX79986; Mon, 3 Jun 2002 22:03:52 +0200 (CEST) (envelope-from tilman@arved.de) Received: from sauna.arved.de (sauna.arved.de [127.0.0.1]) by sauna.arved.de (8.12.3/8.12.3) with ESMTP id g53Jv5RS028058; Mon, 3 Jun 2002 21:57:06 +0200 (CEST) (envelope-from tilman@arved.de) Received: (from tilman@localhost) by sauna.arved.de (8.12.3/8.12.3/Submit) id g53Jv5KP028057; Mon, 3 Jun 2002 21:57:05 +0200 (CEST) X-Authentication-Warning: sauna.arved.de: tilman set sender to tilman@arved.de using -f Date: Mon, 3 Jun 2002 21:57:04 +0200 From: Tilman Linneweh To: Cc: freebsd-ports@FreeBSD.ORG, freebsd-gnats-submit@FreeBSD.ORG Subject: Re: ports/38853: net/ethereal: configure fails Message-Id: <20020603215704.446ed9d6.tilman@arved.de> In-Reply-To: <200206031617.g53GHxQ92360@freefall.freebsd.org> References: <200206031617.g53GHxQ92360@freefall.freebsd.org> X-Mailer: Sylpheed version 0.7.6 (GTK+ 1.2.10; i386-portbld-freebsd4.5) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, 3 Jun 2002 16:24:55 +0000 (UTC) wrote: > Synopsis: net/ethereal: configure fails > > State-Changed-From-To: open->closed > State-Changed-By: billf > State-Changed-When: Mon Jun 3 09:17:05 PDT 2002 > State-Changed-Why: > ethereal depends on net-snmp4, not net-snmp. please update > your ports tree and install net-snmp4. My ports tree wasn't out of date. I investigated further and found out, I had an old version of libsnmp.4 in /usr/local/lib/compat/pkg/ from portupgrade, That library was found by the bsd.port.mk dependency check so that the net-snmp4 port was not installed. At the Moment bsd.port.mk checks for libdependencies like this: /sbin/ldconfig -r | /usr/bin/grep -qwF -e "-l$lib" and /usr/local/lib/compat/pkg is in the LDPATH. So if a port depends on an older version of an installed library, it may get the dependencies wrong, if the compat directory isn't clean. A solution might be, to check if the library found is in the "compat" Directory. If that's true, the dependency-check should evaluate to false. I think this PR should be reopened and reassigned to portmgr. regards arved To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message