Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Apr 2024 16:00:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 278667] emulators/qemu: build failure for version 9.0.0 on stable/13
Message-ID:  <bug-278667-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278667

            Bug ID: 278667
           Summary: emulators/qemu: build failure for version 9.0.0 on
                    stable/13
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bofh@freebsd.org
          Reporter: discipline@tiscali.it
             Flags: maintainer-feedback?(bofh@freebsd.org)
          Assignee: bofh@freebsd.org

Trying to update qemu I'm getting the following error:

[6736/6736] Building translation po/zh_CN/LC_MESSAGES/qemu-zh_CN.mo
/usr/ports/emulators/qemu/work-default/qemu-9.0.0/contrib/plugins/execlog.c=
:97:14:
warning: call to undeclared function 'qemu_plugin_read_register'; ISO C99 a=
nd
later do not support implicit function declarations
[-Wimplicit-function-declaration]
   97 |         sz =3D qemu_plugin_read_register(reg->handle, reg->new);
      |              ^
/usr/ports/emulators/qemu/work-default/qemu-9.0.0/contrib/plugins/execlog.c=
:297:37:
error: unknown type name 'qemu_plugin_reg_descriptor'
  297 | static Register *init_vcpu_register(qemu_plugin_reg_descriptor *des=
c)
      |                                     ^
/usr/ports/emulators/qemu/work-default/qemu-9.0.0/contrib/plugins/execlog.c=
:309:9:
warning: call to undeclared function 'qemu_plugin_read_register'; ISO C99 a=
nd
later do not support implicit function declarations
[-Wimplicit-function-declaration]
  309 |     r =3D qemu_plugin_read_register(reg->handle, reg->last);
      |         ^
/usr/ports/emulators/qemu/work-default/qemu-9.0.0/contrib/plugins/execlog.c=
:335:34:
warning: call to undeclared function 'qemu_plugin_get_registers'; ISO C99 a=
nd
later do not support implicit function declarations
[-Wimplicit-function-declaration]
  335 |     g_autoptr(GArray) reg_list =3D qemu_plugin_get_registers();
      |                                  ^
/usr/ports/emulators/qemu/work-default/qemu-9.0.0/contrib/plugins/execlog.c=
:335:23:
error: incompatible integer to pointer conversion initializing 'GArray_auto=
ptr'
(aka 'struct _GArray *') with an expression of type 'int' [-Wint-conversion]
  335 |     g_autoptr(GArray) reg_list =3D qemu_plugin_get_registers();
      |                       ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/ports/emulators/qemu/work-default/qemu-9.0.0/contrib/plugins/execlog.c=
:343:13:
error: use of undeclared identifier 'qemu_plugin_reg_descriptor'
  343 |             qemu_plugin_reg_descriptor *rd =3D &g_array_index(
      |             ^
/usr/ports/emulators/qemu/work-default/qemu-9.0.0/contrib/plugins/execlog.c=
:343:41:
error: use of undeclared identifier 'rd'
  343 |             qemu_plugin_reg_descriptor *rd =3D &g_array_index(
      |                                         ^
/usr/ports/emulators/qemu/work-default/qemu-9.0.0/contrib/plugins/execlog.c=
:343:47:
error: expected expression
  343 |             qemu_plugin_reg_descriptor *rd =3D &g_array_index(
      |                                               ^
/usr/local/include/glib-2.0/glib/garray.h:69:40: note: expanded from macro
'g_array_index'
   69 | #define g_array_index(a,t,i)      (((t*) (void *) (a)->data) [(i)])
      |                                        ^
/usr/ports/emulators/qemu/work-default/qemu-9.0.0/contrib/plugins/execlog.c=
:344:27:
error: use of undeclared identifier 'qemu_plugin_reg_descriptor'
  344 |                 reg_list, qemu_plugin_reg_descriptor, r);
      |                           ^
/usr/ports/emulators/qemu/work-default/qemu-9.0.0/contrib/plugins/execlog.c=
:343:47:
error: expected expression
  343 |             qemu_plugin_reg_descriptor *rd =3D &g_array_index(
      |                                               ^
/usr/local/include/glib-2.0/glib/garray.h:69:43: note: expanded from macro
'g_array_index'
   69 | #define g_array_index(a,t,i)      (((t*) (void *) (a)->data) [(i)])
      |                                           ^
/usr/ports/emulators/qemu/work-default/qemu-9.0.0/contrib/plugins/execlog.c=
:347:61:
error: use of undeclared identifier 'rd'
  347 |                 g_autofree gchar *rd_lower =3D g_utf8_strdown(rd->n=
ame,
-1);
      |                                                             ^
/usr/ports/emulators/qemu/work-default/qemu-9.0.0/contrib/plugins/execlog.c=
:348:54:
error: use of undeclared identifier 'rd'
  348 |                 if (g_pattern_spec_match_string(pat, rd->name) ||
      |                                                      ^
/usr/ports/emulators/qemu/work-default/qemu-9.0.0/contrib/plugins/execlog.c=
:350:56:
error: use of undeclared identifier 'rd'
  350 |                     Register *reg =3D init_vcpu_register(rd);
      |                                                        ^
3 warnings and 10 errors generated.
gmake[2]: *** [Makefile:49: execlog.o] Error 1
gmake[1]: *** [Makefile:187: contrib/plugins/all] Error 2
gmake[1]: Leaving directory
'/usr/ports/emulators/qemu/work-default/qemu-9.0.0/build'
gmake: *** [GNUmakefile:6: build] Error 2
*** Error code 2

Stop.
make[1]: stopped in /usr/ports/emulators/qemu
*** Error code 1

Stop.
make: stopped in /usr/ports/emulators/qemu

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278667-7788>