Subject: bin/9363: Latest "/bin/sh" break "patch" target in "pkgsrc/"
To: None <>
From: Matthias Scheler <>
List: netbsd-bugs
Date: 02/07/2000 04:54:54
>Number:         9363
>Category:       bin
>Synopsis:       Latest "/bin/sh" break "patch" target in "pkgsrc/"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb  7 04:54:01 2000
>Originator:     Matthias Scheler
Matthias Scheler                  
>Release:        2000/02/07
System: NetBSD 1.4R NetBSD 1.4R (LYSSA) #0: Sat Feb 5 16:50:49 CET 2000 i386

The latest modifications to the expression evaluation code in "/bin/sh"
break the "patch" target in "pkgsrc/".

1.) Go to "pkgsrc/net/ttcp".
2.) Replace time.h" in line 7 of "patches/patch-ab" with "foobar.h"
3.) Type "make makepatchsum" and "make":

Sorry, I don't now
>> Checksum OK for ttcp.tar.Z.
===>  Extracting for ttcp-1.12
===>  Patching for ttcp-1.12
===>  Applying NetBSD patches for ttcp-1.12
1 out of 8 hunks failed--saving rejects to ttcp.c.rej
Patch /src/NetBSD-current/pkgsrc/net/ttcp/patches/patch-ab failed
===>  Building for ttcp-1.12
cc -O2  -Werror   -c ttcp.c
cc  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib  -o ttcp ttcp.o 
nroff -Tascii -mandoc ttcp.1 > ttcp.cat1

Although "patch" failed the build doesn't get aborted. With a "/bin/sh"
based on 2000/01/25 sources it gets aborted.