Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 729288 - app-misc/g810-led-0.3.6 fails to compile: clang-10: error: cannot specify -o when generating multiple output files
Summary: app-misc/g810-led-0.3.6 fails to compile: clang-10: error: cannot specify -o ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Haelwenn (lanodan) Monnier
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: systemwide-clang
  Show dependency tree
 
Reported: 2020-06-23 11:46 UTC by Agostino Sarubbo
Modified: 2022-01-16 19:03 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,8.67 KB, text/plain)
2020-06-23 11:46 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 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

NOTE:
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

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):

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

commit 80e5d9524268b9897592f57de572545d16f25915
Author:     Peter Alfredsen <crabbedhaloablution@icloud.com>
AuthorDate: 2020-12-19 20:50:25 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
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
    
    Closes: https://bugs.gentoo.org/696468
    Closes: https://bugs.gentoo.org/729288
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Peter Alfredsen <crabbedhaloablution@icloud.com>
    Closes: https://github.com/gentoo/gentoo/pull/18730
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 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.