Your message dated Wed, 03 Jun 2020 11:06:43 +0000
with message-id <e1jgrej-000i4h...@fasolo.debian.org>
and subject line Bug#959417: fixed in vcmi 0.99+dfsg+git20190113.f06c8a87-2
has caused the Debian Bug report #959417,
regarding FTBFS with Boost 1.71
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
959417: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=959417
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: vcmi
Version: 0.99+dfsg+git20190113.f06c8a87-1
Severity: wishlist
Tags: patch
User: team+bo...@tracker.debian.org
Usertags: boost1.71

Dear Maintainer,

your package fails to build with boost1.71. You can find a build log
attached. If you want to attempt the build yourself, an updated version
of boost-defaults which brings in boost1.71 dependencies can be found
adding this line to your sources.list file:

  deb https://people.debian.org/~gio/reprepro gio main

This bug has severity whishlist for the moment, but it will raised to RC
as soon as version 1.71 of Boost is promoted to default.

More specifically, your package fails building because it uses some
retired API from Boost.Asio. The attached patch (cherry picked from
upstream) should fix the bug.

Thanks and all the best, Giovanni.
-- 
Giovanni Mascellani <g.mascell...@gmail.com>
Postdoc researcher - Université Libre de Bruxelles
From ecbb568f09b6025179200a6c7b492356d0493bb2 Mon Sep 17 00:00:00 2001
From: Giovanni Mascellani <g...@debian.org>
Date: Sat, 2 May 2020 09:29:28 +0200
Subject: [PATCH] Fix FTBFS with Boost 1.71.

---
 ...d0f7b42fb535748ec311ba877a6e6216567b.patch | 62 +++++++++++++++++++
 debian/patches/series                         |  1 +
 2 files changed, 63 insertions(+)
 create mode 100644 debian/patches/ac81d0f7b42fb535748ec311ba877a6e6216567b.patch

diff --git a/debian/patches/ac81d0f7b42fb535748ec311ba877a6e6216567b.patch b/debian/patches/ac81d0f7b42fb535748ec311ba877a6e6216567b.patch
new file mode 100644
index 0000000..6e024d6
--- /dev/null
+++ b/debian/patches/ac81d0f7b42fb535748ec311ba877a6e6216567b.patch
@@ -0,0 +1,62 @@
+From ac81d0f7b42fb535748ec311ba877a6e6216567b Mon Sep 17 00:00:00 2001
+From: krkos <kr...@users.noreply.github.com>
+Date: Tue, 21 Jan 2020 09:55:28 +0100
+Subject: [PATCH] Fix build with Boost versioni >= 1.70 (#615)
+
+---
+ lib/serializer/Connection.h | 7 +++++++
+ server/CVCMIServer.cpp      | 8 ++++++--
+ 2 files changed, 13 insertions(+), 2 deletions(-)
+
+diff --git a/lib/serializer/Connection.h b/lib/serializer/Connection.h
+index e6bfcfd86..6ba68d269 100644
+--- a/lib/serializer/Connection.h
++++ b/lib/serializer/Connection.h
+@@ -14,6 +14,11 @@
+ 
+ struct CPack;
+ 
++#if BOOST_VERSION >= 107000  // Boost version >= 1.70
++#include <boost/asio.hpp>
++typedef boost::asio::basic_stream_socket < boost::asio::ip::tcp > TSocket;
++typedef boost::asio::basic_socket_acceptor < boost::asio::ip::tcp > TAcceptor;
++#else
+ namespace boost
+ {
+ 	namespace asio
+@@ -43,6 +48,8 @@ namespace boost
+ 
+ typedef boost::asio::basic_stream_socket < boost::asio::ip::tcp , boost::asio::stream_socket_service<boost::asio::ip::tcp>  > TSocket;
+ typedef boost::asio::basic_socket_acceptor<boost::asio::ip::tcp, boost::asio::socket_acceptor_service<boost::asio::ip::tcp> > TAcceptor;
++#endif
++
+ 
+ /// Main class for network communication
+ /// Allows establishing connection and bidirectional read-write
+diff --git a/server/CVCMIServer.cpp b/server/CVCMIServer.cpp
+index 730ddba96..dfcfefe4e 100644
+--- a/server/CVCMIServer.cpp
++++ b/server/CVCMIServer.cpp
+@@ -214,8 +214,8 @@ void CVCMIServer::threadAnnounceLobby()
+ 
+ 			if(acceptor)
+ 			{
+-				acceptor->get_io_service().reset();
+-				acceptor->get_io_service().poll();
++				io->reset();
++				io->poll();
+ 			}
+ 		}
+ 
+@@ -272,7 +272,11 @@ void CVCMIServer::startAsyncAccept()
+ 	assert(!upcomingConnection);
+ 	assert(acceptor);
+ 
++#if BOOST_VERSION >= 107000  // Boost version >= 1.70
++	upcomingConnection = std::make_shared<TSocket>(acceptor->get_executor());
++#else
+ 	upcomingConnection = std::make_shared<TSocket>(acceptor->get_io_service());
++#endif
+ 	acceptor->async_accept(*upcomingConnection, std::bind(&CVCMIServer::connectionAccepted, this, _1));
+ }
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 4ab4eca..747bb14 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 disable-privacy-breach
 minizip_maxu32
