[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: core-updates: flex is broken [was: GRUB fails to build]
From: |
Leo Famulari |
Subject: |
Re: core-updates: flex is broken [was: GRUB fails to build] |
Date: |
Sat, 4 Mar 2017 14:06:32 -0500 |
User-agent: |
Mutt/1.8.0 (2017-02-23) |
On Sat, Mar 04, 2017 at 01:42:34PM -0500, Leo Famulari wrote:
> On core-updates, GRUB fails to build like this:
> ./grub-core/script/yylex.l:34:0: error: "yyalloc" redefined [-Werror]
> #define yyalloc(size, scanner) (grub_malloc((size)))
> ^
> grub_script.yy.c:104:0: note: this is the location of the previous definition
>
> ^
> ./grub-core/script/yylex.l:35:0: error: "yyfree" redefined [-Werror]
> #define yyfree(ptr, scanner) (grub_free((ptr)))
> ^
> grub_script.yy.c:108:0: note: this is the location of the previous definition
>
> ^
> ./grub-core/script/yylex.l:36:0: error: "yyrealloc" redefined [-Werror]
> #define yyrealloc(ptr, size, scanner) (grub_realloc((ptr), (size)))
> ^
> grub_script.yy.c:106:0: note: this is the location of the previous definition
>
> ^
> cc1: all warnings being treated as errors
Discussion in the GRUB project; they've decided not to fix this in their
code and to instead wait for it to be fixed in flex:
http://lists.gnu.org/archive/html/grub-devel/2017-02/msg00133.html
flex discussion:
https://github.com/westes/flex/issues/162
So, the flex package on core-updates is not ready to be deployed,
unfortunately :(
We can wait for a flex update or try to port the bug fix.
Any volunteers?
signature.asc
Description: PGP signature