[MacPorts] #72409: mesa fails to build on tiger

MacPorts noreply at macports.org
Sat Apr 26 08:51:23 UTC 2025


#72409: mesa fails to build on tiger
-------------------------+----------------------
 Reporter:  glebm        |      Owner:  glebm
     Type:  defect       |     Status:  assigned
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:  mesa, tiger  |       Port:
-------------------------+----------------------
 Not sure where to keep track of Tiger issues these days as there isn't a
 fork yet, so posting it here for now.
 Looking into fixing it.

 {{{
 :info:build FAILED: src/util/libmesa_util.a.p/os_misc.c.o
 :info:build /opt/local/bin/gcc-mp-14 -Isrc/util/libmesa_util.a.p
 -Isrc/util -I../mesa-25.0.2/src/util -Iinclude -I../mesa-25.0.2/include
 -Isrc -I../mesa-25.0.2/src -Isrc/util/format
 -I../mesa-25.0.2/src/util/format -I/opt/local/include/LegacySupport
 -I/opt/local/include -I/Users/gleb/macports-ports/x11/mesa/files/include
 -fvisibility=hidden -fdiagnostics-color=always -Wall -Winvalid-pch
 -std=c11 -O2 -g -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
 -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="25.0.2"'
 '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"'
 -DHAVE_OPENGL=1 -DHAVE_OPENGL_ES_1=1 -DHAVE_OPENGL_ES_2=1 -DHAVE_SOFTPIPE
 -DHAVE_SWRAST -DBUILDING_MESA -DVK_ENABLE_BETA_EXTENSIONS
 -DVIDEO_CODEC_VC1DEC=0 -DVIDEO_CODEC_H264DEC=0 -DVIDEO_CODEC_H264ENC=0
 -DVIDEO_CODEC_H265DEC=0 -DVIDEO_CODEC_H265ENC=0 -DVIDEO_CODEC_AV1DEC=1
 -DVIDEO_CODEC_AV1ENC=1 -DVIDEO_CODEC_VP9DEC=1 -DHAVE_X11_PLATFORM
 -DHAVE_MACOS_PLATFORM -DHAVE_SURFACELESS_PLATFORM -DHAVE_XCB_PLATFORM
 -DUSE_LIBGLVND=0 -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING
 -DGLX_USE_APPLEGL -DGLAPI_EXPORT_PROTO_ENTRY_POINTS=0 -DALLOW_KCMP
 -DMESA_DEBUG=0 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32
 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL
 -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS
 -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT
 -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE
 -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST
 -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC
 -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED
 -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK
 -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED
 -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_NORETURN
 -DHAVE_FUNC_ATTRIBUTE_OPTIMIZE -DHAVE_FUNC_ATTRIBUTE_VISIBILITY
 -DHAVE_FMEMOPEN -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS
 -DHAS_SCHED_H -DHAVE_SYS_SYSCTL_H -DHAVE_XLOCALE_H -DHAVE_DLFCN_H
 -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_FLOCK -DHAVE_STRTOK_R
 -DHAVE_GNU_QSORT_R -DHAVE_STRUCT_TIMESPEC -DHAVE_POSIX_MEMALIGN
 -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_ZLIB -DHAVE_ZSTD
 -DHAVE_COMPRESSION -DHAVE_PTHREAD -DLLVM_AVAILABLE=0
 -DDRAW_LLVM_AVAILABLE=0 -DAMD_LLVM_AVAILABLE=0 -DGALLIVM_USE_ORCJIT=0
 -DUSE_LIBELF -DTHREAD_SANITIZER=0 -DHAVE_DRI -DHAVE_DRI2 -Werror=implicit-
 function-declaration -Werror=missing-prototypes -Werror=return-type
 -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-
 conversion -Wimplicit-fallthrough -Wmisleading-indentation -Wno-missing-
 field-initializers -Wno-format-truncation -Wno-nonnull-compare -fno-math-
 errno -fno-trapping-math -fno-common -Wno-unknown-pragmas -Wno-unused-
 function -Werror=format -Wformat-security -pipe -Os -arch ppc -Werror
 =pointer-arith -Werror=vla -MD -MQ src/util/libmesa_util.a.p/os_misc.c.o
 -MF src/util/libmesa_util.a.p/os_misc.c.o.d -o
 src/util/libmesa_util.a.p/os_misc.c.o -c ../mesa-25.0.2/src/util/os_misc.c
 :info:build ../mesa-25.0.2/src/util/os_misc.c: In function
 'os_get_available_system_memory':
 :info:build ../mesa-25.0.2/src/util/os_misc.c:396:24: error: implicit
 declaration of function 'mach_host_self'; did you mean '_mach_host_user_'?
 [-Wimplicit-function-declaration]
 :info:build   396 |    if (host_statistics(mach_host_self(), HOST_VM_INFO,
 :info:build       |                        ^~~~~~~~~~~~~~
 :info:build       |                        _mach_host_user_
 :info:build ninja: build stopped: subcommand failed.
 }}}

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


More information about the macports-tickets mailing list