[Bug 293322] graphics/materialx: depends on libXinerama

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 23 Feb 2026 06:47:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293322

--- Comment #8 from Trond Endrestøl <Trond.Endrestol@ximalas.info> ---
Created attachment 268286
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=268286&action=edit
Build log while USES_XORG includes ice sm x11 xcursor xext xi xinerama xrandr
xt

graphics/materialx is happy even if it's just xinerama. This is while I had
specificed the longer list.

--------------------------------------------------------------------------------
--  Phase: configure
--------------------------------------------------------------------------------
===>  Configuring for materialx-1.39.4_3
===>  Performing out-of-source build
/bin/mkdir -p /construction/xports/graphics/materialx/work/.build
-- The C compiler identification is Clang 19.1.7
-- The CXX compiler identification is Clang 19.1.7
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/local/libexec/ccache/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/local/libexec/ccache/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Setting namespace to 'MaterialX_v1_39_4'
-- Found OpenColorIO: /usr/local/lib/cmake/OpenColorIO/OpenColorIOConfig.cmake
(found version "2.5.0")
-- Found X11: /usr/local/include
-- Looking for XOpenDisplay in
/usr/local/lib/libX11.so;/usr/local/lib/libXext.so
-- Looking for XOpenDisplay in
/usr/local/lib/libX11.so;/usr/local/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found OpenGL: /usr/local/lib/libOpenGL.so
-- NanoGUI v0.2.0 
-- NanoGUI: using OpenGL backend.
-- NanoGUI: building static library.
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Using X11 for window creation
CMake Warning (dev) at source/MaterialXView/NanoGUI/CMakeLists.txt:361
(add_custom_command):
  The following keywords are not supported when using
  add_custom_command(OUTPUT): PRE_BUILD.

  Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
  Run "cmake --help-policy CMP0175" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- NanoGUI: not building the Python plugin.
CMake Deprecation Warning at
source/MaterialXGraphEditor/External/Glfw/CMakeLists.txt:1
(cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


-- Using X11 for window creation
CMake Deprecation Warning at
source/PyMaterialX/External/PyBind11/CMakeLists.txt:13
(cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


-- pybind11 v2.13.6 
-- Found PythonInterp: /usr/local/bin/python3.11 (found suitable version
"3.11.14", minimum required is "3.7")
-- Found PythonLibs: /usr/local/lib/libpython3.11.so
-- Performing Test HAS_FLTO_THIN
-- Performing Test HAS_FLTO_THIN - Success
-- Performing Test UNDEFINED_VAR_TEMPLATE_FLAG
-- Performing Test UNDEFINED_VAR_TEMPLATE_FLAG - Success
-- Configuring done (3.0s)
-- Generating done (0.1s)
CMake Warning:
  Manually-specified variables were not used by the project:

    BOOST_PYTHON_SUFFIX
    CMAKE_COLOR_MAKEFILE
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_VERBOSE_MAKEFILE
    FETCHCONTENT_FULLY_DISCONNECTED
    Python3_EXECUTABLE
    Python_EXECUTABLE


-- Build files have been written to:
/construction/xports/graphics/materialx/work/.build

-- 
You are receiving this mail because:
You are the assignee for the bug.