Date: Wed, 15 Jun 2022 12:56:48 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [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' Message-ID: <bug-264688-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264688 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 =3D=3D=3D> License MPL20 accepted by the user =3D=3D=3D> openvdb-9.1.0 depends on file: /usr/local/sbin/pkg - found =3D=3D=3D> Fetching all distfiles required by openvdb-9.1.0 for building =3D=3D=3D> Extracting for openvdb-9.1.0 =3D> SHA256 Checksum OK for AcademySoftwareFoundation-openvdb-v9.1.0_GH0.ta= r.gz. =3D=3D=3D> Patching for openvdb-9.1.0 =3D=3D=3D> Applying FreeBSD patches for openvdb-9.1.0 from /usr/ports/misc/openvdb/files =3D=3D=3D> openvdb-9.1.0 depends on package: py310-numpy>=3D1.16,1<1.23,1= - found =3D=3D=3D> openvdb-9.1.0 depends on file: /usr/local/bin/cmake - found =3D=3D=3D> openvdb-9.1.0 depends on executable: ninja - found =3D=3D=3D> openvdb-9.1.0 depends on package: pkgconf>=3D1.3.0_1 - found =3D=3D=3D> openvdb-9.1.0 depends on file: /usr/local/bin/python3.10 - fou= nd =3D=3D=3D> openvdb-9.1.0 depends on package: xorgproto>=3D0 - found =3D=3D=3D> openvdb-9.1.0 depends on package: xorgproto>=3D0 - found =3D=3D=3D> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/ic= e.pc - found =3D=3D=3D> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/sm= .pc - found =3D=3D=3D> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/x1= 1.pc - found =3D=3D=3D> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/xc= ursor.pc - found =3D=3D=3D> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/xe= xt.pc - found =3D=3D=3D> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/xi= .pc - found =3D=3D=3D> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/xi= nerama.pc - found =3D=3D=3D> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/xr= andr.pc - found =3D=3D=3D> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/xx= f86vm.pc - found =3D=3D=3D> openvdb-9.1.0 depends on shared library: libblosc.so - found (/usr/local/lib/libblosc.so) =3D=3D=3D> openvdb-9.1.0 depends on shared library: libboost_system.so - = found (/usr/local/lib/libboost_system.so) =3D=3D=3D> openvdb-9.1.0 depends on shared library: libImath.so - found (/usr/local/lib/libImath.so) =3D=3D=3D> openvdb-9.1.0 depends on shared library: libtbb.so - found (/usr/local/lib/libtbb.so) =3D=3D=3D> openvdb-9.1.0 depends on shared library: libboost_python310.so= - found (/usr/local/lib/libboost_python310.so) =3D=3D=3D> openvdb-9.1.0 depends on shared library: libglfw.so - found (/usr/local/lib/libglfw.so) =3D=3D=3D> openvdb-9.1.0 depends on shared library: libOpenEXR.so - found (/usr/local/lib/libOpenEXR.so) =3D=3D=3D> openvdb-9.1.0 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so) =3D=3D=3D> openvdb-9.1.0 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so) =3D=3D=3D> Configuring for openvdb-9.1.0 =3D=3D=3D> 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=20 -- Found PkgConfig: /usr/local/bin/pkgconf (found version "1.8.0")=20 -- Found TBB: /usr/local/include (Required is at least version "2019.0") fo= und components: tbb=20 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 =3D=3D=3D> License MPL20 accepted by the user =3D=3D=3D> openvdb-9.1.0 depends on file: /usr/local/sbin/pkg - found =3D=3D=3D> Fetching all distfiles required by openvdb-9.1.0 for building =3D=3D=3D> Extracting for openvdb-9.1.0 =3D> SHA256 Checksum OK for AcademySoftwareFoundation-openvdb-v9.1.0_GH0.ta= r.gz. =3D=3D=3D> Patching for openvdb-9.1.0 =3D=3D=3D> Applying FreeBSD patches for openvdb-9.1.0 from /usr/ports/misc/openvdb/files =3D=3D=3D> openvdb-9.1.0 depends on package: py39-numpy>=3D1.16,1<1.23,1 = - found =3D=3D=3D> openvdb-9.1.0 depends on file: /usr/local/bin/cmake - found =3D=3D=3D> openvdb-9.1.0 depends on executable: ninja - found =3D=3D=3D> openvdb-9.1.0 depends on package: pkgconf>=3D1.3.0_1 - found =3D=3D=3D> openvdb-9.1.0 depends on file: /usr/local/bin/python3.9 - found =3D=3D=3D> openvdb-9.1.0 depends on package: xorgproto>=3D0 - found =3D=3D=3D> openvdb-9.1.0 depends on package: xorgproto>=3D0 - found =3D=3D=3D> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/ic= e.pc - found =3D=3D=3D> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/sm= .pc - found =3D=3D=3D> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/x1= 1.pc - found =3D=3D=3D> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/xc= ursor.pc - found =3D=3D=3D> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/xe= xt.pc - found =3D=3D=3D> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/xi= .pc - found =3D=3D=3D> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/xi= nerama.pc - found =3D=3D=3D> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/xr= andr.pc - found =3D=3D=3D> openvdb-9.1.0 depends on file: /usr/local/libdata/pkgconfig/xx= f86vm.pc - found =3D=3D=3D> openvdb-9.1.0 depends on shared library: libblosc.so - found (/usr/local/lib/libblosc.so) =3D=3D=3D> openvdb-9.1.0 depends on shared library: libboost_system.so - = found (/usr/local/lib/libboost_system.so) =3D=3D=3D> openvdb-9.1.0 depends on shared library: libImath.so - found (/usr/local/lib/libImath.so) =3D=3D=3D> openvdb-9.1.0 depends on shared library: libtbb.so - found (/usr/local/lib/libtbb.so) =3D=3D=3D> openvdb-9.1.0 depends on shared library: libboost_python39.so = - found (/usr/local/lib/libboost_python39.so) =3D=3D=3D> openvdb-9.1.0 depends on shared library: libglfw.so - found (/usr/local/lib/libglfw.so) =3D=3D=3D> openvdb-9.1.0 depends on shared library: libOpenEXR.so - found (/usr/local/lib/libOpenEXR.so) =3D=3D=3D> openvdb-9.1.0 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so) =3D=3D=3D> openvdb-9.1.0 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so) =3D=3D=3D> Configuring for openvdb-9.1.0 =3D=3D=3D> 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") fo= und 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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264688-7788>