delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/11/03/12:17:26

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Juan Manuel Guerrero <st001906 AT hrz1 DOT hrz DOT tu-darmstadt DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Subject: [GNU Bison 1.875] testsuite: 5 8 12 13 20 24 25 27 33
41 45 46 47 69 73 75 76 89 93 99 100 101 102 103 failed
Date: Wed, 03 Nov 2004 18:12:03 +0100
Organization: Technische Universitaet Darmstadt
Lines: 54
Message-ID: <cmb3h3$9u2$1@lnx107.hrz.tu-darmstadt.de>
References: <1099444656 DOT 418831b0c0b87 AT webmail DOT wilkes DOT edu> <t1igo0ldlluvnfin6sjgpon4tlo6de38sv AT 4ax DOT com>
NNTP-Posting-Host: pool7-1.hrz.tu-darmstadt.de
Mime-Version: 1.0
X-Trace: lnx107.hrz.tu-darmstadt.de 1099501923 10178 130.83.200.65 (3 Nov 2004 17:12:03 GMT)
X-Complaints-To: news AT news DOT tu-darmstadt DOT de
NNTP-Posting-Date: Wed, 3 Nov 2004 17:12:03 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: de-de, en-us, en
In-Reply-To: <t1igo0ldlluvnfin6sjgpon4tlo6de38sv@4ax.com>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com


Brian Inglis wrote:
> On Tue,  2 Nov 2004 20:17:36 -0500 in comp.os.msdos.djgpp,
> fdonahoe AT wilkes DOT edu wrote:
> 
> 
>>Quoting Paul Eggert <eggert AT CS DOT UCLA DOT EDU>:
>>
>>
>>>....
>>>For this sort of thing I suggest using the latest Bison CVS, or if
>>>that's too much trouble, the latest Bison test snapshot.
>>>
>>>http://savannah.gnu.org/projects/bison
>>>ftp://alpha.gnu.org/gnu/bison/bison-1.875d.tar.gz
>>>
>>
>>Going to the Bison CVS without a native guide is too much a
>>challenge.  I have downloaded the bison tar ball and extracted
>>the files.  I was able to add the patches Juan Manuel Guerrero
>>found for the v 1.875 release.  However the configure script
>>failed after creating "config.status."
>>
>>cd . && C:/djg/bin/sh.exe ./config.status config.h
>>/config.status: line 731: syntax error near unexpected token `newline'
>>/config.status: line 731: `abs_builddir='../../.''
>>
>>This is very much like the error encountered with the linked
>>files in the gmp package but I have found no way around it.
>>
>>Importing and patching the Makefile from the v 1.875 release
>>did not solve the problem.  The makefile reads config.status
>>too and encountered the same syntax error.
> 
> 
> The "newline" token suggests your files/patchfiles may have DOS crlf
> line terminators instead of Unix newline terminators.
> Your un-zip/tar program may also have an option for line terminator
> conversion which can be fatal for files used by some utilities. 
> Try stripping the patch file using crlf, dtou, or your favourite
> editing program, then reapplying.
> If that still fails, then try unzipping the tarball ensuring no line
> terminator conversion. 
> 

The patch file distributed with bsn1875s.zip should *not* have DOS crlf.
For every src zip-file I release I take care to run dtou before zipping it.

I will download ftp://alpha.gnu.org/gnu/bison/bison-1.875d.tar.gz and 
see what happens.

Regards,
Juan

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019