[Pkg-kde-extras] Bug#1089202: libqapt: FTBFS: redacted

Santiago Vila sanvila at debian.org
Fri Dec 6 23:39:34 GMT 2024


Package: src:libqapt
Version: 3.0.5-2
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
   debian/rules binary
dh binary --with kf5,pkgkde_symbolshelper
     dh_update_autotools_config
     dh_autoreconf
     dh_auto_configure --buildsystem=kf5
	cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb PKG_CONFIG=/usr/bin/pkg-config cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DCMAKE_BUILD_TYPE=Debian -DCMAKE_INSTALL_SYSCONFDIR=/etc -DKDE_INSTALL_USE_QT_SYS_PATHS=ON ..
CMake Warning (dev) at CMakeLists.txt:1 (project):
    cmake_minimum_required() should be called prior to this top-level project()
    call.  Please see the cmake-commands(7) manual for usage documentation of
    both commands.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 14.2.0
-- The CXX compiler identification is GNU 14.2.0

[... snipped ...]

[ 67%] Generating transactioninterface_p.cpp, transactioninterface_p.h
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/lib/qt5/bin/qdbusxml2cpp -N -m -i downloadprogress.h -p transactioninterface_p /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/worker/org.kubuntu.qaptworker3.transaction.xml
[ 68%] Generating workerinterface_p.moc
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/lib/qt5/bin/moc @/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/workerinterface_p.moc_parameters
[ 68%] Generating transactioninterface_p.moc
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/lib/qt5/bin/moc @/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/transactioninterface_p.moc_parameters
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/src /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/CMakeFiles/QApt.dir/DependInfo.cmake "--color="
Dependencies file "src/QApt_autogen/deps" is newer than depends file "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/CMakeFiles/QApt.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target QApt
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make  -f src/CMakeFiles/QApt.dir/build.make src/CMakeFiles/QApt.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 69%] Building CXX object src/CMakeFiles/QApt.dir/QApt_autogen/mocs_compilation.cpp.o
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 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=init-self -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fexceptions -std=gnu++11 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden   -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include -pthread -I/usr/include/x86_64-linux-gnu -fPIC -MD -MT src/CMakeFiles/QApt.dir/QApt_autogen/mocs_compilation.cpp.o -MF CMakeFiles/QApt.dir/QApt_autogen/mocs_compilation.cpp.o.d -o CMakeFiles/QApt.dir/QApt_autogen/mocs_compilation.cpp.o -c /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/QApt_autogen/mocs_compilation.cpp
In file included from /usr/include/apt-pkg/pkgcache.h:77,
                   from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/QApt_autogen/EWIEGA46WW/../../../../src/package.h:30,
                   from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/QApt_autogen/EWIEGA46WW/../../../../src/backend.h:29,
                   from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/QApt_autogen/EWIEGA46WW/moc_backend.cpp:10,
                   from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/QApt_autogen/mocs_compilation.cpp:2:
/usr/include/apt-pkg/macros.h:137:41: error: expected constructor, destructor, or type conversion before ‘;’ token
    137 | AptScopeWrapper(F) -> AptScopeWrapper<F>;
        |                                         ^
In file included from /usr/include/apt-pkg/pkgcache.h:85:
/usr/include/apt-pkg/string_view.h:49:39: error: expected ‘)’ before ‘const’
     49 |     inline StringView(std::string_view const & str): data_(str.data()), size_(str.size()) {}
        |                      ~                ^~~~~~
        |                                       )
/usr/include/apt-pkg/string_view.h:149:31: error: expected type-specifier
    149 |     inline constexpr operator std::string_view() const { return {data_, size_}; }
        |                               ^~~
/usr/include/apt-pkg/string_view.h: In function ‘std::ostream& APT::operator<<(std::ostream&, const StringView&)’:
/usr/include/apt-pkg/string_view.h:154:35: error: ‘string_view’ in namespace ‘std’ does not name a type
    154 |     return os << static_cast<std::string_view>(sv);
        |                                   ^~~~~~~~~~~
/usr/include/apt-pkg/string_view.h:154:30: note: ‘std::string_view’ is only available from C++17 onwards
    154 |     return os << static_cast<std::string_view>(sv);
        |                              ^~~
/usr/include/apt-pkg/string_view.h: At global scope:
/usr/include/apt-pkg/string_view.h:165:29: error: declaration of ‘operator==’ as non-function
    165 | template<class = void> bool operator ==(std::string_view const &other, APT::StringView const &that) { return that.operator==(other); }
        |                             ^~~~~~~~
/usr/include/apt-pkg/string_view.h:165:46: error: ‘string_view’ is not a member of ‘std’
    165 | template<class = void> bool operator ==(std::string_view const &other, APT::StringView const &that) { return that.operator==(other); }
        |                                              ^~~~~~~~~~~
