[Bug 242332] net/vde2: missing shared library if net/libpcap is installed during build but removed afterwards

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Dec 1 04:01:31 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242332

            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 at FreeBSD.org
          Reporter: lantw44 at gmail.com
                CC: garga at FreeBSD.org
                CC: garga at FreeBSD.org

The Makefile of net/vde2 includes this line:

LIB_DEPENDS=    libpcap.so:net/libpcap

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

===>   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 libpcap
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

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


More information about the freebsd-ports-bugs mailing list