Bug#1011660: opensubdiv ftbfs against onetbb/experimental: tbb api break
- To: Andrius Merkys <merkys@debian.org>, 1011660@bugs.debian.org, "Matteo F. Vescovi" <mfv@debian.org>
- Subject: Bug#1011660: opensubdiv ftbfs against onetbb/experimental: tbb api break
- From: Adrian Bunk <bunk@debian.org>
- Date: Sat, 29 Oct 2022 18:49:59 +0300
- Message-id: <Y11Lp1U/gJWpSuup@localhost>
- Reply-to: Adrian Bunk <bunk@debian.org>, 1011660@bugs.debian.org
- In-reply-to: <391a6ca2-c533-5bac-1dcf-5b0e5a6ab02c@debian.org>
- References: <8a9968d7f46ca7732b2fbc5cd51657cd960c0a60.camel@debian.org> <8a9968d7f46ca7732b2fbc5cd51657cd960c0a60.camel@debian.org> <391a6ca2-c533-5bac-1dcf-5b0e5a6ab02c@debian.org> <8a9968d7f46ca7732b2fbc5cd51657cd960c0a60.camel@debian.org>
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
Reply to: