Your message dated Thu, 06 Aug 2015 11:00:15 +0000
with message-id <[email protected]>
and subject line Bug#794716: fixed in lucene++ 3.0.7-6
has caused the Debian Bug report #794716,
regarding Needs transition for g++5
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 [email protected]
immediately.)


-- 
794716: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=794716
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:lucene++
Version: 3.0.7-5
Severity: serious
Tags: patch

Control: user [email protected]
Control: usertag -1 + transition
Control: block -1 by 790756

Hi,

lucene++ changes ABI in public symbols when built with g++ 5 (sorry, I
don't have a diff handy but I can get one if you want - BTW a symbols
file would be nice!). This means that it needs to be transitioned.

I've done this in Ubuntu, and here's a diff for Debian for you to review
and hopefully upload.

The diff also includes an upstream fix to bulid against boost 1.58.

Cheers,

-- 
Iain Lane                                  [ [email protected] ]
Debian Developer                                   [ [email protected] ]
Ubuntu Developer                                   [ [email protected] ]
diff -Nru lucene++-3.0.7/debian/control lucene++-3.0.7/debian/control
--- lucene++-3.0.7/debian/control	2015-04-28 13:57:53.000000000 +0100
+++ lucene++-3.0.7/debian/control	2015-08-05 22:46:58.000000000 +0100
@@ -21,8 +21,8 @@
 Package: liblucene++-dev
 Section: libdevel
 Architecture: any
-Depends: liblucene++-contrib0 (= ${binary:Version}),
-         liblucene++0 (= ${binary:Version}),
+Depends: liblucene++-contrib0v5 (= ${binary:Version}),
+         liblucene++0v5 (= ${binary:Version}),
          ${misc:Depends},
          ${shlibs:Depends}
 Description: Development files for Lucene++
@@ -41,22 +41,26 @@
  .
  This package contains the reference manual and examples.
 
-Package: liblucene++0
+Package: liblucene++0v5
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: liblucene++0
+Replaces: liblucene++0
 Description: Shared library for Lucene++
  Lucene++ is an up to date C++ port of the popular Java Lucene
  library, a high-performance, full-featured text search engine.
  .
  This package contains the shared library.
 
-Package: liblucene++-contrib0
+Package: liblucene++-contrib0v5
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: liblucene++-contrib0v5
+Replaces: liblucene++-contrib0v5
 Description: Shared library with Lucene++ contributions
  Lucene++ is an up to date C++ port of the popular Java Lucene
  library, a high-performance, full-featured text search engine.
