Bug 2373010 - kvirc: FTBFS in Fedora Rawhide: /builddir/build/BUILD/kvirc-5.2.6-build/KVIrc-5.2.6/src/kvirc/ui/KviTextIconWindow.cpp:185:65: error: no matching function for call to ‘QChar::QChar(KviControlCodes::Control)’ and more
Summary: kvirc: FTBFS in Fedora Rawhide: /builddir/build/BUILD/kvirc-5.2.6-build/KVIrc...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kvirc
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: nucleo
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: PYTHON3.14 F43FTBFS, RAWHIDEFTBFS
TreeView+ depends on / blocked
 
Reported: 2025-06-16 12:57 UTC by Karolina Surma
Modified: 2025-06-17 07:51 UTC (History)
1 user (show)

Fixed In Version: kvirc-5.2.6-4.fc43
Clone Of:
Environment:
Last Closed: 2025-06-17 07:51:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kvirc KVIrc issues 2704 0 None open kvirc-5.2.6 compilation error 2025-06-16 15:51:31 UTC

Description Karolina Surma 2025-06-16 12:57:18 UTC
Description of problem:
Package kvirc fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
5.2.6-2.fc42

Steps to Reproduce:
koji build --scratch f43 kvirc-5.2.6-2.fc42.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/kvirc

Reproducible: Always

Actual Results:
/builddir/build/BUILD/kvirc-5.2.6-build/KVIrc-5.2.6/src/kvirc/ui/KviTextIconWindow.cpp:185:65: error: no matching function for call to ‘QChar::QChar(KviControlCodes::Control)’
  185 |         int idx = szText.lastIndexOf(QChar(KviControlCodes::Icon));
      |                                                                 ^
/builddir/build/BUILD/kvirc-5.2.6-build/KVIrc-5.2.6/src/kvirc/ui/KviTextIconWindow.cpp:185:65: note: there are 8 candidates
In file included from /usr/include/qt6/QtCore/qstring.h:15,
                 from /usr/include/qt6/QtCore/qhashfunctions.h:9,
                 from /usr/include/qt6/QtCore/qhash.h:10,
                 from /usr/include/qt6/QtCore/QMultiHash:1,
                 from /builddir/build/BUILD/kvirc-5.2.6-build/KVIrc-5.2.6/src/kvirc/../kvilib/ext/KviAnimatedPixmapCache.h:30,
                 from /builddir/build/BUILD/kvirc-5.2.6-build/KVIrc-5.2.6/src/kvirc/../kvilib/ext/KviAnimatedPixmap.h:28,
                 from /builddir/build/BUILD/kvirc-5.2.6-build/KVIrc-5.2.6/src/kvirc/../kvilib/irc/KviAvatar.h:34,
                 from /builddir/build/BUILD/kvirc-5.2.6-build/KVIrc-5.2.6/src/kvirc/kernel/KviIconManager.h:35:
/usr/include/qt6/QtCore/qchar.h:149:43: note: candidate 1: ‘template<class Char, typename std::enable_if<std::is_same<Char, unsigned char>::value, bool>::type <anonymous> > constexpr QChar::QChar(Char)’
  149 |     QT_ASCII_CAST_WARN constexpr explicit QChar(const Char c) noexcept : ucs(c) { }
      |                                           ^~~~~
/usr/include/qt6/QtCore/qchar.h:149:43: note: template argument deduction/substitution failed:
/usr/include/qt6/QtCore/qchar.h:148:66: error: no type named ‘type’ in ‘struct std::enable_if<false, bool>’
  148 |     template <typename Char, if_explicit_ascii_warn_char<Char> = true>
      |                                                                  ^~~~
/usr/include/qt6/QtCore/qchar.h:143:45: note: candidate 2: ‘template<class Char, typename std::enable_if<std::is_same<Char, char>::value, bool>::type <anonymous> > constexpr QChar::QChar(Char)’
  143 |     QT_ASCII_CAST_WARN constexpr Q_IMPLICIT QChar(const Char ch) noexcept : ucs(uchar(ch)) {}
      |                                             ^~~~~
/usr/include/qt6/QtCore/qchar.h:143:45: note: template argument deduction/substitution failed:
/usr/include/qt6/QtCore/qchar.h:142:66: error: no type named ‘type’ in ‘struct std::enable_if<false, bool>’
  142 |     template <typename Char, if_implicit_ascii_warn_char<Char> = true>
      |                                                                  ^~~~
/usr/include/qt6/QtCore/qchar.h:134:24: note: candidate 3: ‘template<class Char, typename std::enable_if<std::disjunction<std::is_same<Char, char32_t>, std::conjunction<std::is_same<Char, wchar_t>, std::integral_constant<bool, true> >, std::is_same<Char, int>, std::is_same<Char, unsigned int> >::value, bool>::type <anonymous> > constexpr QChar::QChar(Char)’
  134 |     constexpr explicit QChar(const Char ch) noexcept
      |                        ^~~~~
/usr/include/qt6/QtCore/qchar.h:134:24: note: template argument deduction/substitution failed:
/usr/include/qt6/QtCore/qchar.h:133:66: error: no type named ‘type’ in ‘struct std::enable_if<false, bool>’
  133 |     template <typename Char, if_explicit_conversion_char<Char> = true>
      |                                                                  ^~~~
/usr/include/qt6/QtCore/qchar.h:132:26: note: candidate 4: ‘template<class Char, typename std::enable_if<std::disjunction<std::is_same<Char, short unsigned int>, std::is_same<Char, short int>, std::is_same<Char, QChar::SpecialCharacter>, std::is_same<Char, QLatin1Char>, std::conjunction<std::is_same<Char, wchar_t>, std::negation<std::integral_constant<bool, true> > >, std::is_same<Char, char16_t> >::value, bool>::type <anonymous> > constexpr QChar::QChar(Char)’
  132 |     constexpr Q_IMPLICIT QChar(const Char ch) noexcept : ucs(char16_t(ch)) {}
      |                          ^~~~~
/usr/include/qt6/QtCore/qchar.h:132:26: note: template argument deduction/substitution failed:
/usr/include/qt6/QtCore/qchar.h:131:66: error: no type named ‘type’ in ‘struct std::enable_if<false, bool>’
  131 |     template <typename Char, if_implicit_conversion_char<Char> = true>
      |                                                                  ^~~~


Note You need to log in before you can comment on or make changes to this bug.