From owner-freebsd-ports@FreeBSD.ORG Fri Dec 3 13:33:58 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 EC8A8106566C; Fri, 3 Dec 2010 13:33:58 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mail.server1.bsdforen.de (bsdforen.de [82.193.243.81]) by mx1.freebsd.org (Postfix) with ESMTP id AD46E8FC0C; Fri, 3 Dec 2010 13:33:57 +0000 (UTC) Received: from mobileKamikaze.norad (vpn-cl-162-65.rz.uni-karlsruhe.de [141.3.162.65]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.server1.bsdforen.de (Postfix) with ESMTPSA id C1B8685FD7; Fri, 3 Dec 2010 14:33:56 +0100 (CET) Message-ID: <4CF8F1C4.6080803@bsdforen.de> Date: Fri, 03 Dec 2010 14:33:56 +0100 From: Dominic Fandrey User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-GB; rv:1.9.1.15) Gecko/20101028 Thunderbird/3.0.10 MIME-Version: 1.0 To: ohauer@FreeBSD.org References: <4CF79B4C.2080201@bsdforen.de> <4CF7EA49.2090705@FreeBSD.org> In-Reply-To: <4CF7EA49.2090705@FreeBSD.org> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: confused build_depends X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Dec 2010 13:33:59 -0000 On 02/12/2010 19:49, Olli Hauer wrote: > 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 It affects everything depending on libcrypto. If dependency file exists, the ports system will substitute the package that installed it for the dependency set in the port. It's something in bsd.port.mk that goes wrong and /thinks/ linux-eagle5 installs a file that it actually doesn't. Install linux-eagle5 and you can reproduce it. Regards -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?