Subject: pkg/34780: comms/xisp does not install if DIALER_GROUP is undefined
To: None <,,>
From: None <kre@munnari.OZ.AU>
List: pkgsrc-bugs
Date: 10/11/2006 10:30:00
>Number:         34780
>Category:       pkg
>Synopsis:       comms/xisp does not install if DIALER_GROUP is undefined
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 11 10:30:00 +0000 2006
>Originator:     Robert Elz
>Release:        NetBSD 3.0  (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
Architecture: i386
Machine: i386
	If DIALER_GROUP is not defined (in mk.conf or elsewhere
	doing "make install" of comms/xisp fails in a poor
	fashion (if it demanded that DIALER_GROUp be set first that
	would be one thing, but that isn't what it does).
	Make sur ethat DIALER_GROUP is not defined anywhere (mk.conf
	or the environment, or ...) and

		cd ..../pkgsrc/comms/xisp
		make insta,ll

	Ecxpect to see ...

===> Installing for xisp-2.7p1nb3
=> Generating pre-install file lists
sed -e s,@ETCPPP@,/etc/ppp,g  -e s,@USRLIBPPP@,/usr/pkg/libexec,g  -e s,@USRLOCAL@,/usr/pkg/bin,g < > xisp.1
if [ ! -d /usr/pkg/bin ]; then  /usr/bin/install -d /usr/pkg/bin; fi
/usr/bin/install -g  -m 750 -o root -s  xisp /usr/pkg/bin/xisp
install: unknown group -m
*** Error code 1


	"Unknown group -m" is not a great indicator of the problem!

	[Aside, I actually used pkg_comp with libkver and NetBSD 3.0
	release sets installed, while running on a more recent
	system to encounter this, but I doubt that is relevant.  It
	needs to work sanely on netBSD 3.0 anyway.]

	Best would be to make sure DIALER_GROUP is set to something,
	preferably by giving it a good default value (look see what
	group owns the dialer(s) ...) - or just "dialer" if that is
	too hard.   More acceptable that the present situation would
	be to at least abort sensibly if DIALER_GROUP is not defined,
	with instructions on what to do to fix the problem.