Package: src:libosl
Version: 0.8.0-4
Tags: sid forky ftbfs
User: [email protected]
Usertags: boost1.90

libosl ftbfs with boost 1.90, the boost_system lib is gone. with the attached patch, the build starts and fails later with

/home/packages/tmp/b/libosl-0.8.0/std/osl/record/kisen.cc:5:10: fatal error: boost/filesystem/convenience.hpp: No such file or directory
    5 | #include <boost/filesystem/convenience.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [CMakeFiles/osl-static.dir/build.make:3008: CMakeFiles/osl-static.dir/std/osl/record/kisen.cc.o] Error 1
diff -Nru libosl-0.8.0/debian/patches/boost1.90.diff libosl-0.8.0/debian/patches/boost1.90.diff
--- libosl-0.8.0/debian/patches/boost1.90.diff	1970-01-01 01:00:00.000000000 +0100
+++ libosl-0.8.0/debian/patches/boost1.90.diff	2026-02-05 19:58:56.000000000 +0100
@@ -0,0 +1,14 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -85,9 +85,9 @@ include_directories ("${PROJECT_SOURCE_D
+ #set (Boost_USE_STATIC_LIBS ON)
+ set (Boost_USE_MULTITHREADED ON)
+ if (MINGW)
+-  find_package (Boost 1.54.0 COMPONENTS date_time filesystem serialization iostreams system)
++  find_package (Boost 1.54.0 COMPONENTS date_time filesystem serialization iostreams)
+ else()
+-  find_package (Boost COMPONENTS date_time filesystem serialization iostreams system)
++  find_package (Boost COMPONENTS date_time filesystem serialization iostreams)
+ endif()
+ if (Boost_FOUND)
+   include_directories (${Boost_INCLUDE_DIRS})
diff -Nru libosl-0.8.0/debian/patches/series libosl-0.8.0/debian/patches/series
--- libosl-0.8.0/debian/patches/series	2021-11-17 20:41:13.000000000 +0100
+++ libosl-0.8.0/debian/patches/series	2026-02-05 19:58:56.000000000 +0100
@@ -9,3 +9,4 @@
 0009-Explicitly-link-with-relevant-boost-libraries.patch
 0010-Fix-unkown-typo.patch
 0011-Fix-build-with-gcc-11.patch
+boost1.90.diff

Reply via email to