Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 940363 - games-board/chessx-1.5.4-r4 - [ncurses-6.5] [meson] [libtool] [gcc-15] src/.../style.h: error: type struct Style violates the C++ One Definition Rule [-Werror=odr]
Summary: games-board/chessx-1.5.4-r4 - [ncurses-6.5] [meson] [libtool] [gcc-15] src/.....
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-09-28 10:00 UTC by Toralf Förster
Modified: 2024-09-28 10:00 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.33 KB, text/plain)
2024-09-28 10:00 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,13.83 KB, text/plain)
2024-09-28 10:00 UTC, Toralf Förster
Details
environment (environment,70.52 KB, text/plain)
2024-09-28 10:00 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-09-28 10:00 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,16.71 KB, application/x-xz)
2024-09-28 10:00 UTC, Toralf Förster
Details
games-board:chessx-1.5.4-r4:20240927-231625.log.xz (games-board:chessx-1.5.4-r4:20240927-231625.log.xz,19.23 KB, application/x-xz)
2024-09-28 10:00 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,65.92 KB, text/plain)
2024-09-28 10:00 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-28 10:00:01 UTC
too long lines were shrinked:

                 from src/generated/moc_arenabook.cpp:10:
/usr/include/qt5/QtCore/qfutureinterface.h:284:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  284 |     explicit QFutureInterface<void>(State initialState = NoState)
      |                                     ^~~~~
/usr/include/qt5/QtCore/qfutureinterface.h:284:37: note: remove the < >
x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -o release/chessx obj_rel/board.o obj_rel/annotation.o obj_rel/game.o obj_rel/databaseconversion.o obj_rel/partialda
src/gui/style.h:10:7: error: type struct Style violates the C++ One Definition Rule [-Werror=odr]
   10 | class Style : public QObject
      |       ^

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

  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 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/19
19.1.0
Python 3.12.6
Available Rust versions:
  [1]   rust-bin-1.81.0 *
php cli (if any):

  HEAD of ::gentoo
commit 172adc5f1569cdbf0c20dff998cadc092a60de3a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Sep 27 21:21:11 2024 +0000

    2024-09-27 21:21:11 UTC

emerge -qpvO =games-board/chessx-1.5.4-r4
[ebuild  N    ] games-board/chessx-1.5.4-r4
Comment 1 Toralf Förster gentoo-dev 2024-09-28 10:00:02 UTC
Created attachment 904058 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-09-28 10:00:03 UTC
Created attachment 904059 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-09-28 10:00:05 UTC
Created attachment 904060 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-09-28 10:00:05 UTC
Created attachment 904061 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-09-28 10:00:06 UTC
Created attachment 904062 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-09-28 10:00:07 UTC
Created attachment 904063 [details]
games-board:chessx-1.5.4-r4:20240927-231625.log.xz
Comment 7 Toralf Förster gentoo-dev 2024-09-28 10:00:09 UTC
Created attachment 904064 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-09-28 10:00:11 UTC
The file size of ./files/temp.tar.xz is too big (18M) for an upload. For few weeks the link http://tinderbox.zwiebeltoralf.de:31560/23.0_desktop_systemd-20240927-085502/var/tmp/tb/issues/20240927-232127-games-board_chessx-1.5.4-r4/files/temp.tar.xz is valid.