On Wed, Mar 23, 2022 at 1:55 PM Ron Olson <tachokni...@gmail.com> wrote:

> Hey all-
>
> I’m trying to build a new version of a package and got the aforementioned
> error, but only under EPEL 8, all other builds (Rawhide, F35, F34, EPEL 9)
> built fine. The failed build is at
> https://koji.fedoraproject.org/koji/taskinfo?taskID=84560380.
>
> I’m curious what I can do, but also to understand what causes this; I have
> this same behavior on a different package where under Rawhide I see the
> warning (but it doesn’t fail because the -Werror switch isn’t used), but
> under F35 there is no warning at all.
>
> Thanks for any info,
>

Clang doesn't understand some options that gcc does, and a lot of it
depends on the version of clang IIRC. For a while Fedora maintainers would
modify clang to at least silently ignore these options but now it's much
easier to specify the toolchain you're using:

https://docs.fedoraproject.org/en-US/packaging-guidelines/#_compiler_macros

Thanks,
Richard
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to