[Rpm-maint] [rpm-software-management/rpm] Fix missing TOOLCHAIN ARG in second image stage (PR #4164)
Michal Domonkos
notifications at github.com
Wed Mar 25 09:54:40 UTC 2026
Commit 7369ea4de99e01d9bd64c17a3bd4ac40254e3811 forgot to declare the TOOLCHAIN argument for the second stage, which is mandated, see the following excerpt from Containerfile(5):
Note that a second FROM in a Containerfile sets the values
associated with an Arg variable to nil and they must be reset if
they are to be used later in the Containerfile
Curiously enough, this has worked just fine with the latest Podman versions (5.8.1) as well as with Docker, the former of which is what we normally run on our Fedora workstations and the latter of which we still use in the CI.
However, rpm-sequoia uses Podman 4.9.3 in its CI (shipped with Ubuntu 24.04.3 LTS) where it has started failing because the TOOLCHAIN value is unset in the second stage. It's unclear to me why this isn't an issue with the newer Podman versions, however it could have been a deliberate change that just wasn't reflected in the Containerfile(5) man page.
Either way, kudos to our friends over at rpm-sequoia for noticing!
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/4164
-- Commit Summary --
* Fix missing TOOLCHAIN ARG in second image stage
-- File Changes --
M tests/Dockerfile.fedora (1)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/4164.patch
https://github.com/rpm-software-management/rpm/pull/4164.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/4164
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/4164 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20260325/8367afdc/attachment-0001.htm>
More information about the Rpm-maint
mailing list