Subject: pkgsrc 2007Q2 issues with net/net-snmp
To: None <>
From: Malcolm Herbert <>
List: tech-pkg
Date: 10/08/2007 11:24:19
net/net-snmp (version 5.4nb1) appears to build OK, but fails package
registration and binary packaging as /usr/pkg/share/snmp/ is
apparently missing but specified in the +CONTENTS file:

|dogbert[...pkgsrc/net/net-snmp] 69v>: bmake package
|=> Required installed package digest>=20010302: digest-20060826 found
|===> Skipping vulnerability checks.
|WARNING: No /store/mjch/pkgsrc/pkgsrc/distfiles/pkg-vulnerabilities file found.
|WARNING: To fix, install the pkgsrc/security/audit-packages
|WARNING: package and run: ``/usr/pkg/sbin/download-vulnerability-list''.
|===> Installing for net-snmp-5.4nb1
|=> Becoming ``root'' to make su-install-all (/usr/local/bin/sudo)
|=> Creating installation directories
|=> Running PRE-INSTALL script actions
|=> Automatic manual page handling
|=> Running POST-INSTALL script actions
|pkg_create: can't stat `/usr/pkg/share/snmp/'
|=> Registering installation for net-snmp-5.4nb1
|pkg_admin: net-snmp-5.4nb1: File `/usr/pkg/share/snmp/' is in +CONTENTS but not on filesystem!
|net-snmp-5.4nb1 requires installed package perl-5.8.8nb4
|net-snmp-5.4nb1 requires installed package tcp_wrappers-7.6.1nb4
|=> Dropping ``root'' privileges.
|===> Building binary package for net-snmp-5.4nb1
|=> Becoming ``root'' to make su-package-all (/usr/local/bin/sudo)
|Creating package /store/mjch/pkgsrc/pkgsrc/packages/All/net-snmp-5.4nb1.tgz
|Using SrcDir value of /usr/pkg
|Registering conflicts: ucd-snmp-[0-9]* nocol-[0-9]*.
|pkg_create: can't stat `/usr/pkg/share/snmp/'
|tar: Unable to access share/snmp/ (No such file or directory)
|tar: WARNING! These file names were not selected:
|pkg_create: /usr/pkg/bin/tar command failed with code 1
|ERROR: pkg_create -K pkg failed (2)
|*** Error code 1
|bmake: stopped in /usr/pkgsrc/net/net-snmp
|*** Error code 1
|bmake: stopped in /usr/pkgsrc/net/net-snmp
|*** Error code 1
|bmake: stopped in /usr/pkgsrc/net/net-snmp

... and yet:

|dogbert[...pkgsrc/net/net-snmp] 70v>: find work -name

although I have no idea whether that's the correct file ... 

What can I do to help fix this issue?


Malcolm Herbert                                This brain intentionally                                                left blank