[Bug 230980] net-mgmt/php56-snmp: links with libpkg for no apparent reason (affects all php versions)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Aug 28 15:44:19 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230980
Bug ID: 230980
Summary: net-mgmt/php56-snmp: links with libpkg for no apparent
reason (affects all php versions)
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: ale at FreeBSD.org
Reporter: amdmi3 at FreeBSD.org
Flags: maintainer-feedback?(ale at FreeBSD.org)
Assignee: ale at FreeBSD.org
For some strange reason, php-snmp (with all php versions) links with libpkg:
===> Building for php56-snmp-5.6.37
...
cc -shared .libs/snmp.o -L/usr/lib -lssl -L/usr/local/lib -L/lib -lnetsnmp
-lm -lkvm -ldevstat -lcrypto -lelf -lpkg -lssp_nonshared -Wl,-rpath
-Wl,/usr/local/lib -Wl,-rpath -Wl,/lib -Wl,-rpath -Wl,/usr/local/lib
-Wl,-soname -Wl,snmp.so -o ./.libs/snmp.so
...
====> Running Q/A tests (stage-qa)
Error: /usr/local/lib/php/20131226/snmp.so is linked to
/usr/local/lib/libpkg.so.4 from ports-mgmt/pkg but it is not declared as a
dependency
Warning: you need LIB_DEPENDS+=libpkg.so:ports-mgmt/pkg
...
=>> Checking shared library dependencies
...
0x0000000000000001 NEEDED Shared library: [libpkg.so.4]
...
This doesn't seem needed nor right, creates a hidden dependency on pkg and
breaks the module when libpkg.so version changes. This may also affect other or
all php modules.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list