diff -Nru lucene++-3.0.7/debian/liblucene++0.install lucene++-3.0.7/debian/liblucene++0.install
--- lucene++-3.0.7/debian/liblucene++0.install	2015-01-30 22:43:56.000000000 +0000
+++ lucene++-3.0.7/debian/liblucene++0.install	1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-usr/lib/*/liblucene++.so.*
diff -Nru lucene++-3.0.7/debian/liblucene++0v5.install lucene++-3.0.7/debian/liblucene++0v5.install
--- lucene++-3.0.7/debian/liblucene++0v5.install	1970-01-01 01:00:00.000000000 +0100
+++ lucene++-3.0.7/debian/liblucene++0v5.install	2015-01-30 22:43:56.000000000 +0000
@@ -0,0 +1 @@
+usr/lib/*/liblucene++.so.*
diff -Nru lucene++-3.0.7/debian/liblucene++0v5.lintian-overrides lucene++-3.0.7/debian/liblucene++0v5.lintian-overrides
--- lucene++-3.0.7/debian/liblucene++0v5.lintian-overrides	1970-01-01 01:00:00.000000000 +0100
+++ lucene++-3.0.7/debian/liblucene++0v5.lintian-overrides	2015-08-05 23:03:16.000000000 +0100
@@ -0,0 +1,2 @@
+# G++5 ABI transition
+liblucene++0v5: package-name-doesnt-match-sonames liblucene++0
diff -Nru lucene++-3.0.7/debian/liblucene++-contrib0.install lucene++-3.0.7/debian/liblucene++-contrib0.install
--- lucene++-3.0.7/debian/liblucene++-contrib0.install	2015-01-30 22:43:56.000000000 +0000
+++ lucene++-3.0.7/debian/liblucene++-contrib0.install	1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-usr/lib/*/liblucene++-contrib.so.*
diff -Nru lucene++-3.0.7/debian/liblucene++-contrib0v5.install lucene++-3.0.7/debian/liblucene++-contrib0v5.install
--- lucene++-3.0.7/debian/liblucene++-contrib0v5.install	1970-01-01 01:00:00.000000000 +0100
+++ lucene++-3.0.7/debian/liblucene++-contrib0v5.install	2015-01-30 22:43:56.000000000 +0000
@@ -0,0 +1 @@
+usr/lib/*/liblucene++-contrib.so.*
diff -Nru lucene++-3.0.7/debian/liblucene++-contrib0v5.lintian-overrides lucene++-3.0.7/debian/liblucene++-contrib0v5.lintian-overrides
--- lucene++-3.0.7/debian/liblucene++-contrib0v5.lintian-overrides	1970-01-01 01:00:00.000000000 +0100
+++ lucene++-3.0.7/debian/liblucene++-contrib0v5.lintian-overrides	2015-08-05 22:52:59.000000000 +0100
@@ -0,0 +1,2 @@
+# G++5 ABI transition
+liblucene++-contrib0v5: package-name-doesnt-match-sonames liblucene++-contrib0
diff -Nru lucene++-3.0.7/debian/patches/0001-Fix-compilation-with-Boost-1.58.patch lucene++-3.0.7/debian/patches/0001-Fix-compilation-with-Boost-1.58.patch
--- lucene++-3.0.7/debian/patches/0001-Fix-compilation-with-Boost-1.58.patch	1970-01-01 01:00:00.000000000 +0100
+++ lucene++-3.0.7/debian/patches/0001-Fix-compilation-with-Boost-1.58.patch	2015-08-05 22:29:41.000000000 +0100
@@ -0,0 +1,42 @@
+From 1987082cf9278a639d772b4f35a8ae2d34944177 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Va=CC=81clav=20Slavi=CC=81k?= <[email protected]>
+Date: Mon, 4 May 2015 18:04:46 +0200
+Subject: [PATCH] Fix compilation with Boost 1.58
+
+1.58 introduces strict type checking in boost::get() and while that's
+good in theory, the VariantUtils code makes it impractical to use.
+Instead, use relaxed_get() to get the old behavior. relaxed_get() didn't
+exist in older versions of Boost, so the code must check BOOST_VERSION.
+
+Fixes #93.
+---
+ include/VariantUtils.h | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/include/VariantUtils.h b/include/VariantUtils.h
+index 1e6c243..5a72e59 100644
+--- a/include/VariantUtils.h
++++ b/include/VariantUtils.h
+@@ -8,6 +8,7 @@
+ #define VARIANTUTILS_H
+ 
+ #include <boost/any.hpp>
++#include <boost/version.hpp>
+ #include "Lucene.h"
+ #include "MiscUtils.h"
+ 
+@@ -22,7 +23,11 @@ public:
+ 
+     template <typename TYPE, typename VAR>
+     static TYPE get(VAR var) {
++#if BOOST_VERSION < 105800
+         return var.type() == typeid(TYPE) ? boost::get<TYPE>(var) : TYPE();
++#else
++        return var.type() == typeid(TYPE) ? boost::relaxed_get<TYPE>(var) : TYPE();
++#endif
+     }
+ 
+     template <typename TYPE, typename VAR>
+-- 
+2.5.0
+
diff -Nru lucene++-3.0.7/debian/patches/series lucene++-3.0.7/debian/patches/series
--- lucene++-3.0.7/debian/patches/series	2015-07-16 17:15:04.000000000 +0100
+++ lucene++-3.0.7/debian/patches/series	2015-08-05 22:29:41.000000000 +0100
@@ -1,3 +1,4 @@
 #disable-snowball.patch
 0001-Fix-packageconfig-path.patch
 afd772ba14954c8785ce17a376759ba9525f3315.patch
+0001-Fix-compilation-with-Boost-1.58.patch

--- End Message ---
--- Begin Message ---
Source: lucene++
Source-Version: 3.0.7-6

We believe that the bug you reported is fixed in the latest version of
lucene++, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gianfranco Costamagna <[email protected]> (supplier of updated lucene++ 
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 [email protected])


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

Format: 1.8
Date: Thu, 06 Aug 2015 10:45:42 +0200
Source: lucene++
Binary: liblucene++-dev liblucene++-doc liblucene++0v5 liblucene++-contrib0v5
Architecture: source amd64 all
Version: 3.0.7-6
Distribution: unstable
Urgency: medium
Maintainer: Ɓukasz 'sil2100' Zemczak <[email protected]>
Changed-By: Gianfranco Costamagna <[email protected]>
Description:
 liblucene++-contrib0v5 - Shared library with Lucene++ contributions
 liblucene++-dev - Development files for Lucene++
 liblucene++-doc - Reference manual for Lucene++
 liblucene++0v5 - Shared library for Lucene++
