[OE-core] [PATCH] bison: Upgrade to 3.5.1

Khem Raj raj.khem at gmail.com
Thu Feb 6 16:53:48 UTC 2020


On Thu, Feb 6, 2020 at 1:37 AM Martin Jansa <martin.jansa at gmail.com> wrote:
>
> On Tue, Feb 04, 2020 at 05:08:19PM -0800, Khem Raj wrote:
> > Minor upgrade on 3.5 release series
>
> Acked-by: Martin Jansa <Martin.Jansa at gmail.com>
>
> Minor upgrade with added benefits that bison-native doesn't fail to
> build for me when using yoe-distro. Strangely I haven't seen this error
> in any other build yet.
>
> 86_64-linux/bison-native/3.5-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o lib/libbison_a-pipe2.o `test -f 'lib/pipe2.c' || echo '../bison-3.5/'`lib/pipe2.c
> In file included from ../bison-3.5/lib/pipe2.c:25:
> ../bison-3.5/lib/binary-io.h: In function '__gl_setmode':
> ../bison-3.5/lib/binary-io.h:52:10: error: 'O_BINARY' undeclared (first use in this function)
>    52 |   return O_BINARY;
>       |          ^~~~~~~~
> ../bison-3.5/lib/binary-io.h:52:10: note: each undeclared identifier is reported only once for each function it appears in
> ../bison-3.5/lib/pipe2.c: In function 'rpl_pipe2':
> ../bison-3.5/lib/pipe2.c:70:43: error: 'O_BINARY' undeclared (first use in this function); did you mean 'SET_BINARY'?
>    70 |   if ((flags & ~(O_CLOEXEC | O_NONBLOCK | O_BINARY | O_TEXT)) != 0)
>       |                                           ^~~~~~~~
>       |                                           SET_BINARY
> ../bison-3.5/lib/pipe2.c:70:54: error: 'O_TEXT' undeclared (first use in this function); did you mean 'F_TEST'?
>    70 |   if ((flags & ~(O_CLOEXEC | O_NONBLOCK | O_BINARY | O_TEXT)) != 0)
>       |                                                      ^~~~~~
>       |                                                      F_TEST
> make: *** [Makefile:4827: lib/libbison_a-pipe2.o] Error 1
> WARNING: exit code 1 from a shell command.
>

I have seen this error too,  I think BUILT_SOURCES keyword is not being
handled rightly, I don't see this error when I don't use make -l
option, Perhaps its a bug in make, I don't know.

> >
> > Signed-off-by: Khem Raj <raj.khem at gmail.com>
> > ---
> >  meta/recipes-devtools/bison/{bison_3.5.bb => bison_3.5.1.bb} | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >  rename meta/recipes-devtools/bison/{bison_3.5.bb => bison_3.5.1.bb} (90%)
> >
> > diff --git a/meta/recipes-devtools/bison/bison_3.5.bb b/meta/recipes-devtools/bison/bison_3.5.1.bb
> > similarity index 90%
> > rename from meta/recipes-devtools/bison/bison_3.5.bb
> > rename to meta/recipes-devtools/bison/bison_3.5.1.bb
> > index 3d8f6579b9..e70252d974 100644
> > --- a/meta/recipes-devtools/bison/bison_3.5.bb
> > +++ b/meta/recipes-devtools/bison/bison_3.5.1.bb
> > @@ -17,8 +17,8 @@ SRC_URI = "${GNU_MIRROR}/bison/bison-${PV}.tar.xz \
> >  # No point in hardcoding path to m4, just use PATH
> >  EXTRA_OECONF += "M4=m4"
> >
> > -SRC_URI[md5sum] = "c0230be066069f33c8445766833f3205"
> > -SRC_URI[sha256sum] = "55e4a023b1b4ad19095a5f8279f0dc048fa29f970759cea83224a6d5e7a3a641"
> > +SRC_URI[md5sum] = "6fc5fa4488832a65db934b9e93bd5d4c"
> > +SRC_URI[sha256sum] = "3e7e097bd9709a2d5e40e69446b74b149733b3de864fadb7a9b54eca7b2a4dd0"
> >
> >  inherit autotools gettext texinfo
> >
> > --
> > 2.25.0
> >
> > --
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core at lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-core


More information about the Openembedded-core mailing list