bug-bison
[Top][All Lists]
Advanced

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

Re: libreoffice-7.2.0.4 and bison-3.8.1


From: Ken Moffat
Subject: Re: libreoffice-7.2.0.4 and bison-3.8.1
Date: Sat, 25 Sep 2021 03:20:31 +0100
User-agent: Mutt/2.1.3 (2021-09-10)

On Fri, Sep 24, 2021 at 11:01:11PM +0100, Ken Moffat wrote:
> Hi, I very much doubt this is actually a bison bug, but my guess is
> that a change between 3.7.6 and 3.8.1 has triggered it and I don't
> know where to look for pointers to what is wrong.
> 
> This is current LFS
> https://www.linuxfromscratch.org/lfs/view/development/
> and BLFS as at 16th September
> https://www.linuxfromscratch.org/blfs/view/svn/
> 
> The errors start at
> /scratch/working/libreoffice-7.2.0.4/workdir/YaccTarget/connectivity/source/parse/sqlbison.cxx:
>  In function 'YYRESULTTAG yyuserAction(yyRuleNum, int, yyGLRStackItem*, 
> yyGLRStack*, long int, YYSTYPE*)':
> /scratch/working/libreoffice-7.2.0.4/workdir/YaccTarget/connectivity/source/parse/sqlbison.cxx:138:77:
>  error: 'yyn' was not declared in this scope; did you mean 'yyk'?
>   138 | #define SQL_NEW_RULE                    newNode("", 
> SQLNodeType::Rule, yyr1[yyn])
>       |                                                                       
>       ^~~
> /scratch/working/libreoffice-7.2.0.4/workdir/YaccTarget/connectivity/source/parse/sqlbison.cxx:5484:42:
>  note: in expansion of macro 'SQL_NEW_RULE'
>  5484 |                 ((*yyvalp).pParseNode) = SQL_NEW_RULE;
>       |                                          ^~~~~~~~~~~~
> 
> and of course there is much more of the same.  Searching hasn't
> found any similar error messages people have encountered.
> 
> ĸen
Never mind, I've been pointed to a patch at gentoo from fedora.
https://gitweb.gentoo.org/repo/gentoo.git/plain/app-office/libreoffice/files/libreoffice-7.1.5.2-bison-3.8.patch

Strangely, my searches suggested that fedora was still on 3.7.6 and
gentoo was on LO-7.1.

-- 
  I drew a gun. He drew a gun. I drew another gun. Soon we were
  surrounded by lovely drawings of guns.               -- Chic Murray



reply via email to

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