Subject: Re: pkgsrc build breakages (was Re: ALL_TARGET -> BUILD_TARGET)
To: None <tech-pkg@NetBSD.org>
From: Douglas Wade Needham <cinnion@ka8zrt.com>
List: tech-pkg
Date: 12/07/2004 18:07:19
version=3.0.0
Sender: tech-pkg-owner@NetBSD.org
Was this on a branch, or on the HEAD of the tree? For me, the last
update was done with the command:
cvs -q update -d -P -D "12/06/2004 00:00 EST"
Seems that my wrapper script which updates my pkgsrc tree did not
pass the "noon" argument to my cvs_update script when I ran it
yesterday afternoon.
As for the command to find the ALL_TARGET, I ran the following command
in my pkgsrc tree to produce the list and the count:
find . -type f -print0 | xargs -0 grep -l ALL_TARGET | \
tee ~/tmp/ALL_TARGET.lst | wc -l
I am wondering if there are not a bunch of Makefile updates pending
for me right now. However, to answer that question, I did a fresh
'cvs co pkgsrc' on the head of the tree (I almost never work off the
branches, since I develop packages) into another directory, and did
the same command. I still get 205 total hits from that same command.
- Doug
Quoting Jukka Salmi (j+nbsd@2004.salmi.ch):
> Douglas Wade Needham --> tech-pkg (2004-12-07 14:02:25 -0500):
> > Indeed, when I grep through
> > files looking for ALL_TARGET, I still find 223 files (including
> > bsd.pkg.mk) containing the string.
>
> Hmm, are you sure you didn't count ALL_TARGET _and_ INSTALL_TARGET
> matches? In my pkgsrc tree - updated yesterday - I could only find
> two matches where I'm not sure whether they are correct: one for
> lang/perl5/Makefile (if ${STATIC_PERL} == "YES" ...), and one for
> security/tcp_wrappers/Makefile (but here it's ${ALL_TARGET.${OPSYS}}).
>
> And, BTW, from mk/bsd.pkg.mk:
> # remove after 2005Q1
> .if defined(ALL_TARGET)
> PKG_FAIL_REASON+='ALL_TARGET is deprecated and must be replaced with BUILD_TARGET.'
> .endif
>
>
> HTH, Jukka
>
> --
> bashian roulette:
> $ ((RANDOM%6)) || rm -rf ~
--
Douglas Wade Needham - KA8ZRT UN*X Consultant & UW/BSD kernel programmer
Email: cinnion @ ka8zrt . com http://cinnion.ka8zrt.com
Disclaimer: My opinions are my own. Since I don't want them, why
should my employer, or anybody else for that matter!