Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 785367 - [guru] dev-libs/protothreads-1.4 fails to compile with clang
Summary: [guru] dev-libs/protothreads-1.4 fails to compile with clang
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alessandro Barbieri
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-24 12:06 UTC by Agostino Sarubbo
Modified: 2022-04-21 17:46 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,7.00 KB, text/plain)
2021-04-24 12:06 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 2021-04-24 12:06:05 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/protothreads-1.4 fails to compile.
Discovered on: amd64 (internal ref: guru_tinderbox)

NOTE:
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please block bug 408963..
Comment 1 Agostino Sarubbo gentoo-dev 2021-04-24 12:06:07 UTC
Created attachment 702186 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-04-24 12:06:08 UTC
Possible context of error(s):

clang-12clang-12clang-12: : : error: errorerror: : cannot specify -o when generating multiple output files
Comment 3 Larry the Git Cow gentoo-dev 2022-04-21 17:46:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0fb4370d24599d56435c8427b727b949cf5a36e4

commit 0fb4370d24599d56435c8427b727b949cf5a36e4
Author:     Alessandro Barbieri <lssndrbarbieri@gmail.com>
AuthorDate: 2022-04-18 16:05:40 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri@gmail.com>
CommitDate: 2022-04-19 18:31:26 +0000

    dev-libs/protothreads: EAPI 8
    
    Closes: https://bugs.gentoo.org/785367
    Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>

 .../files/protothreads-1.4-fix-clang-build.patch   | 16 +++++++++++++++
 ...patch => protothreads-1.4-respect-cflags.patch} |  0
 ...reads-1.4.ebuild => protothreads-1.4-r1.ebuild} | 24 ++++++++++++++--------
 3 files changed, 31 insertions(+), 9 deletions(-)