Skip to contentSkip to conversation

bison: Upgrade to 3.5.1

PATCH In review Khem Raj 2 participants 3 messages Feb 5, 2020 – Feb 6, 2020

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 bison: Upgrade to 3.5.1

Minor upgrade on 3.5 release series

---
 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%)
meta/recipes-devtools/bison/bison_3.5.1.bb renamed from meta/recipes-devtools/bison/bison_3.5.bb +2 -2
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
@@ -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
 
Signature · 1 line
2.25.0
Acked-by on v1 1/1
#1 lore raw
Quoted 1 line · Khem Raj

Minor upgrade on 3.5 release series

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.

Quoted 33 lines
---
 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%)
meta/recipes-devtools/bison/bison_3.5.1.bb renamed from meta/recipes-devtools/bison/bison_3.5.bb +2 -2
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
@@ -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
 
Signature · 7 lines
2.25.0

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
author
#2 lore raw
Quoted 26 lines · Martin Jansa
Quoted 1 line · Khem Raj

Minor upgrade on 3.5 release series

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
Quoted 3 lines

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.

Quoted 33 lines
Quoted 33 lines
---
 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%)
meta/recipes-devtools/bison/bison_3.5.1.bb renamed from meta/recipes-devtools/bison/bison_3.5.bb +2 -3
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
@@ -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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core