Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jun 2002 21:57:04 +0200
From:      Tilman Linneweh <tilman@arved.de>
To:        <billf@FreeBSD.ORG>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 3 Jun 2002 16:24:55 +0000 (UTC)
<billf@FreeBSD.ORG> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020603215704.446ed9d6.tilman>