Summary: | dev-python/libsass-0.22.0 - error: invalid argument -std=gnu++<snip> not allowed with C | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Nowa Ammerlaan <nowa> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | mgorny, python |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=730244 https://github.com/sass/libsass-python/issues/410 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
dev-python:libsass-python-0.22.0:20221114-220613.log emerge-history.txt environment etc.clang.tar.bz2 etc.portage.tar.bz2 temp.tar.bz2 |
Description
Toralf Förster
![]() Created attachment 832709 [details]
emerge-info.txt
Created attachment 832711 [details]
dev-python:libsass-python-0.22.0:20221114-220613.log
Created attachment 832713 [details]
emerge-history.txt
Created attachment 832715 [details]
environment
Created attachment 832717 [details]
etc.clang.tar.bz2
Created attachment 832719 [details]
etc.portage.tar.bz2
Created attachment 832721 [details]
temp.tar.bz2
Sorry about that. I've looked at the bug linked in [1] and not at the build log linked on our bug, and assumed it was fixed upstream. Andrew, could you report the bug upstream? I can't because upstream banned me for no reason (I mean, I've asked and he literally told me he doesn't know why i'm banned but he won't undo it). [1] https://bugs.gentoo.org/730244#c2 The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d102abe028aad19d4f3fb10b627b7005b2e117c9 commit d102abe028aad19d4f3fb10b627b7005b2e117c9 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2022-11-15 05:50:19 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2022-11-15 05:57:49 +0000 dev-python/libsass-python: Remove insane CC opts again Bug: https://bugs.gentoo.org/881339 Signed-off-by: Michał Górny <mgorny@gentoo.org> .../{libsass-python-0.22.0.ebuild => libsass-python-0.22.0-r1.ebuild} | 3 +++ 1 file changed, 3 insertions(+) (In reply to Michał Górny from comment #8) > Sorry about that. I've looked at the bug linked in [1] and not at the build > log linked on our bug, and assumed it was fixed upstream. > > Andrew, could you report the bug upstream? I can't because upstream banned > me for no reason (I mean, I've asked and he literally told me he doesn't > know why i'm banned but he won't undo it). > > [1] https://bugs.gentoo.org/730244#c2 They don't really seem interested in fixing the problem: "Gentoo is elevating the warning to an error, that's on them" We're definitely not. It's Clang that's bailing out. Note that in this case, it's not *just* saying "unknown argument, treating as an error" (which Clang can do), it's actually saying "-std is valid for C but I have no idea what value you just told me to use" (because C++ happens to have a -std too). So it's not, in this case, an unknown option, but garbage passed into an argument which happens to be valid in C. But it's always invalid to pass CXXFLAGS to a C compiler anyway. For example, -Werror=odr is completely valid for C++, and means nothing for C. So, even if we were, it'd be something to fix (if minor). |