/usr/include/apt-pkg/string_view.h:165:46: note: ‘std::string_view’ is only available from C++17 onwards
/usr/include/apt-pkg/string_view.h:165:88: error: expected primary-expression before ‘const’
    165 | template<class = void> bool operator ==(std::string_view const &other, APT::StringView const &that) { return that.operator==(other); }
        |                                                                                        ^~~~~
/usr/include/apt-pkg/string_view.h:166:29: error: declaration of ‘operator!=’ as non-function
    166 | template<class = void> bool operator !=(std::string_view const &other, APT::StringView const &that) { return that.operator!=(other); }
        |                             ^~~~~~~~
/usr/include/apt-pkg/string_view.h:166:46: error: ‘string_view’ is not a member of ‘std’
    166 | template<class = void> bool operator !=(std::string_view const &other, APT::StringView const &that) { return that.operator!=(other); }
        |                                              ^~~~~~~~~~~
/usr/include/apt-pkg/string_view.h:166:46: note: ‘std::string_view’ is only available from C++17 onwards
/usr/include/apt-pkg/string_view.h:166:88: error: expected primary-expression before ‘const’
    166 | template<class = void> bool operator !=(std::string_view const &other, APT::StringView const &that) { return that.operator!=(other); }
        |                                                                                        ^~~~~
/usr/include/apt-pkg/string_view.h:167:75: error: ‘std::string_view’ has not been declared
    167 | template<class = void> bool operator !=(APT::StringView const &that, std::string_view const &other) { return that.operator!=(other); }
        |                                                                           ^~~~~~~~~~~
/usr/include/apt-pkg/string_view.h: In function ‘bool operator!=(const APT::StringView&, const int&)’:
/usr/include/apt-pkg/string_view.h:167:126: error: cannot convert ‘const int’ to ‘APT::StringView’
    167 | template<class = void> bool operator !=(APT::StringView const &that, std::string_view const &other) { return that.operator!=(other); }
        |                                                                                                                              ^~~~~
        |                                                                                                                              |
        |                                                                                                                              const int
/usr/include/apt-pkg/string_view.h:138:33: note:   initializing argument 1 of ‘bool APT::StringView::operator!=(APT::StringView) const’
    138 |     bool operator !=(StringView other) const { return !(*this == other); }
        |                      ~~~~~~~~~~~^~~~~
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/utils/plasma-runner-installer/krunner_installer_autogen/EWIEGA46WW/moc_installerrunner.cpp:10,
                   from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/utils/plasma-runner-installer/krunner_installer_autogen/mocs_compilation.cpp:2:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/utils/plasma-runner-installer/krunner_installer_autogen/EWIEGA46WW/../../../../../utils/plasma-runner-installer/installerrunner.h:39:10: warning: ‘virtual void InstallerRunner::match(Plasma::RunnerContext&)’ can be marked override [-Wsuggest-override]
     39 |     void match(Plasma::RunnerContext &context);
        |          ^~~~~
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/utils/plasma-runner-installer/krunner_installer_autogen/EWIEGA46WW/../../../../../utils/plasma-runner-installer/installerrunner.h:40:10: warning: ‘virtual void InstallerRunner::run(const Plasma::RunnerContext&, const Plasma::QueryMatch&)’ can be marked override [-Wsuggest-override]
     40 |     void run(const Plasma::RunnerContext &context, const Plasma::QueryMatch &action);
        |          ^~~
make[3]: *** [src/CMakeFiles/QApt.dir/build.make:110: src/CMakeFiles/QApt.dir/QApt_autogen/mocs_compilation.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:7702: src/CMakeFiles/QApt.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 70%] Building CXX object utils/plasma-runner-installer/CMakeFiles/krunner_installer.dir/installerrunner.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/utils/plasma-runner-installer && /usr/bin/c++ -DCMAKE_PROJECT_VERSION=\"3.0.5\" -DKCOREADDONS_LIB -DQAPT_WORKER_RDN_VERSIONED_STRING=\"org.kubuntu.qaptworker3\" -DQAPT_WORKER_VERSION_STRING=\"3\" -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DTRANSLATION_DOMAIN=\"plasma-runner-installer\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkrunner_installer_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/utils/plasma-runner-installer -I/<<PKGBUILDDIR>>/utils/plasma-runner-installer -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/utils/plasma-runner-installer/krunner_installer_autogen/include -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/usr/include/polkit-qt5-1 -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5 -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/KF5/KRunner -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5/KService -isystem /usr/include/KF5/KConfig -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/Plasma -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/KF5/KPackage -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=init-self -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fexceptions -std=gnu++11 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden   -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include -pthread -I/usr/include/x86_64-linux-gnu -fPIC -MD -MT utils/plasma-runner-installer/CMakeFiles/krunner_installer.dir/installerrunner.cpp.o -MF CMakeFiles/krunner_installer.dir/installerrunner.cpp.o.d -o CMakeFiles/krunner_installer.dir/installerrunner.cpp.o -c /<<PKGBUILDDIR>>/utils/plasma-runner-installer/installerrunner.cpp
In file included from /<<PKGBUILDDIR>>/utils/plasma-runner-installer/installerrunner.cpp:21:
/<<PKGBUILDDIR>>/utils/plasma-runner-installer/installerrunner.h:39:10: warning: ‘virtual void InstallerRunner::match(Plasma::RunnerContext&)’ can be marked override [-Wsuggest-override]
     39 |     void match(Plasma::RunnerContext &context);
        |          ^~~~~
