Subject: pkg/32935: audio/oss - wacky package problem with pkg_comp+libkver
To: None <,,>
From: None <kre@munnari.OZ.AU>
List: pkgsrc-bugs
Date: 02/26/2006 17:05:01
>Number:         32935
>Category:       pkg
>Synopsis:       audio/oss - wacky package problem with pkg_comp+libkver
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 26 17:05:00 +0000 2006
>Originator:     Robert Elz
>Release:        NetBSD 3.99.15  (pkgsrc current as of about 12 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
	Using pkg_comp + libkver with 3.0 binary sets
Architecture: i386
Machine: i386
	The packaging method for autio.oss seems a little strange.
	It wants to include /usr/lib/ in the binary
	package it is making, which I am fairly sure is not what
	should be happening.

	Set up a pkg_comp arena, have it use libkver (set NETBSD_RELEASE)
	Arrange for pkg_comp to build binary packages (BUILD_TARGET=package)
		pkg_comp build audio/oss

	Expect to see something like ...

===> Patching for oss-3.9.8enb1
===> Overriding tools for oss-3.9.8enb1
===> Creating toolchain wrappers for oss-3.9.8enb1
===> Building for oss-3.9.8enb1
===> Creating /pkg_comp/obj/pkgsrc/audio/oss/default/oss
=> Unwrapping files-to-be-installed.
===> Installing for oss-3.9.8enb1
===> Creating installation directories
/bin/pax -rw `/bin/cat /usr/pkgsrc/audio/oss/files/chroot` /pkg_comp/obj/pkgsrc/audio/oss/default
pax: Unable to access /usr/lib/* (No such file or directory)
pax: WARNING! These file names were not selected:
*** Error code 1 (ignored)
/usr/sbin/chroot -u root -g wheel /pkg_comp/obj/pkgsrc/audio/oss/default ./
Cannot open "/libkver/lib/"
*** Error code 1