+ac81d0f7b42fb535748ec311ba877a6e6216567b.patch
-- 
2.26.2

Attachment: vcmi.log.gz
Description: application/gzip

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: vcmi
Source-Version: 0.99+dfsg+git20190113.f06c8a87-2
Done: Johannes 'josch' Schauer <jo...@debian.org>

We believe that the bug you reported is fixed in the latest version of
vcmi, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 959...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Johannes 'josch' Schauer <jo...@debian.org> (supplier of updated vcmi package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 03 Jun 2020 12:44:51 +0200
Source: vcmi
Architecture: source
Version: 0.99+dfsg+git20190113.f06c8a87-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <pkg-games-de...@lists.alioth.debian.org>
Changed-By: Johannes 'josch' Schauer <jo...@debian.org>
Closes: 959417
Changes:
 vcmi (0.99+dfsg+git20190113.f06c8a87-2) unstable; urgency=medium
 .
   * Add patch "Fix build with Boost version >= 1.70"
     Thanks Giovanni Mascellani (closes: #959417)
Checksums-Sha1:
 77e5c3c0597e774f26e71fdba2a725335b210448 2581 
vcmi_0.99+dfsg+git20190113.f06c8a87-2.dsc
 5ecec5921260c3b45f24eb34356b097725a3f6ea 9004 
vcmi_0.99+dfsg+git20190113.f06c8a87-2.debian.tar.xz
Checksums-Sha256:
 625a59bac981dac51fe276dc9da948fefe82b25631610713bc2af9c4b6a2d3df 2581 
vcmi_0.99+dfsg+git20190113.f06c8a87-2.dsc
 7988c3ce9971556b79313f2a1b9741c4f0ec9f5582dd0ab429eb6a36dfd501c5 9004 
vcmi_0.99+dfsg+git20190113.f06c8a87-2.debian.tar.xz
Files:
 41786def9abb1333ede6d8b9b29a3e6e 2581 contrib/games optional 
vcmi_0.99+dfsg+git20190113.f06c8a87-2.dsc
 ea495cfe61a311d1e3d10e85c7ad1343 9004 contrib/games optional 
vcmi_0.99+dfsg+git20190113.f06c8a87-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEElFhU6KL81LF4wVq58sulx4+9g+EFAl7Xf3IACgkQ8sulx4+9
g+E3MhAAkc/bmNrzJYDqP3NhwnGuj8NolNDDoO8ArSANTEOFdB+ua7o+RbqMZyqf
aYoBMzEg9/Je4y7zF5rBnB9pRTJOu2Dnq52z0jLJviTyey1za7MDmIYvQddM1qqg
yeByzBCHVqDI4RBzjOmGMKL0AOCPixAYoaz6pH8+hiWnk7PAuo3x/IyrO4KNBucn
bg9KPxhfeWqPjsbzu06labFJ8wuP4G58Bp65p0MW5N1+EyJ4g3Gkts5SNrk6C6yt
+8nNkQfhzggGKaAzfLAthgQ1rMc+0i7QB1SNFcLptofI+zsn4Hid7fn+M2aSyOEU
XDN9XzvWmcmw2nN3e39EEQ5V9BEK4Zd63nizYFYYblv8n03JDcTbnt5SyPSrH0/h
yWByHe/2Ieh8qKqtfzgazIUgJ2qLE9Ee/JJcofzRmhFoGW4ELKtqwCqFVRsfiWbN
nB3XyL9XJ8fKXRCZn5iK9VrUt5XpLfwX/iidJrVDtobNIvU9FbrmSI6Ig9y7eiWq
5lwa7dyDNzqulblMAfB4dG5DVqILybFdQoCg3IzAVk847RZRRPBq2CWj9xLde3Q7
q4t7bfKDCNU0i0/ad2n8Fo60K1NWxcbESwDfIhqtSwpPS6YAr/syJHtx1KCSEDdf
3fECHMvYgQfZ8dPAPV0gxQgql9O7lA+LW8noSvsBVqvggjP2m+0=
=vHca
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to