Package: plee-the-bear
Version: 0.6.0-6
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: boost1.71

Dear Maintainer,

your package fails to build with boost1.71. 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 the old
libboost-signals-dev package, which has now disappeared.

The attached patch should fix the bug.

Thanks and all the best, Giovanni.
-- 
Giovanni Mascellani <[email protected]>
Postdoc researcher - Université Libre de Bruxelles
From 6a23544a8d2d932f02d68f1d314707f4fd47e49b Mon Sep 17 00:00:00 2001
From: Giovanni Mascellani <[email protected]>
Date: Sat, 14 Mar 2020 11:08:04 +0100
Subject: [PATCH] Fix FTBFS with Boost 1.71.

---
 debian/changelog                              |  7 ++++
 debian/control                                |  1 -
 .../0008-Fix-FTBFS-with-Boost-1.71.patch      | 36 +++++++++++++++++++
 debian/patches/series                         |  1 +
 4 files changed, 44 insertions(+), 1 deletion(-)
 create mode 100644 debian/patches/0008-Fix-FTBFS-with-Boost-1.71.patch

diff --git a/debian/changelog b/debian/changelog
index e82a372..442251a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+plee-the-bear (0.6.0-6.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Do not depend on libboost-signals-dev, that does not exit any more.
+
+ -- Giovanni Mascellani <[email protected]>  Sat, 14 Mar 2020 11:07:48 +0100
+
 plee-the-bear (0.6.0-6) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/control b/debian/control
index 39d2804..6881ca0 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,6 @@ Build-Depends: debhelper-compat (= 12),
  libboost-filesystem-dev (>= 1.45),
  libboost-regex-dev (>= 1.45),
  libboost-thread-dev (>= 1.45),
- libboost-signals-dev (>= 1.45),
  mesa-common-dev (>= 6.5),
  libclaw-dev (>= 1.7.0),
  libclaw-graphic-dev (>= 1.7.0),
diff --git a/debian/patches/0008-Fix-FTBFS-with-Boost-1.71.patch b/debian/patches/0008-Fix-FTBFS-with-Boost-1.71.patch
new file mode 100644
index 0000000..2a2d39c
--- /dev/null
+++ b/debian/patches/0008-Fix-FTBFS-with-Boost-1.71.patch
@@ -0,0 +1,36 @@
+From: Giovanni Mascellani <[email protected]>
+Date: Sat, 14 Mar 2020 11:11:32 +0100
+Subject: Fix FTBFS with Boost 1.71.
+
+In Boost 1.71 the Signals library has disappears in favour or Signals2.
+---
+ bear-engine/CMakeLists.txt   | 2 +-
+ plee-the-bear/CMakeLists.txt | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/bear-engine/CMakeLists.txt b/bear-engine/CMakeLists.txt
+index e65f040..3054347 100644
+--- a/bear-engine/CMakeLists.txt
++++ b/bear-engine/CMakeLists.txt
+@@ -50,7 +50,7 @@ link_directories(
+ include(FindBoost)
+ 
+ find_package(
+-  Boost 1.42 REQUIRED COMPONENTS filesystem regex signals system thread
++  Boost 1.42 REQUIRED COMPONENTS filesystem regex system thread
+   )
+ if( NOT Boost_FOUND )
+   message( FATAL_ERROR 
+diff --git a/plee-the-bear/CMakeLists.txt b/plee-the-bear/CMakeLists.txt
+index ab6d7be..04f886f 100644
+--- a/plee-the-bear/CMakeLists.txt
++++ b/plee-the-bear/CMakeLists.txt
+@@ -88,7 +88,7 @@ link_directories(
+ # Boost
+ include(FindBoost)
+ 
+-find_package( Boost 1.35 REQUIRED COMPONENTS signals)
++find_package( Boost 1.35 REQUIRED COMPONENTS)
+ 
+ if( NOT Boost_FOUND )
+   message( FATAL_ERROR 
diff --git a/debian/patches/series b/debian/patches/series
index 9b147a8..aa6d850 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@ ptb-signals-v2.diff
 full-path-menu-icon.diff
 wx3.0-compat.patch
 absolute-path-in-desktop-file.patch
+0008-Fix-FTBFS-with-Boost-1.71.patch
-- 
2.25.1

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to