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

Martin Jansa martin.jansa at gmail.com
Thu Feb 6 09:37:23 UTC 2020


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.

> 
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20200206/81b41d98/attachment-0001.sig>


More information about the Openembedded-core mailing list