Bug 202040 - net-mgmt/net-snmp: QA failure on "Bad linking on /usr/lib/libarchive.so.6"
Summary: net-mgmt/net-snmp: QA failure on "Bad linking on /usr/lib/libarchive.so.6"
Status: Closed Not A Bug
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: 2015-08-02 13:32 UTC by Jason Unovitch
Modified: 2015-08-05 03:53 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Unovitch freebsd_committer freebsd_triage 2015-08-02 13:32:53 UTC
Hello,
While working bug 201514 for Collectd5 I found that QA wasn't clean with the SNMP option because of linking to the base libarchive.  I traced it back to net-snmp linking to the base libarchive.

====> Running Q/A tests (stage-qa)
... <truncated> ...
Error: Bad linking on /usr/lib/libarchive.so.6: please add USES=libarchive
Error: Bad linking on /usr/lib/libarchive.so.6: please add USES=libarchive
Error: Bad linking on /usr/lib/libarchive.so.6: please add USES=libarchive
... <truncated> ...
Comment 1 Ryan Steinmetz freebsd_committer freebsd_triage 2015-08-02 15:10:08 UTC
net-snmp doesn't actually link against libarchive, pkg does:

   libnetsnmpagent.so.30 => not found
    libnetsnmpmibs.so.30 => not found
    libnetsnmp.so.30 => not found
    libwrap.so.6 => /usr/lib/libwrap.so.6
    libthr.so.3 => /lib/libthr.so.3
    libperl.so.5.20 => /usr/local/lib/perl5/5.20/mach/CORE/libperl.so.5.20
    libcrypt.so.5 => /lib/libcrypt.so.5
    libutil.so.9 => /lib/libutil.so.9
    libelf.so.1 => /usr/lib/libelf.so.1
    libpkg.so.3 => /usr/local/lib/libpkg.so.3
        libssl.so.6 => /usr/lib/libssl.so.6
        libjail.so.1 => /lib/libjail.so.1
        libarchive.so.5 => /usr/lib/libarchive.so.5
            libbsdxml.so.4 => /lib/libbsdxml.so.4
        libz.so.6 => /lib/libz.so.6
        libbz2.so.4 => /usr/lib/libbz2.so.4
        liblzma.so.5 => /usr/lib/liblzma.so.5
    libm.so.5 => /lib/libm.so.5
    libkvm.so.5 => /lib/libkvm.so.5
    libdevstat.so.7 => /lib/libdevstat.so.7
    libcrypto.so.6 => /lib/libcrypto.so.6
    libc.so.7 => /lib/libc.so.7
Comment 2 Baptiste Daroussin freebsd_committer freebsd_triage 2015-08-02 15:12:38 UTC
The qa script needs to be improved to only catch direct dependencies
Comment 3 Jason Unovitch freebsd_committer freebsd_triage 2015-08-02 15:15:57 UTC
OK. Sorry for the noise. I followed the collects snmp option issue to net-snmp and didn't review the error closely enough.
Comment 4 Ryan Steinmetz freebsd_committer freebsd_triage 2015-08-05 03:53:53 UTC
Closing as this isn't a net-snmp issue, but rather what appears to be a false-alarm in the qa logic that was added recently