Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895428 - app-misc/openrgb-0.8-r1 fails to compile (GCC-13-SYSTEM): SteelSeriesMouseController.h:40:17: error: uint8_t was not declared in this scope
Summary: app-misc/openrgb-0.8-r1 fails to compile (GCC-13-SYSTEM): SteelSeriesMouseCon...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2023-02-19 14:49 UTC by Agostino Sarubbo
Modified: 2023-03-28 23:07 UTC (History)
3 users (show)

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


Attachments
build.log.xz (build.log.xz,23.66 KB, application/x-xz)
2023-02-19 14:49 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-02-19 14:49:27 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-misc/openrgb-0.8-r1 fails to compile (GCC-13-SYSTEM).
Discovered on: amd64 (internal ref: gcc13_tinderbox)

NOTE:
(GCC-13-SYSTEM) in the summary means that the bug was found on a machine that runs gcc-13 but this bug MAY or MAY NOT BE related to the new compiler
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-19 14:49:29 UTC
Created attachment 853066 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Adrien Dessemond 2023-03-28 22:45:22 UTC
uint8_t / uint16_t related errors are due to a missing #include, this one is even suggested by GCC itself in the error :)

Looking at the upstream repository, the file has been fixed for GCC-13 in the 'master' branch (no version tag, yet). See:

https://gitlab.com/CalcProgrammer1/OpenRGB/-/blob/master/Controllers/SteelSeriesController/SteelSeriesRivalController.cpp
Comment 3 Larry the Git Cow gentoo-dev 2023-03-28 23:07:31 UTC
The bug has been closed via the following commit(s):

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

commit 1435fff38b1905f33b72a2f2a300e96cb2ea26d0
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2023-03-28 22:53:44 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2023-03-28 23:07:28 +0000

    app-misc/openrgb: patch for GCC 13
    
    Bug: https://gitlab.com/CalcProgrammer1/OpenRGB/-/merge_requests/1743
    Closes: https://bugs.gentoo.org/895428
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 app-misc/openrgb/files/openrgb-0.8-gcc-13.patch | 36 +++++++++++++++++++++++++
 app-misc/openrgb/openrgb-0.8-r1.ebuild          |  4 ++-
 2 files changed, 39 insertions(+), 1 deletion(-)
Comment 4 Maciej Barć gentoo-dev 2023-03-28 23:07:49 UTC
(In reply to Adrien Dessemond from comment #2)
> uint8_t / uint16_t related errors are due to a missing #include, this one is
> even suggested by GCC itself in the error :)
> 
> Looking at the upstream repository, the file has been fixed for GCC-13 in
> the 'master' branch (no version tag, yet). See:
> 
> https://gitlab.com/CalcProgrammer1/OpenRGB/-/blob/master/Controllers/
> SteelSeriesController/SteelSeriesRivalController.cpp

Thanks! :D