Chaotic repository

Good morning, I would like to ask if is safe to add this repository or it’s better avoid.
I would like to add this repo, for snapper-tools only, because I’ve problem installing it with aur (error 4).

With this repository may I have problem during upgrade system?

Pls let me know or give me other suggestion for snapper-tools.

Thank you since now.

I am not using the Chaotic AUR with EndeavourOS, however, Garuda Linux uses it as a default. Maybe check their forums for problems with packages from Chaotic?

1 Like

Hi DromundKaas, I’m interested for eventually problems with Endeavouros System.

I’m using chaotic-aur to avoid the slow building process of aur packages on my EOS system since 2 years. Never had a problem.

1 Like

You could try snapper-tools-git from AUR.

If that fails too, could you show here the full output of your command and the result?

1 Like

Remember that the AUR often offers prebuild packages instead of the ones that get build on your own machine. I am using multiple -bin AUR packages, I have currently no need for the Chaotic AUR.

1 Like

Hi Manuel, this is the output of snapper-tools-git

[robertocannito@roberto-bohkwax9x ~]$ yay -S snapper-tools-git
AUR Explicit (1): snapper-tools-git-r5.36aa64d-1
:: (1/1) PKGBUILD scaricato: snapper-tools-git
  1 snapper-tools-git                (I file di compilazione sono già presenti)
==> Pacchetti da compilare in modo pulito?
==> [N]essuno [A]Tutti [Ab]Annulla [I]nstallati [No]nInstallati oppure (1 2 3, 1-3, ^4)
==> n
  1 snapper-tools-git                (I file di compilazione sono già presenti)
==> Differenze da mostrare?
==> [N]essuno [A]Tutti [Ab]Annulla [I]nstallati [No]nInstallati oppure (1 2 3, 1-3, ^4)
==> n
==> Creazione del pacchetto: snapper-tools-git r5.36aa64d-1 (mer 2 ott 2024, 13:51:37)
==> Download dei sorgenti in corso...
  -> Clonazione del repository snapper-tools git in corso...
Clone nel repository spoglio '/home/robertocannito/.cache/yay/snapper-tools-git/snapper-tools' in corso...
remote: Enumerating objects: 81, done.
remote: Counting objects: 100% (17/17), done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 81 (delta 6), reused 16 (delta 6), pack-reused 64 (from 1)
Ricezione degli oggetti: 100% (81/81), 38.09 KiB | 19.05 MiB/s, fatto.
Risoluzione dei delta: 100% (40/40), fatto.
==> ATTENZIONE: Sto ignorando la verifica delle firme PGP.
==> Validazione di source file con md5sums...
    snapper-tools ... Ignorato
:: (1/1) Analisi SRCINFO: snapper-tools-git
==> Creazione del pacchetto: snapper-tools-git r5.36aa64d-1 (mer 2 ott 2024, 13:51:40)
==> Controllo delle dipendenze durante l'avvio in corso...
==> Controllo delle dipendenze durante la compilazione in corso...
==> Download dei sorgenti in corso...
  -> Aggiornamento del repository snapper-tools git in corso...
==> Validazione di source file con md5sums...
    snapper-tools ... Ignorato
==> Rimozione dell'esistente directory $srcdir/ in corso...
==> Estrazione dei sorgenti in corso...
  -> Creazione di una copia di lavoro del repository snapper-tools git in corso...