Closes: 794716
Changes:
 lucene++ (3.0.7-6) unstable; urgency=medium
 .
   [ Iain Lane ]
   * debian/patches/0001-Fix-compilation-with-Boost-1.58.patch: Cherry-pick
     from upstream to fix compilation with boost 1.58.
   * Update package names for GCC5 ABI break. (Closes: #794716)
 .
   [ Gianfranco Costamagna ]
   * Add symbols files.
   * Update my uid.
Checksums-Sha1:
 d18a0e0a394bd5da35ba6e11f466921286373873 2348 lucene++_3.0.7-6.dsc
 b17423ecc0b33743d4161dbdda40d8bd64356d53 131528 lucene++_3.0.7-6.debian.tar.xz
 e917b5d8f82bfb24c2f7a02430a15aabf2102d64 403152 
liblucene++-contrib0v5_3.0.7-6_amd64.deb
 b26f62df3e913dfde90c722fc3b7991cf5f7f942 234270 
liblucene++-dev_3.0.7-6_amd64.deb
 8b9db997a30b579e9888d573c52c8da342d0ba4d 2928094 
liblucene++-doc_3.0.7-6_all.deb
 ec44e21e2221945083915e72fae6e9052c1dc624 2054058 
liblucene++0v5_3.0.7-6_amd64.deb
Checksums-Sha256:
 3d46b9f1da01b536a37e7811fd13f40671ae16af2228464600aa9d939b523deb 2348 
lucene++_3.0.7-6.dsc
 96baca4533e9f351c0f73c40a67fe0ee7354832b4662fb10708956a429f6e66a 131528 
lucene++_3.0.7-6.debian.tar.xz
 0ef094d5c185f8ebb8201d4002690e951cbce9defe0c3b8dff83fe791e9f110f 403152 
liblucene++-contrib0v5_3.0.7-6_amd64.deb
 740b8db2876afa310d0ae52ee56a5d0703a3450d61a04f57097b033dbd2918bf 234270 
liblucene++-dev_3.0.7-6_amd64.deb
 d6670b6af8a45cbcb68b3a839ec755805d6a014fefbdcbfcc2d0546a2a652454 2928094 
liblucene++-doc_3.0.7-6_all.deb
 c8129a9088fbfd88840f85c81dcdb2dbbed97406a62dbb85def4ac99292a6943 2054058 
liblucene++0v5_3.0.7-6_amd64.deb
Files:
 055195ae075a4085c611e6f30eb811de 2348 libs optional lucene++_3.0.7-6.dsc
 48ec1e2c72faa0455895aa9a9ede95c9 131528 libs optional 
lucene++_3.0.7-6.debian.tar.xz
 5904483ab72fdfa5f761adf5a1e4da72 403152 libs optional 
liblucene++-contrib0v5_3.0.7-6_amd64.deb
 d43bced393c5c978dd4725b89124c7cb 234270 libdevel optional 
liblucene++-dev_3.0.7-6_amd64.deb
 e444d006cfa638724f074100d2b85241 2928094 doc optional 
liblucene++-doc_3.0.7-6_all.deb
 86a7b5977c577c671e54cfa598ff5fac 2054058 libs optional 
liblucene++0v5_3.0.7-6_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJVwzVYAAoJEPNPCXROn13ZqkgQAM6mHp3DhA/GxQ5+zvB/NcCq
giWJWikM7cFMH94V5e/0ADSaiOhY2aSovRK6l0OTRlMMyUvaQA6hvnIaB3TI4X+/
Arx/pg1a6YER9Frk0jnOdguKOzejwjvCASPVeT7qaaoCSUtN3Ni2a8YgwchSopfJ
wPxa7eUM1GnaT0OxzMVItojy47pxTb32epfh0WTkS5bOBFxUwiJPQInJ2dzoSSZK
FcFSVu6HyEZsYs5tvkuN33+REVXSE7M/65bGSdccTUBPx2JESQ0JrrHSKSNIozDm
dz8SB3K2btlL9AVLa6nYFdS5X/IYCRB8k/65B4YrV9nhH2TpTVfk8DjKApNFr3bG
MT1bSqdUk98o3tyDmVW02X8O6kMqA4fyQ4OX05v2SB0Nt5imd/Q4LV9ESaj//UVI
USYq5+m3ge+NILtnaAmMVJKYacjpeg19NHpIeAu4/fsRklA6V3p1pr/w0cBT+bPq
9+8+ZHQ6dobdgYutEWZjC2228PKxBBQRT3KQwBl3sW8tVwxYr/aySvs/crZzF5so
6yVQcF+DoiE3dV7UitRTO5lniS8pfz3uyW5Bdp8Hzhi6ybg5ENc+s2Cww7dvrEIo
yr3H2SDv+si4LAG10Rw9L+wmsdzzj6iP5dCrXvfp+sSllsJZRUOlVCR3+YtesN0i
Sdpj1mXBoFqgT0Fq+sZw
=itMh
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to