Build fail on Debian 12 Bookworm
OS
Linux debian 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux
user@debian:~/Downloads/btrfs-assistant-2.0$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
Build fail
user@debian:~/Downloads/btrfs-assistant-2.0$ make -C build
make: Entering directory '/home/user/Downloads/btrfs-assistant-2.0/build'
make[1]: Entering directory '/home/user/Downloads/btrfs-assistant-2.0/build'
make[2]: Entering directory '/home/user/Downloads/btrfs-assistant-2.0/build'
make[2]: Leaving directory '/home/user/Downloads/btrfs-assistant-2.0/build'
make[2]: Entering directory '/home/user/Downloads/btrfs-assistant-2.0/build'
[ 5%] Automatic MOC and UIC for target btrfs-assistant-bin
make[2]: Leaving directory '/home/user/Downloads/btrfs-assistant-2.0/build'
[ 5%] Built target btrfs-assistant-bin_autogen
make[2]: Entering directory '/home/user/Downloads/btrfs-assistant-2.0/build'
[ 10%] Automatic RCC for ../icons/icons.qrc
make[2]: Leaving directory '/home/user/Downloads/btrfs-assistant-2.0/build'
make[2]: Entering directory '/home/user/Downloads/btrfs-assistant-2.0/build'
[ 15%] Building CXX object src/CMakeFiles/btrfs-assistant-bin.dir/btrfs-assistant-bin_autogen/mocs_compilation.cpp.o
[ 20%] Building CXX object src/CMakeFiles/btrfs-assistant-bin.dir/main.cpp.o
[ 25%] Building CXX object src/CMakeFiles/btrfs-assistant-bin.dir/ui/MainWindow.cpp.o
[ 30%] Building CXX object src/CMakeFiles/btrfs-assistant-bin.dir/ui/Cli.cpp.o
[ 35%] Building CXX object src/CMakeFiles/btrfs-assistant-bin.dir/ui/DiffViewer.cpp.o
[ 40%] Building CXX object src/CMakeFiles/btrfs-assistant-bin.dir/ui/FileBrowser.cpp.o
[ 45%] Building CXX object src/CMakeFiles/btrfs-assistant-bin.dir/ui/SnapshotSubvolumeDialog.cpp.o
[ 50%] Building CXX object src/CMakeFiles/btrfs-assistant-bin.dir/ui/RestoreConfirmDialog.cpp.o
[ 55%] Building CXX object src/CMakeFiles/btrfs-assistant-bin.dir/model/SubvolModel.cpp.o
[ 60%] Building CXX object src/CMakeFiles/btrfs-assistant-bin.dir/util/Btrfs.cpp.o
[ 65%] Building CXX object src/CMakeFiles/btrfs-assistant-bin.dir/util/BtrfsMaintenance.cpp.o
[ 70%] Building CXX object src/CMakeFiles/btrfs-assistant-bin.dir/util/Settings.cpp.o
[ 75%] Building CXX object src/CMakeFiles/btrfs-assistant-bin.dir/util/Snapper.cpp.o
/home/user/Downloads/btrfs-assistant-2.0/src/util/Snapper.cpp: In static member function ‘static SnapperSnapshot Snapper::readSnapperMeta(const QString&)’:
/home/user/Downloads/btrfs-assistant-2.0/src/util/Snapper.cpp:325:36: error: conversion from ‘const char [4]’ to ‘QChar’ is ambiguous
325 | if (xml.name().compare("num") == 0) {
| ^~~~~
In file included from /usr/include/x86_64-linux-gnu/qt6/QtCore/qstring.h:14,
from /usr/include/x86_64-linux-gnu/qt6/QtCore/qdatetime.h:8,
from /usr/include/x86_64-linux-gnu/qt6/QtCore/QDateTime:1,
from /home/user/Downloads/btrfs-assistant-2.0/src/util/Snapper.h:4,
from /home/user/Downloads/btrfs-assistant-2.0/src/util/Snapper.cpp:1:
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:90:45: note: candidate: ‘constexpr QChar::QChar(char)’ (near match)
90 | QT_ASCII_CAST_WARN constexpr Q_IMPLICIT QChar(char c) noexcept : ucs(uchar(c)) { }
| ^~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:90:45: note: conversion of argument 1 would be ill-formed:
/home/user/Downloads/btrfs-assistant-2.0/src/util/Snapper.cpp:325:36: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
325 | if (xml.name().compare("num") == 0) {
| ^~~~~
| |
| const char*
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:83:26: note: candidate: ‘constexpr QChar::QChar(char16_t)’ (near match)
83 | constexpr Q_IMPLICIT QChar(char16_t ch) noexcept : ucs(ch) {}
| ^~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:83:26: note: conversion of argument 1 would be ill-formed:
/home/user/Downloads/btrfs-assistant-2.0/src/util/Snapper.cpp:325:36: error: invalid conversion from ‘const char*’ to ‘char16_t’ [-fpermissive]
325 | if (xml.name().compare("num") == 0) {
| ^~~~~
| |
| const char*
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:78:26: note: candidate: ‘constexpr QChar::QChar(short int)’ (near match)
78 | constexpr Q_IMPLICIT QChar(short rc) noexcept : ucs(char16_t(rc)) {}
| ^~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:78:26: note: conversion of argument 1 would be ill-formed:
/home/user/Downloads/btrfs-assistant-2.0/src/util/Snapper.cpp:325:36: error: invalid conversion from ‘const char*’ to ‘short int’ [-fpermissive]
325 | if (xml.name().compare("num") == 0) {
| ^~~~~
| |
| const char*
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:76:26: note: candidate: ‘constexpr QChar::QChar(ushort)’ (near match)
76 | constexpr Q_IMPLICIT QChar(ushort rc) noexcept : ucs(rc) {}
| ^~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:76:26: note: conversion of argument 1 would be ill-formed:
/home/user/Downloads/btrfs-assistant-2.0/src/util/Snapper.cpp:325:36: error: invalid conversion from ‘const char*’ to ‘ushort’ {aka ‘short unsigned int’} [-fpermissive]
325 | if (xml.name().compare("num") == 0) {
| ^~~~~
| |
| const char*
In file included from /usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:651:
/usr/include/x86_64-linux-gnu/qt6/QtCore/qstringview.h:257:47: note: initializing argument 1 of ‘constexpr int QStringView::compare(QChar) const’
257 | [[nodiscard]] constexpr int compare(QChar c) const noexcept
| ~~~~~~^
/home/user/Downloads/btrfs-assistant-2.0/src/util/Snapper.cpp:327:43: error: conversion from ‘const char [5]’ to ‘QChar’ is ambiguous
327 | } else if (xml.name().compare("date") == 0) {
| ^~~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:90:45: note: candidate: ‘constexpr QChar::QChar(char)’ (near match)
90 | QT_ASCII_CAST_WARN constexpr Q_IMPLICIT QChar(char c) noexcept : ucs(uchar(c)) { }
| ^~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:90:45: note: conversion of argument 1 would be ill-formed:
/home/user/Downloads/btrfs-assistant-2.0/src/util/Snapper.cpp:327:43: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
327 | } else if (xml.name().compare("date") == 0) {
| ^~~~~~
| |
| const char*
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:83:26: note: candidate: ‘constexpr QChar::QChar(char16_t)’ (near match)
83 | constexpr Q_IMPLICIT QChar(char16_t ch) noexcept : ucs(ch) {}
| ^~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:83:26: note: conversion of argument 1 would be ill-formed:
/home/user/Downloads/btrfs-assistant-2.0/src/util/Snapper.cpp:327:43: error: invalid conversion from ‘const char*’ to ‘char16_t’ [-fpermissive]
327 | } else if (xml.name().compare("date") == 0) {
| ^~~~~~
| |
| const char*
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:78:26: note: candidate: ‘constexpr QChar::QChar(short int)’ (near match)
78 | constexpr Q_IMPLICIT QChar(short rc) noexcept : ucs(char16_t(rc)) {}
| ^~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:78:26: note: conversion of argument 1 would be ill-formed:
/home/user/Downloads/btrfs-assistant-2.0/src/util/Snapper.cpp:327:43: error: invalid conversion from ‘const char*’ to ‘short int’ [-fpermissive]
327 | } else if (xml.name().compare("date") == 0) {
| ^~~~~~
| |
| const char*
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:76:26: note: candidate: ‘constexpr QChar::QChar(ushort)’ (near match)
76 | constexpr Q_IMPLICIT QChar(ushort rc) noexcept : ucs(rc) {}
| ^~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:76:26: note: conversion of argument 1 would be ill-formed:
/home/user/Downloads/btrfs-assistant-2.0/src/util/Snapper.cpp:327:43: error: invalid conversion from ‘const char*’ to ‘ushort’ {aka ‘short unsigned int’} [-fpermissive]
327 | } else if (xml.name().compare("date") == 0) {
| ^~~~~~
| |
| const char*
/usr/include/x86_64-linux-gnu/qt6/QtCore/qstringview.h:257:47: note: initializing argument 1 of ‘constexpr int QStringView::compare(QChar) const’
257 | [[nodiscard]] constexpr int compare(QChar c) const noexcept
| ~~~~~~^
/home/user/Downloads/btrfs-assistant-2.0/src/util/Snapper.cpp:330:43: error: conversion from ‘const char [12]’ to ‘QChar’ is ambiguous
330 | } else if (xml.name().compare("description") == 0) {
| ^~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:90:45: note: candidate: ‘constexpr QChar::QChar(char)’ (near match)
90 | QT_ASCII_CAST_WARN constexpr Q_IMPLICIT QChar(char c) noexcept : ucs(uchar(c)) { }
| ^~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:90:45: note: conversion of argument 1 would be ill-formed:
/home/user/Downloads/btrfs-assistant-2.0/src/util/Snapper.cpp:330:43: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
330 | } else if (xml.name().compare("description") == 0) {
| ^~~~~~~~~~~~~
| |
| const char*
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:83:26: note: candidate: ‘constexpr QChar::QChar(char16_t)’ (near match)
83 | constexpr Q_IMPLICIT QChar(char16_t ch) noexcept : ucs(ch) {}
| ^~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:83:26: note: conversion of argument 1 would be ill-formed:
/home/user/Downloads/btrfs-assistant-2.0/src/util/Snapper.cpp:330:43: error: invalid conversion from ‘const char*’ to ‘char16_t’ [-fpermissive]
330 | } else if (xml.name().compare("description") == 0) {
| ^~~~~~~~~~~~~
| |
| const char*
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:78:26: note: candidate: ‘constexpr QChar::QChar(short int)’ (near match)
78 | constexpr Q_IMPLICIT QChar(short rc) noexcept : ucs(char16_t(rc)) {}
| ^~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:78:26: note: conversion of argument 1 would be ill-formed:
/home/user/Downloads/btrfs-assistant-2.0/src/util/Snapper.cpp:330:43: error: invalid conversion from ‘const char*’ to ‘short int’ [-fpermissive]
330 | } else if (xml.name().compare("description") == 0) {
| ^~~~~~~~~~~~~
| |
| const char*
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:76:26: note: candidate: ‘constexpr QChar::QChar(ushort)’ (near match)
76 | constexpr Q_IMPLICIT QChar(ushort rc) noexcept : ucs(rc) {}
| ^~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:76:26: note: conversion of argument 1 would be ill-formed:
/home/user/Downloads/btrfs-assistant-2.0/src/util/Snapper.cpp:330:43: error: invalid conversion from ‘const char*’ to ‘ushort’ {aka ‘short unsigned int’} [-fpermissive]
330 | } else if (xml.name().compare("description") == 0) {
| ^~~~~~~~~~~~~
| |
| const char*
/usr/include/x86_64-linux-gnu/qt6/QtCore/qstringview.h:257:47: note: initializing argument 1 of ‘constexpr int QStringView::compare(QChar) const’
257 | [[nodiscard]] constexpr int compare(QChar c) const noexcept
| ~~~~~~^
/home/user/Downloads/btrfs-assistant-2.0/src/util/Snapper.cpp:332:43: error: conversion from ‘const char [5]’ to ‘QChar’ is ambiguous
332 | } else if (xml.name().compare("type") == 0) {
| ^~~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:90:45: note: candidate: ‘constexpr QChar::QChar(char)’ (near match)
90 | QT_ASCII_CAST_WARN constexpr Q_IMPLICIT QChar(char c) noexcept : ucs(uchar(c)) { }
| ^~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:90:45: note: conversion of argument 1 would be ill-formed:
/home/user/Downloads/btrfs-assistant-2.0/src/util/Snapper.cpp:332:43: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
332 | } else if (xml.name().compare("type") == 0) {
| ^~~~~~
| |
| const char*
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:83:26: note: candidate: ‘constexpr QChar::QChar(char16_t)’ (near match)
83 | constexpr Q_IMPLICIT QChar(char16_t ch) noexcept : ucs(ch) {}
| ^~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:83:26: note: conversion of argument 1 would be ill-formed:
/home/user/Downloads/btrfs-assistant-2.0/src/util/Snapper.cpp:332:43: error: invalid conversion from ‘const char*’ to ‘char16_t’ [-fpermissive]
332 | } else if (xml.name().compare("type") == 0) {
| ^~~~~~
| |
| const char*
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:78:26: note: candidate: ‘constexpr QChar::QChar(short int)’ (near match)
78 | constexpr Q_IMPLICIT QChar(short rc) noexcept : ucs(char16_t(rc)) {}
| ^~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:78:26: note: conversion of argument 1 would be ill-formed:
/home/user/Downloads/btrfs-assistant-2.0/src/util/Snapper.cpp:332:43: error: invalid conversion from ‘const char*’ to ‘short int’ [-fpermissive]
332 | } else if (xml.name().compare("type") == 0) {
| ^~~~~~
| |
| const char*
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:76:26: note: candidate: ‘constexpr QChar::QChar(ushort)’ (near match)
76 | constexpr Q_IMPLICIT QChar(ushort rc) noexcept : ucs(rc) {}
| ^~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:76:26: note: conversion of argument 1 would be ill-formed:
/home/user/Downloads/btrfs-assistant-2.0/src/util/Snapper.cpp:332:43: error: invalid conversion from ‘const char*’ to ‘ushort’ {aka ‘short unsigned int’} [-fpermissive]
332 | } else if (xml.name().compare("type") == 0) {
| ^~~~~~
| |
| const char*
/usr/include/x86_64-linux-gnu/qt6/QtCore/qstringview.h:257:47: note: initializing argument 1 of ‘constexpr int QStringView::compare(QChar) const’
257 | [[nodiscard]] constexpr int compare(QChar c) const noexcept
| ~~~~~~^
/home/user/Downloads/btrfs-assistant-2.0/src/util/Snapper.cpp:334:43: error: conversion from ‘const char [8]’ to ‘QChar’ is ambiguous
334 | } else if (xml.name().compare("cleanup") == 0) {
| ^~~~~~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:90:45: note: candidate: ‘constexpr QChar::QChar(char)’ (near match)
90 | QT_ASCII_CAST_WARN constexpr Q_IMPLICIT QChar(char c) noexcept : ucs(uchar(c)) { }
| ^~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:90:45: note: conversion of argument 1 would be ill-formed:
/home/user/Downloads/btrfs-assistant-2.0/src/util/Snapper.cpp:334:43: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
334 | } else if (xml.name().compare("cleanup") == 0) {
| ^~~~~~~~~
| |
| const char*
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:83:26: note: candidate: ‘constexpr QChar::QChar(char16_t)’ (near match)
83 | constexpr Q_IMPLICIT QChar(char16_t ch) noexcept : ucs(ch) {}
| ^~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:83:26: note: conversion of argument 1 would be ill-formed:
/home/user/Downloads/btrfs-assistant-2.0/src/util/Snapper.cpp:334:43: error: invalid conversion from ‘const char*’ to ‘char16_t’ [-fpermissive]
334 | } else if (xml.name().compare("cleanup") == 0) {
| ^~~~~~~~~
| |
| const char*
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:78:26: note: candidate: ‘constexpr QChar::QChar(short int)’ (near match)
78 | constexpr Q_IMPLICIT QChar(short rc) noexcept : ucs(char16_t(rc)) {}
| ^~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:78:26: note: conversion of argument 1 would be ill-formed:
/home/user/Downloads/btrfs-assistant-2.0/src/util/Snapper.cpp:334:43: error: invalid conversion from ‘const char*’ to ‘short int’ [-fpermissive]
334 | } else if (xml.name().compare("cleanup") == 0) {
| ^~~~~~~~~
| |
| const char*
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:76:26: note: candidate: ‘constexpr QChar::QChar(ushort)’ (near match)
76 | constexpr Q_IMPLICIT QChar(ushort rc) noexcept : ucs(rc) {}
| ^~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qchar.h:76:26: note: conversion of argument 1 would be ill-formed:
/home/user/Downloads/btrfs-assistant-2.0/src/util/Snapper.cpp:334:43: error: invalid conversion from ‘const char*’ to ‘ushort’ {aka ‘short unsigned int’} [-fpermissive]
334 | } else if (xml.name().compare("cleanup") == 0) {
| ^~~~~~~~~
| |
| const char*
/usr/include/x86_64-linux-gnu/qt6/QtCore/qstringview.h:257:47: note: initializing argument 1 of ‘constexpr int QStringView::compare(QChar) const’
257 | [[nodiscard]] constexpr int compare(QChar c) const noexcept
| ~~~~~~^
make[2]: *** [src/CMakeFiles/btrfs-assistant-bin.dir/build.make:261: src/CMakeFiles/btrfs-assistant-bin.dir/util/Snapper.cpp.o] Error 1
make[2]: Leaving directory '/home/user/Downloads/btrfs-assistant-2.0/build'
make[1]: *** [CMakeFiles/Makefile2:117: src/CMakeFiles/btrfs-assistant-bin.dir/all] Error 2
make[1]: Leaving directory '/home/user/Downloads/btrfs-assistant-2.0/build'
make: *** [Makefile:136: all] Error 2
make: Leaving directory '/home/user/Downloads/btrfs-assistant-2.0/build'
Debian QT6 info
user@debian:~/Downloads/btrfs-assistant-2.0$ apt show qt6-base-dev
Package: qt6-base-dev
Version: 6.4.2+dfsg-10
Priority: optional
Section: libdevel
Source: qt6-base
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Installed-Size: 12.6 MB
Depends: libgl-dev, libglx-dev, libopengl-dev, libqt6concurrent6 (= 6.4.2+dfsg-10), libqt6core6 (= 6.4.2+dfsg-10), libqt6dbus6 (= 6.4.2+dfsg-10), libqt6gui6 (= 6.4.2+dfsg-10), libqt6network6 (= 6.4.2+dfsg-10), libqt6openglwidgets6 (= 6.4.2+dfsg-10), libqt6printsupport6 (= 6.4.2+dfsg-10), libqt6sql6 (= 6.4.2+dfsg-10), libqt6test6 (= 6.4.2+dfsg-10), libqt6widgets6 (= 6.4.2+dfsg-10), libqt6xml6 (= 6.4.2+dfsg-10), libvulkan-dev, qmake6 (= 6.4.2+dfsg-10), qt6-base-dev-tools (= 6.4.2+dfsg-10), qt6-qpa-plugins (= 6.4.2+dfsg-10)
Recommends: libqt6opengl6-dev (= 6.4.2+dfsg-10)
Breaks: libqt6opengl6-dev (<< 6.3.1+dfsg-10~)
Homepage: https://www.qt.io/developers/
Tag: devel::library, role::devel-lib
Download-Size: 1,367 kB
APT-Manual-Installed: yes
APT-Sources: http://deb.debian.org/debian bookworm/main amd64 Packages
Description: Qt 6 base development files
Qt is a cross-platform C++ application framework. Qt's primary feature
is its rich set of widgets that provide standard GUI functionality.
.
This package contains the header development files used for building
Qt 6 applications.
.
If you are interested in packaging Qt 6 stuff please take a look at
https://qt-kde-team.pages.debian.net/packagingqtbasedstuff.html