[Debichem-devel] Bug#1115146: toppic: FTBFS: error: redefinition of 'std::string boost::filesystem::extension(const path&)'

Adrian Bunk bunk at debian.org
Sun Oct 12 20:58:02 BST 2025


Control: reassign -1 libpwizlite-dev 3.0.10-1
Control: affects -1 src:toppic

On Sat, Sep 13, 2025 at 04:29:42PM +0000, Santiago Vila wrote:
> Package: src:toppic
> Version: 1.5.3+dfsg1-1
> Severity: serious
> Tags: ftbfs forky sid
>...
> In file included from /<<PKGBUILDDIR>>/src/topfd/msreader/pw_ms_reader.hpp:25,
>                  from /<<PKGBUILDDIR>>/src/topfd/msreader/raw_ms_group_reader.hpp:19,
>                  from /<<PKGBUILDDIR>>/src/topfd/deconv/deconv_process.hpp:25,
>                  from /<<PKGBUILDDIR>>/src/topfd/deconv/deconv_process.cpp:37:
> /usr/include/pwizlite/pwiz/utility/misc/Filesystem.hpp:75:24: error: redefinition of ‘std::string boost::filesystem::extension(const path&)’
>    75 |     inline std::string extension(const path& p)
>       |                        ^~~~~~~~~
> In file included from /usr/include/boost/filesystem.hpp:21,
>                  from /<<PKGBUILDDIR>>/src/topfd/deconv/deconv_process.cpp:17:
> /usr/include/boost/filesystem/convenience.hpp:29:20: note: ‘std::string boost::filesystem::extension(const path&)’ previously defined here
>    29 | inline std::string extension(const path& p)
>       |                    ^~~~~~~~~
> /usr/include/pwizlite/pwiz/utility/misc/Filesystem.hpp:80:24: error: redefinition of ‘std::string boost::filesystem::basename(const path&)’
>    80 |     inline std::string basename(const path& p)
>       |                        ^~~~~~~~
> /usr/include/boost/filesystem/convenience.hpp:35:20: note: ‘std::string boost::filesystem::basename(const path&)’ previously defined here
>    35 | inline std::string basename(const path& p)
>       |                    ^~~~~~~~
> /usr/include/pwizlite/pwiz/utility/misc/Filesystem.hpp:85:17: error: redefinition of ‘boost::filesystem::path boost::filesystem::change_extension(const path&, const path&)’
>    85 |     inline path change_extension(const path& p, const path& new_extension)
>       |                 ^~~~~~~~~~~~~~~~
> /usr/include/boost/filesystem/convenience.hpp:41:13: note: ‘boost::filesystem::path boost::filesystem::change_extension(const path&, const path&)’ previously defined here
>    41 | inline path change_extension(const path& p, const path& new_extension)
>       |             ^~~~~~~~~~~~~~~~
> make[3]: *** [CMakeFiles/topfd.dir/build.make:173: CMakeFiles/topfd.dir/src/topfd/deconv/deconv_process.cpp.o] Error 1
>...

This is caused by:
https://salsa.debian.org/debichem-team/libpwizlite/-/commit/60b0ec011914370e7bcd1977fc91af92e5c742c9?page=3#4ca3dc46b116b371cb6c30a4c67b0567ea324298

cu
Adrian



More information about the Debichem-devel mailing list