Subject: Re: pkg/33236: Error in /pkgsrc/bootstrap
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Andreas Tannert <tannert@mis.mpg.de>
List: pkgsrc-bugs
Date: 04/11/2006 12:55:02
The following reply was made to PR pkg/33236; it has been noted by GNATS.
From: Andreas Tannert <tannert@mis.mpg.de>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/33236: Error in /pkgsrc/bootstrap
Date: Tue, 11 Apr 2006 13:43:59 +0200 (MEST)
Dear Mr.Reed,
hmm, you are of course right, this is not a normal bug.
I am working with a tcsh. Perhaps this is a problem.
It think the bootstrap source should be able to run on every supported System.
The error occurs only in the latest versions. Perhaps it is possible to replace
the ^ with something else.
Best regards
Andreas Tannert
>From: "Jeremy C. Reed" <reed@reedmedia.net>
>To: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,
tannert@mis.mpg.de
>Subject: Re: pkg/33236: Error in /pkgsrc/bootstrap
>X-Gnats-Was-Stupid: no
>Cc:
>Date: Tue, 11 Apr 2006 11:35:02 +0000 (UTC)
>X-MIS-Check-Sender: OK, 421 mail.netbsd.org Error: timeout exceeded(cached,
81604)
>X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on twww.mis.mpg.de
>X-Spam-Level: ***
>X-Spam-Status: No, hits=3.0 required=5.0 tests=MSGID_FROM_MTA_SHORT
autolearn=no version=2.63
>
>The following reply was made to PR pkg/33236; it has been noted by GNATS.
>
>From: "Jeremy C. Reed" <reed@reedmedia.net>
>To: gnats-bugs@netbsd.org
>Cc:
>Subject: Re: pkg/33236: Error in /pkgsrc/bootstrap
>Date: Tue, 11 Apr 2006 04:33:16 -0700 (PDT)
>
> On Tue, 11 Apr 2006 tannert@mis.mpg.de wrote:
>
> > SunOS 5.9 Generic_118558-21 sun4u sparc SUNW,Sun-Fire-880
>
> I don't think this hits you.
>
> > >How-To-Repeat:
> > start bootstrap
> > >Fix:
> > Change [^0-9] to [0-9] on line 320
>
> I am not sure it is a bug. (Is this causing it to fail on your Solaris
> system?)
>
> But I do see that different implementations of shells honor that ^
> differently.
>
> NetBSD's sh(1) and ksh(1) ignore the ^ (carat).
>
> Bash makes it mean "not" (like regex) and is documented. And it does what
> is expected on DragonFly's sh(1) too -- except not documented.
>
> Jeremy C. Reed
>