Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 942811

Summary: app-emulation/qtrvsim-0.9.8 - [gcc-15] /.../simpletextitem.h: error: type struct SimpleTextItem violates the C++ One Definition Rule [-Werror=odr]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Florian Schmaus <flow>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 618550    
Attachments: emerge-info.txt
app-emulation:qtrvsim-0.9.8:20241103-005615.log
emerge-history.txt.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-11-03 10:08:51 UTC
too long lines were shrinked:

[168/175] : && /usr/bin/x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Werror=lto-type-mismatch -Werror=strict-alia
[169/175] : && /usr/bin/x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Werror=lto-type-mismatch -Werror=strict-alia
[170/175] : && /usr/bin/x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Werror=lto-type-mismatch -Werror=strict-alia
[171/175] : && /usr/bin/x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Werror=lto-type-mismatch -Werror=strict-alia
FAILED: target/qtrvsim_gui 
: && /usr/bin/x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Werror=lto-type-mismatch -Werror=strict-aliasing -Werr
/var/tmp/portage/app-emulation/qtrvsim-0.9.8/work/qtrvsim-0.9.8/external/svgscene/src/svgscene/components/simpletextitem.h:9:7: error: type struct SimpleTextItem violates the C++ One Definition Rule [-Werror=odr]
    9 | class SimpleTextItem : public QGraphicsSimpleTextItem {
      |       ^

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

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

  UNMASKED:
  <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 version 19.1.3
llvm-config: 19.1.3
Python 3.12.7
go version go1.23.2 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.82.0
  [2]   rust-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.432_p06 [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

  HEAD of ::gentoo
commit 095b543c4cc2ac3b8c55de139eb418c527df4504
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Nov 2 23:48:32 2024 +0000

    2024-11-02 23:48:32 UTC

emerge -qpvO =app-emulation/qtrvsim-0.9.8
[ebuild  N    ] app-emulation/qtrvsim-0.9.8
Comment 1 Toralf Förster gentoo-dev 2024-11-03 10:08:52 UTC
Created attachment 907755 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-03 10:08:54 UTC
Created attachment 907756 [details]
app-emulation:qtrvsim-0.9.8:20241103-005615.log
Comment 3 Toralf Förster gentoo-dev 2024-11-03 10:08:55 UTC
Created attachment 907757 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-11-03 10:08:56 UTC
Created attachment 907758 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-11-03 10:08:57 UTC
Created attachment 907759 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-03 10:08:58 UTC
Created attachment 907760 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-03 10:08:59 UTC
Created attachment 907761 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-11-03 10:09:00 UTC
Created attachment 907762 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-11-03 10:09:00 UTC
Created attachment 907763 [details]
temp.tar.xz