Re: base.tgz no longer contains './bin/[' (in HEAD and netbsd-7)

2014-10-25 Thread John D. Baker
On Sat, 25 Oct 2014 02:29:01 -0400, William D. Jones thor0...@comcast.net
wrote:

 For the time being, does anyone know offhand the date of the most
 recent CVS commit in current that successfully compiles and does NOT
 have this problem?

I have a machine on which I've routinely updated -current and it shows:

$ ls -laF /bin/[
-r-xr-xr-x  1 root  wheel  10880 Sep 28  2012 /bin/[*
$ ls -laF /bin/test
-r-xr-xr-x  1 root  wheel  12082 Oct 15 22:25 /bin/test*

So, the last time '/bin/[' was in base.tgz was just over two years
ago.

Trawling back through source-changes@, a likely candidate for the
problem appear to be in a group of commits affecting 'mtree' on
5 October 2012, particularly:

  http://mail-index.netbsd.org/source-changes/2012/10/05/msg037683.html


-- 
|/\ John D. Baker, KN5UKS   NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]comOpenBSDFreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645



Re: base.tgz no longer contains './bin/[' (in HEAD and netbsd-7)

2014-10-25 Thread Rhialto
On Sat 25 Oct 2014 at 06:30:24 -0400, William D. Jones wrote:
 Oops, I should've just tested this- it appears that [ is a built-in on my
 current machines. I misunderstood and thought that the [ command wasn't
 included at all in the source tree due to a recent commit error (implying
 that all shell scripts that depended on it would break). Apologies.

Nevertheless it should be there. echo is also a built-in in most shells,
yet there is also a /bin/echo. The original sh had no builtins at all, I
think, and different shells have different selections of built-ins.

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- The Doctor: No, 'eureka' is Greek for
\X/ rhialto/at/xs4all.nl-- 'this bath is too hot.'


pgpDrkMs3GCyV.pgp
Description: PGP signature


Re: base.tgz no longer contains './bin/[' (in HEAD and netbsd-7)

2014-10-24 Thread Jeff Rizzo

On 10/23/14 6:05 AM, Alan Barrett wrote:

On Sun, 19 Oct 2014, Alan Barrett wrote:

On Sat, 18 Oct 2014, Markus Kilbinger wrote:
While looking for old / outdated binaries in userland I noticed that 
'./bin/[' is no longer updated / part of base.tgz (or any other 
*.tgz file) in HEAD and netbsd-7, though it still seems to be listed 
in 'src/distrib/sets/lists/base/mi'.


I can confirm that this is a problem.  There appears to be confusion 
about whether or not file names should be subjected to vis/unvis 
encoding.


This should be fixed in src/distrib/sets/join.awk revision 1.4.  I will
request a pullup to netbsd-7.

--apb (Alan Barrett)


unfortunately, Revision 1.5 of the fix had to be backed out (current 
still has revision 1.4, but both were backed out of netbsd-7), because 
it caused sets to blow up during a build.  (all files got included in 
all sets)  I notified Alan separately, and hopefully the fix will soon 
be fixed!  :)


+j



Re: base.tgz no longer contains './bin/[' (in HEAD and netbsd-7)

2014-10-19 Thread Alan Barrett

On Sat, 18 Oct 2014, Markus Kilbinger wrote:

While looking for old / outdated binaries in userland I noticed that
'./bin/[' is no longer updated / part of base.tgz (or any other *.tgz
file) in HEAD and netbsd-7, though it still seems to be listed in
'src/distrib/sets/lists/base/mi'.


I can confirm that this is a problem.  There appears to be 
confusion about whether or not file names should be subjected to 
vis/unvis encoding.


./bin/[ appears in the set lists and METALOG, as 
expected, but the ${MTREE} -CS ... command in line 180 of 
src/distrib/sets/maketars changes it to ./bin/\133, and then the 
${PAX} -dOw ... command in line 199 fails to add the file to 
base.tgz, and it also doesn't print an error message about failure 
to add the file.


--apb (Alan Barrett)


base.tgz no longer contains './bin/[' (in HEAD and netbsd-7)

2014-10-18 Thread Markus Kilbinger
Hi!

While looking for old / outdated binaries in userland I noticed that
'./bin/[' is no longer updated / part of base.tgz (or any other *.tgz
file) in HEAD and netbsd-7, though it still seems to be listed in
'src/distrib/sets/lists/base/mi'.

Is this a known bug?

Otherwise I can send-pr ...

Regards,

Markus.