[MacPorts] #71857: qemu @ 9.2.0_0 +cocoa+curses+spice+spice_protocol+ssh+target_arm+target_i386+target_x86_64+usb+vnc Build Failure

MacPorts noreply at macports.org
Fri Jan 17 03:03:13 UTC 2025


#71857: qemu @ 9.2.0_0
+cocoa+curses+spice+spice_protocol+ssh+target_arm+target_i386+target_x86_64+usb+vnc
Build Failure
---------------------------+--------------------
 Reporter:  lafpark        |      Owner:  (none)
     Type:  defect         |     Status:  new
 Priority:  Normal         |  Milestone:
Component:  ports          |    Version:  2.10.5
 Keywords:  Monterey qemu  |       Port:  qemu
---------------------------+--------------------
 OSX 12.6
 XCode: Version 14.2 (14C18)
 Apple M1 Pro

 qemu fails to build, referencing unknown functions:
 {{{
 :info:build ../qemu-9.2.0/target/arm/hvf/hvf.c:925:23: error: call to
 undeclared function 'hv_vm_config_get_default_ipa_size'; ISO C99 and later
 do not support implicit function declarations [-Wimplicit-function-
 declaration]
 :info:build   925 |     hv_return_t ret =
 hv_vm_config_get_default_ipa_size(&default_ipa_size);
 :info:build       |                       ^
 :info:build ../qemu-9.2.0/target/arm/hvf/hvf.c:934:23: error: call to
 undeclared function 'hv_vm_config_get_max_ipa_size'; ISO C99 and later do
 not support implicit function declarations [-Wimplicit-function-
 declaration]
 :info:build   934 |     hv_return_t ret =
 hv_vm_config_get_max_ipa_size(&max_ipa_size);
 :info:build       |                       ^
 :info:build ../qemu-9.2.0/target/arm/hvf/hvf.c:974:29: error: call to
 undeclared function 'hv_vm_config_create'; ISO C99 and later do not
 support implicit function declarations [-Wimplicit-function-declaration]
 :info:build   974 |     hv_vm_config_t config = hv_vm_config_create();
 :info:build       |                             ^
 :info:build ../qemu-9.2.0/target/arm/hvf/hvf.c:974:29: note: did you mean
 'hv_vcpu_config_create'?
 :info:build
 /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Hypervisor.framework/Headers/hv_vcpu_config.h:28:1:
 note: 'hv_vcpu_config_create' declared here
 :info:build    28 | hv_vcpu_config_create(void);
 :info:build       | ^
 :info:build ../qemu-9.2.0/target/arm/hvf/hvf.c:974:20: error: incompatible
 integer to pointer conversion initializing 'hv_vm_config_t' (aka 'struct
 hv_vm_config_s *') with an expression of type 'int' [-Wint-conversion]
 :info:build   974 |     hv_vm_config_t config = hv_vm_config_create();
 :info:build       |                    ^        ~~~~~~~~~~~~~~~~~~~~~
 :info:build ../qemu-9.2.0/target/arm/hvf/hvf.c:976:11: error: call to
 undeclared function 'hv_vm_config_set_ipa_size'; ISO C99 and later do not
 support implicit function declarations [-Wimplicit-function-declaration]
 :info:build   976 |     ret = hv_vm_config_set_ipa_size(config, pa_range);
 :info:build       |           ^
 :info:build 5 errors generated.
 }}}

 The previous version was successfully built and installed.
 qemu
 @9.1.1_0+cocoa+curses+spice+spice_protocol+ssh+target_arm+target_i386+target_x86_64+usb+vnc

-- 
Ticket URL: <https://trac.macports.org/ticket/71857>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list