qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* vm-build-haiku.x86_64 failures
@ 2022-06-11  0:16 John Snow
  2022-06-13  5:21 ` Thomas Huth
  0 siblings, 1 reply; 2+ messages in thread
From: John Snow @ 2022-06-11  0:16 UTC (permalink / raw)
  To: Alexander von Gluck IV
  Cc: qemu-devel, Alex Bennée, Philippe Mathieu-Daudé,
	Thomas Huth

Hi,

on today's upstream of b3cd3b5a66f0dddfe3d5ba2bef13cd4f5b89cde9, I am
seeing failures with the Haiku VM building test:

FAILED: libqemuutil.a.p/util_cutils.c.o
cc -m64 -mcx16 -Ilibqemuutil.a.p -I. -I../src -Iqapi -Itrace -Iui
-Iui/shader -I/packages/glib2-2.68.4-2/.self/develop/headers
-I/packages/zlib-1.2.11-4/.self/develop/headers
-I/packages/libffi-3.4.2-1/.self/develop/headers
-I/packages/glib2-2.68.4-2/.self/develop/headers/glib-2.0
-I/packages/glib2-2.68.4-2/.self/develop/lib/glib-2.0/include
-I/packages/libpcre-8.45-2/.self/develop/headers
-I/packages/glib2-2.68.4-2/.self/develop/headers/gio-unix-2.0
-I/packages/gnutls-3.7.4-1/.self/develop/headers
-I/packages/nettle-3.7.3-1/.self/develop/headers
-I/packages/libtasn1-4.18.0-1/.self/develop/headers
-I/packages/libidn2-2.0.5-2/.self/develop/headers
-I/packages/p11_kit-0.23.18.1-2/.self/develop/headers/p11-kit-1
-I/packages/pixman-0.38.4-1/.self/develop/headers/pixman-1
-fdiagnostics-color=auto -Wall -Winvalid-pch -std=gnu11 -O2 -g -iquote
. -iquote /boot/system/cache/tmp/qemu-test.ivmase/src -iquote
/boot/system/cache/tmp/qemu-test.ivmase/src/include -iquote
/boot/system/cache/tmp/qemu-test.ivmase/src/disas/libvixl -iquote
/boot/system/cache/tmp/qemu-test.ivmase/src/tcg/i386 -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=2 -DB_USE_POSITIVE_POSIX_ERRORS -D_BSD_SOURCE -fPIC
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-Wstrict-prototypes -Wredundant-decls -Wundef -Wwrite-strings
-Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv
-Wold-style-declaration -Wold-style-definition -Wtype-limits
-Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers
-Wempty-body -Wnested-externs -Wendif-labels -Wexpansion-to-defined
-Wimplicit-fallthrough=2 -Wno-missing-include-dirs
-Wno-shift-negative-value -Wno-psabi -fstack-protector-strong -MD -MQ
libqemuutil.a.p/util_cutils.c.o -MF libqemuutil.a.p/util_cutils.c.o.d
-o libqemuutil.a.p/util_cutils.c.o -c ../src/util/cutils.c
../src/util/cutils.c: In function 'qemu_init_exec_dir':
../src/util/cutils.c:1019:9: error: unknown type name 'image_info';
did you mean 'g_info'?
 1019 |         image_info ii;
      |         ^~~~~~~~~~
      |         g_info
../src/util/cutils.c:1023:16: warning: implicit declaration of
function 'get_next_image_info' [-Wimplicit-function-declaration]
 1023 |         while (get_next_image_info(0, &c, &ii) == B_OK) {
      |                ^~~~~~~~~~~~~~~~~~~
../src/util/cutils.c:1023:16: warning: nested extern declaration of
'get_next_image_info' [-Wnested-externs]
../src/util/cutils.c:1024:19: error: request for member 'type' in
something not a structure or union
 1024 |             if (ii.type == B_APP_IMAGE) {
      |                   ^
../src/util/cutils.c:1024:28: error: 'B_APP_IMAGE' undeclared (first
use in this function)
 1024 |             if (ii.type == B_APP_IMAGE) {
      |                            ^~~~~~~~~~~
../src/util/cutils.c:1024:28: note: each undeclared identifier is
reported only once for each function it appears in
../src/util/cutils.c:1025:32: error: request for member 'name' in
something not a structure or union
 1025 |                 strncpy(buf, ii.name, sizeof(buf));
      |                                ^
[596/6467] Compiling C object libqemuutil.a.p/util_aio-posix.c.o
[597/6467] Compiling C object libqemuutil.a.p/qobject_block-qdict.c.o
[598/6467] Compiling C object libqemuutil.a.p/util_osdep.c.o
[599/6467] Compiling C object libqemuutil.a.p/qobject_json-streamer.c.o
[600/6467] Compiling C object libqemuutil.a.p/qobject_json-lexer.c.o
[601/6467] Compiling C object libqemuutil.a.p/qobject_json-parser.c.o
[602/6467] Compiling C object libqemuutil.a.p/qobject_qobject.c.o
[603/6467] Compiling C object libqemuutil.a.p/qobject_json-writer.c.o
[604/6467] Compiling C object libqemuutil.a.p/qobject_qjson.c.o
[605/6467] Compiling C object libqemuutil.a.p/qobject_qbool.c.o
[606/6467] Compiling C object libqemuutil.a.p/qobject_qlit.c.o
[607/6467] Compiling C object libqemuutil.a.p/qobject_qstring.c.o
[608/6467] Compiling C object libqemuutil.a.p/qobject_qlist.c.o
[609/6467] Compiling C object libqemuutil.a.p/qobject_qnull.c.o
[610/6467] Compiling C object libqemuutil.a.p/qobject_qnum.c.o
[611/6467] Compiling C object libqemuutil.a.p/qapi_qmp-registry.c.o
[612/6467] Compiling C object libqemuutil.a.p/qobject_qdict.c.o
ninja: build stopped: subcommand failed.
Makefile:162: recipe for target 'run-ninja' failed
make: *** [run-ninja] Error 1
make: *** [/home/nago/src/qemu/tests/vm/Makefile.include:106:
vm-build-haiku.x86_64] Error 3

I can't seemingly get older versions of QEMU to build right now in
order to do a bisect, and I can't find a version of the QEMU tree
where this test actually works.

Alexander, do you have any information on this test right now?

--js



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: vm-build-haiku.x86_64 failures
  2022-06-11  0:16 vm-build-haiku.x86_64 failures John Snow
@ 2022-06-13  5:21 ` Thomas Huth
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Huth @ 2022-06-13  5:21 UTC (permalink / raw)
  To: John Snow, Alexander von Gluck IV, Marc-André Lureau
  Cc: qemu-devel, Alex Bennée, Philippe Mathieu-Daudé

