meta-virtualization/recipes-extended
Martin Jansa 7de3e4e51a libvmi: add dependency on flex-native and bison-native instead of byacc-native
* fails to build with byacc-native 20230219 from:
  https://git.openembedded.org/meta-openembedded/commit/?id=3462709d651f44f3d067b3ce0bcfba876be9ff1d

* https://invisible-island.net/byacc/CHANGES.html#index-t20230219 says:
  provide for a named union, e.g., "%union foo" by detecting the name and
  deferring the typedef in that case until the end of copying the union
  definition (report by Dag-Erling Smørgrav).

  which in this case leads to this diff (compared to byacc 20230201):

  --- 0.14.0+gitAUTOINC+41600b6028-r0-byacc_20230201/git/libvmi/config/grammar.c  2023-05-03 07:44:51.694234317 +0000
  +++ 0.14.0+gitAUTOINC+41600b6028-r0-byacc_20230219/git/libvmi/config/grammar.c  2023-05-03 07:37:14.177205785 +0000
  @@ -5,7 +5,7 @@
   #define YYBYACC 1
   #define YYMAJOR 2
   #define YYMINOR 0
  -#define YYPATCH 20230201
  +#define YYPATCH 20230219

   #define YYEMPTY        (-1)
   #define yyclearin      (yychar = YYEMPTY)
  @@ -273,7 +273,7 @@
   #ifndef YYSTYPE_IS_DECLARED
   #define YYSTYPE_IS_DECLARED 1
   #line 249 "libvmi/config/grammar.y"
  -typedef union YYSTYPE{
  +typedef union YYSTYPE�(�o&V{
       char *str;
   } YYSTYPE;
   #endif /* !YYSTYPE_IS_DECLARED */

* and the unicode chars after YYSTYPE lead to:
  http://errors.yoctoproject.org/Errors/Details/702745/

libvmi/config/grammar.y:249:22: error: stray '\370' in program
  249 | %union{
      |                      ^
libvmi/config/grammar.y:249:25: error: expected ')' before '+' token
  249 | %union{
      |                         ^
      |                         )
libvmi/config/grammar.y:249:26: error: stray '\3' in program
  249 | %union{
      |                          ^
make[1]: *** [Makefile:1997: libvmi/config/libconfig_la-grammar.lo] Error 1

* bison-native works fine, so use that for now

* I've reported this issue to byacc author over e-mail

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-05-08 18:41:38 -04:00
..
ceph ceph: fix build with gcc-13 2023-05-08 18:41:38 -04:00
cloud-init cloud-init: update to 23.1 2023-04-05 22:59:52 -04:00
dev86 treewide: bulk update patches with status field 2023-01-27 10:32:06 -05:00
diod treewide: bulk update patches with status field 2023-01-27 10:32:06 -05:00
fuse-overlayfs fuse-overlayfs: Update to v1.9 2022-07-15 17:13:35 -04:00
hyperstart treewide: bulk update patches with status field 2023-01-27 10:32:06 -05:00
images images/kvm: check for kvm distro feature 2023-03-17 12:30:15 -04:00
iptables global: overrides syntax conversion 2021-08-02 17:17:53 -04:00
ipxe treewide: bulk update patches with status field 2023-01-27 10:32:06 -05:00
irqbalance treewide: bulk update patches with status field 2023-01-27 10:32:06 -05:00
kvmtool treewide: bulk update patches with status field 2023-01-27 10:32:06 -05:00
libibverbs global: update licence values to SPDX values 2022-02-18 13:07:10 -05:00
libvirt libvirt: update to 9.2.0 2023-04-06 10:01:57 -04:00
libvmi libvmi: add dependency on flex-native and bison-native instead of byacc-native 2023-05-08 18:41:38 -04:00
nagios treewide: bulk update patches with status field 2023-01-27 10:32:06 -05:00
oath treewide: bulk update patches with status field 2023-01-27 10:32:06 -05:00
seabios treewide: bulk update patches with status field 2023-01-27 10:32:06 -05:00
upx treewide: bulk update patches with status field 2023-01-27 10:32:06 -05:00
uxen treewide: bulk update patches with status field 2023-01-27 10:32:06 -05:00
vgabios treewide: bulk update patches with status field 2023-01-27 10:32:06 -05:00
virt-viewer virt-viewer: add opengl to REQUIRED_DISTRO_FEATURES 2022-12-22 10:32:59 -05:00
virt-what virt-what: add new recipe 2022-04-07 17:48:39 -04:00
xen xen-tools: add a patch to address failures on 32 bit systems with 64 bit time_t 2023-04-12 13:10:11 -04:00
xvisor treewide: bulk update patches with status field 2023-01-27 10:32:06 -05:00