GNU bug report logs - #10324
[Platform-testers] Automake 1.11.1b test release

Previous Next

Package: automake;

Reported by: Bruno Haible <bruno <at> clisp.org>

Date: Mon, 19 Dec 2011 02:15:01 UTC

Severity: normal

Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #38 received at 10324 <at> debbugs.gnu.org (full text, mbox):

From: Peter Rosin <peda <at> lysator.liu.se>
To: Stefano Lattarini <stefano.lattarini <at> gmail.com>
Cc: Bruno Haible <bruno <at> clisp.org>, 10324 <at> debbugs.gnu.org
Subject: Re: bug#10324: [Platform-testers] Automake 1.11.1b test release
Date: Tue, 20 Dec 2011 21:15:19 +0100
Stefano Lattarini skrev 2011-12-19 20:33:
> Hi Bruno, thanks for the testing and the report.
> 
> Note that I will snip from my reply those parts of your message Peter has
> already answered to.
> 
> On 12/19/2011 03:11 AM, Bruno Haible wrote:
>> * msvc9
>>
>> FAIL: silent-lex-generic.test
>>
>> This is due to the use of<unistd.h>  in the flex-generated<unistd.h>.
>> When gnulib is in use, it is ok to use<unistd.h>  on MSVC platforms, but
>> without gnulib, it doesn't work.
>>
> I'm inclined to ignore this as a MSVC and/or flex limitation.  But I might change
> my mind if someone provides a simple patch to avoid the spurious failure ;-) ...

How about this for maint? Caution, I'm pretty much ignorant of lex details...

Cheers,
Peter

2011-12-20  Peter Rosin  <peda <at> lysator.liu.se>

	tests: fix spurious failure on systems lacking unistd.h
	* tests/silent-lex-generic.test (foo.l): Don't require unistd.h
	to be present.

diff --git a/tests/silent-lex-generic.test b/tests/silent-lex-generic.test
index 2b2183e..a1c19ea 100755
--- a/tests/silent-lex-generic.test
+++ b/tests/silent-lex-generic.test
@@ -53,6 +53,10 @@ LDADD = $(LEXLIB)
 EOF
 
 cat > foo.l <<'EOF'
+%{
+/* avoid non-ANSI #include of unistd.h */
+#define YY_NO_UNISTD_H
+%}
 %%
 "END"   return EOF;
 .




This bug report was last modified 13 years and 131 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.