[Rpm-maint] [rpm-software-management/rpm] RFE: explicitly output build directory path(s) in the build log (Issue #3147)

Panu Matilainen notifications at github.com
Wed Jun 5 09:46:31 UTC 2024


With the introduction of the new intermediate builddir in 4.20, we're running into multiple cases where people/scripts/external tooling expects to manipulate stuff in the rpm build directory after performing a partial build on it, eg 'rpmbuild -bp' to have rpm prepare the sources.

Rpm never gave any promises about the directory outside itself, but when a thing stays the same for 20+ years people start assuming it, fact of life. Those use-cases will not go away so we should instead help them on our own terms: we do not want to make promises about build paths outside a build context, but it's absolutely no problem to tell others when we're actually doing it.

There are several closely related directories that we might want to explicitly state in the build log, such as %{builddir}, the *actual* build directory for %setup'ed packages which is %{builddir}/%{?buildsubdir} (we don't even have a good name for it), and buildroot.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3147
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/3147 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240605/07f6d4ca/attachment.html>


More information about the Rpm-maint mailing list