Opened 8 months ago

Last modified 7 months ago

#69687 new defect

opencolorio @2.2.0_1+debug+python311: get_target_property() called with non-existent target "yaml-cpp".

Reported by: cooljeanius (Eric Gallager) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), mohd-akram (Mohamed Akram)
Port: opencolorio

Description

This happens both with and without trace mode:

Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencolorio/opencolorio/work/build" && /opt/local/bin/cmake -G "CodeBlocks - Unix Makefiles" -DCMAKE_BUILD_TYPE=MacPorts -DCMAKE_INSTALL_PREFIX="/opt/local" -DCMAKE_INSTALL_NAME_DIR="/opt/local/lib" -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_C_COMPILER="$CC" -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_OBJC_COMPILER="$CC" -DCMAKE_OBJCXX_COMPILER="$CXX" -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_POLICY_DEFAULT_CMP0060=NEW -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_MAKE_PROGRAM=/usr/bin/make -DCMAKE_MODULE_PATH="/opt/local/share/cmake/Modules" -DCMAKE_PREFIX_PATH="/opt/local/share/cmake/Modules" -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON -DCMAKE_INSTALL_RPATH="/opt/local/lib" -Wno-dev -DCMAKE_CONFIGURATION_TYPES=MacPorts -DOCIO_BUILD_TRUELIGHT=OFF -DOCIO_BUILD_NUKE=OFF -DUSE_EXTERNAL_YAML=ON -DUSE_EXTERNAL_TINYXML=ON -DUSE_EXTERNAL_LCMS=ON -DOCIO_BUILD_APPS=OFF -DPYTHON=/opt/local/bin/python3.11 -DBOOST_ROOT=/opt/local/libexec/boost/1.76 -DBOOSTROOT=/opt/local/libexec/boost/1.76 -DBOOST_INCLUDEDIR=/opt/local/libexec/boost/1.76/include -DBOOST_LIBRARYDIR=/opt/local/libexec/boost/1.76/lib -DBOOST_INCLUDE_DIR=/opt/local/libexec/boost/1.76/include -DBOOST_LIBRARY_DIR=/opt/local/libexec/boost/1.76/lib -DBOOST_LIB_DIR=/opt/local/libexec/boost/1.76/lib -DBoost_NO_SYSTEM_PATHS=ON -DBoost_INCLUDE_DIR=/opt/local/libexec/boost/1.76/include -DBoost_DIR=/opt/local/libexec/boost/1.76 -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="11.0" -DCMAKE_OSX_SYSROOT="/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk" -DCMAKE_STRIP:FILEPATH=/bin/echo /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencolorio/opencolorio/work/OpenColorIO-2.2.0 
DEBUG: system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencolorio/opencolorio/work/build" && /opt/local/bin/cmake -G "CodeBlocks - Unix Makefiles" -DCMAKE_BUILD_TYPE=MacPorts -DCMAKE_INSTALL_PREFIX="/opt/local" -DCMAKE_INSTALL_NAME_DIR="/opt/local/lib" -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_C_COMPILER="$CC" -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_OBJC_COMPILER="$CC" -DCMAKE_OBJCXX_COMPILER="$CXX" -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_POLICY_DEFAULT_CMP0060=NEW -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_MAKE_PROGRAM=/usr/bin/make -DCMAKE_MODULE_PATH="/opt/local/share/cmake/Modules" -DCMAKE_PREFIX_PATH="/opt/local/share/cmake/Modules" -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON -DCMAKE_INSTALL_RPATH="/opt/local/lib" -Wno-dev -DCMAKE_CONFIGURATION_TYPES=MacPorts -DOCIO_BUILD_TRUELIGHT=OFF -DOCIO_BUILD_NUKE=OFF -DUSE_EXTERNAL_YAML=ON -DUSE_EXTERNAL_TINYXML=ON -DUSE_EXTERNAL_LCMS=ON -DOCIO_BUILD_APPS=OFF -DPYTHON=/opt/local/bin/python3.11 -DBOOST_ROOT=/opt/local/libexec/boost/1.76 -DBOOSTROOT=/opt/local/libexec/boost/1.76 -DBOOST_INCLUDEDIR=/opt/local/libexec/boost/1.76/include -DBOOST_LIBRARYDIR=/opt/local/libexec/boost/1.76/lib -DBOOST_INCLUDE_DIR=/opt/local/libexec/boost/1.76/include -DBOOST_LIBRARY_DIR=/opt/local/libexec/boost/1.76/lib -DBOOST_LIB_DIR=/opt/local/libexec/boost/1.76/lib -DBoost_NO_SYSTEM_PATHS=ON -DBoost_INCLUDE_DIR=/opt/local/libexec/boost/1.76/include -DBoost_DIR=/opt/local/libexec/boost/1.76 -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="11.0" -DCMAKE_OSX_SYSROOT="/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk" -DCMAKE_STRIP:FILEPATH=/bin/echo /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencolorio/opencolorio/work/OpenColorIO-2.2.0 
-- The CXX compiler identification is AppleClang 13.0.0.13000029
-- The C compiler identification is AppleClang 13.0.0.13000029
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Setting C++ version to '14' as none was specified.
-- Performing Test COMPILER_SUPPORTS_CXX14
-- Performing Test COMPILER_SUPPORTS_CXX14 - Success
-- Found OpenGL: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/System/Library/Frameworks/OpenGL.framework  found components: OpenGL 
-- Found GLUT: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/System/Library/Frameworks/GLUT.framework  
-- GLVND not supported; legacy OpenGL libraries used
-- Performing Test HAVE_SSE2
-- Performing Test HAVE_SSE2 - Success
-- Setting SOVERSION to '2.2' as none was specified.
-- Found expat: /opt/local/include (found suitable version "2.6.2", minimum required is "2.4.1") 
CMake Error at share/cmake/modules/Findyaml-cpp.cmake:37 (get_target_property):
  get_target_property() called with non-existent target "yaml-cpp".
