confused build_depends

Dominic Fandrey kamikaze at bsdforen.de
Fri Dec 3 13:33:59 UTC 2010


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? 


More information about the freebsd-ports mailing list