Subject: pkg/32918: net/netsaint-plugins can't "make package"
To: None <,,>
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)
	Prince of Songkla University
System: NetBSD 3.99.15 NetBSD 3.99.15 (GENERIC-1.696-20060125) #8: Wed Jan 25 04:59:39 ICT 2006 i386
	Compiling using pkg_comp + libkver with 3.0 (release) sets.
Architecture: i386
Machine: i386
	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.

	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-
pkg_create: can't stat `/usr/pkg/libexec/netsaint/check_swap'
netsaint-plugins- requires installed package netsaint-base-0.0.7nb6
netsaint-plugins- requires installed package perl-5.8.7nb8
netsaint-plugins- requires installed package postgresql74-lib-7.4.12
===> Checking for work-directory references in netsaint-plugins-
===> Packaging netsaint-plugins-
===> Building binary package for netsaint-plugins-
Creating package /pkg_comp/packages/All/netsaint-plugins-
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:
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-'
(perhaps the packing list is incorrectly specified?)

PKG_COMP ==> Unmounting sandboxed filesystems

	Remove check_swap from PLIST (or find out why it isn't
	getting installed, if it should be).