[Debian-med-packaging] Bug#1035373: libspdlog-dev ships uncompilable headers

Steve Langasek steve.langasek at canonical.com
Tue May 2 11:24:02 BST 2023


Package: libspdlog-dev
Version: 1:1.10.0+ds-0.4
Severity: minor
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu mantic

Dear maintainers,

As part of an investigation to establish the feasibility of moving 32-bit
archs to 64-bit time_t, I am running an analysis of all header files in the
archive to determine which libraries' ABIs are affected.  This requires the
headers in question to be compilable.

libspdlog-dev ships header files which have includes that are not sanely
satisfiable in Debian.  For my purposes, I've worked around these unusable
headers by adding quirks to my scripts, but it seems worth reporting as a
bug that headers are being shipped that aren't usable.

- /usr/include/spdlog/details/{tcp,udp}_client-windows.h: these are
  windows-specific headers depending on winsock.h.
- /usr/include/spdlog/sinks/mongo_sink.h: depends on
  bsoncxx/builder/stream/document.hpp which doesn't exist.
- /usr/include/spdlog/sinks/qt_sinks.h requires QTextEdit but libspdlog-dev
  doesn't depend on qtbase5-dev.
- /usr/include/spdlog/sinks/systemd_sink.h requires systemd/sd-journal.h but
  libspdlog-dev doesn't depend on libsystemd-dev.
- spdlog/details/file_helper-inl.h requires spdlog/details/file_helper.h but
  doesn't #include it.
- likewise base_sink-inl.h, basic_file_sink-inl.h, rotating_file_sink-inl.h,
  stdout_color_sinks-inl.h, stdout_sinks-inl.h...

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20230502/66923224/attachment.sig>


More information about the Debian-med-packaging mailing list