Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 940542 - dev-libs/libportal-0.7.1-r1 - [ncurses-6.5] [meson] [libtool] [gcc-15] /.../qglobalstatic.h: error: the value of XdpQt::{anonymous}::Q_QGS_globalLibPortalQt5::guard is no
Summary: dev-libs/libportal-0.7.1-r1 - [ncurses-6.5] [meson] [libtool] [gcc-15] /.../q...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on: 940529
Blocks: gcc-15
  Show dependency tree
 
Reported: 2024-09-30 17:50 UTC by Toralf Förster
Modified: 2024-10-04 09:31 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.38 KB, text/plain)
2024-09-30 17:50 UTC, Toralf Förster
Details
dev-libs:libportal-0.7.1-r1:20240930-052730.log (dev-libs:libportal-0.7.1-r1:20240930-052730.log,44.80 KB, text/plain)
2024-09-30 17:50 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,134.59 KB, text/plain)
2024-09-30 17:50 UTC, Toralf Förster
Details
environment (environment,130.71 KB, text/plain)
2024-09-30 17:50 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-09-30 17:50 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,18.17 KB, application/x-xz)
2024-09-30 17:50 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,42.43 KB, application/x-xz)
2024-09-30 17:50 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,29.45 KB, application/x-xz)
2024-09-30 17:50 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-30 17:50:42 UTC
../libportal-0.7.1/libportal/portal-qt5.cpp: In function void _xdp_parent_unexport_qt(XdpParent*):
../libportal-0.7.1/libportal/portal-qt5.cpp:60:56: warning: unused parameter parent [-Wunused-parameter]
   60 | static inline void _xdp_parent_unexport_qt (XdpParent *parent)
      |                                             ~~~~~~~~~~~^~~~~~
In file included from /usr/include/qt5/QtCore/qglobal.h:1310:
../libportal-0.7.1/libportal/portal-qt5.cpp: At global scope:
/usr/include/qt5/QtCore/qglobalstatic.h:159:42: error: the value of XdpQt::{anonymous}::Q_QGS_globalLibPortalQt5::guard is not usable in a constant expression
  159 |                          Q_QGS_ ## NAME::guard> NAME;
      |                                          ^~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_systemd-20240927-085502

  UNMASKED:
  /etc/portage/package.unmask/60gcc:<sys-devel/gcc-15.0.9999:15
    Requested by sam
    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  /etc/portage/package.unmask/50unstable:<dev-build/meson-9999
    Issues involving opaque types / incomplete typedefs should block bug 930805
  /etc/portage/package.unmask/50unstable:>=sys-libs/ncurses-6.5

  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 19.1.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/19/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/19
19.1.0
Python 3.12.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0 *
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

php cli (if any):
  [1]   php8.3 *
go version go1.23.1 linux/amd64

  HEAD of ::gentoo
commit ef3ae46e8c203a940bf4939528f9c07b0363bc92
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Sep 30 04:21:04 2024 +0000

    2024-09-30 04:21:03 UTC

emerge -qpvO =dev-libs/libportal-0.7.1-r1
[ebuild  N    ] dev-libs/libportal-0.7.1-r1  USE="X gtk introspection qt5 vala wayland -gtk-doc -test"
Comment 1 Toralf Förster gentoo-dev 2024-09-30 17:50:43 UTC
Created attachment 904285 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-09-30 17:50:44 UTC
Created attachment 904286 [details]
dev-libs:libportal-0.7.1-r1:20240930-052730.log
Comment 3 Toralf Förster gentoo-dev 2024-09-30 17:50:46 UTC
Created attachment 904287 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-09-30 17:50:47 UTC
Created attachment 904288 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-09-30 17:50:48 UTC
Created attachment 904289 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-09-30 17:50:49 UTC
Created attachment 904290 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-09-30 17:50:50 UTC
Created attachment 904291 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-09-30 17:50:51 UTC
Created attachment 904292 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2024-10-04 09:31:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d8a7b0a1d8a675ae92b47899ed4a935988ac600

commit 0d8a7b0a1d8a675ae92b47899ed4a935988ac600
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-10-04 09:30:19 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-10-04 09:30:51 +0000

    sys-devel/gcc: add 15.0.0_pre20240929-r1 (backport two C++ patches)
    
    Fixes Qt 5 header use and building FF.
    
    Closes: https://bugs.gentoo.org/940529
    Closes: https://bugs.gentoo.org/940542
    Closes: https://bugs.gentoo.org/940545
    Closes: https://bugs.gentoo.org/940580
    Closes: https://bugs.gentoo.org/940589
    Closes: https://bugs.gentoo.org/940590
    Closes: https://bugs.gentoo.org/940591
    Closes: https://bugs.gentoo.org/940607
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/gcc/Manifest                         |  1 +
 sys-devel/gcc/gcc-15.0.0_pre20240929-r1.ebuild | 53 ++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)