Bug#1131649: gr-gsm: FTBFS: /<<PKGBUILDDIR>>/lib/../include/gsm/misc_utils/udp_socket.h:39:20: error: 'io_service' in namespace 'boost::asio' does not name a type; did you mean 'use_service'?

Santiago Vila <[email protected]>
Newsgroups gmane.linux.debian.devel.ham
Message-ID <E1w4drW-00Gg9d-0U__42376.1193685763$1774267122$gmane$org@paradis.debian.org>
Package: src:gr-gsm
Version: 1.0.0~20220727-2
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202603/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:gr-gsm, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
[ 33%] Building CXX object lib/CMakeFiles/gnuradio-gsm.dir/misc_utils/udp_socket.cc.o
cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib" && /usr/bin/c [too-long-redacted] >/lib/misc_utils/udp_socket.cc"
In file included from /<<PKGBUILDDIR>>/lib/misc_utils/udp_socket.cc:32:
/<<PKGBUILDDIR>>/lib/../include/gsm/misc_utils/udp_socket.h:39:20: error: ‘io_service’ in namespace ‘boost::asio’ does not name a type; did you mean ‘use_service’?
   39 |       boost::asio::io_service d_io_service;
      |                    ^~~~~~~~~~
      |                    use_service
/<<PKGBUILDDIR>>/lib/misc_utils/udp_socket.cc: In constructor ‘gr::gsm::udp_socket::udp_socket(const std::string&, const std::string&, const std::string&, const std::string&, size_t)’:
/<<PKGBUILDDIR>>/lib/misc_utils/udp_socket.cc:50:30: error: ‘d_io_service’ was not declared in this scope; did you mean ‘run_io_service’?
   50 |       udp::resolver resolver(d_io_service);
      |                              ^~~~~~~~~~~~
      |                              run_io_service
/<<PKGBUILDDIR>>/lib/misc_utils/udp_socket.cc:52:22: error: ‘query’ is not a member of ‘boost::asio::ip::udp::resolver’ {aka ‘boost::asio::ip::basic_resolver<boost::asio::ip::udp>’}
   52 |       udp::resolver::query rx_query(
      |                      ^~~~~
/<<PKGBUILDDIR>>/lib/misc_utils/udp_socket.cc:55:22: error: ‘query’ is not a member of ‘boost::asio::ip::udp::resolver’ {aka ‘boost::asio::ip::basic_resolver<boost::asio::ip::udp>’}
   55 |       udp::resolver::query tx_query(
      |                      ^~~~~
/<<PKGBUILDDIR>>/lib/misc_utils/udp_socket.cc:59:45: error: ‘rx_query’ was not declared in this scope
   59 |       d_udp_endpoint_rx = *resolver.resolve(rx_query);
      |                                             ^~~~~~~~
/<<PKGBUILDDIR>>/lib/misc_utils/udp_socket.cc:60:45: error: ‘tx_query’ was not declared in this scope
   60 |       d_udp_endpoint_tx = *resolver.resolve(tx_query);
      |                                             ^~~~~~~~
/<<PKGBUILDDIR>>/lib/misc_utils/udp_socket.cc: In destructor ‘gr::gsm::udp_socket::~udp_socket()’:
/<<PKGBUILDDIR>>/lib/misc_utils/udp_socket.cc:80:7: error: ‘d_io_service’ was not declared in this scope; did you mean ‘run_io_service’?
   80 |       d_io_service.stop();
      |       ^~~~~~~~~~~~
      |       run_io_service
/<<PKGBUILDDIR>>/lib/misc_utils/udp_socket.cc: In member function ‘void gr::gsm::udp_socket::run_io_service()’:
/<<PKGBUILDDIR>>/lib/misc_utils/udp_socket.cc:88:7: error: ‘d_io_service’ was not declared in this scope; did you mean ‘run_io_service’?
   88 |       d_io_service.run();
      |       ^~~~~~~~~~~~
      |       run_io_service
make[3]: *** [lib/CMakeFiles/gnuradio-gsm.dir/build.make:642: lib/CMakeFiles/gnuradio-gsm.dir/misc_utils/udp_socket.cc.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:1058: lib/CMakeFiles/gnuradio-gsm.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j1 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.