Summary: | dev-lang/spidermonkey-91.5.0: fails to compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | contactopublico57 |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | contactopublico57 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
requested info
use/clang |
Description
contactopublico57
2022-01-19 17:47:17 UTC
Created attachment 762705 [details]
requested info
Can you try with USE="clang" and post the build.log for that? I'd like to think it's -Werror=format related but can't really pinpoint the exact spot. Also your setup says checking whether the C compiler supports -Wformat-security... no checking whether the C++ compiler supports -Wformat-security... no Created attachment 762879 [details]
use/clang
cli:
USE="clang" sudo emerge spidermonkey
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d85af4050717832975fe735a7c6bbf73359fe654 commit d85af4050717832975fe735a7c6bbf73359fe654 Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2022-01-22 08:57:46 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2022-01-22 09:00:01 +0000 dev-lang/spidermonkey: update patch set for 91.5.0 - disable some gcc-specific sanity checks (since they're not ran for clang either), - disable -Werror=format. Closes: https://bugs.gentoo.org/792246 Closes: https://bugs.gentoo.org/831501 Signed-off-by: Joonas Niilola <juippis@gentoo.org> dev-lang/spidermonkey/Manifest | 2 +- dev-lang/spidermonkey/spidermonkey-91.5.0.ebuild | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) (In reply to contactopublico57 from comment #3) > Created attachment 762879 [details] > use/clang > > cli: > > USE="clang" sudo emerge spidermonkey As you can see from your build.log, clang wasn't enabled. I don't use sudo but there's a weird interaction inputting env variables like that, I believe the correct syntax is: sudo USE="clang" emerge spidermonkey but as said, I don't have sudo installed. Anyway -Werror=format is now disabled when you re-sync and I hope that fixes it for you. If not, please provide build.logs for clang/-clang so I can diff the configure steps. |