Call Stack (most recent call first):
  share/cmake/modules/FindExtPackages.cmake:33 (find_package)
  CMakeLists.txt:261 (include)


-- Could NOT find yaml-cpp (missing: yaml-cpp_LIBRARY) (found suitable version "0.8.0", minimum required is "0.7.0")
-- Installing yaml-cpp: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencolorio/opencolorio/work/build/ext/dist/lib/libyaml-cpp.a (version "0.7.0")
-- Could NOT find pystring (missing: pystring_INCLUDE_DIR pystring_LIBRARY) (Required is at least version "1.1.3")
-- Installing pystring: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencolorio/opencolorio/work/build/ext/dist/lib/libpystring.a (version "1.1.3")
-- Could NOT find Imath (missing: Imath_LIBRARY Imath_INCLUDE_DIR) (Required is at least version "3.0")
-- Installing Imath: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencolorio/opencolorio/work/build/ext/dist/lib/libImath-3_1.a (version "3.1.5")
-- Found ZLIB: /opt/local/lib/libz.dylib (found version "1.3.1") 
-- Could NOT find minizip-ng (missing: minizip-ng_DIR)
-- Could NOT find minizip-ng (missing: minizip-ng_LIBRARY minizip-ng_INCLUDE_DIR) (found suitable version "3.0.6", minimum required is "3.0.6")
-- Installing minizip-ng: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencolorio/opencolorio/work/build/ext/dist/lib/libminizip-ng.a (version "3.0.6")
-- Found Python: /opt/local/bin/python3.12 (found version "3.12.2") found components: Interpreter Development.Module 
-- Could NOT find pybind11 (missing: pybind11_INCLUDE_DIR) (Required is at least version "2.9.2")
-- Installing pybind11: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencolorio/opencolorio/work/build/ext/dist/include (version "2.9.2")
-- Could NOT find OpenImageIO (missing: OPENIMAGEIO_INCLUDE_DIR OPENIMAGEIO_LIBRARY OPENIMAGEIO_VERSION) (Required is at least version "2.2.14")
CMake Warning at share/cmake/modules/FindExtPackages.cmake:157 (message):
  Could NOT find OpenImageIO.  Skipping build of the OSL unit tests.
Call Stack (most recent call first):
  CMakeLists.txt:261 (include)


