From: ludo@gnu.org (Ludovic Courtès)
To: Leo Famulari <leo@famulari.name>
Cc: guix-devel@gnu.org
Subject: Re: core-updates: flex is broken [was: GRUB fails to build]
Date: Mon, 06 Mar 2017 11:14:37 +0100 [thread overview]
Message-ID: <87efyaww36.fsf@gnu.org> (raw)
In-Reply-To: <20170304190632.GA26731@jasmine> (Leo Famulari's message of "Sat, 4 Mar 2017 14:06:32 -0500")
Leo Famulari <leo@famulari.name> 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’.
next prev parent reply other threads:[~2017-03-06 10:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-04 18:42 core-updates: GRUB fails to build Leo Famulari
2017-03-04 19:06 ` core-updates: flex is broken [was: GRUB fails to build] Leo Famulari
2017-03-06 10:14 ` Ludovic Courtès [this message]
2017-03-08 5:17 ` Leo Famulari
2017-03-08 8:42 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87efyaww36.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=leo@famulari.name \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.