Subject: pkg/4575: package system doesn't work out-of-the-box.
To: None <email@example.com>
From: Christian E. Hopps <firstname.lastname@example.org>
Date: 11/25/1997 09:42:46
>Synopsis: package system doesn't work out-of-the-box.
>Responsible: gnats-admin (GNATS administrator)
>Arrival-Date: Tue Nov 25 06:50:05 1997
>Originator: Christian E. Hopps
System: NetBSD tang.merit.edu 1.3_ALPHA NetBSD 1.3_ALPHA (TANG) #7: Fri Nov 14 06:58:27 PST 1997 email@example.com:/usr/src/sys/arch/i386/compile/TANG i386
Root doesn't have /usr/pkg/bin in its path. Therefore when
building a package which builds another package the system
fails as the dependent package tries to use the newly installed
package and it fails to find the binary.
Don't add /usr/pkg/bin to your path and try and build packages
that require other packages (e.g. gmake).
I think the appropriate fix is to add /usr/pkg/bin
(and /usr/pkg/sbin) to the root path. Failing that
documenting the fact that it needs to be setup.