[MacPorts] #65934: mesa @22.1.7 +tests requires added link library to libunwind on PPC Leopard, Mac OS X 10.5.8
MacPorts
noreply at macports.org
Sat Oct 15 18:54:51 UTC 2022
#65934: mesa @22.1.7 +tests requires added link library to libunwind on PPC
Leopard, Mac OS X 10.5.8
------------------------+-------------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords: leopard ppc
Port: mesa |
------------------------+-------------------------
Comment (by ballapete):
I added the `CFLAG -H` to the `GCC7 compiler flags` – and the result is
this:
{{{
[81/1176] /opt/local/bin/gcc-mp-7 -Isrc/util/libmesa_util.a.p -Isrc/util
-I../mesa-22.1.7/src/util -Iinclude -I../mesa-22.1.7/include -Isrc
-I../mesa-22.1.7/src -Isrc/mapi -I../mesa-22.1.7/src/mapi -Isrc/mesa
-I../mesa-22.1.7/src/mesa -I../mesa-22.1.7/src/gallium/include
-Isrc/gallium/auxiliary -I../mesa-22.1.7/src/gallium/auxiliary
-I/opt/local/include/LegacySupport -I/opt/local/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="22.1.7"'
'-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"'
-DHAVE_SWRAST -DBUILDING_MESA -DHAVE_X11_PLATFORM -DHAVE_XCB_PLATFORM
-DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0
-DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL
-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_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_VISIBILITY -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_TIMESPEC_GET
-DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_QSORT_R -DHAVE_POSIX_MEMALIGN
-DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_ZLIB -DHAVE_ZSTD
-DHAVE_COMPRESSION -DHAVE_PTHREAD -DMESA_EXECMEM -DHAVE_LIBUNWIND
-DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_XLIB_KHR
-DVK_USE_PLATFORM_MACOS_MVK -DVK_USE_PLATFORM_METAL_EXT
-DVK_ENABLE_BETA_EXTENSIONS -Werror=implicit-function-declaration -Werror
=missing-prototypes -Werror=return-type -Werror=empty-body -Werror
=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough
-Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno
-fno-trapping-math -fno-common -Werror=format -Wformat-security -pipe -Os
-H -arch ppc -Werror=pointer-arith -MD -MQ
src/util/libmesa_util.a.p/u_debug_memory.c.o -MF
src/util/libmesa_util.a.p/u_debug_memory.c.o.d -o
src/util/libmesa_util.a.p/u_debug_memory.c.o -c
../mesa-22.1.7/src/util/u_debug_memory.c
FAILED: src/util/libmesa_util.a.p/u_debug_memory.c.o
/opt/local/bin/gcc-mp-7 -Isrc/util/libmesa_util.a.p -Isrc/util
-I../mesa-22.1.7/src/util -Iinclude -I../mesa-22.1.7/include -Isrc
-I../mesa-22.1.7/src -Isrc/mapi -I../mesa-22.1.7/src/mapi -Isrc/mesa
-I../mesa-22.1.7/src/mesa -I../mesa-22.1.7/src/gallium/include
-Isrc/gallium/auxiliary -I../mesa-22.1.7/src/gallium/auxiliary
-I/opt/local/include/LegacySupport -I/opt/local/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="22.1.7"'
'-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"'
-DHAVE_SWRAST -DBUILDING_MESA -DHAVE_X11_PLATFORM -DHAVE_XCB_PLATFORM
-DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0
-DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL
-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_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_VISIBILITY -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_TIMESPEC_GET
-DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_QSORT_R -DHAVE_POSIX_MEMALIGN
-DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_ZLIB -DHAVE_ZSTD
-DHAVE_COMPRESSION -DHAVE_PTHREAD -DMESA_EXECMEM -DHAVE_LIBUNWIND
-DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_XLIB_KHR
-DVK_USE_PLATFORM_MACOS_MVK -DVK_USE_PLATFORM_METAL_EXT
-DVK_ENABLE_BETA_EXTENSIONS -Werror=implicit-function-declaration -Werror
=missing-prototypes -Werror=return-type -Werror=empty-body -Werror
=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough
-Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno
-fno-trapping-math -fno-common -Werror=format -Wformat-security -pipe -Os
-H -arch ppc -Werror=pointer-arith -MD -MQ
src/util/libmesa_util.a.p/u_debug_memory.c.o -MF
src/util/libmesa_util.a.p/u_debug_memory.c.o.d -o
src/util/libmesa_util.a.p/u_debug_memory.c.o -c
../mesa-22.1.7/src/util/u_debug_memory.c
. ../mesa-22.1.7/src/gallium/include/pipe/p_config.h
.. /opt/local/lib/gcc7/gcc/ppc-apple-darwin9/7.5.0/include-fixed/limits.h
... /opt/local/lib/gcc7/gcc/ppc-apple-darwin9/7.5.0/include-
fixed/syslimits.h
.... /opt/local/lib/gcc7/gcc/ppc-apple-darwin9/7.5.0/include-
fixed/limits.h
..... /usr/include/limits.h
...... /usr/include/sys/cdefs.h
...... /usr/include/machine/limits.h
....... /usr/include/ppc/limits.h
........ /usr/include/ppc/_limits.h
...... /usr/include/sys/syslimits.h
.. ../mesa-22.1.7/src/util/u_endian.h
... /usr/include/machine/endian.h
.... /usr/include/ppc/endian.h
..... /usr/include/sys/_endian.h
.. ../mesa-22.1.7/src/util/detect_os.h
. ../mesa-22.1.7/src/gallium/auxiliary/os/os_thread.h
.. ../mesa-22.1.7/src/gallium/include/pipe/p_compiler.h
... ../mesa-22.1.7/include/c99_compat.h
.... ../mesa-22.1.7/include/no_extern_c.h
... ../mesa-22.1.7/src/gallium/include/pipe/p_config.h
... ../mesa-22.1.7/src/util/macros.h
.... /opt/local/include/LegacySupport/stdio.h
..... /opt/local/include/LegacySupport/MacportsLegacySupport.h
..... /usr/include/stdio.h
...... /usr/include/_types.h
....... /usr/include/sys/_types.h
........ /usr/include/machine/_types.h
......... /usr/include/ppc/_types.h
.... /usr/include/assert.h
.... ../mesa-22.1.7/include/c99_compat.h
..... ../mesa-22.1.7/include/no_extern_c.h
.... ../mesa-22.1.7/include/c11_compat.h
..... ../mesa-22.1.7/include/no_extern_c.h
.... /opt/local/lib/gcc7/gcc/ppc-apple-darwin9/7.5.0/include/stdint.h
..... /opt/local/lib/gcc7/gcc/ppc-apple-darwin9/7.5.0/include-
fixed/stdint.h
... /opt/local/include/LegacySupport/stdlib.h
.... /usr/include/stdlib.h
..... /usr/include/available.h
..... /usr/include/sys/wait.h
...... /usr/include/sys/signal.h
....... /usr/include/sys/appleapiopts.h
....... /usr/include/machine/signal.h
........ /usr/include/ppc/signal.h
......... /usr/include/ppc/_structs.h
....... /usr/include/sys/_structs.h
........ /usr/include/machine/_structs.h
......... /usr/include/ppc/_structs.h
.......... /usr/include/mach/ppc/_structs.h
...... /usr/include/sys/resource.h
....... /usr/include/sys/_structs.h
..... /usr/include/alloca.h
..... /usr/include/machine/types.h
...... /usr/include/ppc/types.h
... /opt/local/include/LegacySupport/string.h
.... /usr/include/string.h
... /opt/local/lib/gcc7/gcc/ppc-apple-darwin9/7.5.0/include/stddef.h
... /opt/local/lib/gcc7/gcc/ppc-apple-darwin9/7.5.0/include/stdarg.h
... /opt/local/lib/gcc7/gcc/ppc-apple-darwin9/7.5.0/include-fixed/limits.h
... /opt/local/lib/gcc7/gcc/ppc-apple-darwin9/7.5.0/include/stdbool.h
.. ../mesa-22.1.7/src/util/u_debug.h
... /usr/include/sys/types.h
.... /usr/include/sys/_structs.h
... /opt/local/include/LegacySupport/unistd.h
.... /usr/include/unistd.h
..... /opt/local/include/LegacySupport/sys/unistd.h
...... /opt/local/include/LegacySupport/MacportsLegacySupport.h
...... /usr/include/sys/unistd.h
..... /usr/include/sys/select.h
...... /usr/include/sys/_structs.h
...... /usr/include/sys/_select.h
... ../mesa-22.1.7/src/util/os_misc.h
.... ../mesa-22.1.7/src/util/detect_os.h
.... /usr/include/signal.h
.. ../mesa-22.1.7/src/util/u_thread.h
... /usr/include/errno.h
.... /usr/include/sys/errno.h
... ../mesa-22.1.7/include/c11/threads.h
.... /opt/local/include/LegacySupport/time.h
..... /usr/include/time.h
...... /usr/include/_structs.h
....... /usr/include/sys/_structs.h
.... ../mesa-22.1.7/include/c99_compat.h
..... ../mesa-22.1.7/include/no_extern_c.h
.... ../mesa-22.1.7/include/c11/threads_posix.h
..... /opt/local/lib/gcc7/gcc/ppc-apple-darwin9/7.5.0/include-
fixed/limits.h
..... /usr/include/errno.h
..... /usr/include/sched.h
...... /opt/local/include/LegacySupport/pthread_impl.h
....... /usr/include/pthread_impl.h
..... /opt/local/include/LegacySupport/pthread.h
...... /usr/include/pthread.h
... ../mesa-22.1.7/src/util/macros.h
. ../mesa-22.1.7/src/util/u_debug_stack.h
In file included from ../mesa-22.1.7/src/util/u_debug_memory.c:42:0:
../mesa-22.1.7/src/util/u_debug_stack.h:35:10: fatal error: libunwind.h:
No such file or directory
#include <libunwind.h>
^~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_mesa/mesa/work/build"
&& /opt/local/bin/ninja -j1 -v
Exit code: 1
}}}
`libunwind and libunwind-headers` are `deactivated`. I wanted to build the
`test variant` to see whether it builds with the `deactivated ports`. And
afterwards I wanted to see when which `libunwind C header` would be
included. The first case is found and I am going to `clean and build again
with activated libunwind ports` to see all candidates.
--
Ticket URL: <https://trac.macports.org/ticket/65934#comment:16>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list