On Thu, May 26, 2022 at 08:45:33AM +0300, Andrius Merkys wrote: > On 2022-05-26 02:56, M. Zhou wrote: > > tbb -> onetbb transition breaks this package. > > Relevant part from the build log: > > [ 6%] Building CXX object > opensubdiv/osd/CMakeFiles/osd_cpu_obj.dir/tbbEvaluator.cpp.o > cd /<<PKGBUILDDIR>>/build/opensubdiv/osd && /usr/bin/c++ > -DGLFW_VERSION_3 -DOPENSUBDIV_HAS_GLSL_COMPUTE > -DOPENSUBDIV_HAS_GLSL_TRANSFORM_FEEDBACK -DOPENSUBDIV_HAS_OPENGL > -DOPENSUBDIV_HAS_OPENMP -DOPENSUBDIV_HAS_T > BB -DOPENSUBDIV_VERSION_STRING=\"3.4.4\" -DOSD_USES_INTERNAL_GLAPILOADER > -I/<<PKGBUILDDIR>>/opensubdiv -I/<<PKGBUILDDIR>>/glLoader > -I/<<PKGBUILDDIR>>/build/opensubdiv/osd -g -O2 > -ffile-prefix-map=/<<PKGBUILDDIR> > >=. -fstack-protector-strong -Wformat -Werror=format-security > -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -Wall -Wextra > -Wno-invalid-offsetof -Wno-strict-aliasing -fopenmp -fPIC -MD -MT > opensubdiv/osd/CMakeF > iles/osd_cpu_obj.dir/tbbEvaluator.cpp.o -MF > CMakeFiles/osd_cpu_obj.dir/tbbEvaluator.cpp.o.d -o > CMakeFiles/osd_cpu_obj.dir/tbbEvaluator.cpp.o -c > /<<PKGBUILDDIR>>/opensubdiv/osd/tbbEvaluator.cpp > /<<PKGBUILDDIR>>/opensubdiv/osd/tbbEvaluator.cpp:28:10: fatal error: > tbb/task_scheduler_init.h: No such file or directory > 28 | #include <tbb/task_scheduler_init.h> > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > compilation terminated.
Moving the libtbb-dev build dependency from Build-Depends to Build-Conflicts fixes the build. This might be a reasonable workaround until upstream has fixed it? > Andrius cu Adrian