Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Dec 2019 04:01:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 242332] net/vde2: missing shared library if net/libpcap is installed during build but removed afterwards
Message-ID:  <bug-242332-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242332

            Bug ID: 242332
           Summary: net/vde2: missing shared library if net/libpcap is
                    installed during build but removed afterwards
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: lantw44@gmail.com
                CC: garga@FreeBSD.org
                CC: garga@FreeBSD.org

The Makefile of net/vde2 includes this line:

LIB_DEPENDS=3D    libpcap.so:net/libpcap

Since libpcap.so exists in base, it does not pull in any dependency:

=3D=3D=3D>   vde2-2.3.2_4 depends on shared library: libpcap.so - found
(/usr/lib/libpcap.so)

However, vde2 seems to prefer libpcap from ports to the one in base. If lib=
pcap
from ports is present in the build environment, vde2 links to it but the
dependency isn't registered into pkg. Therefore, it is possible for users to
type 'pkg autoremove' to remove libpcap and cause 'pkg check' to show:

vde2 is missing a required shared library: libpcap.so.1

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242332-7788>