Bug#1004643: ros-opencv-apps: FTBFS: error: 'shared_mutex' in namespace 'std' does not name a type

Sebastian Ramacher sramacher at debian.org
Sun Jan 30 23:37:26 GMT 2022


Source: ros-opencv-apps
Version: 2.0.2-5
Severity: serious
X-Debbugs-Cc: sramacher at debian.org
Tags: sid bookworm ftbfs

ros-opencv-apps currently FTBFS:
| [ 14%] Building CXX object CMakeFiles/hls_color_filter_exe.dir/hls_color_filter.cpp.o
| /usr/lib/ccache/c++ -DROSCONSOLE_BACKEND_LOG4CXX -DROS_BUILD_SHARED_LIBS=1 -DROS_PACKAGE_NAME=\"opencv_apps\" -I/<<PKGBUILDDIR>>/include -I/usr/include/xmlrpcpp -isystem /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/devel/include -isystem /usr/include/opencv4 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2   -std=gnu++11 -MD -MT CMakeFiles/hls_color_filter_exe.dir/hls_color_filter.cpp.o -MF CMakeFiles/hls_color_filter_exe.dir/hls_color_filter.cpp.o.d -o CMakeFiles/hls_color_filter_exe.dir/hls_color_filter.cpp.o -c /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/hls_color_filter.cpp
| In file included from /usr/include/log4cxx/log4cxx.h:45,
|                  from /usr/include/log4cxx/logstring.h:28,
|                  from /usr/include/log4cxx/level.h:22,
|                  from /usr/include/ros/console.h:46,
|                  from /usr/include/ros/ros.h:40,
|                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/discrete_fourier_transform.cpp:35:
| /usr/include/log4cxx/boost-std-configuration.h:10:18: error: ‘shared_mutex’ in namespace ‘std’ does not name a type
|    10 |     typedef std::shared_mutex shared_mutex;
|       |                  ^~~~~~~~~~~~
| /usr/include/log4cxx/boost-std-configuration.h:10:13: note: ‘std::shared_mutex’ is only available from C++17 onwards
|    10 |     typedef std::shared_mutex shared_mutex;
|       |             ^~~
| /usr/include/log4cxx/boost-std-configuration.h:12:30: error: ‘shared_lock’ in namespace ‘std’ does not name a template type
|    12 |     using shared_lock = std::shared_lock<T>;
|       |                              ^~~~~~~~~~~
| /usr/include/log4cxx/boost-std-configuration.h:12:25: note: ‘std::shared_lock’ is only available from C++14 onwards
|    12 |     using shared_lock = std::shared_lock<T>;
|       |                         ^~~
| make[3]: *** [CMakeFiles/discrete_fourier_transform_exe.dir/build.make:79: CMakeFiles/discrete_fourier_transform_exe.dir/discrete_fourier_transform.cpp.o] Error 1

Cheers
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20220131/04980f24/attachment-0001.sig>


More information about the debian-science-maintainers mailing list