confused build_depends

Olli Hauer ohauer at FreeBSD.org
Thu Dec 2 18:48:18 UTC 2010


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



More information about the freebsd-ports mailing list