Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894358 - app-crypt/sequoia-sq-0.27.0 fails to compile (MUSL-CLANG-SYSTEM): error: failed to run custom build command for nettle-sys v2.1.0
Summary: app-crypt/sequoia-sq-0.27.0 fails to compile (MUSL-CLANG-SYSTEM): error: fail...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Florian Schmaus
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-14 08:55 UTC by Agostino Sarubbo
Modified: 2023-05-20 06:56 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,316.83 KB, text/plain)
2023-02-14 08:55 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-14 08:55:12 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-crypt/sequoia-sq-0.27.0 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-14 08:55:15 UTC
Created attachment 851078 [details]
build.log

build log and emerge --info
Comment 2 ZappeL 2023-03-26 17:58:45 UTC
It seems to be clang16 related (didn't tested musl).

The issue didn't occure after forcing clang15 to be used. With clang16 it fails. (on my maschine at least)
Comment 3 123485k 2023-04-11 07:15:28 UTC
(In reply to ZappeL from comment #2)
> It seems to be clang16 related (didn't tested musl).
> 
> The issue didn't occure after forcing clang15 to be used. With clang16 it
> fails. (on my maschine at least)

how to force use clang15?
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-11 07:37:26 UTC
We probably need to use llvm.eclass for any of these packages using libclang/bindgen. That would allow user overrides as a bonus too.
Comment 5 Larry the Git Cow gentoo-dev 2023-05-20 06:56:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e2db0878d2e38cc3a76236fdbb57e4ccb84aebc

commit 2e2db0878d2e38cc3a76236fdbb57e4ccb84aebc
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-05-20 06:38:22 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-20 06:55:58 +0000

    app-crypt/sequoia-sq: use llvm.eclass for bindgen
    
    Just like 1fd5803705bc3bc5ede5559d08b6e4c57a201fbf. Could bump the crates
    like gyakovlev said but we're about to do that for a bump anyway.
    
    Closes: https://bugs.gentoo.org/894358
    Signed-off-by: Sam James <sam@gentoo.org>

 app-crypt/sequoia-sq/sequoia-sq-0.28.0.ebuild | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)