On Sat, Mar 05, 2022 at 11:31:35AM +0000, Stuart Henderson wrote:
> > This error was caused by OCIO_BUILD_GPU_TESTS being enabled in
> > presence of graphics/freeglut and graphics/glew, only reason why
> > this error didn't trigger for me. These are the build dependencies
> > for building GPU tests. The below diff explicitly turns them off.
> > I'll try to get these gpu tests to work but for the time being
> > I hope this is fine.
> >
> > Build & Run tested graphics/krita on amd64, it works well.
This didn't build in my latest bulk. Seems it needs a bdep on py-pybind11
[346/411] cd /tmp/pobj/opencolorio-2.1.1/build-amd64/ext/build/pybind11/src &&
/usr/local/bin/cmake
-P
/tmp/pobj/opencolorio-2.1.1/build-amd64/ext/build/pybind11/tmp/pybind11_install-gitclone.cmake
&& /usr/local/bin/cmake -E touch
/tmp/pobj/opencolorio-2.1.1/build-amd64/ext/build/pybind11/src/pybind11_install-stamp/pybind11_install-download
FAILED: ext/build/pybind11/src/pybind11_install-stamp/pybind11_install-download
cd /tmp/pobj/opencolorio-2.1.1/build-amd64/ext/build/pybind11/src &&
/usr/local/bin/cmake -P
/tmp/pobj/opencolorio-2.1.1/build-amd64/ext/build/pybind11/tmp/pybind11_install-gitclone.cmake
&& /usr/local/bin/cmake -E touch
/tmp/pobj/opencolorio-2.1.1/build-amd64/ext/build/pybind11/src/pybind11_install-stamp/pybind11_install-download
-- Had to git clone more than once:
3 times.
CMake Error at
/tmp/pobj/opencolorio-2.1.1/build-amd64/ext/build/pybind11/tmp/pybind11_install-gitclone.cmake:31
(message):
Failed to clone repository: 'https://github.com/pybind/pybind11.git'
ninja: build stopped: subcommand failed.
Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/opencolorio/Makefile,v
retrieving revision 1.19
diff -u -p -r1.19 Makefile
--- Makefile 5 Mar 2022 11:30:09 -0000 1.19
+++ Makefile 6 Mar 2022 13:31:36 -0000
@@ -27,7 +27,8 @@ COMPILER = base-clang ports-gcc
MODULES = devel/cmake \
lang/python
-BUILD_DEPENDS = devel/boost
+BUILD_DEPENDS = devel/boost \
+ devel/py-pybind11${MODPY_FLAVOR}
LIB_DEPENDS = devel/pystring \
devel/yaml-cpp \
math/imath