From owner-freebsd-ports@FreeBSD.ORG Thu Dec 2 18:48:18 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A92710656A8 for ; Thu, 2 Dec 2010 18:48:18 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from u18-124.dslaccess.de (unknown [194.231.39.124]) by mx1.freebsd.org (Postfix) with ESMTP id 0A6188FC0C for ; Thu, 2 Dec 2010 18:48:18 +0000 (UTC) Received: from [172.20.1.100] (unknown [172.20.1.100]) by u18-124.dslaccess.de (Postfix) with ESMTPSA id 83A6120513 for ; Thu, 2 Dec 2010 19:48:15 +0100 (CET) Message-ID: <4CF7EA49.2090705@FreeBSD.org> Date: Thu, 02 Dec 2010 19:49:45 +0100 From: Olli Hauer User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <4CF79B4C.2080201@bsdforen.de> In-Reply-To: <4CF79B4C.2080201@bsdforen.de> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: confused build_depends X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ohauer@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Dec 2010 18:48:18 -0000 On 2010-12-02 14:12, Dominic Fandrey wrote: > # cd /usr/ports/net/wireshark > # make -VBUILD_DEPENDS > /usr/local/lib/libcrypto.so.8:/usr/ports/cad/linux-eagle5 ... > > Well, eagle5 does not install the file libcrypto.so.8, thus it > doesn't exist and the ports system will try to install linux-eagle5 > when building wireshark. Of course linux-eagle5 is already installed, > thus it will fail. > > If I remove linux-eagle5 the dependency works: > # make -VBUILD_DEPENDS > /usr/local/lib/libcrypto.so.7:/usr/ports/security/openssl ... > > But why does the ports system think linux-eagle installs this library? > # pkg_info -Lx eagle|grep crypto > /compat/linux/lib/libcrypto.so.0.9.8 > > The file is a symlink and has a distinctively different version > number. Are you sure you are in the wireshark port? I cannot find a reference to linux-eagle5, even in older versions. http://www.freebsd.org/cgi/cvsweb.cgi/ports/net/wireshark/Makefile?annotate=1.161 # cd /usr/ports/net/wireshark # grep FreeBSD: Makefile $FreeBSD: ports/net/wireshark/Makefile,v 1.161 2010/11/28 08:57:05 marcus Exp $ # make -V BUILD_DEPENDS | tr -s ' ' '\n' | sort /usr/local/bin/intltool-extract:/usr/ports/textproc/intltool /usr/local/bin/perl5.10.1:/usr/ports/lang/perl5.10 /usr/local/bin/python2.6:/usr/ports/lang/python26 /usr/local/libdata/pkgconfig/x11.pc:/usr/ports/x11/libX11 gmake:/usr/ports/devel/gmake pkg-config:/usr/ports/devel/pkg-config # make -V RUN_DEPENDS | tr -s ' ' '\n' | sort /usr/local/lib/gio/modules/libgiofam.so:/usr/ports/devel/gio-fam-backend /usr/local/libdata/pkgconfig/x11.pc:/usr/ports/x11/libX11 pkg-config:/usr/ports/devel/pkg-config Maybe the following bring in some light. # make showconfig # make -d A -VBUILD_DEPENDS