Re: Mock v6.8 released (and mock-core-configs v45.1)

Pavel Raiskup via devel <[email protected]>
Newsgroups gmane.linux.redhat.fedora.devel
Message-ID <CAE3s_hn4ZiDhcpk0dFZ7zk+jQetUuJKks_YmDh854vCjJGLcbw@mail.gmail.com>
On Wed, Aug 12, 2026 at 4:19 PM Miroslav Suchý via devel
<[email protected]> wrote:
>> Dne 12. 08. 26 v 3:44 odp. Florian Weimer via devel napsal(a):
> > How does this interact with %doc processing?
> >
> > What about brp processing?  I think that's going to be harmless.
>
> This feature is on place, but it is disabled by default. So it cannot affect anything in Fedora's Koji.
>
> This feature should NOT affect %doc process, brp processing... It should affect you ONLY if you do some building of
> final artifacts in %check phase. And you should not do that.


When we turn the new feature ON, the %__brp_* (build-root-processing)
logic (and any other post-install tasks) will permanently run before
%check (which is executed later using --short-circuit).
There is a chance that the __brp logic breaks the builddir (if that is
what you meant?), causing the later `make check` to stop working and
the build to fail. I would consider this a bug in either the package
or its dependency stack, though I am not entirely sure how severe
those issues might be—or if they even exist. This deserves a bit more
attention first; I plan to run some mass rebuild experiments before
proposing to turn this ON in Fedora.

Pavel

-- 
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.