From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: core-updates: flex is broken [was: GRUB fails to build] Date: Mon, 06 Mar 2017 11:14:37 +0100 Message-ID: <87efyaww36.fsf@gnu.org> References: <20170304184234.GA14820@jasmine> <20170304190632.GA26731@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36089) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ckpfA-00086v-9X for guix-devel@gnu.org; Mon, 06 Mar 2017 05:14:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ckpf6-0002xW-AU for guix-devel@gnu.org; Mon, 06 Mar 2017 05:14:44 -0500 In-Reply-To: <20170304190632.GA26731@jasmine> (Leo Famulari's message of "Sat, 4 Mar 2017 14:06:32 -0500") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Leo Famulari Cc: guix-devel@gnu.org Leo Famulari 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 defin= ition >>=20 >> ^ >> ./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 defin= ition >>=20 >> ^ >> ./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 defin= ition >>=20 >> ^ >> 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=E2=80=99.