[Debian-med-packaging] Bug#977454: spdlog: FTBFS with fmtlib 7.1.3

Shengjing Zhu zhsj at debian.org
Tue Dec 15 10:01:31 GMT 2020


Source: spdlog
Version: 1:1.8.1+ds-1
Severity: important
X-Debbugs-Cc: zhsj at debian.org
Control: block 977452 by -1

Dear Maintainer,

I have uploaded fmtlib 7.1.3 to experimental, and find your package ftfs
with the new version.

The code is actually working with the new version, only the symbols file
is wrong here. spdlog uses fmtlib internal API and exposes it through
the symbols files. This looks wrong to me, as every new fmtlib will
cause spdlog ftbfs due to the symbols file.

OTOH, symbols file for C++ library is just nightmare, I suggest you just
dropping the symbols file..

When go through this package, I also find there's a patch which I think
is useless.

https://sources.debian.org/src/spdlog/1:1.8.1+ds-1/debian/patches/use-external-fmt.patch/

In debian/rules, you already set -DSPDLOG_FMT_EXTERNAL=ON, the resulting
cmake config, pkg-config, also includes this definition.

This patch will produce a log of gcc warning when I rebuild this package.

Thanks

Shengjing Zhu



More information about the Debian-med-packaging mailing list