/<<PKGBUILDDIR>>/utils/plasma-runner-installer/installerrunner.h:40:10: warning: ‘virtual void InstallerRunner::run(const Plasma::RunnerContext&, const Plasma::QueryMatch&)’ can be marked override [-Wsuggest-override]
     40 |     void run(const Plasma::RunnerContext &context, const Plasma::QueryMatch &action);
        |          ^~~
In file included from /usr/include/KF5/KRunner/KRunner/AbstractRunner:1,
                   from /<<PKGBUILDDIR>>/utils/plasma-runner-installer/installerrunner.h:24:
/<<PKGBUILDDIR>>/utils/plasma-runner-installer/installerrunner.cpp:32:1: note: ‘#pragma message: "Deprecated. Since 5.72, use K_EXPORT_PLASMA_RUNNER_WITH_JSON(classname, jsonFile) instead"’
     32 | K_EXPORT_PLASMA_RUNNER(installer, InstallerRunner)
        | ^~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/utils/plasma-runner-installer/installerrunner.cpp: In constructor ‘InstallerRunner::InstallerRunner(QObject*, const QVariantList&)’:
/<<PKGBUILDDIR>>/utils/plasma-runner-installer/installerrunner.cpp:35:42: warning: ‘Plasma::AbstractRunner::AbstractRunner(QObject*, const QVariantList&)’ is deprecated: Since 5.77. use AbstractRunner(QObject *, const KPluginMetaData &, const QVariantList &) [-Wdeprecated-declarations]
     35 |     : Plasma::AbstractRunner(parent, args)
        |                                          ^
/usr/include/KF5/KRunner/krunner/abstractrunner.h:487:5: note: declared here
    487 |     AbstractRunner(QObject *parent, const QVariantList &args);
        |     ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/utils/plasma-runner-installer/installerrunner.cpp: In member function ‘virtual void InstallerRunner::match(Plasma::RunnerContext&)’:
/<<PKGBUILDDIR>>/utils/plasma-runner-installer/installerrunner.cpp:60:55: warning: ‘static KServiceTypeTrader* KServiceTypeTrader::self()’ is deprecated: Since 5.90. See class API docs [-Wdeprecated-declarations]
     60 |     KService::List services = KServiceTypeTrader::self()->query("Application", query);
        |                               ~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/KF5/KService/KServiceTypeTrader:1,
                   from /<<PKGBUILDDIR>>/utils/plasma-runner-installer/installerrunner.cpp:30:
/usr/include/KF5/KService/kservicetypetrader.h:133:32: note: declared here
    133 |     static KServiceTypeTrader *self();
        |                                ^~~~
/<<PKGBUILDDIR>>/utils/plasma-runner-installer/installerrunner.cpp:84:30: warning: ‘void Plasma::QueryMatch::setType(Type)’ is deprecated: Since 5.113. Use setCategoryRelevance instead [-Wdeprecated-declarations]
     84 |                 match.setType(Plasma::QueryMatch::ExactMatch);
        |                 ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/KF5/KRunner/krunner/abstractrunner.h:38:
/usr/include/KF5/KRunner/krunner/querymatch.h:111:10: note: declared here
    111 |     void setType(Type type);
        |          ^~~~~~~
[ 70%] Linking CXX shared module krunner_installer.so
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/utils/plasma-runner-installer && /usr/bin/cmake -E cmake_link_script CMakeFiles/krunner_installer.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=init-self -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fexceptions -Wl,--no-undefined -Wl,--fatal-warnings -Wl,--enable-new-dtags -Wl,-z,relro -shared  -o krunner_installer.so CMakeFiles/krunner_installer.dir/krunner_installer_autogen/mocs_compilation.cpp.o CMakeFiles/krunner_installer.dir/installerrunner.cpp.o  /usr/lib/x86_64-linux-gnu/libKF5Runner.so.5.115.0 /usr/lib/x86_64-linux-gnu/libKF5Plasma.so.5.115.0 /usr/lib/x86_64-linux-gnu/libKF5Package.so.5.115.0 /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.15.15 /usr/lib/x86_64-linux-gnu/libKF5Service.so.5.115.0 /usr/lib/x86_64-linux-gnu/libKF5I18n.so.5.115.0 /usr/lib/x86_64-linux-gnu/libKF5ConfigCore.so.5.115.0 /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5.115.0 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.15.15
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 70%] Built target krunner_installer
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202412/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.


More information about the pkg-kde-extras mailing list