Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 950010 - dev-qt/qt-creator-15.0.1 - [gcc-15] limits: error: unable to find numeric literal operator operatorQ
Summary: dev-qt/qt-creator-15.0.1 - [gcc-15] limits: error: unable to find numeric lit...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-20 18:56 UTC by Toralf Förster
Modified: 2025-02-21 17:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.67 KB, text/plain)
2025-02-20 18:56 UTC, Toralf Förster
Details
dev-qt:qt-creator-15.0.1:20250220-054111.log.xz (dev-qt:qt-creator-15.0.1:20250220-054111.log.xz,154.57 KB, application/x-xz)
2025-02-20 18:56 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,196.40 KB, text/plain)
2025-02-20 18:56 UTC, Toralf Förster
Details
environment (environment,147.68 KB, text/plain)
2025-02-20 18:56 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2025-02-20 18:56 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,24.25 KB, application/x-xz)
2025-02-20 18:56 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,50.64 KB, application/x-xz)
2025-02-20 18:56 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,34.17 KB, application/x-xz)
2025-02-20 18:56 UTC, Toralf Förster
Details
tests.tar.xz (tests.tar.xz,346.03 KB, application/x-xz)
2025-02-20 18:56 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2025-02-20 18:56:18 UTC
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/chrono:45,
                 from /usr/include/qt5/QtCore/qobject.h:59,
                 from /usr/include/qt5/QtCore/qcoreapplication.h:46,
                 from /usr/include/qt5/QtCore/QCoreApplication:1,
                 from /var/tmp/portage/dev-qt/qt-creator-15.0.1/work/qt-creator-opensource-src-15.0.1/tests/manual/debugger/simple/simple_test_app.cpp:129:
/usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/limits: In static member function static constexpr __float128 std::numeric_limits<__float128>::min():
/usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/limits:2107:30: error: unable to find numeric literal operator operator""Q
 2107 |         return __extension__ 0x1.0p-16382Q;
      |                              ^~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_test-20250214-203617

  UNMASKED:

  [gcc-15] Requested by sam
  <sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-15 *
clang version 19.1.7
llvm-config: 19.1.7
Python 3.12.9
go version go1.23.6 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.84.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.6_p7 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit c0fc54bcff8de6d9578e6f29fe8a996cb05e17a1
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Feb 20 02:33:39 2025 +0000

    2025-02-20 02:33:38 UTC

emerge -qpvO =dev-qt/qt-creator-15.0.1
[ebuild  N    ] dev-qt/qt-creator-15.0.1  USE="clang help svg tracing -cmdbridge-server -designer -doc -keyring -plugin-dev -qmldesigner -serialterminal -test -webengine" LLVM_SLOT="19 -15 -16 -17 -18"
Comment 1 Toralf Förster gentoo-dev 2025-02-20 18:56:19 UTC
Created attachment 919546 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-02-20 18:56:20 UTC
Created attachment 919547 [details]
dev-qt:qt-creator-15.0.1:20250220-054111.log.xz
Comment 3 Toralf Förster gentoo-dev 2025-02-20 18:56:22 UTC
Created attachment 919548 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2025-02-20 18:56:23 UTC
Created attachment 919549 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2025-02-20 18:56:24 UTC
Created attachment 919550 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-02-20 18:56:25 UTC
Created attachment 919551 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-02-20 18:56:26 UTC
The file size of ./files/logs.tar.xz is too big (1.5M) for an upload. For few weeks the link http://tinderbox.zwiebeltoralf.de:31560/23.0_desktop_test-20250214-203617/var/tmp/tb/issues/20250220-080746-dev-qt_qt-creator-15.0.1/files/logs.tar.xz is valid.
Comment 8 Toralf Förster gentoo-dev 2025-02-20 18:56:27 UTC
Created attachment 919552 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2025-02-20 18:56:28 UTC
Created attachment 919553 [details]
temp.tar.xz
Comment 10 Toralf Förster gentoo-dev 2025-02-20 18:56:29 UTC
Created attachment 919554 [details]
tests.tar.xz
Comment 11 Ionen Wolkens gentoo-dev 2025-02-21 16:02:07 UTC
Not familiar with that, but I "think" -fext-numeric-literals is only enabled by default with gnu++17 but this is using -std=c++17, as to why limits is failing on that may or may not be related to gcc-15.

That aside, not sure but issue may be related to Qt5 too, it does not install anything that use it but seems some of the (unused) manual tests still use it.

Haven't tried to reproduce yet though.
Comment 12 Ionen Wolkens gentoo-dev 2025-02-21 16:13:04 UTC
(In reply to Ionen Wolkens from comment #11)
> That aside, not sure but issue may be related to Qt5 too, it does not
> install anything that use it but seems some of the (unused) manual tests
> still use it.
And it's likely unintended, it this crappy logic that I see recommended everywhere:

    find_package(QT NAMES Qt6 Qt5 ...)

Which sometime and maybe sometime not prefers to pick Qt5 even if Qt6 is around, seems kind of built around the idea there's only one Qt version available at once.

As a solution, and for the sake of building less things for nothing, think I should just drop the "manual" directory from cmake (as it says, it's tests meant to be ran manually, so they're not being run and built for nothing).
Comment 13 Larry the Git Cow gentoo-dev 2025-02-21 17:36:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b5444ee4b91d8ac3a9a481dc8c82406860aa448

commit 8b5444ee4b91d8ac3a9a481dc8c82406860aa448
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2025-02-21 16:18:58 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2025-02-21 17:35:25 +0000

    dev-qt/qt-creator: skip building manual tests
    
    Reduces total amount of compile units by ~160 when tests are enabled
    that were ultimately unused (we run tests/auto).
    
    ...but haven't really gotten to the bottom of bug #950010 nor attempted
    to reproduce, and issue may possibly occur in other (not-skipped) files
    still, will see if it comes back.
    
    Closes: https://bugs.gentoo.org/950010
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-qt/qt-creator/qt-creator-15.0.1.ebuild | 3 +++
 dev-qt/qt-creator/qt-creator-9999.ebuild   | 3 +++
 2 files changed, 6 insertions(+)