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

Bug 729288

Summary: app-misc/g810-led-0.3.6 fails to compile: clang-10: error: cannot specify -o when generating multiple output files
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Haelwenn (lanodan) Monnier <contact>
Status: CONFIRMED ---    
Severity: normal CC: crabbedhaloablution, proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 408963    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-06-23 11:46:29 UTC
@@This is an auto-filed bug@@
If you think that a different summary clarifies the issue better, feel free to change it.

Issue: app-misc/g810-led fails to compile.
Discovered on: amd64

If yout think this issue is related to CLANG, please block bug 408963. If you need further logs, feel free to ask.
Comment 1 Agostino Sarubbo gentoo-dev 2020-06-23 11:46:35 UTC
Created attachment 645838 [details]

build log and emerge --info
Comment 2 Haelwenn (lanodan) Monnier 2020-11-04 02:23:55 UTC
Sadly yeah, it's a clang-related bug. Will try to fix upstream's Makefile for it.
Comment 3 Larry the Git Cow gentoo-dev 2021-01-18 08:55:07 UTC
The bug has been closed via the following commit(s):

commit 80e5d9524268b9897592f57de572545d16f25915
Author:     Peter Alfredsen <>
AuthorDate: 2020-12-19 20:50:25 +0000
Commit:     Joonas Niilola <>
CommitDate: 2021-01-18 08:54:59 +0000

    app-misc/g810-led: bump to 0.4.2 + various fixes
    0.4.2 brings support for g815, builds with clang, and various minor fixes.
    Ebuild fixes:
    Create and populate /etc/g810-led/ as in upstream makefile so systemd
    .services work.
    Change udev rules to use uaccess instead of MODE="666".
    Set CXX to system compiler
    Build and use "bin-linked" g810-led. Same features, less space.
    Include headers in install
    Add pkg_postinst with hints about use
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Peter Alfredsen <>
    Signed-off-by: Joonas Niilola <>

 app-misc/g810-led/Manifest              |  1 +
 app-misc/g810-led/g810-led-0.4.2.ebuild | 77 +++++++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)
Comment 4 Joonas Niilola gentoo-dev 2021-01-18 08:55:58 UTC
This is still relevant for the old version, besides I couldn't test whether it works or not on clang on my test system.