pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/56215: qemu-6.0.0nb1 fails to build on NetBSD 9



>Number:         56215
>Category:       pkg
>Synopsis:       emulators/qemu fails to build on NetBSD 9
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 27 19:50:00 +0000 2021
>Originator:     Andreas Gustafsson
>Release:        NetBSD 9.0
>Organization:
  
>Environment:
System: NetBSD
Architecture: x86_64
Machine: amd64
>Description:

Building the emulators/qemu package (qemu-6.0.0nb1)
on NetBSD/amd64 9.0 fails with:

  gcc -Ilibqemu-x86_64-softmmu.fa.p -I. -I.. -Itarget/i386 -I../target/i386 -I../capstone/include/capstone -Iqapi -Itrace -Iui -Iui/shader -I/usr/pkg/include/spice-1 -I/usr/pkg/include/spice-server -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/X11R7/include/pixman-1 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include -I/usr/pkg/include/gio-unix-2.0 -I/usr/include/krb5 -fdiagnostics-color=auto -pipe -Wall -Winvalid-pch -std=gnu99 -O2 -iquote . -iquote /ssd/pkgsrc/emulators/qemu/work/qemu-6.0.0 -iquote /ssd/pkgsrc/emulators/qemu/work/qemu-6.0.0/include -iquote /ssd/pkgsrc/emulators/qemu/work/qemu-6.0.0/disas/libvixl -iquote /ssd/pkgsrc/emulators/qemu/work/qemu-6.0.0/tcg/i386 -iquote /ssd/pkgsrc/emulators/qemu/work/qemu-6.0.0/accel/tcg -pthread -U_FORTIFY_SOURCE -m64 -mcx16 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fn
 o-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 -O2 -g -D_FORTIFY_SOURCE=2 -fPIC -DNEED_CPU_H '-DCONFIG_TARGET="x86_64-softmmu-config-target.h"' '-DCONFIG_DEVICES="x86_64-softmmu-config-devices.h"' -MD -MQ libqemu-x86_64-softmmu.fa.p/target_i386_nvmm_nvmm-all.c.o -MF libqemu-x86_64-softmmu.fa.p/target_i386_nvmm_nvmm-all.c.o.d -o libqemu-x86_64-softmmu.fa.p/target_i386_nvmm_nvmm-all.c.o -c ../target/i386/nvmm/nvmm-all.c
  ../target/i386/nvmm/nvmm-all.c: In function 'nvmm_vcpu_loop':
  ../target/i386/nvmm/nvmm-all.c:753:13: warning: implicit declaration of function 'nvmm_vcpu_stop'; did you mean 'nvmm_vcpu_loop'? [-Wimplicit-function-declaration]
               nvmm_vcpu_stop(vcpu);
               ^~~~~~~~~~~~~~
               nvmm_vcpu_loop
  ../target/i386/nvmm/nvmm-all.c:753:13: warning: nested extern declaration of 'nvmm_vcpu_stop' [-Wnested-externs]
  ../target/i386/nvmm/nvmm-all.c:770:14: error: 'NVMM_VCPU_EXIT_STOPPED' undeclared (first use in this function); did you mean 'NVMM_VCPU_EXIT_CPUID'?
           case NVMM_VCPU_EXIT_STOPPED:
                ^~~~~~~~~~~~~~~~~~~~~~
                NVMM_VCPU_EXIT_CPUID
  ../target/i386/nvmm/nvmm-all.c:770:14: note: each undeclared identifier is reported only once for each function it appears in

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index