guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: core-updates: flex is broken [was: GRUB fails to build]


From: Ludovic Courtès
Subject: Re: core-updates: flex is broken [was: GRUB fails to build]
Date: Mon, 06 Mar 2017 11:14:37 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Leo Famulari <address@hidden> skribis:

> 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 idea how many packages aside from GRUB are affected?  Would it work
to simply provide the old Flex in addition to the new one, and have GRUB
use it?

Thanks,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]