Source: gazebo
Version: 11.10.1+dfsg-2
Severity: normal
Tags: ftbfs

Hello,

tbb/onetbb transition (#1007222) is currently in the planning. During
test rebuild of libtbb-dev reverse dependencies with onetbb/2021.5.0-9
in experimental, current source failed to build with the following:

[ 42%] Building CXX object
gazebo/transport/CMakeFiles/gazebo_transport.dir/Connection.cc.o
cd
/home/merkys/gazebo-11.10.1+dfsg/obj-x86_64-linux-gnu/gazebo/transport
&& /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK
-DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK
-DBOOST_IOSTREAMS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_DYN_LINK
-DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_TEST_DYN_LINK
-DBOOST_THREAD_DYN_LINK -DBUILDING_DLL -DBUILDING_DLL_GZ_TRANSPORT
-DHAVE_OPENGL -DIGN_PROFILER_ENABLE=0 -DLIBBULLET_VERSION=3.05
-DLIBBULLET_VERSION_GT_282 -Dgazebo_transport_EXPORTS
-I/home/merkys/gazebo-11.10.1+dfsg
-I/home/merkys/gazebo-11.10.1+dfsg/obj-x86_64-linux-gnu
-I/usr/include/libusb-1.0 -I/usr/include/ignition/transport8 -isystem
/usr/include/ignition/msgs5 -isystem /usr/include/ignition/math6
-isystem /usr/include/ignition/common3 -isystem
/usr/include/ignition/fuel_tools4 -isystem
/usr/include/OGRE/RTShaderSystem -isystem /usr/include/OGRE -isystem
/usr/include/OGRE/Terrain -isystem /usr/include/OGRE/Paging -isystem
/usr/include/OGRE/Overlay -isystem /usr/include/sdformat-9.7 -isystem
/usr/include/uuid -isystem /usr/include/sdformat-9.7/sdf/.. -g -O2
-ffile-prefix-map=/home/merkys/gazebo-11.10.1+dfsg=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2       -Wall -Wextra -Wno-long-long -Wno-unused-value
-Wfloat-equal -Wshadow -Wswitch-default -Wmissing-include-dirs -pedantic
-fvisibility=hidden -fvisibility-inlines-hidden  -fPIC   -fPIC
-I/usr/include/uuid -MD -MT
gazebo/transport/CMakeFiles/gazebo_transport.dir/Connection.cc.o -MF
CMakeFiles/gazebo_transport.dir/Connection.cc.o.d -o
CMakeFiles/gazebo_transport.dir/Connection.cc.o -c
/home/merkys/gazebo-11.10.1+dfsg/gazebo/transport/Connection.cc
In file included from
/home/merkys/gazebo-11.10.1+dfsg/gazebo/transport/ConnectionManager.hh:31,
                 from
/home/merkys/gazebo-11.10.1+dfsg/gazebo/transport/Connection.cc:60:
/home/merkys/gazebo-11.10.1+dfsg/gazebo/transport/Connection.hh:62:5:
error: expected class-name before '{' token
   62 |     {
      |     ^
/home/merkys/gazebo-11.10.1+dfsg/gazebo/transport/Connection.hh:77:20:
error: 'task' in namespace 'tbb' does not name a type
   77 |       public: tbb::task *execute()
      |                    ^~~~
In file included from /usr/include/tbb/task.h:17,
                 from
/home/merkys/gazebo-11.10.1+dfsg/gazebo/transport/Connection.hh:20,
                 from
/home/merkys/gazebo-11.10.1+dfsg/gazebo/transport/ConnectionManager.hh:31,
                 from
/home/merkys/gazebo-11.10.1+dfsg/gazebo/transport/Connection.cc:60:
/usr/include/oneapi/tbb/task.h:26:11: note: 'tbb::v1::task' declared here
   26 | namespace task {
      |           ^~~~
In file included from
/home/merkys/gazebo-11.10.1+dfsg/gazebo/transport/ConnectionManager.hh:31,
                 from
/home/merkys/gazebo-11.10.1+dfsg/gazebo/transport/Connection.cc:60:
/home/merkys/gazebo-11.10.1+dfsg/gazebo/transport/Connection.hh: In
member function 'void gazebo::transport::Connection::OnReadData(const
boost::system::error_code&, boost::tuples::tuple<Handler>)':
/home/merkys/gazebo-11.10.1+dfsg/gazebo/transport/Connection.hh:317:61:
error: 'allocate_root' is not a member of 'tbb::v1::task'
  317 |                   ConnectionReadTask *task =
new(tbb::task::allocate_root())
      |
^~~~~~~~~~~~~
/home/merkys/gazebo-11.10.1+dfsg/gazebo/transport/Connection.hh:319:30:
error: 'enqueue' is not a member of 'tbb::v1::task'
  319 |                   tbb::task::enqueue(*task);
      |                              ^~~~~~~

Andrius

-- 
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to