Subject: pkg/32918: net/netsaint-plugins can't "make package"
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <kre@munnari.OZ.AU>
List: pkgsrc-bugs
Date: 02/23/2006 18:00:00
>Number: 32918
>Category: pkg
>Synopsis: net/netsaint-plugins can't "make package"
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Feb 23 18:00:00 +0000 2006
>Originator: Robert Elz
>Release: NetBSD 3.99.15 (pkgsrc current as of a few hours ago)
>Organization:
Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 3.99.15 NetBSD 3.99.15 (GENERIC-1.696-20060125) #8: Wed Jan 25 04:59:39 ICT 2006 kre@jade.coe.psu.ac.th:/usr/obj/current/kernels/JADE_ASUS i386
Compiling using pkg_comp + libkver with 3.0 (release) sets.
Architecture: i386
Machine: i386
>Description:
net/netsaint-plugins compiles and installs OK (or appears to)
but the pkg_tarup needed to make a binary apckage for it fails
with am ENOENT... Most likely this indicates a PLIST problem.
>How-To-Repeat:
cd ..../pkgsrc/net/netsaint-plugins
make package
Expect to see ...
===> [Automatic manual page handling]
ls: /usr/pkg/libexec/netsaint/check_swap: No such file or directory
===> Registering installation for netsaint-plugins-1.2.9.4nb10
pkg_create: can't stat `/usr/pkg/libexec/netsaint/check_swap'
netsaint-plugins-1.2.9.4nb10 requires installed package netsaint-base-0.0.7nb6
netsaint-plugins-1.2.9.4nb10 requires installed package perl-5.8.7nb8
netsaint-plugins-1.2.9.4nb10 requires installed package postgresql74-lib-7.4.12
===> Checking for work-directory references in netsaint-plugins-1.2.9.4nb10
===> Packaging netsaint-plugins-1.2.9.4nb10
===> Building binary package for netsaint-plugins-1.2.9.4nb10
Creating package /pkg_comp/packages/All/netsaint-plugins-1.2.9.4nb10.tgz
Using SrcDir value of /usr/pkg
Registering depends: netsaint-base-[0-9]* perl>=5.0 postgresql74-lib>=7.4.8nb3 postgresql{74,}-lib>=7.4.0.
pkg_create: can't stat `/usr/pkg/libexec/netsaint/check_swap'
tar: Unable to access libexec/netsaint/check_swap (No such file or directory)
tar: WARNING! These file names were not selected:
libexec/netsaint/check_swap
pkg_create: tar command failed with code 1
(pkg_create: exitcode 2)
*** Error code 1
If after this you then pkg-delete, expect to see ...
PKG_COMP ==> Mounting sandboxed filesystems
PKG_COMP ==> Entering sandbox `/local/pkg_comp/default'
pkg_delete: file `/usr/pkg/libexec/netsaint/check_swap' doesn't really exist
pkg_delete: couldn't entirely delete package `netsaint-plugins-1.2.9.4nb10'
(perhaps the packing list is incorrectly specified?)
PKG_COMP ==> Unmounting sandboxed filesystems
>Fix:
Remove check_swap from PLIST (or find out why it isn't
getting installed, if it should be).