Bug 194881 - net-mgmt/net-snmp undeclared dependency on libpci
Summary: net-mgmt/net-snmp undeclared dependency on libpci
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Ryan Steinmetz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-07 15:53 UTC by Kurt Lidl
Modified: 2015-01-29 02:04 UTC (History)
0 users

See Also:
lidl: maintainer-feedback? (zi)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kurt Lidl freebsd_committer freebsd_triage 2014-11-07 15:53:06 UTC
On my 9.2-ish system, I see:

root@stable9-170: pkg info -d net-snmp
net-snmp-5.7.2_16:
	openssl-1.0.1_16
	perl5-5.16.3_11

Yet 'ldd' tells me it is linked against libpci.so:

root@stable9-171: ldd /usr/local/sbin/snmpd | grep libpci
	libpci.so => /usr/local/lib/libpci.so (0x801104000)

And if I install just the binary pkg onto a different machine
with a very limited set of packages, I see:

pkg-static: (net-snmp-5.7.2_16) /usr/local/bin/agentxtrap - required shared library libpci.so not found
pkg-static: (net-snmp-5.7.2_16) /usr/local/sbin/snmpd - required shared library libpci.so not found
pkg-static: (net-snmp-5.7.2_16) /usr/local/sbin/snmptrapd - required shared library libpci.so not found
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-11-07 15:53:06 UTC
Auto-assigned to maintainer zi@FreeBSD.org
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-01-29 02:03:49 UTC
A commit references this bug:

Author: zi
Date: Thu Jan 29 02:03:10 UTC 2015
New revision: 378098
URL: https://svnweb.freebsd.org/changeset/ports/378098

Log:
  - Never link against libpci
  - Fix build under 11
  - Bump PORTREVISION

  PR:		196904, 194881

Changes:
  head/net-mgmt/net-snmp/Makefile
  head/net-mgmt/net-snmp/files/patch-agent_mibgroup_mibII_icmp.h