Hi,confirmed. The current Git master branch should fix it. I will soon create a new release after some final tests.
On 1/27/23 16:51, Bastian Germann wrote:
Source: hipercontracer Version: 1.6.7-1 X-Debbugs-Cc: thomas.dreibh...@gmail.comWith the upcoming boost 1.81 (very late transition), hipercontracer fails to build from source on amd64:dpkg-buildpackage: info: source package hipercontracer dpkg-buildpackage: info: source version 1.6.7-1 dpkg-buildpackage: info: source distribution unstabledpkg-buildpackage: info: source changed by Thomas Dreibholz <thomas.dreibh...@gmail.com>dpkg-buildpackage: info: host architecture amd64 dpkg-source --before-build . debian/rules clean dh clean --buildsystem=cmake dh_auto_clean -O--buildsystem=cmake dh_autoreconf_clean -O--buildsystem=cmake dh_clean -O--buildsystem=cmake debian/rules binary dh binary --buildsystem=cmake dh_update_autotools_config -O--buildsystem=cmake dh_autoreconf -O--buildsystem=cmake debian/rules override_dh_auto_configure make[1]: Entering directory '/home/bage/hipercontracer-1.6.7' dh_auto_configure -- -DCMAKE_BUILD_RPATH_USE_ORIGIN=ONcd obj-x86_64-linux-gnu && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON ..-- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Linux supported -- Performing Test HAVE_SA_LEN -- Performing Test HAVE_SA_LEN - Failed -- Performing Test HAVE_SIN_LEN -- Performing Test HAVE_SIN_LEN - Failed -- Performing Test HAVE_SIN6_LEN -- Performing Test HAVE_SIN6_LEN - Failed -- Performing Test HAVE_SS_LEN -- Performing Test HAVE_SS_LEN - Failed -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.81.0/BoostConfig.cmake (found version "1.81.0") found components: log date_time system thread iostreams filesystem program_options-- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY FETCHCONTENT_FULLY_DISCONNECTED-- Build files have been written to: /home/bage/hipercontracer-1.6.7/obj-x86_64-linux-gnumake[1]: Leaving directory '/home/bage/hipercontracer-1.6.7' dh_auto_build -O--buildsystem=cmakecd obj-x86_64-linux-gnu && make -j4 "INSTALL=install --strip-program=true" VERBOSE=1 make[1]: Entering directory '/home/bage/hipercontracer-1.6.7/obj-x86_64-linux-gnu' /usr/bin/cmake -S/home/bage/hipercontracer-1.6.7 -B/home/bage/hipercontracer-1.6.7/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /home/bage/hipercontracer-1.6.7/obj-x86_64-linux-gnu/CMakeFiles /home/bage/hipercontracer-1.6.7/obj-x86_64-linux-gnu//CMakeFiles/progress.marksmake -f CMakeFiles/Makefile2 allmake[2]: Entering directory '/home/bage/hipercontracer-1.6.7/obj-x86_64-linux-gnu' make -f src/CMakeFiles/libhipercontracer-shared.dir/build.make src/CMakeFiles/libhipercontracer-shared.dir/depend make -f src/CMakeFiles/libhipercontracer-static.dir/build.make src/CMakeFiles/libhipercontracer-static.dir/depend make[3]: Entering directory '/home/bage/hipercontracer-1.6.7/obj-x86_64-linux-gnu' cd /home/bage/hipercontracer-1.6.7/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/bage/hipercontracer-1.6.7 /home/bage/hipercontracer-1.6.7/src /home/bage/hipercontracer-1.6.7/obj-x86_64-linux-gnu /home/bage/hipercontracer-1.6.7/obj-x86_64-linux-gnu/src /home/bage/hipercontracer-1.6.7/obj-x86_64-linux-gnu/src/CMakeFiles/libhipercontracer-shared.dir/DependInfo.cmake --color= make[3]: Entering directory '/home/bage/hipercontracer-1.6.7/obj-x86_64-linux-gnu' cd /home/bage/hipercontracer-1.6.7/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/bage/hipercontracer-1.6.7 /home/bage/hipercontracer-1.6.7/src /home/bage/hipercontracer-1.6.7/obj-x86_64-linux-gnu /home/bage/hipercontracer-1.6.7/obj-x86_64-linux-gnu/src /home/bage/hipercontracer-1.6.7/obj-x86_64-linux-gnu/src/CMakeFiles/libhipercontracer-static.dir/DependInfo.cmake --color= make[3]: Leaving directory '/home/bage/hipercontracer-1.6.7/obj-x86_64-linux-gnu' make -f src/CMakeFiles/libhipercontracer-static.dir/build.make src/CMakeFiles/libhipercontracer-static.dir/build make[3]: Entering directory '/home/bage/hipercontracer-1.6.7/obj-x86_64-linux-gnu' make[3]: Leaving directory '/home/bage/hipercontracer-1.6.7/obj-x86_64-linux-gnu' make -f src/CMakeFiles/libhipercontracer-shared.dir/build.make src/CMakeFiles/libhipercontracer-shared.dir/build make[3]: Entering directory '/home/bage/hipercontracer-1.6.7/obj-x86_64-linux-gnu' [ 13%] Building CXX object src/CMakeFiles/libhipercontracer-static.dir/ping.cc.o [ 13%] Building CXX object src/CMakeFiles/libhipercontracer-static.dir/logger.cc.o [ 13%] Building CXX object src/CMakeFiles/libhipercontracer-static.dir/destinationinfo.cc.o cd /home/bage/hipercontracer-1.6.7/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -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_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_LOG_DYN_LINK -DBOOST_LOG_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 -g -O2 -ffile-prefix-map=/home/bage/hipercontracer-1.6.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -Wall -std=c++14 -MD -MT src/CMakeFiles/libhipercontracer-static.dir/logger.cc.o -MF CMakeFiles/libhipercontracer-static.dir/logger.cc.o.d -o CMakeFiles/libhipercontracer-static.dir/logger.cc.o -c /home/bage/hipercontracer-1.6.7/src/logger.cc cd /home/bage/hipercontracer-1.6.7/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -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_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_LOG_DYN_LINK -DBOOST_LOG_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 -g -O2 -ffile-prefix-map=/home/bage/hipercontracer-1.6.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -Wall -std=c++14 -MD -MT src/CMakeFiles/libhipercontracer-static.dir/destinationinfo.cc.o -MF CMakeFiles/libhipercontracer-static.dir/destinationinfo.cc.o.d -o CMakeFiles/libhipercontracer-static.dir/destinationinfo.cc.o -c /home/bage/hipercontracer-1.6.7/src/destinationinfo.cc cd /home/bage/hipercontracer-1.6.7/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -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_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_LOG_DYN_LINK -DBOOST_LOG_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 -g -O2 -ffile-prefix-map=/home/bage/hipercontracer-1.6.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -Wall -std=c++14 -MD -MT src/CMakeFiles/libhipercontracer-static.dir/ping.cc.o -MF CMakeFiles/libhipercontracer-static.dir/ping.cc.o.d -o CMakeFiles/libhipercontracer-static.dir/ping.cc.o -c /home/bage/hipercontracer-1.6.7/src/ping.cc [ 18%] Building CXX object src/CMakeFiles/libhipercontracer-shared.dir/destinationinfo.cc.o cd /home/bage/hipercontracer-1.6.7/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -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_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_LOG_DYN_LINK -DBOOST_LOG_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 -Dlibhipercontracer_shared_EXPORTS -g -O2 -ffile-prefix-map=/home/bage/hipercontracer-1.6.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -Wall -fPIC -std=c++14 -MD -MT src/CMakeFiles/libhipercontracer-shared.dir/destinationinfo.cc.o -MF CMakeFiles/libhipercontracer-shared.dir/destinationinfo.cc.o.d -o CMakeFiles/libhipercontracer-shared.dir/destinationinfo.cc.o -c /home/bage/hipercontracer-1.6.7/src/destinationinfo.ccIn file included from /home/bage/hipercontracer-1.6.7/src/ping.h:35, from /home/bage/hipercontracer-1.6.7/src/ping.cc:32:/home/bage/hipercontracer-1.6.7/src/traceroute.h:142:9: error: 'map' in namespace 'std' does not name a template type142 | std::map<unsigned short, ResultEntry> ResultsMap; | ^~~/home/bage/hipercontracer-1.6.7/src/traceroute.h:48:1: note: 'std::map' is defined in header '<map>'; did you forget to '#include <map>'?47 | #include <boost/asio.hpp> +++ |+#include <map> 48 |/home/bage/hipercontracer-1.6.7/src/traceroute.h:143:9: error: 'map' in namespace 'std' does not name a template type143 | std::map<DestinationInfo, unsigned int> TTLCache; | ^~~/home/bage/hipercontracer-1.6.7/src/traceroute.h:143:4: note: 'std::map' is defined in header '<map>'; did you forget to '#include <map>'?143 | std::map<DestinationInfo, unsigned int> TTLCache; | ^~~ In file included from /home/bage/hipercontracer-1.6.7/src/ping.cc:33:/home/bage/hipercontracer-1.6.7/src/tools.h:47:28: error: 'map' is not a member of 'std' 47 | bool addSourceAddress(std::map<boost::asio::ip::address, std::set<uint8_t>>& array,| ^~~/home/bage/hipercontracer-1.6.7/src/tools.h:36:1: note: 'std::map' is defined in header '<map>'; did you forget to '#include <map>'?35 | #include <pwd.h> +++ |+#include <map> 36 |/home/bage/hipercontracer-1.6.7/src/tools.h:47:56: error: expected primary-expression before ',' token 47 | bool addSourceAddress(std::map<boost::asio::ip::address, std::set<uint8_t>>& array,| ^/home/bage/hipercontracer-1.6.7/src/tools.h:47:74: error: expected primary-expression before '>' token 47 | bool addSourceAddress(std::map<boost::asio::ip::address, std::set<uint8_t>>& array,| ^~/home/bage/hipercontracer-1.6.7/src/tools.h:47:78: error: 'array' was not declared in this scope 47 | bool addSourceAddress(std::map<boost::asio::ip::address, std::set<uint8_t>>& array,| ^~~~~/home/bage/hipercontracer-1.6.7/src/tools.h:47:78: note: suggested alternatives:In file included from /usr/include/c++/12/functional:54,from /usr/include/boost/system/detail/error_category.hpp:17,from /usr/include/boost/system/detail/error_code.hpp:14, from /usr/include/boost/system/error_code.hpp:13, from /usr/include/boost/asio/ip/address.hpp:23,from /home/bage/hipercontracer-1.6.7/src/destinationinfo.h:35,from /home/bage/hipercontracer-1.6.7/src/service.h:35,from /home/bage/hipercontracer-1.6.7/src/traceroute.h:35:/usr/include/c++/12/tuple:1595:45: note: 'std::array' 1595 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ In file included from /usr/include/boost/asio/buffer.hpp:25,from /usr/include/boost/asio/detail/reactive_socket_service.hpp:23,from /usr/include/boost/asio/basic_socket.hpp:38,from /usr/include/boost/asio/basic_datagram_socket.hpp:20,from /usr/include/boost/asio.hpp:31,from /home/bage/hipercontracer-1.6.7/src/traceroute.h:47:/usr/include/boost/asio/detail/array_fwd.hpp:23:7: note: 'boost::array' 23 | class array; | ^~~~~ In file included from /usr/include/boost/iostreams/detail/resolve.hpp:30, from /usr/include/boost/iostreams/detail/push.hpp:24,from /usr/include/boost/iostreams/filtering_stream.hpp:19, from /home/bage/hipercontracer-1.6.7/src/resultswriter.h:42, from /home/bage/hipercontracer-1.6.7/src/traceroute.h:37: /usr/include/boost/iostreams/device/array.hpp:81:1: note: 'boost::iostreams::array'81 | BOOST_IOSTREAMS_ARRAY(array, seekable) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/tuple:1595:45: note: 'std::array' 1595 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~/home/bage/hipercontracer-1.6.7/src/tools.h:48:23: error: expected primary-expression before 'const'48 | const std::string& addressString, | ^~~~~/home/bage/hipercontracer-1.6.7/src/tools.h:49:23: error: expected primary-expression before 'bool'49 | bool tryToResolve = true); | ^~~~/home/bage/hipercontracer-1.6.7/src/tools.h:49:97: error: expression list treated as compound expression in initializer [-fpermissive]49 | bool tryToResolve = true); | ^[ 22%] Building CXX object src/CMakeFiles/libhipercontracer-static.dir/resultentry.cc.o cd /home/bage/hipercontracer-1.6.7/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -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_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_LOG_DYN_LINK -DBOOST_LOG_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 -g -O2 -ffile-prefix-map=/home/bage/hipercontracer-1.6.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -Wall -std=c++14 -MD -MT src/CMakeFiles/libhipercontracer-static.dir/resultentry.cc.o -MF CMakeFiles/libhipercontracer-static.dir/resultentry.cc.o.d -o CMakeFiles/libhipercontracer-static.dir/resultentry.cc.o -c /home/bage/hipercontracer-1.6.7/src/resultentry.cc [ 27%] Building CXX object src/CMakeFiles/libhipercontracer-shared.dir/logger.cc.o cd /home/bage/hipercontracer-1.6.7/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -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_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_LOG_DYN_LINK -DBOOST_LOG_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 -Dlibhipercontracer_shared_EXPORTS -g -O2 -ffile-prefix-map=/home/bage/hipercontracer-1.6.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -Wall -fPIC -std=c++14 -MD -MT src/CMakeFiles/libhipercontracer-shared.dir/logger.cc.o -MF CMakeFiles/libhipercontracer-shared.dir/logger.cc.o.d -o CMakeFiles/libhipercontracer-shared.dir/logger.cc.o -c /home/bage/hipercontracer-1.6.7/src/logger.cc /home/bage/hipercontracer-1.6.7/src/ping.cc: In member function 'virtual void Ping::processResults()': /home/bage/hipercontracer-1.6.7/src/ping.cc:143:13: error: 'map' is not a member of 'std' 143 | for(std::map<unsigned short, ResultEntry>::iterator iterator = ResultsMap.begin(); iterator != ResultsMap.end(); iterator++) {| ^~~/home/bage/hipercontracer-1.6.7/src/ping.cc:39:1: note: 'std::map' is defined in header '<map>'; did you forget to '#include <map>'?38 | #include <boost/format.hpp> +++ |+#include <map> 39 |/home/bage/hipercontracer-1.6.7/src/ping.cc:143:17: error: expected primary-expression before 'unsigned' 143 | for(std::map<unsigned short, ResultEntry>::iterator iterator = ResultsMap.begin(); iterator != ResultsMap.end(); iterator++) {| ^~~~~~~~/home/bage/hipercontracer-1.6.7/src/ping.cc:143:87: error: 'iterator' was not declared in this scope 143 | for(std::map<unsigned short, ResultEntry>::iterator iterator = ResultsMap.begin(); iterator != ResultsMap.end(); iterator++) {| ^~~~~~~~/home/bage/hipercontracer-1.6.7/src/ping.cc:143:87: note: suggested alternatives:In file included from /usr/include/c++/12/string:45, from /usr/include/boost/asio/ip/address.hpp:19:/usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: 'std::iterator'127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/include/boost/asio.hpp:158:/usr/include/boost/asio/placeholders.hpp:75:22: note: 'boost::asio::placeholders::iterator'75 | inline boost::arg<2> iterator() | ^~~~~~~~/home/bage/hipercontracer-1.6.7/src/ping.cc:143:99: error: 'ResultsMap' was not declared in this scope; did you mean 'ResultsOutput'? 143 | for(std::map<unsigned short, ResultEntry>::iterator iterator = ResultsMap.begin(); iterator != ResultsMap.end(); iterator++) {| ^~~~~~~~~~ | ResultsOutput In file included from /usr/include/boost/assert.hpp:58, from /usr/include/boost/format/parsing.hpp:21, from /usr/include/boost/format.hpp:50, from /home/bage/hipercontracer-1.6.7/src/ping.cc:38:/home/bage/hipercontracer-1.6.7/src/ping.cc:185:17: error: 'ResultsMap' was not declared in this scope; did you mean 'ResultsOutput'?185 | assert(ResultsMap.erase(resultEntry->seqNumber()) == 1); | ^~~~~~~~~~make[3]: *** [src/CMakeFiles/libhipercontracer-static.dir/build.make:107: src/CMakeFiles/libhipercontracer-static.dir/ping.cc.o] Error 1make[3]: *** Waiting for unfinished jobs....[ 31%] Building CXX object src/CMakeFiles/libhipercontracer-shared.dir/ping.cc.o cd /home/bage/hipercontracer-1.6.7/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -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_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_LOG_DYN_LINK -DBOOST_LOG_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 -Dlibhipercontracer_shared_EXPORTS -g -O2 -ffile-prefix-map=/home/bage/hipercontracer-1.6.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -Wall -fPIC -std=c++14 -MD -MT src/CMakeFiles/libhipercontracer-shared.dir/ping.cc.o -MF CMakeFiles/libhipercontracer-shared.dir/ping.cc.o.d -o CMakeFiles/libhipercontracer-shared.dir/ping.cc.o -c /home/bage/hipercontracer-1.6.7/src/ping.cc [ 36%] Building CXX object src/CMakeFiles/libhipercontracer-shared.dir/resultentry.cc.o cd /home/bage/hipercontracer-1.6.7/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -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_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_LOG_DYN_LINK -DBOOST_LOG_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 -Dlibhipercontracer_shared_EXPORTS -g -O2 -ffile-prefix-map=/home/bage/hipercontracer-1.6.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -Wall -fPIC -std=c++14 -MD -MT src/CMakeFiles/libhipercontracer-shared.dir/resultentry.cc.o -MF CMakeFiles/libhipercontracer-shared.dir/resultentry.cc.o.d -o CMakeFiles/libhipercontracer-shared.dir/resultentry.cc.o -c /home/bage/hipercontracer-1.6.7/src/resultentry.ccIn file included from /home/bage/hipercontracer-1.6.7/src/ping.h:35, from /home/bage/hipercontracer-1.6.7/src/ping.cc:32:/home/bage/hipercontracer-1.6.7/src/traceroute.h:142:9: error: 'map' in namespace 'std' does not name a template type142 | std::map<unsigned short, ResultEntry> ResultsMap; | ^~~/home/bage/hipercontracer-1.6.7/src/traceroute.h:48:1: note: 'std::map' is defined in header '<map>'; did you forget to '#include <map>'?47 | #include <boost/asio.hpp> +++ |+#include <map> 48 |/home/bage/hipercontracer-1.6.7/src/traceroute.h:143:9: error: 'map' in namespace 'std' does not name a template type143 | std::map<DestinationInfo, unsigned int> TTLCache; | ^~~/home/bage/hipercontracer-1.6.7/src/traceroute.h:143:4: note: 'std::map' is defined in header '<map>'; did you forget to '#include <map>'?143 | std::map<DestinationInfo, unsigned int> TTLCache; | ^~~ In file included from /home/bage/hipercontracer-1.6.7/src/ping.cc:33:/home/bage/hipercontracer-1.6.7/src/tools.h:47:28: error: 'map' is not a member of 'std' 47 | bool addSourceAddress(std::map<boost::asio::ip::address, std::set<uint8_t>>& array,| ^~~/home/bage/hipercontracer-1.6.7/src/tools.h:36:1: note: 'std::map' is defined in header '<map>'; did you forget to '#include <map>'?35 | #include <pwd.h> +++ |+#include <map> 36 |/home/bage/hipercontracer-1.6.7/src/tools.h:47:56: error: expected primary-expression before ',' token 47 | bool addSourceAddress(std::map<boost::asio::ip::address, std::set<uint8_t>>& array,| ^/home/bage/hipercontracer-1.6.7/src/tools.h:47:74: error: expected primary-expression before '>' token 47 | bool addSourceAddress(std::map<boost::asio::ip::address, std::set<uint8_t>>& array,| ^~/home/bage/hipercontracer-1.6.7/src/tools.h:47:78: error: 'array' was not declared in this scope 47 | bool addSourceAddress(std::map<boost::asio::ip::address, std::set<uint8_t>>& array,| ^~~~~/home/bage/hipercontracer-1.6.7/src/tools.h:47:78: note: suggested alternatives:In file included from /usr/include/c++/12/functional:54,from /usr/include/boost/system/detail/error_category.hpp:17,from /usr/include/boost/system/detail/error_code.hpp:14, from /usr/include/boost/system/error_code.hpp:13, from /usr/include/boost/asio/ip/address.hpp:23,from /home/bage/hipercontracer-1.6.7/src/destinationinfo.h:35,from /home/bage/hipercontracer-1.6.7/src/service.h:35,from /home/bage/hipercontracer-1.6.7/src/traceroute.h:35:/usr/include/c++/12/tuple:1595:45: note: 'std::array' 1595 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~ In file included from /usr/include/boost/asio/buffer.hpp:25,from /usr/include/boost/asio/detail/reactive_socket_service.hpp:23,from /usr/include/boost/asio/basic_socket.hpp:38,from /usr/include/boost/asio/basic_datagram_socket.hpp:20,from /usr/include/boost/asio.hpp:31,from /home/bage/hipercontracer-1.6.7/src/traceroute.h:47:/usr/include/boost/asio/detail/array_fwd.hpp:23:7: note: 'boost::array' 23 | class array; | ^~~~~ In file included from /usr/include/boost/iostreams/detail/resolve.hpp:30, from /usr/include/boost/iostreams/detail/push.hpp:24,from /usr/include/boost/iostreams/filtering_stream.hpp:19, from /home/bage/hipercontracer-1.6.7/src/resultswriter.h:42, from /home/bage/hipercontracer-1.6.7/src/traceroute.h:37: /usr/include/boost/iostreams/device/array.hpp:81:1: note: 'boost::iostreams::array'81 | BOOST_IOSTREAMS_ARRAY(array, seekable) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/tuple:1595:45: note: 'std::array' 1595 | template<typename _Tp, size_t _Nm> struct array; | ^~~~~/home/bage/hipercontracer-1.6.7/src/tools.h:48:23: error: expected primary-expression before 'const'48 | const std::string& addressString, | ^~~~~/home/bage/hipercontracer-1.6.7/src/tools.h:49:23: error: expected primary-expression before 'bool'49 | bool tryToResolve = true); | ^~~~/home/bage/hipercontracer-1.6.7/src/tools.h:49:97: error: expression list treated as compound expression in initializer [-fpermissive]49 | bool tryToResolve = true); | ^/home/bage/hipercontracer-1.6.7/src/ping.cc: In member function 'virtual void Ping::processResults()': /home/bage/hipercontracer-1.6.7/src/ping.cc:143:13: error: 'map' is not a member of 'std' 143 | for(std::map<unsigned short, ResultEntry>::iterator iterator = ResultsMap.begin(); iterator != ResultsMap.end(); iterator++) {| ^~~/home/bage/hipercontracer-1.6.7/src/ping.cc:39:1: note: 'std::map' is defined in header '<map>'; did you forget to '#include <map>'?38 | #include <boost/format.hpp> +++ |+#include <map> 39 |/home/bage/hipercontracer-1.6.7/src/ping.cc:143:17: error: expected primary-expression before 'unsigned' 143 | for(std::map<unsigned short, ResultEntry>::iterator iterator = ResultsMap.begin(); iterator != ResultsMap.end(); iterator++) {| ^~~~~~~~/home/bage/hipercontracer-1.6.7/src/ping.cc:143:87: error: 'iterator' was not declared in this scope 143 | for(std::map<unsigned short, ResultEntry>::iterator iterator = ResultsMap.begin(); iterator != ResultsMap.end(); iterator++) {| ^~~~~~~~/home/bage/hipercontracer-1.6.7/src/ping.cc:143:87: note: suggested alternatives:In file included from /usr/include/c++/12/string:45, from /usr/include/boost/asio/ip/address.hpp:19:/usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: 'std::iterator'127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/include/boost/asio.hpp:158:/usr/include/boost/asio/placeholders.hpp:75:22: note: 'boost::asio::placeholders::iterator'75 | inline boost::arg<2> iterator() | ^~~~~~~~/home/bage/hipercontracer-1.6.7/src/ping.cc:143:99: error: 'ResultsMap' was not declared in this scope; did you mean 'ResultsOutput'? 143 | for(std::map<unsigned short, ResultEntry>::iterator iterator = ResultsMap.begin(); iterator != ResultsMap.end(); iterator++) {| ^~~~~~~~~~ | ResultsOutput In file included from /usr/include/boost/assert.hpp:58, from /usr/include/boost/format/parsing.hpp:21, from /usr/include/boost/format.hpp:50, from /home/bage/hipercontracer-1.6.7/src/ping.cc:38:/home/bage/hipercontracer-1.6.7/src/ping.cc:185:17: error: 'ResultsMap' was not declared in this scope; did you mean 'ResultsOutput'?185 | assert(ResultsMap.erase(resultEntry->seqNumber()) == 1); | ^~~~~~~~~~make[3]: *** [src/CMakeFiles/libhipercontracer-shared.dir/build.make:107: src/CMakeFiles/libhipercontracer-shared.dir/ping.cc.o] Error 1make[3]: *** Waiting for unfinished jobs....make[3]: Leaving directory '/home/bage/hipercontracer-1.6.7/obj-x86_64-linux-gnu' make[2]: *** [CMakeFiles/Makefile2:240: src/CMakeFiles/libhipercontracer-static.dir/all] Error 2make[2]: *** Waiting for unfinished jobs....make[3]: Leaving directory '/home/bage/hipercontracer-1.6.7/obj-x86_64-linux-gnu' make[2]: *** [CMakeFiles/Makefile2:214: src/CMakeFiles/libhipercontracer-shared.dir/all] Error 2 make[2]: Leaving directory '/home/bage/hipercontracer-1.6.7/obj-x86_64-linux-gnu'make[1]: *** [Makefile:159: all] Error 2make[1]: Leaving directory '/home/bage/hipercontracer-1.6.7/obj-x86_64-linux-gnu' dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j4 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2make: *** [debian/rules:7: binary] Error 2dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
-- Best regards / Mit freundlichen Grüßen / Med vennlig hilsen ======================================================================= Thomas Dreibholz SimulaMet — Simula Metropolitan Centre for Digital Engineering Centre for Resilient Networks and Applications Pilestredet 52 0167 Oslo, Norway ----------------------------------------------------------------------- E-Mail: dre...@simula.no Homepage: http://simula.no/people/dreibh =======================================================================
OpenPGP_signature
Description: OpenPGP digital signature