public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/pyproject-rpm-macros] f44: CI: Temporary workaround for failing c9s/c10s mockbuilds
Date: Mon, 30 Nov 2026 23:16:47 GMT [thread overview]
Message-ID: <179608060751.1.17227644237289540718.rpms-pyproject-rpm-macros-b7ccb67a5d1e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/pyproject-rpm-macros
Branch : f44
Commit : b7ccb67a5d1e9316357e9649d879638ff6492606
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2026-11-27T12:20:26+01:00
Stats : +6/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/pyproject-rpm-macros/c/b7ccb67a5d1e9316357e9649d879638ff6492606?branch=f44
Log:
CI: Temporary workaround for failing c9s/c10s mockbuilds
Kevin explained the issue in https://forge.fedoraproject.org/infra/tickets/issues/13696#issuecomment-1379926
Paraphrased here to better much our circumstances:
The problem is on Fedora 45+ which has
https://fedoraproject.org/wiki/Changes/Enforcing_signature_checking_by_default
in it: rpm defaults to signature checking.
For Fedora mock builds (using dnf5) this works fine,
it gets disabled by dnf5 and everything works.
For centos-stream+epel chroots however, mock uses dnf-3.
dnf-3 has no way to disable this signature checking and it fails.
So we set %_pkgverify_level to digest (on host), to get the old Fedora 44 behavior.
mock issue: https://github.com/rpm-software-management/mock/issues/1853
---
diff --git a/tests/mocktest.sh b/tests/mocktest.sh
index 5dc0e8c..10cbc99 100755
--- a/tests/mocktest.sh
+++ b/tests/mocktest.sh
@@ -1,4 +1,8 @@
#!/usr/bin/bash -eux
+
+# Temporary workaround for https://github.com/rpm-software-management/mock/issues/1853
+echo '%_pkgverify_level digest' > /etc/rpm/macros.zzz-pyproject-ci-pkgverify-level
+
if [ -z "${VERSION_ID-}" ] && [ -z "${ID-}" ]; then
. /etc/os-release
fi
@@ -88,4 +92,6 @@ for log in *.log; do
done
popd
+rm -vf /etc/rpm/macros.zzz-pyproject-ci-pkgverify-level
+
exit $res
reply other threads:[~2026-11-30 23:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179608060751.1.17227644237289540718.rpms-pyproject-rpm-macros-b7ccb67a5d1e@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox