Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 945326 - app-misc/openrgb-0.9 - [ncurses-6.5] [meson] [gcc-15] Controllers/.../RGBController_AlienwareAW510K.cpp: error: type struct led_type violates the C++ One Definition Rule [-Werror=odr]
Summary: app-misc/openrgb-0.9 - [ncurses-6.5] [meson] [gcc-15] Controllers/.../RGBCont...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-11-29 10:32 UTC by Toralf Förster
Modified: 2025-01-09 21:22 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,20.47 KB, text/plain)
2024-11-29 10:32 UTC, Toralf Förster
Details
app-misc:openrgb-0.9:20241128-213831.log.xz (app-misc:openrgb-0.9:20241128-213831.log.xz,21.78 KB, application/x-xz)
2024-11-29 10:32 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,220.85 KB, text/plain)
2024-11-29 10:32 UTC, Toralf Förster
Details
environment (environment,96.50 KB, text/plain)
2024-11-29 10:32 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.35 KB, application/x-xz)
2024-11-29 10:32 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,24.74 KB, application/x-xz)
2024-11-29 10:32 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,3.57 KB, application/x-xz)
2024-11-29 10:32 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,58.96 KB, application/x-xz)
2024-11-29 10:33 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,21.86 KB, application/x-xz)
2024-11-29 10:33 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-11-29 10:32:53 UTC
too long lines were shrinked:

                 from /usr/include/qt5/QtCore/QVariant:1,
                 from ./ui_OpenRGBZonesBulkResizer.h:12:
/usr/include/qt5/Gentoo/gentoo-qconfig.h:8:9: note: this is the location of the previous definition
    8 | #define QT_NO_IMAGEFORMAT_JPEG
      |         ^~~~~~~~~~~~~~~~~~~~~~
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 -Wl,--export-dynamic -o openrgb swatches.o dmiinfo.o ColorWheel.o Action.o APICache.o BaseDevice.o BaseHttpHandler.o
Controllers/AlienwareKeyboardController/RGBController_AlienwareAW510K.cpp:48:3: error: type struct led_type violates the C++ One Definition Rule [-Werror=odr]
   48 | } led_type;
      |   ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_hardened-20241124-123002

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

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-15 *
clang version 19.1.4
llvm-config: 19.1.4
Python 3.12.7
go version go1.23.3 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0
  [2]   rust-bin-1.82.0
  [3]   rust-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.25_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 7e7e9f62d47ce8ca2ba91fd175346a845ad5229e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Nov 28 21:19:10 2024 +0000

    2024-11-28 21:19:09 UTC

emerge -qpvO =app-misc/openrgb-0.9
[ebuild  N    ] app-misc/openrgb-0.9
Comment 1 Toralf Förster gentoo-dev 2024-11-29 10:32:53 UTC
Created attachment 912667 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-29 10:32:54 UTC
Created attachment 912668 [details]
app-misc:openrgb-0.9:20241128-213831.log.xz
Comment 3 Toralf Förster gentoo-dev 2024-11-29 10:32:56 UTC
Created attachment 912669 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-11-29 10:32:57 UTC
Created attachment 912670 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-11-29 10:32:57 UTC
Created attachment 912671 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-29 10:32:58 UTC
Created attachment 912672 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-29 10:32:59 UTC
Created attachment 912673 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-11-29 10:33:00 UTC
Created attachment 912675 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-11-29 10:33:01 UTC
Created attachment 912676 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2025-01-09 21:22:00 UTC
The bug has been closed via the following commit(s):

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

commit dccb01aefb959c564582e182db94b0732005319c
Author:     Alexey Sokolov <alexey+gentoo@asokolov.org>
AuthorDate: 2025-01-08 01:19:29 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2025-01-09 21:21:58 +0000

    app-misc/openrgb: fix ODR violations
    
    Closes: https://bugs.gentoo.org/945326
    Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 app-misc/openrgb/Manifest              |   1 +
 app-misc/openrgb/openrgb-0.9-r2.ebuild | 107 +++++++++++++++++++++++++++++++++
 2 files changed, 108 insertions(+)