Source: vast
Version: 2021.05.27-7
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libvast && /usr/bin/c++ 
> -DCAF_ENABLE_TYPE_ID_CHECKS -DFMT_LOCALE -DFMT_SAFE_DURATION_CAST 
> -DFMT_SHARED -DFMT_USE_INTERNAL -DSIMDJSON_THREADS_ENABLED=1 
> -DSIMDJSON_USING_LIBRARY=1 -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL 
> -DSPDLOG_SHARED_LIB -DVAST_ENABLE_NATIVE_PLUGINS -Dlibvast_EXPORTS 
> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libvast -I/<<PKGBUILDDIR>>/libvast -g 
> -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -fsigned-char -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g 
> -DNDEBUG -fPIC -ftemplate-backtrace-limit=0 -fno-omit-frame-pointer 
> -Wno-unknown-warning -Wall -Wextra -pedantic -Werror=switch -Wundef 
> -Wno-redundant-move -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -pthread -std=c++17 
> -MD -MT libvast/CMakeFiles/libvast.dir/src/system/eraser.cpp.o -MF 
> CMakeFiles/libvast.dir/src/system/eraser.cpp.o.d -o 
> CMakeFiles/libvast.dir/src/system/eraser.cpp.o -c 
> /<<PKGBUILDDIR>>/libvast/src/system/eraser.cpp
> In file included from /<<PKGBUILDDIR>>/libvast/src/system/disk_monitor.cpp:9:
> /<<PKGBUILDDIR>>/libvast/vast/system/disk_monitor.hpp:32:8: error: ‘optional’ 
> in namespace ‘std’ does not name a template type
>    32 |   std::optional<std::string> scan_binary = std::nullopt;
>       |        ^~~~~~~~
> /<<PKGBUILDDIR>>/libvast/vast/system/disk_monitor.hpp:16:1: note: 
> ‘std::optional’ is defined in header ‘<optional>’; did you forget to 
> ‘#include <optional>’?
>    15 | #include <caf/typed_event_based_actor.hpp>
>   +++ |+#include <optional>
>    16 | 
> [ 37%] Building CXX object 
> libvast/CMakeFiles/libvast.dir/src/system/evaluator.cpp.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libvast && /usr/bin/c++ 
> -DCAF_ENABLE_TYPE_ID_CHECKS -DFMT_LOCALE -DFMT_SAFE_DURATION_CAST 
> -DFMT_SHARED -DFMT_USE_INTERNAL -DSIMDJSON_THREADS_ENABLED=1 
> -DSIMDJSON_USING_LIBRARY=1 -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL 
> -DSPDLOG_SHARED_LIB -DVAST_ENABLE_NATIVE_PLUGINS -Dlibvast_EXPORTS 
> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libvast -I/<<PKGBUILDDIR>>/libvast -g 
> -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -fsigned-char -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g 
> -DNDEBUG -fPIC -ftemplate-backtrace-limit=0 -fno-omit-frame-pointer 
> -Wno-unknown-warning -Wall -Wextra -pedantic -Werror=switch -Wundef 
> -Wno-redundant-move -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -pthread -std=c++17 
> -MD -MT libvast/CMakeFiles/libvast.dir/src/system/evaluator.cpp.o -MF 
> CMakeFiles/libvast.dir/src/system/evaluator.cpp.o.d -o 
> CMakeFiles/libvast.dir/src/system/evaluator.cpp.o -c 
> /<<PKGBUILDDIR>>/libvast/src/system/evaluator.cpp
> /<<PKGBUILDDIR>>/libvast/src/system/disk_monitor.cpp: In function ‘caf::error 
> vast::system::validate(const vast::system::disk_monitor_config&)’:
> /<<PKGBUILDDIR>>/libvast/src/system/disk_monitor.cpp:53:14: error: ‘const 
> struct vast::system::disk_monitor_config’ has no member named ‘scan_binary’
>    53 |   if (config.scan_binary) {
>       |              ^~~~~~~~~~~
> /<<PKGBUILDDIR>>/libvast/src/system/disk_monitor.cpp:54:16: error: ‘const 
> struct vast::system::disk_monitor_config’ has no member named ‘scan_binary’
>    54 |     if (config.scan_binary->empty()) {
>       |                ^~~~~~~~~~~
> /<<PKGBUILDDIR>>/libvast/src/system/disk_monitor.cpp:59:16: error: ‘const 
> struct vast::system::disk_monitor_config’ has no member named ‘scan_binary’
>    59 |     if (config.scan_binary->at(0) != '/') {
>       |                ^~~~~~~~~~~
> /<<PKGBUILDDIR>>/libvast/src/system/disk_monitor.cpp:64:42: error: ‘const 
> struct vast::system::disk_monitor_config’ has no member named ‘scan_binary’
>    64 |     if (!std::filesystem::exists(*config.scan_binary)) {
>       |                                          ^~~~~~~~~~~
> /<<PKGBUILDDIR>>/libvast/src/system/disk_monitor.cpp: In member function 
> ‘caf::expected<long unsigned int> 
> vast::system::disk_monitor_state::compute_dbdir_size() const’:
> /<<PKGBUILDDIR>>/libvast/src/system/disk_monitor.cpp:74:15: error: ‘const 
> struct vast::system::disk_monitor_config’ has no member named ‘scan_binary’
>    74 |   if (!config.scan_binary) {
>       |               ^~~~~~~~~~~
> /<<PKGBUILDDIR>>/libvast/src/system/disk_monitor.cpp:77:54: error: ‘const 
> struct vast::system::disk_monitor_config’ has no member named ‘scan_binary’
>    77 |   const auto& command = fmt::format("{} {}", *config.scan_binary, 
> dbdir);
>       |                                                      ^~~~~~~~~~~
> At global scope:
> cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning’ may 
> have been intended to silence earlier diagnostics
> make[4]: *** [libvast/CMakeFiles/libvast.dir/build.make:1574: 
> libvast/CMakeFiles/libvast.dir/src/system/disk_monitor.cpp.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/vast_2021.05.27-7_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to