Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938933 - app-emulation/punes-0.111 - [gcc-15] /.../qobject.h: error: static assertion failed: No Q_OBJECT in the class passed to QObject::findChild
Summary: app-emulation/punes-0.111 - [gcc-15] /.../qobject.h: error: static assertion ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Azamat H. Hackimov
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-09-02 17:37 UTC by Toralf Förster
Modified: 2024-09-05 04:08 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.74 KB, text/plain)
2024-09-02 17:37 UTC, Toralf Förster
Details
app-emulation:punes-0.111:20240901-225049.log.xz (app-emulation:punes-0.111:20240901-225049.log.xz,10.99 KB, application/x-xz)
2024-09-02 17:37 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,246.45 KB, text/plain)
2024-09-02 17:37 UTC, Toralf Förster
Details
environment (environment,103.79 KB, text/plain)
2024-09-02 17:37 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.19 KB, application/x-xz)
2024-09-02 17:37 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,44.51 KB, application/x-xz)
2024-09-02 17:37 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,64.78 KB, application/x-xz)
2024-09-02 17:37 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,23.90 KB, application/x-xz)
2024-09-02 17:37 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 2024-09-02 17:37:27 UTC
                 from /usr/include/qt6/QtCore/QBuffer:1,
                 from /var/tmp/portage/app-emulation/punes-0.111/work/puNES-0.111/src/gui/dlgStdPad.cpp:19:
/usr/include/qt6/QtCore/qobject.h: In instantiation of T QObject::findChild(QAnyStringView, Qt::FindChildOptions) const [with T = pixmapButton*; Qt::FindChildOptions = QFlags<Qt::FindChildOption>]:
/var/tmp/portage/app-emulation/punes-0.111/work/puNES-0.111/src/gui/dlgStdPad.cpp:99:35:   required from here
   99 |                         pbt = findChild<pixmapButton *>("pushButton_" + SPT(i) + "_" + SPB(a));
      |                               ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qobject.h:151:62: error: static assertion failed: No Q_OBJECT in the class passed to QObject::findChild
  151 |         static_assert(QtPrivate::HasQ_OBJECT_Macro<ObjType>::Value,
      |                                                              ^~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_gnome-20240828-173502

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  /etc/portage/package.unmask/60gcc:<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-15 *
clang/llvm (if any):
clang version 18.1.8
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.8
Python 3.12.5
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.80.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.23.0 linux/amd64

  HEAD of ::gentoo
commit 7ba379bbd1230f69bd470cbac5b43650bbc2ea2b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 1 21:49:06 2024 +0000

    2024-09-01 21:49:05 UTC

emerge -qpvO =app-emulation/punes-0.111
[ebuild  N    ] app-emulation/punes-0.111  USE="X qt6 -cg -ffmpeg"
Comment 1 Toralf Förster gentoo-dev 2024-09-02 17:37:28 UTC
Created attachment 901899 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-09-02 17:37:30 UTC
Created attachment 901900 [details]
app-emulation:punes-0.111:20240901-225049.log.xz
Comment 3 Toralf Förster gentoo-dev 2024-09-02 17:37:32 UTC
Created attachment 901901 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-09-02 17:37:33 UTC
Created attachment 901902 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-09-02 17:37:34 UTC
Created attachment 901903 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-09-02 17:37:35 UTC
Created attachment 901904 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-09-02 17:37:36 UTC
Created attachment 901905 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-09-02 17:37:37 UTC
Created attachment 901906 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2024-09-05 04:08:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71e601ce9f753d4f83793e7b299e52beb5c69a30

commit 71e601ce9f753d4f83793e7b299e52beb5c69a30
Author:     Azamat H. Hackimov <azamat.hackimov@gmail.com>
AuthorDate: 2024-09-02 18:09:00 +0000
Commit:     Eli Schwartz <eschwartz@gentoo.org>
CommitDate: 2024-09-05 04:07:46 +0000

    app-emulation/punes: fix compilation with qt 6.7
    
    Apply upstream patch. Drop support for qt5.
    
    Closes: https://bugs.gentoo.org/938933
    Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/38386
    Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>

 .../punes/files/punes-0.111-qt6.7_Q_OBJECT.patch   | 17 +++++++
 app-emulation/punes/punes-0.111-r1.ebuild          | 56 ++++++++++++++++++++++
 2 files changed, 73 insertions(+)