V Thu, Feb 15, 2024 at 07:08:14AM -0700, Brad Bell napsal(a):
I recently got the the response during a fedpkg mockbuild (that used
to
work). How should I proceed ?
Not downloading unused CppAD-20240000.2.tar.gz
setting SOURCE_DATE_EPOCH=1707955200
Wrote: /home/bradbell/fedora/cppad/cppad-20240000.3-1.fc41.src.rpm
INFO: mock.py version 5.2 starting (python version = 3.12.0, NVR =
mock-5.2-1.fc39), args: /usr/libexec/mock/mock -r fedora-rawhide-x86_64
--resultdir /home/bradbell/fedora/cppad/results_cppad/20240000.3/1.fc41
--rebuild /home/bradbell/fedora/cppad/cppad-20240000.3-1.fc41.src.rpm
Start(bootstrap): init plugins
I can see you build a Fedora 41 package in Fedora Rawhide mock environment on
Fedora 39 system.
[SKIPPED] zstd-1.5.5-5.fc40.x86_64.rpm: Already downloaded
fedora 1.6 MB/s | 1.6 kB 00:00
Importing GPG key 0xA15B79CC:
Userid : "Fedora (40) <fedora-40-primary(a)fedoraproject.org>"
Fingerprint: 115D F9AE F857 853E E844 5D0A 0727 707E A15B 79CC
From : /usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-40-primary
Key imported successfully
fedora 1.6 MB/s | 1.6 kB 00:00
GPG key at
file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-40-primary
(0xA15B79CC) is already installed
fedora 1.6 MB/s | 1.6 kB 00:00
Importing GPG key 0x18B8E74C:
Userid : "Fedora (39) <fedora-39-primary(a)fedoraproject.org>"
Fingerprint: E8F2 3996 F232 1864 0CB4 4CBE 75CF 5AC4 18B8 E74C
From : /usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-39-primary
Key imported successfully
Import of key(s) didn't help, wrong key(s)?
Public key for alternatives-1.26-3.fc40.x86_64.rpm is not installed. Failing
package is: alternatives-1.26-3.fc40.x86_64
GPG Keys are configured as:
file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-40-primary,
file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-40-primary,
file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-39-primary
Observe the double Fedora 40 key. I guees your mock thinks that Rawhide is
Fedora 40 instead of 41. What version has mock-core-configs package on your
system? I have mock-core-configs-40.1-1.fc39.noarch built on 2024-02-14 and
"fedpk mockbuild" works for me fine:
Running transaction
Importing PGP key 0xE99D6AD1:
Userid : "Fedora (41) <fedora-41-primary(a)fedoraproject.org>"
Fingerprint: 466CF2D8B60BC3057AA9453ED0622462E99D6AD1
From :
file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-41-primary
The key was successfully imported.
Importing PGP key 0xE99D6AD1:
Userid : "Fedora (41) <fedora-41-primary(a)fedoraproject.org>"
Fingerprint: 466CF2D8B60BC3057AA9453ED0622462E99D6AD1
From :
file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-41-primary
The key was successfully imported.
Importing PGP key 0xA15B79CC:
Userid : "Fedora (40) <fedora-40-primary(a)fedoraproject.org>"
Fingerprint: 115DF9AEF857853EE8445D0A0727707EA15B79CC
From :
file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-40-primary
The key was successfully imported.
Another possible cause could be that you have a cached bootstrap image with
Rawhide which predates a Rawhide switch to Fedora 41. Try cleaning the mock
cache with "mock -r /etc/mock/fedora-rawhide-x86_64.cfg --scrub=all" command.
-- Petr