Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 685794 - x11-themes/qtcurve-1.9.0 : /.../gtkprops.h:80:24: error: a reinterpret_cast is not a constant expression
Summary: x11-themes/qtcurve-1.9.0 : /.../gtkprops.h:80:24: error: a reinterpret_cast i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-13 08:39 UTC by Toralf Förster
Modified: 2019-07-29 07:11 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.85 KB, text/plain)
2019-05-13 08:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,97.41 KB, text/plain)
2019-05-13 08:39 UTC, Toralf Förster
Details
environment (environment,146.43 KB, text/plain)
2019-05-13 08:39 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.47 KB, application/x-bzip)
2019-05-13 08:39 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.03 KB, application/x-bzip)
2019-05-13 08:39 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,45.85 KB, application/x-bzip)
2019-05-13 08:39 UTC, Toralf Förster
Details
x11-themes:qtcurve-1.9.0:20190512-231725.log (x11-themes:qtcurve-1.9.0:20190512-231725.log,310.81 KB, text/plain)
2019-05-13 08:39 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 2019-05-13 08:39:09 UTC
/var/tmp/portage/x11-themes/qtcurve-1.9.0/work/qtcurve-1.9.0_build/.cmake_utils_base/cmake_c_macros/include_fix/qtcurve-utils/gtkprops.h: In member function ‘constexpr GObject* QtCurve::GtkWidgetProps::Props::_SigConn_shadowDestroy_ObjGetter::operator()(QtCurve::GtkWidgetProps::Props::SigConn<QtCurve::GtkWidgetProps::Props::_SigConn_shadowDestroy_ObjGetter>*) const’:
/var/tmp/portage/x11-themes/qtcurve-1.9.0/work/qtcurve-1.9.0_build/.cmake_utils_base/cmake_c_macros/include_fix/qtcurve-utils/gtkprops.h:80:24: error: a reinterpret_cast is not a constant expression
   80 |                 return (GObject*)qtcContainerOf(p, Props, name)->m_w;   \
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/x11-themes/qtcurve-1.9.0/work/qtcurve-1.9.0_build/.cmake_utils_base/cmake_c_macros/include_fix/qtcurve-utils/gtkprops.h:105:9: note: in expansion of macro ‘DEF_WIDGET_SIG_CONN_PROPS’

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-developer_20190510-230707

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.1.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.34.1 *
  [2]   rust-1.34.1
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.12.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpvO x11-themes/qtcurve
[ebuild  N    ] x11-themes/qtcurve-1.9.0  USE="X gtk nls plasma qt5 -debug -test"
Comment 1 Toralf Förster gentoo-dev 2019-05-13 08:39:11 UTC
Created attachment 576302 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-05-13 08:39:14 UTC
Created attachment 576304 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-05-13 08:39:17 UTC
Created attachment 576306 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-05-13 08:39:19 UTC
Created attachment 576308 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-05-13 08:39:22 UTC
Created attachment 576310 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-05-13 08:39:25 UTC
Created attachment 576312 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-05-13 08:39:28 UTC
Created attachment 576314 [details]
x11-themes:qtcurve-1.9.0:20190512-231725.log
Comment 8 Larry the Git Cow gentoo-dev 2019-06-05 16:08:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88894187c72800cb4491cf3abf1e532197d45f75

commit 88894187c72800cb4491cf3abf1e532197d45f75
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-06-05 16:03:50 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-06-05 16:08:45 +0000

    x11-themes/qtcurve: Fix build with GCC-9
    
    Closes: https://bugs.gentoo.org/685794
    Package-Manager: Portage-2.3.67, Repoman-2.3.14
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 x11-themes/qtcurve/files/qtcurve-1.9.0-gcc9.patch | 26 +++++++++++++++++++++++
 x11-themes/qtcurve/qtcurve-1.9.0.ebuild           |  3 ++-
 2 files changed, 28 insertions(+), 1 deletion(-)