[Bug 264688] misc/openvdb: build fails 'CMake Error at openvdb/openvdb/CMakeLists.txt:132 (if): if given arguments: "VERSION_LESS" "FUTURE_MINIMUM_TBB_VERSION" Unknown arguments specified'
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 15 Jun 2022 12:56:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264688 Bug ID: 264688 Summary: misc/openvdb: build fails 'CMake Error at openvdb/openvdb/CMakeLists.txt:132 (if): if given arguments: "VERSION_LESS" "FUTURE_MINIMUM_TBB_VERSION" Unknown arguments specified' Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: yuri@freebsd.org Reporter: vvd@unislabs.com Flags: maintainer-feedback?(yuri@freebsd.org) Assignee: yuri@freebsd.org Tested on 13.1 and 12.3 amd64. From 13.1: [/usr/ports/misc/openvdb]# make ===> License MPL20 accepted by the user ===> openvdb-9.1.0 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by openvdb-9.1.0 for building ===> Extracting for openvdb-9.1.0 => SHA256 Checksum OK for AcademySoftwareFoundation-openvdb-v9.1.0_GH0.tar.gz. ===> Patching for openvdb-9.1.0 ===> Applying FreeBSD patches for openvdb-9.1.0 from /usr/ports/misc/openvdb/files ===> openvdb-9.1.0 depends on package: py310-numpy>=1.16,1<1.23,1 - found ===> openvdb-9.1.0 depends on file: /usr/local/bin/cmake - found ===> openvdb-9.1.0 depends on executable: ninja - found ===> openvdb-9.1.0 depends on package: pkgconf>=1.3.0_1 - found ===> openvdb-9.1.0 depends on file: /usr/local/bin/python3.10 - found ===> openvdb-9.1.0 depends on package: xorgproto>=0 - found ===> openvdb-9.1.0 depends on package: xorgproto>=0 - found ===> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/xcursor.pc - found ===> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/xi.pc - found ===> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/xinerama.pc - found ===> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/xrandr.pc - found ===> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/xxf86vm.pc - found ===> openvdb-9.1.0 depends on shared library: libblosc.so - found (/usr/local/lib/libblosc.so) ===> openvdb-9.1.0 depends on shared library: libboost_system.so - found (/usr/local/lib/libboost_system.so) ===> openvdb-9.1.0 depends on shared library: libImath.so - found (/usr/local/lib/libImath.so) ===> openvdb-9.1.0 depends on shared library: libtbb.so - found (/usr/local/lib/libtbb.so) ===> openvdb-9.1.0 depends on shared library: libboost_python310.so - found (/usr/local/lib/libboost_python310.so) ===> openvdb-9.1.0 depends on shared library: libglfw.so - found (/usr/local/lib/libglfw.so) ===> openvdb-9.1.0 depends on shared library: libOpenEXR.so - found (/usr/local/lib/libOpenEXR.so) ===> openvdb-9.1.0 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so) ===> openvdb-9.1.0 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so) ===> Configuring for openvdb-9.1.0 ===> Performing out-of-source build /bin/mkdir -p /tmp/work/usr/ports/misc/openvdb/work/.build -- The CXX compiler identification is Clang 13.0.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Deprecation Warning at cmake/config/OpenVDBCXX.cmake:32 (message): C++ < 17 is deprecated and will be removed. Call Stack (most recent call first): CMakeLists.txt:355 (include) -- CMake Build Type: Release -- Configuring for OpenVDB Version 9.1.0 -- Configuring for OpenVDB ABI Version 9 -- ---------------------------------------------------- -- ------------- Configuring OpenVDBCore -------------- -- ---------------------------------------------------- -- Found Boost: /usr/local/include (found suitable version "1.79.0", minimum required is "1.70") found components: iostreams regex -- Found PkgConfig: /usr/local/bin/pkgconf (found version "1.8.0") -- Found TBB: /usr/local/include (Required is at least version "2019.0") found components: tbb CMake Error at openvdb/openvdb/CMakeLists.txt:132 (if): if given arguments: "VERSION_LESS" "FUTURE_MINIMUM_TBB_VERSION" Unknown arguments specified -- Configuring incomplete, errors occurred! See also "/tmp/work/usr/ports/misc/openvdb/work/.build/CMakeFiles/CMakeOutput.log". *** Error code 1 Stop. make[1]: stopped in /usr/ports/misc/openvdb *** Error code 1 Stop. make: stopped in /usr/ports/misc/openvdb From 12.3: [/usr/ports/misc/openvdb]# make ===> License MPL20 accepted by the user ===> openvdb-9.1.0 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by openvdb-9.1.0 for building ===> Extracting for openvdb-9.1.0 => SHA256 Checksum OK for AcademySoftwareFoundation-openvdb-v9.1.0_GH0.tar.gz. ===> Patching for openvdb-9.1.0 ===> Applying FreeBSD patches for openvdb-9.1.0 from /usr/ports/misc/openvdb/files ===> openvdb-9.1.0 depends on package: py39-numpy>=1.16,1<1.23,1 - found ===> openvdb-9.1.0 depends on file: /usr/local/bin/cmake - found ===> openvdb-9.1.0 depends on executable: ninja - found ===> openvdb-9.1.0 depends on package: pkgconf>=1.3.0_1 - found ===> openvdb-9.1.0 depends on file: /usr/local/bin/python3.9 - found ===> openvdb-9.1.0 depends on package: xorgproto>=0 - found ===> openvdb-9.1.0 depends on package: xorgproto>=0 - found ===> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/xcursor.pc - found ===> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/xi.pc - found ===> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/xinerama.pc - found ===> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/xrandr.pc - found ===> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/xxf86vm.pc - found ===> openvdb-9.1.0 depends on shared library: libblosc.so - found (/usr/local/lib/libblosc.so) ===> openvdb-9.1.0 depends on shared library: libboost_system.so - found (/usr/local/lib/libboost_system.so) ===> openvdb-9.1.0 depends on shared library: libImath.so - found (/usr/local/lib/libImath.so) ===> openvdb-9.1.0 depends on shared library: libtbb.so - found (/usr/local/lib/libtbb.so) ===> openvdb-9.1.0 depends on shared library: libboost_python39.so - found (/usr/local/lib/libboost_python39.so) ===> openvdb-9.1.0 depends on shared library: libglfw.so - found (/usr/local/lib/libglfw.so) ===> openvdb-9.1.0 depends on shared library: libOpenEXR.so - found (/usr/local/lib/libOpenEXR.so) ===> openvdb-9.1.0 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so) ===> openvdb-9.1.0 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so) ===> Configuring for openvdb-9.1.0 ===> Performing out-of-source build /bin/mkdir -p /tmp/work/usr/ports/misc/openvdb/work/.build -- The CXX compiler identification is Clang 10.0.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Deprecation Warning at cmake/config/OpenVDBCXX.cmake:32 (message): C++ < 17 is deprecated and will be removed. Call Stack (most recent call first): CMakeLists.txt:355 (include) -- CMake Build Type: Release -- Configuring for OpenVDB Version 9.1.0 -- Configuring for OpenVDB ABI Version 9 -- ---------------------------------------------------- -- ------------- Configuring OpenVDBCore -------------- -- ---------------------------------------------------- -- Found Boost: /usr/local/include (found suitable version "1.79.0", minimum required is "1.70") found components: iostreams regex -- Found PkgConfig: /usr/local/bin/pkgconf (found version "1.8.0") -- Found TBB: /usr/local/include (Required is at least version "2019.0") found components: tbb CMake Error at openvdb/openvdb/CMakeLists.txt:132 (if): if given arguments: "VERSION_LESS" "FUTURE_MINIMUM_TBB_VERSION" Unknown arguments specified -- Configuring incomplete, errors occurred! See also "/tmp/work/usr/ports/misc/openvdb/work/.build/CMakeFiles/CMakeOutput.log". *** Error code 1 Stop. make[1]: stopped in /usr/ports/misc/openvdb *** Error code 1 Stop. make: stopped in /usr/ports/misc/openvdb -- You are receiving this mail because: You are the assignee for the bug.