CMake Warning at src/apps/CMakeLists.txt:21 (message):
  Skipping build of all apps.


CMake Warning at src/bindings/python/CMakeLists.txt:44 (message):
  Building PyOpenColorIO with OCIO_BUILD_DOCS disabled will result in
  incomplete Python docstrings.


-- Configuring incomplete, errors occurred!
See also "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencolorio/opencolorio/work/build/CMakeFiles/CMakeOutput.log".
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencolorio/opencolorio/work/build" && /opt/local/bin/cmake -G "CodeBlocks - Unix Makefiles" -DCMAKE_BUILD_TYPE=MacPorts -DCMAKE_INSTALL_PREFIX="/opt/local" -DCMAKE_INSTALL_NAME_DIR="/opt/local/lib" -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_C_COMPILER="$CC" -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_OBJC_COMPILER="$CC" -DCMAKE_OBJCXX_COMPILER="$CXX" -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_POLICY_DEFAULT_CMP0060=NEW -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_MAKE_PROGRAM=/usr/bin/make -DCMAKE_MODULE_PATH="/opt/local/share/cmake/Modules" -DCMAKE_PREFIX_PATH="/opt/local/share/cmake/Modules" -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON -DCMAKE_INSTALL_RPATH="/opt/local/lib" -Wno-dev -DCMAKE_CONFIGURATION_TYPES=MacPorts -DOCIO_BUILD_TRUELIGHT=OFF -DOCIO_BUILD_NUKE=OFF -DUSE_EXTERNAL_YAML=ON -DUSE_EXTERNAL_TINYXML=ON -DUSE_EXTERNAL_LCMS=ON -DOCIO_BUILD_APPS=OFF -DPYTHON=/opt/local/bin/python3.11 -DBOOST_ROOT=/opt/local/libexec/boost/1.76 -DBOOSTROOT=/opt/local/libexec/boost/1.76 -DBOOST_INCLUDEDIR=/opt/local/libexec/boost/1.76/include -DBOOST_LIBRARYDIR=/opt/local/libexec/boost/1.76/lib -DBOOST_INCLUDE_DIR=/opt/local/libexec/boost/1.76/include -DBOOST_LIBRARY_DIR=/opt/local/libexec/boost/1.76/lib -DBOOST_LIB_DIR=/opt/local/libexec/boost/1.76/lib -DBoost_NO_SYSTEM_PATHS=ON -DBoost_INCLUDE_DIR=/opt/local/libexec/boost/1.76/include -DBoost_DIR=/opt/local/libexec/boost/1.76 -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="11.0" -DCMAKE_OSX_SYSROOT="/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk" -DCMAKE_STRIP:FILEPATH=/bin/echo /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencolorio/opencolorio/work/OpenColorIO-2.2.0 
Exit code: 1

I'm on x86_64 Big Sur with Xcode 13.2.1.

Attachments (1)

opencolorio_main.log (94.0 KB) - added by cooljeanius (Eric Gallager) 8 months ago.
main.log for opencolorio

Download all attachments as: .zip

Change History (5)

Changed 8 months ago by cooljeanius (Eric Gallager)

Attachment: opencolorio_main.log added

main.log for opencolorio

comment:1 Changed 8 months ago by cooljeanius (Eric Gallager)

Summary: opencolorio @2.2.0_1: configure step fails to find openimageioopencolorio @2.2.0_1 +debug+python311: configure step fails to find openimageio

comment:2 Changed 7 months ago by mohd-akram (Mohamed Akram)

Cc: mohd-akram added

comment:3 Changed 7 months ago by mohd-akram (Mohamed Akram)

It's been updated to 2.3.2, see if that works.

comment:4 Changed 7 months ago by ryandesign (Ryan Carsten Schmidt)

Summary: opencolorio @2.2.0_1 +debug+python311: configure step fails to find openimageioopencolorio @2.2.0_1+debug+python311: get_target_property() called with non-existent target "yaml-cpp".

The lack of openimageio was just a warning; the error was the lack of yaml-cpp.

Last edited 7 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)
Note: See TracTickets for help on using tickets.