GNU bug report logs -
#12836
automake-1.12 make check: FAIL:2
Previous Next
Reported by: Tru Huynh <tru <at> pasteur.fr>
Date: Thu, 8 Nov 2012 16:57:02 UTC
Severity: minor
Tags: notabug
Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On 11/22/2012 10:39 AM, Stefano Lattarini wrote:
>
>
>> FAIL: t/lex-header
>> lex-header: running flex --version
>> flex version 2.5.4
>>
> OK, this version of flex is ~ 15 years old, and ...
>
>> /bin/bash ./ylwrap `test -f 'lexer.l' || echo './'`lexer.l \
>> lex.yy.c foo-lexer.c -- flex --header-file=mylex.h
>> flex: unknown flag '-'. For usage, try
>> flex --help
>> *** Error code 1
>> make: Fatal error: Command failed for target `foo-lexer.c'
>>
> ... doesn't support the '--header-file' option. This issue has been
> reported once already (in automake bug#12836, which I am CC:ing).
> The patch should take care of the issue.
>
> -*-*-*-
>
> Subject: [PATCH] tests: fix a spurious failure with older flex versions
>
> See automake bug#11524 and bug#12836.
>
> * t/lex-header.sh: Here, we use flex option '--header-file',
> but that option is not supported by some older flex versions.
> Simply skip this test if such an old flex version is detected.
>
I've now pushed this patch (to maint).
Regards,
Stefano
This bug report was last modified 12 years and 264 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.