Subject: pkg/15297: net/arpd ignores BSD_PKG_MK
To: None <>
From: g r <>
List: netbsd-bugs
Date: 01/19/2002 09:23:18
>Number:         15297
>Category:       pkg
>Synopsis:       net/arpd ignores BSD_PKG_MK
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 19 06:24:00 PST 2002
>Originator:     gabriel rosenkoetter
>Release:        NetBSD 1.5Y
System: NetBSD grappa 1.5Y NetBSD 1.5Y (GRAPPA) #2: Fri Nov 23 11:25:03 EST 2001 gr@grappa:/usr/src/sys/arch/i386/compile/GRAPPA i386
Architecture: i386
Machine: i386
It would seem that many packages STILL break by reading settings
from my /etc/mk.conf which they have been explicitly told not to.

To whit, I have:

.ifndef BSD_PKG_MK

When I make in pkgsrc/net/arpd:

grappa:net/arpd# make
=> Checksum OK for arpd.tar.gz.
===> Extracting for arpd-1.0
===> Patching for arpd-1.0
===> Applying NetBSD patches for arpd-1.0
===> Configuring for arpd-1.0
===> Building for arpd-1.0
make: don't know how to make /build/i386/usr/lib/crt0.o. Stop

make: stopped in /usr/pkgsrc/net/arpd/work/arpd
*** Error code 2

make: stopped in /usr/pkgsrc/net/arpd
*** Error code 1

make: stopped in /usr/pkgsrc/net/arpd

Does no one else consider this a bug?

Wander around pkgsrc installing things you think might be fun to
play with, find that you can't both do that and maintain a DESTDIR
building (and new toolchain using, since the new toolchain can't
properly compile pkgsrc but will get used even though I've protected
its settings in mk.conf too) system and also use pkgsrc with the
same /etc/mk.conf.
No clue.

I though added .include to net/arpd's Makefile
somewhere would fix this, but it seems not to, so perhaps the
problem lies deeper.