Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Dec 2010 14:33:56 +0100
From:      Dominic Fandrey <kamikaze@bsdforen.de>
To:        ohauer@FreeBSD.org
Cc:        freebsd-ports@freebsd.org
Subject:   Re: confused build_depends
Message-ID:  <4CF8F1C4.6080803@bsdforen.de>
In-Reply-To: <4CF7EA49.2090705@FreeBSD.org>
References:  <4CF79B4C.2080201@bsdforen.de> <4CF7EA49.2090705@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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? 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CF8F1C4.6080803>