Skip to content

FTBFS with spdlog 1.1.0 #774

Description

@onlyjob

As reported in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=909764

LizardFS FTBFS with spdlog 1.1.0 as follows

...
/build/1st/lizardfs-3.12.0+dfsg/src/common/slogger.cc: In function 'bool lzfs::add_log_file(const char*, lzfs::log_level::LogLevel, int, int)':
/build/1st/lizardfs-3.12.0+dfsg/src/common/slogger.cc:67:30: error: 'rotating_logger_mt' is not a member of 'spdlog'
   LoggerPtr logger = spdlog::rotating_logger_mt(path, path, max_file_size, max_file_count);
                              ^~~~~~~~~~~~~~~~~~
/build/1st/lizardfs-3.12.0+dfsg/src/common/slogger.cc: In function 'bool lzfs::add_log_syslog()':
/build/1st/lizardfs-3.12.0+dfsg/src/common/slogger.cc:89:11: error: 'syslog_logger' is not a member of 'spdlog'
   spdlog::syslog_logger("syslog");
           ^~~~~~~~~~~~~
/build/1st/lizardfs-3.12.0+dfsg/src/common/slogger.cc:89:11: note: suggested alternative: 'register_logger'
   spdlog::syslog_logger("syslog");
           ^~~~~~~~~~~~~
           register_logger
/build/1st/lizardfs-3.12.0+dfsg/src/common/slogger.cc: In function 'bool lzfs::add_log_stderr(lzfs::log_level::LogLevel)':
/build/1st/lizardfs-3.12.0+dfsg/src/common/slogger.cc:100:30: error: 'stderr_color_mt' is not a member of 'spdlog'
   LoggerPtr logger = spdlog::stderr_color_mt("stderr");
                              ^~~~~~~~~~~~~~~
...

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/lizardfs.html

Neglecting this issue will result in removal of LizardFS from next Debian release...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions