[Debichem-devel] Bug#1026044: libodsstream-dev: FTBFS for other packages
László Böszörményi (GCS)
gcs at debian.org
Tue Dec 13 17:59:35 GMT 2022
Source: libodsstream
Version: 0.9.0-1
Severity: serious
Justification: breaks unrelated software
Usertags: tiff4_5
Tags: sid bookworm ftbfs
Control: affects -1 src:beads
Hi,
During a rebuild of beads I realised it fails to build due to:
[ 64%] Building CXX object src/CMakeFiles/beads.dir/beads.cpp.o
cd beads-1.1.20/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DQT_CORE_LIB
-DQT_GUI_LIB -DQT_NO_DEBUG -DQT_XML_LIB
-I"beads-1.1.20/src/\$beads-1.1.20/src/cimg"
-I/usr/include/include/libpng -I/usr/lib/x86_64-linux-gnu
-Ibeads-1.1.20/src/cimg -isystem /usr/include/odsstream -isystem
/usr/include/x86_64-linux-gnu/qt5 -isystem
/usr/include/x86_64-linux-gnu/qt5/QtCore -isystem
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem
/usr/include/x86_64-linux-gnu/qt5/QtGui -isystem
/usr/include/x86_64-linux-gnu/qt5/QtXml -g -O2
-ffile-prefix-map=beads-1.1.20=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2
-Dcimg_use_tiff -Dcimg_use_jpeg -Dcimg_use_zlib -Dcimg_use_png
-Dcimg_use_tiff -Dcimg_use_jpeg -Dcimg_use_zlib -Dcimg_use_png -fPIC
-std=gnu++17 -MD -MT src/CMakeFiles/beads.dir/beads.cpp.o -MF
CMakeFiles/beads.dir/beads.cpp.o.d -o CMakeFiles/beads.dir/beads.cpp.o
-c beads-1.1.20/src/beads.cpp
[...]
In file included from beads-1.1.20/src/beads.cpp:22:
/usr/include/odsstream/odsdocwriter.h:26:10: fatal error:
quazip/quazip.h: No such file or directory
26 | #include <quazip/quazip.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
Quick check shows your package build depends on libquazip1-qt6-dev and
indeed it uses that headers and libraries. But your libodsstream-dev
package doesn't pull in that library development package to build with
for other packages.
Then the include will still fail due to using quazip/quazip.h as the
include path when it's QuaZip-Qt6-1.3/quazip/quazip.h (i.e. one more
directory deep).
Regards,
Laszlo/GCS
[1] https://salsa.debian.org/debichem-team/libodsstream/-/blob/master/debian/control#L11
More information about the Debichem-devel
mailing list