Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894558 - app-misc/openrgb-0.8-r1 fails to compile (MUSL-CLANG-SYSTEM): OpenRGBNanoleafScanningThread.cpp:420:18: error: variable has incomplete type struct timeval
Summary: app-misc/openrgb-0.8-r1 fails to compile (MUSL-CLANG-SYSTEM): OpenRGBNanoleaf...
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: PullRequest
Depends on:
Blocks:
 
Reported: 2023-02-15 09:43 UTC by Agostino Sarubbo
Modified: 2023-05-29 00:46 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,454.38 KB, text/plain)
2023-02-15 09:43 UTC, Agostino Sarubbo
Details
Fix another missing include (fix-missing-includes-clang.patch,273 bytes, patch)
2023-05-29 00:46 UTC, David Carlos Manuelda
Details | Diff

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

Issue: app-misc/openrgb-0.8-r1 fails to compile (MUSL-CLANG-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-15 09:43:40 UTC
Created attachment 851220 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-02-16 21:36:04 UTC
The bug has been closed via the following commit(s):

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

commit 81132cfdb4283d8978f37e6c5057f979bfeb490b
Author:     Alexey Sokolov <alexey+gentoo@asokolov.org>
AuthorDate: 2023-02-16 20:40:59 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2023-02-16 21:36:02 +0000

    app-misc/openrgb: fix build on musl
    
    Closes: https://bugs.gentoo.org/894558
    Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
    Closes: https://github.com/gentoo/gentoo/pull/29622
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 app-misc/openrgb/files/OpenRGB-0.8-includes.patch | 24 +++++++++++++++++++++++
 app-misc/openrgb/openrgb-0.8-r1.ebuild            |  1 +
 2 files changed, 25 insertions(+)
Comment 3 David Carlos Manuelda 2023-05-29 00:46:20 UTC
It still fails to compile due to another missing include with clang (at least version 16).

Patch attached in next message
Comment 4 David Carlos Manuelda 2023-05-29 00:46:57 UTC
Created attachment 862773 [details, diff]
Fix another missing include