Bug#1056012: ros-ros-comm: FTBFS: boost1.83 transition

gladk at debian.org gladk at debian.org
Thu Nov 16 06:07:28 GMT 2023


Source: ros-ros-comm
Version: 1.16.0+ds-1
Severity: normal
User: gladk at debian.org
Usertags: boost183 ftbfs-boost183-transition

Hi,

we are preparing the transition of all libs on the new boost 1.83. During the
rebuild of packages against this library it was identified that probably your
package fails to build.

Relevant part (hopefully):

-----

[ 94%] Building CXX object tools/rosbag/CMakeFiles/encrypt.dir/src/encrypt.cpp.o
cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/tools/rosbag && /usr/bin/c++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DROSCONSOLE_BACKEND_LOG4CXX -DROS_BUILD_SHARED_LIBS=1 -DROS_PACKAGE_NAME=\"rosbag\" -D_FILE_OFFSET_BITS=64 -I/<<PKGBUILDDIR>>/tools/rosbag/include -I/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/devel/include -I/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/devel/include/ros -I/<<PKGBUILDDIR>>/tools/rosbag_storage/include -I/<<PKGBUILDDIR>>/utilities/roslz4/include -I/<<PKGBUILDDIR>>/clients/roscpp/include -I/<<PKGBUILDDIR>>/utilities/xmlrpcpp/include -I/<<PKGBUILDDIR>>/utilities/xmlrpcpp/include/xmlrpcpp -I/<<PKGBUI
 LDDIR>>/tools/topic_tools/include -I/usr/include/pluginlib -I/usr/include/class_loader -I/usr/include/ament_index_cpp -I/usr/include/rcpputils -I/usr/include/rcutils -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -MD -MT tools/rosbag/CMakeFiles/encrypt.dir/src/encrypt.cpp.o -MF CMakeFiles/encrypt.dir/src/encrypt.cpp.o.d -o CMakeFiles/encrypt.dir/src/encrypt.cpp.o -c /<<PKGBUILDDIR>>/tools/rosbag/src/encrypt.cpp
In file included from /<<PKGBUILDDIR>>/tools/rosbag/src/encrypt.cpp:39:
/usr/include/boost/progress.hpp:23:3: error: #error This header is deprecated and will be removed. (You can define BOOST_TIMER_ENABLE_DEPRECATED to suppress this error.)
   23 | # error This header is deprecated and will be removed. (You can define BOOST_TIMER_ENABLE_DEPRECATED to suppress this error.)
      |   ^~~~~
In file included from /usr/include/boost/progress.hpp:29:
/usr/include/boost/timer.hpp:21:3: error: #error This header is deprecated and will be removed. (You can define BOOST_TIMER_ENABLE_DEPRECATED to suppress this error.)
   21 | # error This header is deprecated and will be removed. (You can define BOOST_TIMER_ENABLE_DEPRECATED to suppress this error.)
      |   ^~~~~
[ 94%] Linking CXX executable ../../devel/lib/topic_tools/switch_mux
cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/tools/topic_tools && /usr/bin/cmake -E cmake_link_script CMakeFiles/switch_mux.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/switch_mux.dir/src/switch_mux.cpp.o -o ../../devel/lib/topic_tools/switch_mux  -Wl,-rpath,/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/devel/lib/x86_64-linux-gnu: ../../devel/lib/x86_64-linux-gnu/libtopic_tools.so.1.16.0 ../../devel/lib/x86_64-linux-gnu/libroscpp.so.1.16.0 -lboost_chrono -lboost_filesystem -lrosconsole -lrosconsole_log4cxx -lrosconsole_backend_interface -llog4cxx -lboost_regex -lboost_system -lboost_thread -lroscpp_serialization ../../devel/lib/x86_64-linux-gnu/libxmlrpcpp.so.1.16.0 -lrostime -lcpp_common /usr/lib/x86_64-linux-gnu/libboost_chrono.so.1.83.0 /usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.83.0 /usr/lib/x86_64-linux-gnu/libboost_atomic.so.1.83.0 /usr/lib/x86_64-linux-gnu/libboost_system.so.1.83.0 -lb64 
make[3]: Leaving directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build'

-----

To reproduce this behavior, you can install  -dev Boost packages from the
experimental repository, as shown in the following command:

  apt install libboost-dev -t experimental


The full build log is available from:
http://qa-logs.debian.net/2023/10/27/ros-ros-comm_1.16.0+ds-1_unstable_boost181.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-boost183-transition;users=gladk@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-boost183-transition&fusertaguser=gladk@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you are unable to reproduce this, please provide a build log and diff it
so that we can identify any relevant changes that may have occurred in the meantime.



More information about the debian-science-maintainers mailing list