[Pkg-kde-extras] Bug#978199: Bug#978199: libqapt: FTBFS: pkgcachegen.h:32:10: fatal error: xxhash.h: No such file or directory
Pino Toscano
pino at debian.org
Sat Dec 26 22:05:27 GMT 2020
reassign 978199 libapt-pkg-dev apt/2.1.14
retitle 978199 libapt-pkg-dev: pkgcachegen.h unconditionally includes xxhash.h
affects 978199 src:libqapt
thanks
In data sabato 26 dicembre 2020 22:27:44 CET, Lucas Nussbaum ha scritto:
> Source: libqapt
> Version: 3.0.5-1
> Severity: serious
> Justification: FTBFS on amd64
> Tags: bullseye sid ftbfs
> Usertags: ftbfs-20201226 ftbfs-bullseye
>
> 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/src && /usr/bin/c++ -DCMAKE_PROJECT_VERSION=\"3.0.5\" -DQAPT_WORKER_RDN_VERSIONED_STRING=\"org.kubuntu.qaptworker3\" -DQAPT_WORKER_VERSION_STRING=\"3\" -DQApt_EXPORTS -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/QApt_autogen/include -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/src/.. -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/.. -I/usr/include/polkit-qt5-1 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -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/QtDBus -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fexceptions -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -fPIC -std=gnu++11 -o CMakeFiles/QApt.dir/dependencyinfo.cpp.o -c /<<PKGBUILDDIR>>/src/dependencyinfo.cpp
> > /<<PKGBUILDDIR>>/src/debfile.cpp: In member function ‘QStringList QApt::DebFile::fileList() const’:
> > /<<PKGBUILDDIR>>/src/debfile.cpp:235:23: warning: ‘void QProcess::start(const QString&, QIODevice::OpenMode)’ is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead [-Wdeprecated-declarations]
> > 235 | dpkg.start(program);
> > | ^
> > In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QProcess:1,
> > from /<<PKGBUILDDIR>>/src/debfile.cpp:24:
> > /usr/include/x86_64-linux-gnu/qt5/QtCore/qprocess.h:168:10: note: declared here
> > 168 | void start(const QString &command, OpenMode mode = ReadWrite);
> > | ^~~~~
> > /<<PKGBUILDDIR>>/src/debfile.cpp:239:23: warning: ‘void QProcess::start(const QString&, QIODevice::OpenMode)’ is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead [-Wdeprecated-declarations]
> > 239 | tar.start(program2);
> > | ^
> > In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QProcess:1,
> > from /<<PKGBUILDDIR>>/src/debfile.cpp:24:
> > /usr/include/x86_64-linux-gnu/qt5/QtCore/qprocess.h:168:10: note: declared here
> > 168 | void start(const QString &command, OpenMode mode = ReadWrite);
> > | ^~~~~
> > /<<PKGBUILDDIR>>/src/debfile.cpp: In member function ‘bool QApt::DebFile::extractFileFromArchive(const QString&, const QString&) const’:
> > /<<PKGBUILDDIR>>/src/debfile.cpp:371:23: warning: ‘void QProcess::start(const QString&, QIODevice::OpenMode)’ is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead [-Wdeprecated-declarations]
> > 371 | dpkg.start(program);
> > | ^
> > In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QProcess:1,
> > from /<<PKGBUILDDIR>>/src/debfile.cpp:24:
> > /usr/include/x86_64-linux-gnu/qt5/QtCore/qprocess.h:168:10: note: declared here
> > 168 | void start(const QString &command, OpenMode mode = ReadWrite);
> > | ^~~~~
> > /<<PKGBUILDDIR>>/src/debfile.cpp:378:23: warning: ‘void QProcess::start(const QString&, QIODevice::OpenMode)’ is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead [-Wdeprecated-declarations]
> > 378 | tar.start(program2);
> > | ^
> > In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QProcess:1,
> > from /<<PKGBUILDDIR>>/src/debfile.cpp:24:
> > /usr/include/x86_64-linux-gnu/qt5/QtCore/qprocess.h:168:10: note: declared here
> > 168 | void start(const QString &command, OpenMode mode = ReadWrite);
> > | ^~~~~
> > In file included from /usr/include/apt-pkg/deblistparser.h:15,
> > from /<<PKGBUILDDIR>>/src/dependencyinfo.cpp:24:
> > /usr/include/apt-pkg/pkgcachegen.h:32:10: fatal error: xxhash.h: No such file or directory
> > 32 | #include <xxhash.h>
> > | ^~~~~~~~~~
It looks like a bug in one of the public headers of libapt-pkg, and
already fixed upstream:
https://salsa.debian.org/apt-team/apt/-/commit/ece7f5bb0afee0994a4fb4380e756ce725fe67a9
APT developers: please mark this bug as fixed in changelog.
Thanks,
--
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://alioth-lists.debian.net/pipermail/pkg-kde-extras/attachments/20201226/69e70b74/attachment.sig>
More information about the pkg-kde-extras
mailing list