Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 690226 - dev-libs/grantlee-5.1.0 w/ cmake-3.15.0: /.../qtypeinfo.h:301:1: error: redefinition of const char* name()
Summary: dev-libs/grantlee-5.1.0 w/ cmake-3.15.0: /.../qtypeinfo.h:301:1: error: redef...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL: https://github.com/steveire/grantlee/...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2019-07-19 16:01 UTC by Toralf Förster
Modified: 2019-07-20 16:17 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.11 KB, text/plain)
2019-07-19 16:01 UTC, Toralf Förster
Details
dev-libs:grantlee-5.1.0:20190719-030343.log (dev-libs:grantlee-5.1.0:20190719-030343.log,760.64 KB, text/plain)
2019-07-19 16:01 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,123.30 KB, text/plain)
2019-07-19 16:01 UTC, Toralf Förster
Details
environment (environment,112.79 KB, text/plain)
2019-07-19 16:01 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,19.16 KB, application/x-bzip)
2019-07-19 16:01 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.33 KB, application/x-bzip)
2019-07-19 16:01 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,60.42 KB, application/x-bzip)
2019-07-19 16:01 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-07-19 16:01:04 UTC
  301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE);
      | ^~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: redefinition of ‘const char* name()’
  301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE);
      | ^~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: ‘const char* name()’ previously defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-libressl-20190715-231820

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

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)
  [3]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *

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 dev-libs/grantlee
[ebuild  N    ] dev-libs/grantlee-5.1.0  USE="-debug -doc -test"
Comment 1 Toralf Förster gentoo-dev 2019-07-19 16:01:07 UTC
Created attachment 583602 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-07-19 16:01:10 UTC
Created attachment 583604 [details]
dev-libs:grantlee-5.1.0:20190719-030343.log
Comment 3 Toralf Förster gentoo-dev 2019-07-19 16:01:13 UTC
Created attachment 583606 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-07-19 16:01:15 UTC
Created attachment 583608 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-07-19 16:01:18 UTC
Created attachment 583610 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-07-19 16:01:21 UTC
Created attachment 583612 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-07-19 16:01:24 UTC
Created attachment 583614 [details]
temp.tbz2
Comment 8 Andreas Sturmlechner gentoo-dev 2019-07-20 13:17:14 UTC
Hm, not reproducible...
Comment 9 Larry the Git Cow gentoo-dev 2019-07-20 16:17:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9172613e8e9a5a480e75c409765524bb3e46f640

commit 9172613e8e9a5a480e75c409765524bb3e46f640
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-07-20 16:13:50 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-07-20 16:17:08 +0000

    dev-libs/grantlee: EAPI-7 bump, fix build with >=cmake-3.15
    
    Closes: https://bugs.gentoo.org/690226
    Package-Manager: Portage-2.3.69, Repoman-2.3.16
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-libs/grantlee/files/grantlee-5.1.0-cxx11.patch | 24 ++++++++++++++++++++++
 dev-libs/grantlee/grantlee-5.1.0.ebuild            |  9 ++++----
 2 files changed, 29 insertions(+), 4 deletions(-)