[Debichem-devel] Bug#1113580: toppic: FTBFS with CMake 4
Filippo Rusconi
filippo.rusconi at laposte.net
Thu Nov 13 23:33:49 GMT 2025
Greetings, Santiago,
On Thu, 13 Nov 2025 13:29:40 +0100
Santiago Vila <sanvila at debian.org> wrote:
> I've checked that using this in CMakeLists.txt:
>
> cmake_minimum_required(VERSION 3.5)
>
> makes the CMake 4 issue to go away. However, the build
> still fails with this error message:
>
> [...]/toppic/src/common/util/file_util.cpp: In function 'void
> toppic::file_util::copyFile(const std::string&, const std::string&,
> bool)': [...]/toppic/src/common/util/file_util.cpp:165:43: error:
> 'fs::copy_option' has not been declared; did you mean
> 'fs::copy_options'? 165 | fs::copy_file(from_path, to_path,
> fs::copy_option::overwrite_if_exists); |
> ^~~~~~~~~~~
> [...]/toppic/src/common/util/file_util.cpp:168:43: error:
> 'fs::copy_option' has not been declared; did you mean
> 'fs::copy_options'? 168 | fs::copy_file(from_path, to_path,
> fs::copy_option::fail_if_exists); |
> ^~~~~~~~~~~
>
>
> Maybe upgrading to 1.8.0 fixes this but I have not gone so far
> (hope you can take care of that).
I have packaged the new 1.8.0 version, hoping it fixes the build
failure you have experienced.
Sincerely,
Filippo
--
⢀⣴⠾⠻⢶⣦⠀ Filippo Rusconi, PhD
⣾⠁⢠⠒⠀⣿⡁ Researcher at CNRS
⢿⡄⠘⠷⠚⠋⠀ Debian Developer
⠈⠳⣄⠀⠀⠀⠀ http://msxpertsuite.org
http://www.debian.org
More information about the Debichem-devel
mailing list