[MacPorts] #72078: mesa fails to build on Leopard
MacPorts
noreply at macports.org
Mon Feb 17 21:27:55 UTC 2025
#72078: mesa fails to build on Leopard
----------------------+--------------------
Reporter: rmottola | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: leopard | Port: mesa
----------------------+--------------------
with clang-11 on 64bit 10.5
{{{
../mesa-24.3.4/src/util/os_misc.c:401:4: error: unknown type name
'vm_statistics64_data_t'; did you mean 'vm_statistics_data_t'?
vm_statistics64_data_t vm_stats;
^~~~~~~~~~~~~~~~~~~~~~
vm_statistics_data_t
/usr/include/mach/vm_statistics.h:100:30: note: 'vm_statistics_data_t'
declared here
typedef struct vm_statistics vm_statistics_data_t;
^
../mesa-24.3.4/src/util/os_misc.c:402:35: error: use of undeclared
identifier 'HOST_VM_INFO64_COUNT'
mach_msg_type_number_t count = HOST_VM_INFO64_COUNT;
^
../mesa-24.3.4/src/util/os_misc.c:403:8: error: implicit declaration of
function 'host_statistics64' is invalid in C99 [-Werror,-Wimplicit-
function-declaration]
if (host_statistics64(mach_host_self(), HOST_VM_INFO,
^
../mesa-24.3.4/src/util/os_misc.c:403:8: note: did you mean
'host_statistics'?
/usr/include/mach/mach_host.h:267:15: note: 'host_statistics' declared
here
kern_return_t host_statistics
^
../mesa-24.3.4/src/util/os_misc.c:404:11: error: use of undeclared
identifier 'host_info64_t'
(host_info64_t)&vm_stats, &count) != KERN_SUCCESS) {
^
4 errors generated.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/72078>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list