Package: src:lucene++
Version: 3.0.9-9
Tags: sid forky ftbfs
User: [email protected]
Usertags: boost1.90

lucene++ ftbfs with boost 1.90, the boost_system lib is gone.
after applying the attached patch, it then fails with:

/home/packages/tmp/b/lucene++-3.0.9/src/core/util/BitSet.cpp: In member function 'const uint64_t* Lucene::BitSet::getBits
()':
/home/packages/tmp/b/lucene++-3.0.9/src/core/util/BitSet.cpp:20:73: error: 'boost::dynamic_bitset<long unsigned int>::buf fer_type boost::dynamic_bitset<long unsigned int>::m_bits' is private within this context 20 | return bitSet.empty() ? NULL : static_cast<const uint64_t*>(&bitSet.m_bits[0]); | ^~~~~~
In file included from /usr/include/boost/dynamic_bitset.hpp:15,
from /home/packages/tmp/b/lucene++-3.0.9/include/lucene++/BitSet.h:10, from /home/packages/tmp/b/lucene++-3.0.9/src/core/util/BitSet.cpp:8: /usr/include/boost/dynamic_bitset/dynamic_bitset.hpp:1396:55: note: declared private here
 1396 |     buffer_type                                       m_bits;
      |                                                       ^~~~~~
/home/packages/tmp/b/lucene++-3.0.9/src/core/util/BitSet.cpp: In member function 'void Lucene::BitSet::_and(const Lucene:
:BitSetPtr&)':
/home/packages/tmp/b/lucene++-3.0.9/src/core/util/BitSet.cpp:156:16: error: 'boost::dynamic_bitset<long unsigned int>::bu ffer_type boost::dynamic_bitset<long unsigned int>::m_bits' is private within this context
  156 |         bitSet.m_bits[i] &= set->bitSet.m_bits[i];
      |                ^~~~~~
/usr/include/boost/dynamic_bitset/dynamic_bitset.hpp:1396:55: note: declared private here
diff -Nru lucene++-3.0.9/debian/patches/boost1.90.diff lucene++-3.0.9/debian/patches/boost1.90.diff
--- lucene++-3.0.9/debian/patches/boost1.90.diff	1970-01-01 01:00:00.000000000 +0100
+++ lucene++-3.0.9/debian/patches/boost1.90.diff	2026-02-05 18:41:06.000000000 +0100
@@ -0,0 +1,70 @@
+--- a/src/contrib/CMakeLists.txt
++++ b/src/contrib/CMakeLists.txt
+@@ -67,7 +67,6 @@ target_link_libraries(lucene++-contrib
+     Boost::filesystem
+     Boost::iostreams
+     Boost::regex
+-    Boost::system
+     Boost::thread
+     ZLIB::ZLIB
+     lucene++::lucene++)
+--- a/src/core/CMakeLists.txt
++++ b/src/core/CMakeLists.txt
+@@ -57,7 +57,6 @@ target_link_libraries(lucene++
+     Boost::filesystem
+     Boost::iostreams
+     Boost::regex
+-    Boost::system
+     Boost::thread
+     ZLIB::ZLIB
+ )
+--- a/src/demo/deletefiles/CMakeLists.txt
++++ b/src/demo/deletefiles/CMakeLists.txt
+@@ -38,7 +38,6 @@ target_link_libraries(deletefiles
+     Boost::filesystem
+     Boost::iostreams
+     Boost::regex
+-    Boost::system
+     Boost::thread
+     ZLIB::ZLIB
+     lucene++::lucene++
+--- a/src/demo/indexfiles/CMakeLists.txt
++++ b/src/demo/indexfiles/CMakeLists.txt
+@@ -39,7 +39,6 @@ target_link_libraries(indexfiles
+     Boost::filesystem
+     Boost::iostreams
+     Boost::regex
+-    Boost::system
+     Boost::thread
+     ZLIB::ZLIB
+     lucene++::lucene++
+--- a/src/demo/searchfiles/CMakeLists.txt
++++ b/src/demo/searchfiles/CMakeLists.txt
+@@ -38,7 +38,6 @@ target_link_libraries(searchfiles
+     Boost::filesystem
+     Boost::iostreams
+     Boost::regex
+-    Boost::system
+     Boost::thread
+     ZLIB::ZLIB
+     lucene++::lucene++
+--- a/src/test/CMakeLists.txt
++++ b/src/test/CMakeLists.txt
+@@ -61,7 +61,6 @@ target_link_libraries(lucene++-tester
+     Boost::filesystem
+     Boost::iostreams
+     Boost::regex
+-    Boost::system
+     Boost::thread
+     ZLIB::ZLIB
+     gtest_main
+--- a/cmake/dependencies.cmake
++++ b/cmake/dependencies.cmake
+@@ -7,7 +7,6 @@ find_package(Boost COMPONENTS
+   filesystem
+   iostreams
+   regex
+-  system
+   thread
+   REQUIRED
+ )
diff -Nru lucene++-3.0.9/debian/patches/series lucene++-3.0.9/debian/patches/series
--- lucene++-3.0.9/debian/patches/series	2025-09-09 13:10:57.000000000 +0200
+++ lucene++-3.0.9/debian/patches/series	2026-02-05 18:41:06.000000000 +0100
@@ -6,3 +6,4 @@
 b77d1c7569e6f5f361bea4850829ae4e70e193ec.patch
 983774c50ce0e18b0b6bbdf45de5b24ba95277b4.patch
 f40f59c6e169b4e16b7a6439ecb26a629c6540d1.patch
+boost1.90.diff

Reply via email to