Clone in 'snapper-tools' in corso...
fatto.
==> Avvio di pkgver() in corso...
==> Versione aggiornata: snapper-tools-git r16.bb0564d-1
==> I sorgenti sono pronti.
==> Creazione del pacchetto: snapper-tools-git r16.bb0564d-1 (mer 2 ott 2024, 13:51:46)
==> Controllo delle dipendenze durante l'avvio in corso...
==> Controllo delle dipendenze durante la compilazione in corso...
==> ATTENZIONE: Sto usando il tree esistente di $srcdir/
==> Avvio di pkgver() in corso...
==> Avvio di build() in corso...
-- The CXX compiler identification is GNU 14.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Found OpenGL: /usr/lib/libOpenGL.so
-- Found WrapOpenGL: TRUE
-- Found XKB: /usr/lib/libxkbcommon.so (found suitable version "1.7.0", minimum required is "0.5.0")
-- Found WrapVulkanHeaders: /usr/include
-- Configuring done (1.6s)
-- Generating done (0.1s)
-- Build files have been written to: /home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/build
make: ingresso nella directory «/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/build»
[  0%] Built target snapper-tools_autogen_timestamp_deps
[ 12%] Automatic MOC and UIC for target snapper-tools
[ 12%] Built target snapper-tools_autogen
[ 25%] Building CXX object CMakeFiles/snapper-tools.dir/snapper-tools_autogen/mocs_compilation.cpp.o
[ 37%] Building CXX object CMakeFiles/snapper-tools.dir/main.cpp.o
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/main.cpp: In function ‘int main(int, char**)’:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/main.cpp:94:42: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<SnapshotVolume>; typename std::add_const<_Tp>::type = const QList<SnapshotVolume>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
   94 |             for (const auto& i : qAsConst(result)) {
      |                                  ~~~~~~~~^~~~~~~~
In file included from /usr/include/qt6/QtCore/qforeach.h:11,
                 from /usr/include/qt6/QtCore/qglobal.h:57,
                 from /usr/include/qt6/QtCore/qcalendar.h:9,
                 from /usr/include/qt6/QtCore/qdatetime.h:8,
                 from /usr/include/qt6/QtCore/QDateTime:1,
                 from /home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.h:4,
                 from /home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/main.cpp:1:
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/main.cpp:156:46: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<SnapshotVolume>; typename std::add_const<_Tp>::type = const QList<SnapshotVolume>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  156 |                 for (const auto& i : qAsConst(snapshots)) {
      |                                      ~~~~~~~~^~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/main.cpp:164:46: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<Subvolume>; typename std::add_const<_Tp>::type = const QList<Subvolume>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  164 |                 for (const auto& i : qAsConst(subvolumes)) {
      |                                      ~~~~~~~~^~~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/main.cpp:174:42: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<SnapshotVolume>; typename std::add_const<_Tp>::type = const QList<SnapshotVolume>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  174 |             for (const auto& i : qAsConst(snapshots)) {
      |                                  ~~~~~~~~^~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/main.cpp:179:42: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<Subvolume>; typename std::add_const<_Tp>::type = const QList<Subvolume>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  179 |             for (const auto& i : qAsConst(subvolumes)) {
      |                                  ~~~~~~~~^~~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
[ 50%] Building CXX object CMakeFiles/snapper-tools.dir/snappertools.cpp.o
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/snappertools.cpp: In lambda function:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/snappertools.cpp:102:37: warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated]
  102 |     auto future = QtConcurrent::run([=]() {
      |                                     ^
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/snappertools.cpp:102:37: note: add explicit ‘this’ or ‘*this’ capture
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/snappertools.cpp: In lambda function:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/snappertools.cpp:151:37: warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated]
  151 |     auto future = QtConcurrent::run([=]() {
      |                                     ^
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/snappertools.cpp:151:37: note: add explicit ‘this’ or ‘*this’ capture
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/snappertools.cpp: In lambda function:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/snappertools.cpp:161:61: warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated]
  161 |     connect(watcher, &QFutureWatcher<void>::finished, this, [=]() {
      |                                                             ^
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/snappertools.cpp:161:61: note: add explicit ‘this’ or ‘*this’ capture
[ 62%] Building CXX object CMakeFiles/snapper-tools.dir/backend.cpp.o
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp: In lambda function:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:73:43: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<Subvolume>; typename std::add_const<_Tp>::type = const QList<Subvolume>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
   73 |         for (const auto& volume : qAsConst(volumes)) {
      |                                   ~~~~~~~~^~~~~~~~~
In file included from /usr/include/qt6/QtCore/qforeach.h:11,
                 from /usr/include/qt6/QtCore/qglobal.h:57,
                 from /usr/include/qt6/QtCore/qcalendar.h:9,
                 from /usr/include/qt6/QtCore/qdatetime.h:8,
                 from /usr/include/qt6/QtCore/QDateTime:1,
                 from /home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.h:4,
                 from /home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:1:
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:92:35: error: conversion from ‘const char [9]’ to ‘QChar’ is ambiguous
   92 |                 if (xml.name() == "snapshot") {
      |                                   ^~~~~~~~~~
In file included from /usr/include/qt6/QtCore/qstring.h:14,
                 from /usr/include/qt6/QtCore/qhashfunctions.h:8,
                 from /usr/include/qt6/QtCore/qfloat16.h:10,
                 from /usr/include/qt6/QtCore/qmetatype.h:14,
                 from /usr/include/qt6/QtCore/qvariant.h:9,
                 from /usr/include/qt6/QtCore/qlocale.h:7,
                 from /usr/include/qt6/QtCore/qcalendar.h:10:
/usr/include/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/qt6/QtCore/qchar.h:90:45: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:92:35: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
   92 |                 if (xml.name() == "snapshot") {
      |                                   ^~~~~~~~~~
      |                                   |
      |                                   const char*
/usr/include/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/qt6/QtCore/qchar.h:83:26: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:92:35: error: invalid conversion from ‘const char*’ to ‘char16_t’ [-fpermissive]
   92 |                 if (xml.name() == "snapshot") {
      |                                   ^~~~~~~~~~
      |                                   |
      |                                   const char*
/usr/include/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/qt6/QtCore/qchar.h:78:26: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:92:35: error: invalid conversion from ‘const char*’ to ‘short int’ [-fpermissive]
   92 |                 if (xml.name() == "snapshot") {
      |                                   ^~~~~~~~~~
      |                                   |
      |                                   const char*
/usr/include/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/qt6/QtCore/qchar.h:76:26: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:92:35: error: invalid conversion from ‘const char*’ to ‘ushort’ {aka ‘short unsigned int’} [-fpermissive]
   92 |                 if (xml.name() == "snapshot") {
      |                                   ^~~~~~~~~~
      |                                   |
      |                                   const char*
/usr/include/qt6/QtCore/qchar.h:82:26: note: candidate: ‘constexpr QChar::QChar(QLatin1Char)’
   82 |     constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
      |                          ^~~~~
/usr/include/qt6/QtCore/qchar.h:82:44: note:   no known conversion for argument 1 from ‘const char [9]’ to ‘QLatin1Char’
   82 |     constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
      |                                ~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qchar.h:81:26: note: candidate: ‘constexpr QChar::QChar(SpecialCharacter)’
   81 |     constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
      |                          ^~~~~
/usr/include/qt6/QtCore/qchar.h:81:49: note:   no known conversion for argument 1 from ‘const char [9]’ to ‘QChar::SpecialCharacter’
   81 |     constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
      |                                ~~~~~~~~~~~~~~~~~^
/usr/include/qt6/QtCore/qchar.h:75:26: note: candidate: ‘constexpr QChar::QChar()’
   75 |     constexpr Q_IMPLICIT QChar() noexcept : ucs(0) {}
      |                          ^~~~~
/usr/include/qt6/QtCore/qchar.h:75:26: note:   candidate expects 0 arguments, 1 provided
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(const QChar&)’
   48 | class Q_CORE_EXPORT QChar {
      |                     ^~~~~
/usr/include/qt6/QtCore/qchar.h:48:21: note:   no known conversion for argument 1 from ‘const char [9]’ to ‘const QChar&’
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(QChar&&)’
/usr/include/qt6/QtCore/qchar.h:48:21: note:   no known conversion for argument 1 from ‘const char [9]’ to ‘QChar&&’
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:92:35: note: some candidates omitted; use ‘-fdiagnostics-all-candidates’ to display them
   92 |                 if (xml.name() == "snapshot") {
      |                                   ^~~~~~~~~~
In file included from /usr/include/qt6/QtCore/qchar.h:656:
/usr/include/qt6/QtCore/qstringview.h:377:51: note:   initializing argument 2 of ‘bool operator==(QStringView, QChar)’
  377 |     friend bool operator==(QStringView lhs, QChar rhs) noexcept { return lhs == QStringView(&rhs, 1); }
      |                                             ~~~~~~^~~
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:95:42: error: conversion from ‘const char [5]’ to ‘QChar’ is ambiguous
   95 |                 } else if (xml.name() == "date") {
      |                                          ^~~~~~
/usr/include/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/qt6/QtCore/qchar.h:90:45: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:95:42: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
   95 |                 } else if (xml.name() == "date") {
      |                                          ^~~~~~
      |                                          |
      |                                          const char*
/usr/include/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/qt6/QtCore/qchar.h:83:26: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:95:42: error: invalid conversion from ‘const char*’ to ‘char16_t’ [-fpermissive]
   95 |                 } else if (xml.name() == "date") {
      |                                          ^~~~~~
      |                                          |
      |                                          const char*
/usr/include/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/qt6/QtCore/qchar.h:78:26: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:95:42: error: invalid conversion from ‘const char*’ to ‘short int’ [-fpermissive]
   95 |                 } else if (xml.name() == "date") {
      |                                          ^~~~~~
      |                                          |
      |                                          const char*
/usr/include/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/qt6/QtCore/qchar.h:76:26: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:95:42: error: invalid conversion from ‘const char*’ to ‘ushort’ {aka ‘short unsigned int’} [-fpermissive]
   95 |                 } else if (xml.name() == "date") {
      |                                          ^~~~~~
      |                                          |
      |                                          const char*
/usr/include/qt6/QtCore/qchar.h:82:26: note: candidate: ‘constexpr QChar::QChar(QLatin1Char)’
   82 |     constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
      |                          ^~~~~
/usr/include/qt6/QtCore/qchar.h:82:44: note:   no known conversion for argument 1 from ‘const char [5]’ to ‘QLatin1Char’
   82 |     constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
      |                                ~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qchar.h:81:26: note: candidate: ‘constexpr QChar::QChar(SpecialCharacter)’
   81 |     constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
      |                          ^~~~~
/usr/include/qt6/QtCore/qchar.h:81:49: note:   no known conversion for argument 1 from ‘const char [5]’ to ‘QChar::SpecialCharacter’
   81 |     constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
      |                                ~~~~~~~~~~~~~~~~~^
/usr/include/qt6/QtCore/qchar.h:75:26: note: candidate: ‘constexpr QChar::QChar()’
   75 |     constexpr Q_IMPLICIT QChar() noexcept : ucs(0) {}
      |                          ^~~~~
/usr/include/qt6/QtCore/qchar.h:75:26: note:   candidate expects 0 arguments, 1 provided
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(const QChar&)’
   48 | class Q_CORE_EXPORT QChar {
      |                     ^~~~~
/usr/include/qt6/QtCore/qchar.h:48:21: note:   no known conversion for argument 1 from ‘const char [5]’ to ‘const QChar&’
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(QChar&&)’
/usr/include/qt6/QtCore/qchar.h:48:21: note:   no known conversion for argument 1 from ‘const char [5]’ to ‘QChar&&’
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:95:42: note: some candidates omitted; use ‘-fdiagnostics-all-candidates’ to display them
   95 |                 } else if (xml.name() == "date") {
      |                                          ^~~~~~
/usr/include/qt6/QtCore/qstringview.h:377:51: note:   initializing argument 2 of ‘bool operator==(QStringView, QChar)’
  377 |     friend bool operator==(QStringView lhs, QChar rhs) noexcept { return lhs == QStringView(&rhs, 1); }
      |                                             ~~~~~~^~~
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:98:42: error: conversion from ‘const char [12]’ to ‘QChar’ is ambiguous
   98 |                 } else if (xml.name() == "description")
      |                                          ^~~~~~~~~~~~~
/usr/include/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/qt6/QtCore/qchar.h:90:45: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:98:42: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
   98 |                 } else if (xml.name() == "description")
      |                                          ^~~~~~~~~~~~~
      |                                          |
      |                                          const char*
/usr/include/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/qt6/QtCore/qchar.h:83:26: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:98:42: error: invalid conversion from ‘const char*’ to ‘char16_t’ [-fpermissive]
   98 |                 } else if (xml.name() == "description")
      |                                          ^~~~~~~~~~~~~
      |                                          |
      |                                          const char*
/usr/include/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/qt6/QtCore/qchar.h:78:26: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:98:42: error: invalid conversion from ‘const char*’ to ‘short int’ [-fpermissive]
   98 |                 } else if (xml.name() == "description")
      |                                          ^~~~~~~~~~~~~
      |                                          |
      |                                          const char*
/usr/include/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/qt6/QtCore/qchar.h:76:26: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:98:42: error: invalid conversion from ‘const char*’ to ‘ushort’ {aka ‘short unsigned int’} [-fpermissive]
   98 |                 } else if (xml.name() == "description")
      |                                          ^~~~~~~~~~~~~
      |                                          |
      |                                          const char*
/usr/include/qt6/QtCore/qchar.h:82:26: note: candidate: ‘constexpr QChar::QChar(QLatin1Char)’
   82 |     constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
      |                          ^~~~~
/usr/include/qt6/QtCore/qchar.h:82:44: note:   no known conversion for argument 1 from ‘const char [12]’ to ‘QLatin1Char’
   82 |     constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
      |                                ~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qchar.h:81:26: note: candidate: ‘constexpr QChar::QChar(SpecialCharacter)’
   81 |     constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
      |                          ^~~~~
/usr/include/qt6/QtCore/qchar.h:81:49: note:   no known conversion for argument 1 from ‘const char [12]’ to ‘QChar::SpecialCharacter’
   81 |     constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
      |                                ~~~~~~~~~~~~~~~~~^
/usr/include/qt6/QtCore/qchar.h:75:26: note: candidate: ‘constexpr QChar::QChar()’
   75 |     constexpr Q_IMPLICIT QChar() noexcept : ucs(0) {}
      |                          ^~~~~
/usr/include/qt6/QtCore/qchar.h:75:26: note:   candidate expects 0 arguments, 1 provided
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(const QChar&)’
   48 | class Q_CORE_EXPORT QChar {
      |                     ^~~~~
/usr/include/qt6/QtCore/qchar.h:48:21: note:   no known conversion for argument 1 from ‘const char [12]’ to ‘const QChar&’
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(QChar&&)’
/usr/include/qt6/QtCore/qchar.h:48:21: note:   no known conversion for argument 1 from ‘const char [12]’ to ‘QChar&&’
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:98:42: note: some candidates omitted; use ‘-fdiagnostics-all-candidates’ to display them
   98 |                 } else if (xml.name() == "description")
      |                                          ^~~~~~~~~~~~~
/usr/include/qt6/QtCore/qstringview.h:377:51: note:   initializing argument 2 of ‘bool operator==(QStringView, QChar)’
  377 |     friend bool operator==(QStringView lhs, QChar rhs) noexcept { return lhs == QStringView(&rhs, 1); }
      |                                             ~~~~~~^~~
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:100:40: error: conversion from ‘const char [5]’ to ‘QChar’ is ambiguous
  100 |                 else if (xml.name() == "type")
      |                                        ^~~~~~
/usr/include/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/qt6/QtCore/qchar.h:90:45: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:100:40: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
  100 |                 else if (xml.name() == "type")
      |                                        ^~~~~~
      |                                        |
      |                                        const char*
/usr/include/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/qt6/QtCore/qchar.h:83:26: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:100:40: error: invalid conversion from ‘const char*’ to ‘char16_t’ [-fpermissive]
  100 |                 else if (xml.name() == "type")
      |                                        ^~~~~~
      |                                        |
      |                                        const char*
/usr/include/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/qt6/QtCore/qchar.h:78:26: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:100:40: error: invalid conversion from ‘const char*’ to ‘short int’ [-fpermissive]
  100 |                 else if (xml.name() == "type")
      |                                        ^~~~~~
      |                                        |
      |                                        const char*
/usr/include/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/qt6/QtCore/qchar.h:76:26: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:100:40: error: invalid conversion from ‘const char*’ to ‘ushort’ {aka ‘short unsigned int’} [-fpermissive]
  100 |                 else if (xml.name() == "type")
      |                                        ^~~~~~
      |                                        |
      |                                        const char*
/usr/include/qt6/QtCore/qchar.h:82:26: note: candidate: ‘constexpr QChar::QChar(QLatin1Char)’
   82 |     constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
      |                          ^~~~~
/usr/include/qt6/QtCore/qchar.h:82:44: note:   no known conversion for argument 1 from ‘const char [5]’ to ‘QLatin1Char’
   82 |     constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
      |                                ~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qchar.h:81:26: note: candidate: ‘constexpr QChar::QChar(SpecialCharacter)’
   81 |     constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
      |                          ^~~~~
/usr/include/qt6/QtCore/qchar.h:81:49: note:   no known conversion for argument 1 from ‘const char [5]’ to ‘QChar::SpecialCharacter’
   81 |     constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
      |                                ~~~~~~~~~~~~~~~~~^
/usr/include/qt6/QtCore/qchar.h:75:26: note: candidate: ‘constexpr QChar::QChar()’
   75 |     constexpr Q_IMPLICIT QChar() noexcept : ucs(0) {}
      |                          ^~~~~
/usr/include/qt6/QtCore/qchar.h:75:26: note:   candidate expects 0 arguments, 1 provided
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(const QChar&)’
   48 | class Q_CORE_EXPORT QChar {
      |                     ^~~~~
/usr/include/qt6/QtCore/qchar.h:48:21: note:   no known conversion for argument 1 from ‘const char [5]’ to ‘const QChar&’
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(QChar&&)’
/usr/include/qt6/QtCore/qchar.h:48:21: note:   no known conversion for argument 1 from ‘const char [5]’ to ‘QChar&&’
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:100:40: note: some candidates omitted; use ‘-fdiagnostics-all-candidates’ to display them
  100 |                 else if (xml.name() == "type")
      |                                        ^~~~~~
/usr/include/qt6/QtCore/qstringview.h:377:51: note:   initializing argument 2 of ‘bool operator==(QStringView, QChar)’
  377 |     friend bool operator==(QStringView lhs, QChar rhs) noexcept { return lhs == QStringView(&rhs, 1); }
      |                                             ~~~~~~^~~
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:102:40: error: conversion from ‘const char [8]’ to ‘QChar’ is ambiguous
  102 |                 else if (xml.name() == "cleanup") {
      |                                        ^~~~~~~~~
/usr/include/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/qt6/QtCore/qchar.h:90:45: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:102:40: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
  102 |                 else if (xml.name() == "cleanup") {
      |                                        ^~~~~~~~~
      |                                        |
      |                                        const char*
/usr/include/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/qt6/QtCore/qchar.h:83:26: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:102:40: error: invalid conversion from ‘const char*’ to ‘char16_t’ [-fpermissive]
  102 |                 else if (xml.name() == "cleanup") {
      |                                        ^~~~~~~~~
      |                                        |
      |                                        const char*
/usr/include/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/qt6/QtCore/qchar.h:78:26: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:102:40: error: invalid conversion from ‘const char*’ to ‘short int’ [-fpermissive]
  102 |                 else if (xml.name() == "cleanup") {
      |                                        ^~~~~~~~~
      |                                        |
      |                                        const char*
/usr/include/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/qt6/QtCore/qchar.h:76:26: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:102:40: error: invalid conversion from ‘const char*’ to ‘ushort’ {aka ‘short unsigned int’} [-fpermissive]
  102 |                 else if (xml.name() == "cleanup") {
      |                                        ^~~~~~~~~
      |                                        |
      |                                        const char*
/usr/include/qt6/QtCore/qchar.h:82:26: note: candidate: ‘constexpr QChar::QChar(QLatin1Char)’
   82 |     constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
      |                          ^~~~~
/usr/include/qt6/QtCore/qchar.h:82:44: note:   no known conversion for argument 1 from ‘const char [8]’ to ‘QLatin1Char’
   82 |     constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
      |                                ~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qchar.h:81:26: note: candidate: ‘constexpr QChar::QChar(SpecialCharacter)’
   81 |     constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
      |                          ^~~~~
/usr/include/qt6/QtCore/qchar.h:81:49: note:   no known conversion for argument 1 from ‘const char [8]’ to ‘QChar::SpecialCharacter’
   81 |     constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
      |                                ~~~~~~~~~~~~~~~~~^
/usr/include/qt6/QtCore/qchar.h:75:26: note: candidate: ‘constexpr QChar::QChar()’
   75 |     constexpr Q_IMPLICIT QChar() noexcept : ucs(0) {}
      |                          ^~~~~
/usr/include/qt6/QtCore/qchar.h:75:26: note:   candidate expects 0 arguments, 1 provided
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(const QChar&)’
   48 | class Q_CORE_EXPORT QChar {
      |                     ^~~~~
/usr/include/qt6/QtCore/qchar.h:48:21: note:   no known conversion for argument 1 from ‘const char [8]’ to ‘const QChar&’
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(QChar&&)’
/usr/include/qt6/QtCore/qchar.h:48:21: note:   no known conversion for argument 1 from ‘const char [8]’ to ‘QChar&&’
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:102:40: note: some candidates omitted; use ‘-fdiagnostics-all-candidates’ to display them
  102 |                 else if (xml.name() == "cleanup") {
      |                                        ^~~~~~~~~
/usr/include/qt6/QtCore/qstringview.h:377:51: note:   initializing argument 2 of ‘bool operator==(QStringView, QChar)’
  377 |     friend bool operator==(QStringView lhs, QChar rhs) noexcept { return lhs == QStringView(&rhs, 1); }
      |                                             ~~~~~~^~~
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp: In lambda function:
/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/backend.cpp:188:43: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<Subvolume>; typename std::add_const<_Tp>::type = const QList<Subvolume>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  188 |         for (const auto& volume : qAsConst(volumes)) {
      |                                   ~~~~~~~~^~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
make[2]: *** [CMakeFiles/snapper-tools.dir/build.make:125: CMakeFiles/snapper-tools.dir/backend.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:86: CMakeFiles/snapper-tools.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
make: uscita dalla directory «/home/robertocannito/.cache/yay/snapper-tools-git/src/snapper-tools/build»
==> ERRORE: Si è verificato un errore in build().
    L'operazione sta per essere interrotta...
 -> errore durante la creazione: snapper-tools-git-exit status 4
 -> Installazione dei seguenti pacchetti non riuscita. È richiesto l'intervento manuale:
snapper-tools-git - exit status 4
[robertocannito@roberto-bohkwax9x ~]$ 


and this is the output for snapper-tools

[robertocannito@roberto-bohkwax9x ~]$ yay -S snapper-tools
AUR Explicit (1): snapper-tools-1.1.3-1
:: (1/1) PKGBUILD scaricato: snapper-tools
  1 snapper-tools                    (I file di compilazione sono già presenti)
==> Pacchetti da compilare in modo pulito?
==> [N]essuno [A]Tutti [Ab]Annulla [I]nstallati [No]nInstallati oppure (1 2 3, 1-3, ^4)
==> n
  1 snapper-tools                    (I file di compilazione sono già presenti)
==> Differenze da mostrare?
==> [N]essuno [A]Tutti [Ab]Annulla [I]nstallati [No]nInstallati oppure (1 2 3, 1-3, ^4)
==> n
==> Creazione del pacchetto: snapper-tools 1.1.3-1 (mer 2 ott 2024, 13:55:14)
==> Download dei sorgenti in corso...
  -> Download di snapper-tools-1.1.3.tar.gz in corso...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 13950    0 13950    0     0  12902      0 --:--:--  0:00:01 --:--:-- 12904
==> ATTENZIONE: Sto ignorando la verifica delle firme PGP.
==> Validazione di source file con sha256sums...
    snapper-tools-1.1.3.tar.gz ... Verificato
:: (1/1) Analisi SRCINFO: snapper-tools
==> Creazione del pacchetto: snapper-tools 1.1.3-1 (mer 2 ott 2024, 13:55:17)
==> Controllo delle dipendenze durante l'avvio in corso...
==> Controllo delle dipendenze durante la compilazione in corso...
==> Download dei sorgenti in corso...
  -> È stato trovato snapper-tools-1.1.3.tar.gz
==> Validazione di source file con sha256sums...
    snapper-tools-1.1.3.tar.gz ... Verificato
==> Rimozione dell'esistente directory $srcdir/ in corso...
==> Estrazione dei sorgenti in corso...
  -> Estrazione di snapper-tools-1.1.3.tar.gz usando bsdtar in corso...
==> I sorgenti sono pronti.
==> Creazione del pacchetto: snapper-tools 1.1.3-1 (mer 2 ott 2024, 13:55:21)
==> Controllo delle dipendenze durante l'avvio in corso...
==> Controllo delle dipendenze durante la compilazione in corso...
==> ATTENZIONE: Sto usando il tree esistente di $srcdir/
==> Avvio di build() in corso...
-- The CXX compiler identification is GNU 14.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Found OpenGL: /usr/lib/libOpenGL.so
-- Found WrapOpenGL: TRUE
-- Found XKB: /usr/lib/libxkbcommon.so (found suitable version "1.7.0", minimum required is "0.5.0")
-- Found WrapVulkanHeaders: /usr/include
-- Configuring done (1.4s)
-- Generating done (0.1s)
-- Build files have been written to: /home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/build
make: ingresso nella directory «/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/build»
[  0%] Built target snapper-tools_autogen_timestamp_deps
[ 12%] Automatic MOC and UIC for target snapper-tools
[ 12%] Built target snapper-tools_autogen
[ 25%] Building CXX object CMakeFiles/snapper-tools.dir/snapper-tools_autogen/mocs_compilation.cpp.o
[ 37%] Building CXX object CMakeFiles/snapper-tools.dir/main.cpp.o
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/main.cpp: In function ‘int main(int, char**)’:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/main.cpp:94:42: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<SnapshotVolume>; typename std::add_const<_Tp>::type = const QList<SnapshotVolume>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
   94 |             for (const auto& i : qAsConst(result)) {
      |                                  ~~~~~~~~^~~~~~~~
In file included from /usr/include/qt6/QtCore/qforeach.h:11,
                 from /usr/include/qt6/QtCore/qglobal.h:57,
                 from /usr/include/qt6/QtCore/qcalendar.h:9,
                 from /usr/include/qt6/QtCore/qdatetime.h:8,
                 from /usr/include/qt6/QtCore/QDateTime:1,
                 from /home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.h:4,
                 from /home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/main.cpp:1:
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/main.cpp:156:46: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<SnapshotVolume>; typename std::add_const<_Tp>::type = const QList<SnapshotVolume>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  156 |                 for (const auto& i : qAsConst(snapshots)) {
      |                                      ~~~~~~~~^~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/main.cpp:164:46: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<Subvolume>; typename std::add_const<_Tp>::type = const QList<Subvolume>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  164 |                 for (const auto& i : qAsConst(subvolumes)) {
      |                                      ~~~~~~~~^~~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/main.cpp:174:42: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<SnapshotVolume>; typename std::add_const<_Tp>::type = const QList<SnapshotVolume>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  174 |             for (const auto& i : qAsConst(snapshots)) {
      |                                  ~~~~~~~~^~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/main.cpp:179:42: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<Subvolume>; typename std::add_const<_Tp>::type = const QList<Subvolume>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  179 |             for (const auto& i : qAsConst(subvolumes)) {
      |                                  ~~~~~~~~^~~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
[ 50%] Building CXX object CMakeFiles/snapper-tools.dir/snappertools.cpp.o
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/snappertools.cpp: In lambda function:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/snappertools.cpp:102:37: warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated]
  102 |     auto future = QtConcurrent::run([=]() {
      |                                     ^
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/snappertools.cpp:102:37: note: add explicit ‘this’ or ‘*this’ capture
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/snappertools.cpp: In lambda function:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/snappertools.cpp:151:37: warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated]
  151 |     auto future = QtConcurrent::run([=]() {
      |                                     ^
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/snappertools.cpp:151:37: note: add explicit ‘this’ or ‘*this’ capture
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/snappertools.cpp: In lambda function:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/snappertools.cpp:161:61: warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated]
  161 |     connect(watcher, &QFutureWatcher<void>::finished, this, [=]() {
      |                                                             ^
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/snappertools.cpp:161:61: note: add explicit ‘this’ or ‘*this’ capture
[ 62%] Building CXX object CMakeFiles/snapper-tools.dir/backend.cpp.o
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp: In lambda function:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:73:43: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<Subvolume>; typename std::add_const<_Tp>::type = const QList<Subvolume>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
   73 |         for (const auto& volume : qAsConst(volumes)) {
      |                                   ~~~~~~~~^~~~~~~~~
In file included from /usr/include/qt6/QtCore/qforeach.h:11,
                 from /usr/include/qt6/QtCore/qglobal.h:57,
                 from /usr/include/qt6/QtCore/qcalendar.h:9,
                 from /usr/include/qt6/QtCore/qdatetime.h:8,
                 from /usr/include/qt6/QtCore/QDateTime:1,
                 from /home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.h:4,
                 from /home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:1:
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:92:35: error: conversion from ‘const char [9]’ to ‘QChar’ is ambiguous
   92 |                 if (xml.name() == "snapshot") {
      |                                   ^~~~~~~~~~
In file included from /usr/include/qt6/QtCore/qstring.h:14,
                 from /usr/include/qt6/QtCore/qhashfunctions.h:8,
                 from /usr/include/qt6/QtCore/qfloat16.h:10,
                 from /usr/include/qt6/QtCore/qmetatype.h:14,
                 from /usr/include/qt6/QtCore/qvariant.h:9,
                 from /usr/include/qt6/QtCore/qlocale.h:7,
                 from /usr/include/qt6/QtCore/qcalendar.h:10:
/usr/include/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/qt6/QtCore/qchar.h:90:45: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:92:35: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
   92 |                 if (xml.name() == "snapshot") {
      |                                   ^~~~~~~~~~
      |                                   |
      |                                   const char*
/usr/include/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/qt6/QtCore/qchar.h:83:26: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:92:35: error: invalid conversion from ‘const char*’ to ‘char16_t’ [-fpermissive]
   92 |                 if (xml.name() == "snapshot") {
      |                                   ^~~~~~~~~~
      |                                   |
      |                                   const char*
/usr/include/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/qt6/QtCore/qchar.h:78:26: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:92:35: error: invalid conversion from ‘const char*’ to ‘short int’ [-fpermissive]
   92 |                 if (xml.name() == "snapshot") {
      |                                   ^~~~~~~~~~
      |                                   |
      |                                   const char*
/usr/include/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/qt6/QtCore/qchar.h:76:26: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:92:35: error: invalid conversion from ‘const char*’ to ‘ushort’ {aka ‘short unsigned int’} [-fpermissive]
   92 |                 if (xml.name() == "snapshot") {
      |                                   ^~~~~~~~~~
      |                                   |
      |                                   const char*
/usr/include/qt6/QtCore/qchar.h:82:26: note: candidate: ‘constexpr QChar::QChar(QLatin1Char)’
   82 |     constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
      |                          ^~~~~
/usr/include/qt6/QtCore/qchar.h:82:44: note:   no known conversion for argument 1 from ‘const char [9]’ to ‘QLatin1Char’
   82 |     constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
      |                                ~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qchar.h:81:26: note: candidate: ‘constexpr QChar::QChar(SpecialCharacter)’
   81 |     constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
      |                          ^~~~~
/usr/include/qt6/QtCore/qchar.h:81:49: note:   no known conversion for argument 1 from ‘const char [9]’ to ‘QChar::SpecialCharacter’
   81 |     constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
      |                                ~~~~~~~~~~~~~~~~~^
/usr/include/qt6/QtCore/qchar.h:75:26: note: candidate: ‘constexpr QChar::QChar()’
   75 |     constexpr Q_IMPLICIT QChar() noexcept : ucs(0) {}
      |                          ^~~~~
/usr/include/qt6/QtCore/qchar.h:75:26: note:   candidate expects 0 arguments, 1 provided
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(const QChar&)’
   48 | class Q_CORE_EXPORT QChar {
      |                     ^~~~~
/usr/include/qt6/QtCore/qchar.h:48:21: note:   no known conversion for argument 1 from ‘const char [9]’ to ‘const QChar&’
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(QChar&&)’
/usr/include/qt6/QtCore/qchar.h:48:21: note:   no known conversion for argument 1 from ‘const char [9]’ to ‘QChar&&’
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:92:35: note: some candidates omitted; use ‘-fdiagnostics-all-candidates’ to display them
   92 |                 if (xml.name() == "snapshot") {
      |                                   ^~~~~~~~~~
In file included from /usr/include/qt6/QtCore/qchar.h:656:
/usr/include/qt6/QtCore/qstringview.h:377:51: note:   initializing argument 2 of ‘bool operator==(QStringView, QChar)’
  377 |     friend bool operator==(QStringView lhs, QChar rhs) noexcept { return lhs == QStringView(&rhs, 1); }
      |                                             ~~~~~~^~~
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:95:42: error: conversion from ‘const char [5]’ to ‘QChar’ is ambiguous
   95 |                 } else if (xml.name() == "date") {
      |                                          ^~~~~~
/usr/include/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/qt6/QtCore/qchar.h:90:45: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:95:42: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
   95 |                 } else if (xml.name() == "date") {
      |                                          ^~~~~~
      |                                          |
      |                                          const char*
/usr/include/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/qt6/QtCore/qchar.h:83:26: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:95:42: error: invalid conversion from ‘const char*’ to ‘char16_t’ [-fpermissive]
   95 |                 } else if (xml.name() == "date") {
      |                                          ^~~~~~
      |                                          |
      |                                          const char*
/usr/include/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/qt6/QtCore/qchar.h:78:26: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:95:42: error: invalid conversion from ‘const char*’ to ‘short int’ [-fpermissive]
   95 |                 } else if (xml.name() == "date") {
      |                                          ^~~~~~
      |                                          |
      |                                          const char*
/usr/include/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/qt6/QtCore/qchar.h:76:26: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:95:42: error: invalid conversion from ‘const char*’ to ‘ushort’ {aka ‘short unsigned int’} [-fpermissive]
   95 |                 } else if (xml.name() == "date") {
      |                                          ^~~~~~
      |                                          |
      |                                          const char*
/usr/include/qt6/QtCore/qchar.h:82:26: note: candidate: ‘constexpr QChar::QChar(QLatin1Char)’
   82 |     constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
      |                          ^~~~~
/usr/include/qt6/QtCore/qchar.h:82:44: note:   no known conversion for argument 1 from ‘const char [5]’ to ‘QLatin1Char’
   82 |     constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
      |                                ~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qchar.h:81:26: note: candidate: ‘constexpr QChar::QChar(SpecialCharacter)’
   81 |     constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
      |                          ^~~~~
/usr/include/qt6/QtCore/qchar.h:81:49: note:   no known conversion for argument 1 from ‘const char [5]’ to ‘QChar::SpecialCharacter’
   81 |     constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
      |                                ~~~~~~~~~~~~~~~~~^
/usr/include/qt6/QtCore/qchar.h:75:26: note: candidate: ‘constexpr QChar::QChar()’
   75 |     constexpr Q_IMPLICIT QChar() noexcept : ucs(0) {}
      |                          ^~~~~
/usr/include/qt6/QtCore/qchar.h:75:26: note:   candidate expects 0 arguments, 1 provided
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(const QChar&)’
   48 | class Q_CORE_EXPORT QChar {
      |                     ^~~~~
/usr/include/qt6/QtCore/qchar.h:48:21: note:   no known conversion for argument 1 from ‘const char [5]’ to ‘const QChar&’
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(QChar&&)’
/usr/include/qt6/QtCore/qchar.h:48:21: note:   no known conversion for argument 1 from ‘const char [5]’ to ‘QChar&&’
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:95:42: note: some candidates omitted; use ‘-fdiagnostics-all-candidates’ to display them
   95 |                 } else if (xml.name() == "date") {
      |                                          ^~~~~~
/usr/include/qt6/QtCore/qstringview.h:377:51: note:   initializing argument 2 of ‘bool operator==(QStringView, QChar)’
  377 |     friend bool operator==(QStringView lhs, QChar rhs) noexcept { return lhs == QStringView(&rhs, 1); }
      |                                             ~~~~~~^~~
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:98:42: error: conversion from ‘const char [12]’ to ‘QChar’ is ambiguous
   98 |                 } else if (xml.name() == "description")
      |                                          ^~~~~~~~~~~~~
/usr/include/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/qt6/QtCore/qchar.h:90:45: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:98:42: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
   98 |                 } else if (xml.name() == "description")
      |                                          ^~~~~~~~~~~~~
      |                                          |
      |                                          const char*
/usr/include/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/qt6/QtCore/qchar.h:83:26: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:98:42: error: invalid conversion from ‘const char*’ to ‘char16_t’ [-fpermissive]
   98 |                 } else if (xml.name() == "description")
      |                                          ^~~~~~~~~~~~~
      |                                          |
      |                                          const char*
/usr/include/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/qt6/QtCore/qchar.h:78:26: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:98:42: error: invalid conversion from ‘const char*’ to ‘short int’ [-fpermissive]
   98 |                 } else if (xml.name() == "description")
      |                                          ^~~~~~~~~~~~~
      |                                          |
      |                                          const char*
/usr/include/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/qt6/QtCore/qchar.h:76:26: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:98:42: error: invalid conversion from ‘const char*’ to ‘ushort’ {aka ‘short unsigned int’} [-fpermissive]
   98 |                 } else if (xml.name() == "description")
      |                                          ^~~~~~~~~~~~~
      |                                          |
      |                                          const char*
/usr/include/qt6/QtCore/qchar.h:82:26: note: candidate: ‘constexpr QChar::QChar(QLatin1Char)’
   82 |     constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
      |                          ^~~~~
/usr/include/qt6/QtCore/qchar.h:82:44: note:   no known conversion for argument 1 from ‘const char [12]’ to ‘QLatin1Char’
   82 |     constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
      |                                ~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qchar.h:81:26: note: candidate: ‘constexpr QChar::QChar(SpecialCharacter)’
   81 |     constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
      |                          ^~~~~
/usr/include/qt6/QtCore/qchar.h:81:49: note:   no known conversion for argument 1 from ‘const char [12]’ to ‘QChar::SpecialCharacter’
   81 |     constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
      |                                ~~~~~~~~~~~~~~~~~^
/usr/include/qt6/QtCore/qchar.h:75:26: note: candidate: ‘constexpr QChar::QChar()’
   75 |     constexpr Q_IMPLICIT QChar() noexcept : ucs(0) {}
      |                          ^~~~~
/usr/include/qt6/QtCore/qchar.h:75:26: note:   candidate expects 0 arguments, 1 provided
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(const QChar&)’
   48 | class Q_CORE_EXPORT QChar {
      |                     ^~~~~
/usr/include/qt6/QtCore/qchar.h:48:21: note:   no known conversion for argument 1 from ‘const char [12]’ to ‘const QChar&’
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(QChar&&)’
/usr/include/qt6/QtCore/qchar.h:48:21: note:   no known conversion for argument 1 from ‘const char [12]’ to ‘QChar&&’
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:98:42: note: some candidates omitted; use ‘-fdiagnostics-all-candidates’ to display them
   98 |                 } else if (xml.name() == "description")
      |                                          ^~~~~~~~~~~~~
/usr/include/qt6/QtCore/qstringview.h:377:51: note:   initializing argument 2 of ‘bool operator==(QStringView, QChar)’
  377 |     friend bool operator==(QStringView lhs, QChar rhs) noexcept { return lhs == QStringView(&rhs, 1); }
      |                                             ~~~~~~^~~
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:100:40: error: conversion from ‘const char [5]’ to ‘QChar’ is ambiguous
  100 |                 else if (xml.name() == "type")
      |                                        ^~~~~~
/usr/include/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/qt6/QtCore/qchar.h:90:45: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:100:40: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
  100 |                 else if (xml.name() == "type")
      |                                        ^~~~~~
      |                                        |
      |                                        const char*
/usr/include/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/qt6/QtCore/qchar.h:83:26: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:100:40: error: invalid conversion from ‘const char*’ to ‘char16_t’ [-fpermissive]
  100 |                 else if (xml.name() == "type")
      |                                        ^~~~~~
      |                                        |
      |                                        const char*
/usr/include/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/qt6/QtCore/qchar.h:78:26: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:100:40: error: invalid conversion from ‘const char*’ to ‘short int’ [-fpermissive]
  100 |                 else if (xml.name() == "type")
      |                                        ^~~~~~
      |                                        |
      |                                        const char*
/usr/include/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/qt6/QtCore/qchar.h:76:26: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:100:40: error: invalid conversion from ‘const char*’ to ‘ushort’ {aka ‘short unsigned int’} [-fpermissive]
  100 |                 else if (xml.name() == "type")
      |                                        ^~~~~~
      |                                        |
      |                                        const char*
/usr/include/qt6/QtCore/qchar.h:82:26: note: candidate: ‘constexpr QChar::QChar(QLatin1Char)’
   82 |     constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
      |                          ^~~~~
/usr/include/qt6/QtCore/qchar.h:82:44: note:   no known conversion for argument 1 from ‘const char [5]’ to ‘QLatin1Char’
   82 |     constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
      |                                ~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qchar.h:81:26: note: candidate: ‘constexpr QChar::QChar(SpecialCharacter)’
   81 |     constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
      |                          ^~~~~
/usr/include/qt6/QtCore/qchar.h:81:49: note:   no known conversion for argument 1 from ‘const char [5]’ to ‘QChar::SpecialCharacter’
   81 |     constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
      |                                ~~~~~~~~~~~~~~~~~^
/usr/include/qt6/QtCore/qchar.h:75:26: note: candidate: ‘constexpr QChar::QChar()’
   75 |     constexpr Q_IMPLICIT QChar() noexcept : ucs(0) {}
      |                          ^~~~~
/usr/include/qt6/QtCore/qchar.h:75:26: note:   candidate expects 0 arguments, 1 provided
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(const QChar&)’
   48 | class Q_CORE_EXPORT QChar {
      |                     ^~~~~
/usr/include/qt6/QtCore/qchar.h:48:21: note:   no known conversion for argument 1 from ‘const char [5]’ to ‘const QChar&’
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(QChar&&)’
/usr/include/qt6/QtCore/qchar.h:48:21: note:   no known conversion for argument 1 from ‘const char [5]’ to ‘QChar&&’
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:100:40: note: some candidates omitted; use ‘-fdiagnostics-all-candidates’ to display them
  100 |                 else if (xml.name() == "type")
      |                                        ^~~~~~
/usr/include/qt6/QtCore/qstringview.h:377:51: note:   initializing argument 2 of ‘bool operator==(QStringView, QChar)’
  377 |     friend bool operator==(QStringView lhs, QChar rhs) noexcept { return lhs == QStringView(&rhs, 1); }
      |                                             ~~~~~~^~~
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:102:40: error: conversion from ‘const char [8]’ to ‘QChar’ is ambiguous
  102 |                 else if (xml.name() == "cleanup") {
      |                                        ^~~~~~~~~
/usr/include/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/qt6/QtCore/qchar.h:90:45: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:102:40: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
  102 |                 else if (xml.name() == "cleanup") {
      |                                        ^~~~~~~~~
      |                                        |
      |                                        const char*
/usr/include/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/qt6/QtCore/qchar.h:83:26: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:102:40: error: invalid conversion from ‘const char*’ to ‘char16_t’ [-fpermissive]
  102 |                 else if (xml.name() == "cleanup") {
      |                                        ^~~~~~~~~
      |                                        |
      |                                        const char*
/usr/include/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/qt6/QtCore/qchar.h:78:26: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:102:40: error: invalid conversion from ‘const char*’ to ‘short int’ [-fpermissive]
  102 |                 else if (xml.name() == "cleanup") {
      |                                        ^~~~~~~~~
      |                                        |
      |                                        const char*
/usr/include/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/qt6/QtCore/qchar.h:76:26: note:   conversion of argument 1 would be ill-formed:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:102:40: error: invalid conversion from ‘const char*’ to ‘ushort’ {aka ‘short unsigned int’} [-fpermissive]
  102 |                 else if (xml.name() == "cleanup") {
      |                                        ^~~~~~~~~
      |                                        |
      |                                        const char*
/usr/include/qt6/QtCore/qchar.h:82:26: note: candidate: ‘constexpr QChar::QChar(QLatin1Char)’
   82 |     constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
      |                          ^~~~~
/usr/include/qt6/QtCore/qchar.h:82:44: note:   no known conversion for argument 1 from ‘const char [8]’ to ‘QLatin1Char’
   82 |     constexpr Q_IMPLICIT QChar(QLatin1Char ch) noexcept : ucs(ch.unicode()) {}
      |                                ~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qchar.h:81:26: note: candidate: ‘constexpr QChar::QChar(SpecialCharacter)’
   81 |     constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
      |                          ^~~~~
/usr/include/qt6/QtCore/qchar.h:81:49: note:   no known conversion for argument 1 from ‘const char [8]’ to ‘QChar::SpecialCharacter’
   81 |     constexpr Q_IMPLICIT QChar(SpecialCharacter s) noexcept : ucs(char16_t(s)) {}
      |                                ~~~~~~~~~~~~~~~~~^
/usr/include/qt6/QtCore/qchar.h:75:26: note: candidate: ‘constexpr QChar::QChar()’
   75 |     constexpr Q_IMPLICIT QChar() noexcept : ucs(0) {}
      |                          ^~~~~
/usr/include/qt6/QtCore/qchar.h:75:26: note:   candidate expects 0 arguments, 1 provided
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(const QChar&)’
   48 | class Q_CORE_EXPORT QChar {
      |                     ^~~~~
/usr/include/qt6/QtCore/qchar.h:48:21: note:   no known conversion for argument 1 from ‘const char [8]’ to ‘const QChar&’
/usr/include/qt6/QtCore/qchar.h:48:21: note: candidate: ‘constexpr QChar::QChar(QChar&&)’
/usr/include/qt6/QtCore/qchar.h:48:21: note:   no known conversion for argument 1 from ‘const char [8]’ to ‘QChar&&’
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:102:40: note: some candidates omitted; use ‘-fdiagnostics-all-candidates’ to display them
  102 |                 else if (xml.name() == "cleanup") {
      |                                        ^~~~~~~~~
/usr/include/qt6/QtCore/qstringview.h:377:51: note:   initializing argument 2 of ‘bool operator==(QStringView, QChar)’
  377 |     friend bool operator==(QStringView lhs, QChar rhs) noexcept { return lhs == QStringView(&rhs, 1); }
      |                                             ~~~~~~^~~
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp: In lambda function:
/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/backend.cpp:188:43: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<Subvolume>; typename std::add_const<_Tp>::type = const QList<Subvolume>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  188 |         for (const auto& volume : qAsConst(volumes)) {
      |                                   ~~~~~~~~^~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
make[2]: *** [CMakeFiles/snapper-tools.dir/build.make:125: CMakeFiles/snapper-tools.dir/backend.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:86: CMakeFiles/snapper-tools.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
make: uscita dalla directory «/home/robertocannito/.cache/yay/snapper-tools/src/snapper-tools-1.1.3/build»
==> ERRORE: Si è verificato un errore in build().
    L'operazione sta per essere interrotta...
 -> errore durante la creazione: snapper-tools-exit status 4
 -> Installazione dei seguenti pacchetti non riuscita. È richiesto l'intervento manuale:
snapper-tools - exit status 4

As you may see the two commands stops with error -4

Yes is not available or I don’t find any .bin for snapper-tools

Looks like the dev hasn’t updated snapper-tools source code in 10 months. This might mean the dev is no more active with it, but I have no further info about it.

Some users have used the Chaotic repo with success, so it probably (note: I’m not using nor recommending it in any way) is rather safe to use. But if you use it, be sure to add the repo as the last in /etc/pacman.conf, this way you don’t override other native packages with Chaotic.

It is up to you if you think it is safe or not. Here are my thoughts on 3rd party repos in general:

I will take a look at it and see if I can see why it is failing to build.

That being said, why do you want to use snapper-tools? Isn’t it built specifically for Garuda? I looked it in the past and seem to remember it being expecting certain things to be setup as they are on Garuda.

It depends what packages you install from it. You can definitely create conflicts with certain packages because they will end up having hard dependencies since they will be built against specific deps.

3 Likes

At a quick glance. It looks like it is a qt5 application but you are building it with qt6. Or, at least, it seems not compatible with the latest version of qt6.

This builds fine for me from AUR. Do you have qt5-base installed?

Dalto I think qt6, I’ve installed just two days ago.
Eventually if I’ve qt6-base, may I install also qt5-base?

I would like install snapper-tools, because if I should restore from boot grub automatically starts snapper-tools asking me to restore snapshot.
All other operations I use btrfs-assistant that is great and fantastic.

Yes, they can both be installed.

Installet qt5 but the same issue with installation of snapper-tools.
So I’ve removed qt6 and installation was fine and then I’ve installed again qt6-base and again btrfs-assistant, because was removed from qt6

I don’t know if this procedure it’s correct or I must install other with qt6-base in consideration of btrfs-assistant was removed.

At the end I’ve taken decision for don’t install chaotic repository for avoid any mistake with my system.

But I’ve downloaded from Chaotic snapper-tools and installed with

sudo pacman -U --noconfirm snapper-tools-1.1.3-1.2-x86_64.pkg.tar.zst

in aur is available version 1.1.3-1 and this version give me problem for install in endeavouros neo

You are comparing here snapper-tools-1.1.3-1.2 from the chaotic-aur
with snapper-tools 1.1.3-1 from AUR. The source code in both packages is the same. chaotic-aur is only changing compiler options. chaotic-aur is an automatic build service for AUR packages with more aggressive optimization flags for the compiler…

That said I can hardly believe that the AUR package snapper-tools 1.1.3-1 is a problem for you while snapper-tools-1.1.3-1.2 from chaotic-aur is not. Typically the opposite is true: chaotic-aur packages might be unstable because of the aggressive compiler optimizations.

That said I am tempted to say that you do not know what you are doing. And if that is the case, I strongly recommend to stick to the regular AUR.

2 Likes

The problem with snapper-tools in aur is that it’s very old.
With last Eos Neo it give me error, for install it, I should remove qt6-base and install qt5-base, install snapper-tools and then reinstall again qt6-base.
But I’ve noted that btrfs-tools is automatically cancelled and I’ve seen also another one (endeavouros quickstart) and maybe others.

In every case I’ve tested and all works good just
Installing this program downloaded from Chaotic.

It is the same version/age as in chaotic-aur.

The last available release for snapper-tools is version 1.3.1 which is a year old (Feb. 2023)

There is no newer snapper-tools in chaotic-aur. In fact, as I mentioned earlier, the chaotic-aur is just an automatic build service for the AUR. It takes what it finds in the AUR and compiles it for you with more aggressive compiler options.

2 Likes

I just want to add that of course there’s always the option of compiling from source. That might not be on your radar, but that is how software was readied for a long time:

  • Clone the repo and enter the directory
  • configure (check the options)
  • make
  • make install

Using a prebuild build script is not the only way to install software from source.