On 11/06/2022 02.16, John Snow wrote:
> Hi,
> 
> on today's upstream of b3cd3b5a66f0dddfe3d5ba2bef13cd4f5b89cde9, I am
> seeing failures with the Haiku VM building test:
> 
> FAILED: libqemuutil.a.p/util_cutils.c.o
[...]
> ../src/util/cutils.c: In function 'qemu_init_exec_dir':
> ../src/util/cutils.c:1019:9: error: unknown type name 'image_info';
> did you mean 'g_info'?
>   1019 |         image_info ii;
>        |         ^~~~~~~~~~
>        |         g_info
> ../src/util/cutils.c:1023:16: warning: implicit declaration of
> function 'get_next_image_info' [-Wimplicit-function-declaration]
>   1023 |         while (get_next_image_info(0, &c, &ii) == B_OK) {
>        |                ^~~~~~~~~~~~~~~~~~~
> ../src/util/cutils.c:1023:16: warning: nested extern declaration of
> 'get_next_image_info' [-Wnested-externs]
> ../src/util/cutils.c:1024:19: error: request for member 'type' in
> something not a structure or union
>   1024 |             if (ii.type == B_APP_IMAGE) {
>        |                   ^
> ../src/util/cutils.c:1024:28: error: 'B_APP_IMAGE' undeclared (first
> use in this function)
>   1024 |             if (ii.type == B_APP_IMAGE) {
>        |                            ^~~~~~~~~~~
> ../src/util/cutils.c:1024:28: note: each undeclared identifier is
> reported only once for each function it appears in
> ../src/util/cutils.c:1025:32: error: request for member 'name' in
> something not a structure or union
>   1025 |                 strncpy(buf, ii.name, sizeof(buf));
>        |                                ^

I think this likely has been broken by commit 06680b15b4ee3184b57
("include: move qemu_*_exec_dir() to cutils") ... Marc-André, could you 
maybe have a look?

> I can't seemingly get older versions of QEMU to build right now in
> order to do a bisect, and I can't find a version of the QEMU tree
> where this test actually works.
> 
> Alexander, do you have any information on this test right now?

The Haiku test has been working fine two month ago after it has been 
updated. See commit 63021223ff2d3d ("Update haiku test vm to R1/Beta3").

  Thomas



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-13  5:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-11  0:16 vm-build-haiku.x86_64 failures John Snow
2022-06-13  5:21 ` Thomas Huth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).