On Wed, Jan 11, 2023 at 4:43 PM Siddhesh Poyarekar <siddhesh(a)redhat.com> wrote:
On Wed, Jan 11, 2023 at 4:37 PM Siddhesh Poyarekar
<siddhesh(a)redhat.com> wrote:
>
> On Wed, Jan 11, 2023 at 3:05 PM Michel Alexandre Salim
> <salimma(a)fedoraproject.org> wrote:
> > Just `mock -r fedora-rawhide-x86_64 ./*.src.rpm`
> >
> > I have these additional knobs in ~/.config/mock.cfg:
> >
> >
> > config_opts['plugin_conf']['ccache_enable'] = True
> >
config_opts['plugin_conf']['ccache_opts']['max_cache_size'] =
'10G'
> >
> > # False: build from Koji, e.g. to grab packages just put into Rawhide
> > # config_opts['mirrored'] = False
> >
>
> OK I see the warning now. Let me dig deeper.
So if you want the quick answer to unblock you, it is ccache; I
disabled it and the warning went away. That should help you get your
-Werror going. I'll look closer at why that's happening.
I've filed a ccache bug. It looks like ccache is moving the compiler
arguments around, causing one of the -U_FORTIFY_SOURCE to the end.
https://bugzilla.redhat.com/show_bug.cgi?id=2160275
Sid