Subject: Strange problem with pkg_comp...
To: None <tech-pkg@netbsd.org>
From: Juan RP <juan@netbsd.graffitipr.org>
List: tech-pkg
Date: 07/09/2004 19:11:48
--Signature=_Fri__9_Jul_2004_19_11_48_+0200_Foa=MNmWPdyON+CF
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit


I was trying to use pkg_comp for pkgviews, but it failed:

[juan@Nocturno][~]> sudo pkg_comp makeroot
PKG_COMP ==> Creating sandbox `/home/juan/chroot/pkg_comp/default'
Extracting base.tgz...
Extracting comp.tgz...
Extracting etc.tgz...
Extracting text.tgz...
Making device nodes...
Setting root's environment...
Setting up initial configuration...
PKG_COMP ==> Mounting sandboxed filesystems
PKG_COMP ==> Installing new `pkg-vulnerabilities' file
PKG_COMP ==> Checking if pkg_install is up to date
make: "/usr/share/mk/bsd.own.mk" line 132: warning: Couldn't read shell's output
for "uname -p 2>/dev/null || uname -m" make: "../../mk/../../mk/bsd.prefs.mk"
line 405: warning: Couldn't read shell's output for "/usr/sbin/pkg_info -V
2>/dev/null || echo 20010302"/pkg_comp/tmp/pkg_comp-883a.sh: cannot create
/dev/null: no such device or address PKG_COMP ==> Building and installing
pkgtools/digest make: "/usr/share/mk/bsd.own.mk" line 132: warning: Couldn't
read shell's output for "uname -p 2>/dev/null || uname -m" make:
"../../mk/../../mk/bsd.prefs.mk" line 405: warning: Couldn't read shell's output
for "/usr/sbin/pkg_info -V 2>/dev/null || echo 20010302"===> Checking for
vulnerabilities in digest-20021220 default ->
/pkg_comp/obj/pkgsrc/pkgtools/digest/default===> Extracting for digest-20021220
===> Patching for digest-20021220
===> Overriding tools for digest-20021220
===> Buildlinking for digest-20021220
===> Configuring for digest-20021220
./configure: cannot create /dev/null: no such device or address
./configure: cannot create /dev/null: no such device or address
[...]
^C*** Process aborted ***
PKG_COMP ==> Unmounting sandboxed filesystems
[juan@Nocturno][~]>

I don't have any idea about what's the problem, I'm using -current under i386,
pkg_comp worked perfectly until now, BTW I tried pkg_comp 1.18 and it
failed with the same output...

I asked jmmv, but he doesn't know about this problem neither.

[juan@Nocturno][~]> pkg_info|grep pkg_comp
pkg_comp-1.19       Build packages inside a chroot jail
[juan@Nocturno][~]>

-- 
	Juan RP <juan@netbsd.graffitipr.org>

--Signature=_Fri__9_Jul_2004_19_11_48_+0200_Foa=MNmWPdyON+CF
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFA7tHUypkLYVDran0RAr2cAJsFdO4X9mvbqKL7RUd84OLSxOnwqACgsVoS
Pmk0ZQiBtm/ETqXzsgyzHMo=
=Xeg2
-----END PGP SIGNATURE-----

--Signature=_Fri__9_Jul_2004_19_11_48_+0200_Foa=MNmWPdyON+CF--