#6740 FAILED: GenericError: srpm mismatch for epel7
Closed: Fixed Opened by pghmcfc.

Tried to build an update for python-crypto in epel7, but failed like this:

$ fedpkg build
Building python-crypto-2.6.1-15.el7 for epel7-candidate
Created task: 25261390
Task info: https://koji.fedoraproject.org/koji/taskinfo?taskID=25261390
Watching tasks (this may be safely interrupted)...
25261390 build (epel7-candidate, /rpms/python-crypto.git:a72dd47bb3034c614fc934adb93fb70826008d92): free
25261390 build (epel7-candidate, /rpms/python-crypto.git:a72dd47bb3034c614fc934adb93fb70826008d92): free -> open (buildvm-08.phx2.fedoraproject.org)
  25261391 buildSRPMFromSCM (/rpms/python-crypto.git:a72dd47bb3034c614fc934adb93fb70826008d92): open (buildhw-aarch64-07.arm.fedoraproject.org)
  25261391 buildSRPMFromSCM (/rpms/python-crypto.git:a72dd47bb3034c614fc934adb93fb70826008d92): open (buildhw-aarch64-07.arm.fedoraproject.org) -> closed
  0 free  1 open  1 done  0 failed
  25261430 buildArch (python-crypto-2.6.1-15.el7a.src.rpm, ppc64le): open (buildvm-ppc64le-09.ppc.fedoraproject.org)
  25261428 buildArch (python-crypto-2.6.1-15.el7a.src.rpm, x86_64): open (buildhw-06.phx2.fedoraproject.org)
  25261429 buildArch (python-crypto-2.6.1-15.el7a.src.rpm, ppc64): open (buildvm-ppc64-07.ppc.fedoraproject.org)
  25261427 buildArch (python-crypto-2.6.1-15.el7a.src.rpm, aarch64): open (buildhw-aarch64-11.arm.fedoraproject.org)
  25261428 buildArch (python-crypto-2.6.1-15.el7a.src.rpm, x86_64): open (buildhw-06.phx2.fedoraproject.org) -> closed
  0 free  4 open  2 done  0 failed
  25261430 buildArch (python-crypto-2.6.1-15.el7a.src.rpm, ppc64le): open (buildvm-ppc64le-09.ppc.fedoraproject.org) -> closed
  0 free  3 open  3 done  0 failed
  25261429 buildArch (python-crypto-2.6.1-15.el7a.src.rpm, ppc64): open (buildvm-ppc64-07.ppc.fedoraproject.org) -> closed
  0 free  2 open  4 done  0 failed
  25261427 buildArch (python-crypto-2.6.1-15.el7a.src.rpm, aarch64): open (buildhw-aarch64-11.arm.fedoraproject.org) -> closed
  0 free  1 open  5 done  0 failed
25261390 build (epel7-candidate, /rpms/python-crypto.git:a72dd47bb3034c614fc934adb93fb70826008d92): open (buildvm-08.phx2.fedoraproject.org) -> FAILED: GenericError: srpm mismatch for /mnt/koji/work/tasks/1428/25261428/python34-crypto-2.6.1-15.el7.x86_64.rpm: python-crypto-2.6.1-15.el7.src.rpm (expected python-crypto-2.6.1-15.el7a.src.rpm)
  0 free  0 open  5 done  1 failed
25261390 build (epel7-candidate, /rpms/python-crypto.git:a72dd47bb3034c614fc934adb93fb70826008d92) failed

Where's that "el7a" come from?


"el7a" is dist tag used on aarch64. The problem is that SRPM built on aarch64 uses this dist tag, while other arches used "el7"

Ah, so SRPM builds should avoid aarch64 then.

I'll just try the build again and hope I get a different arch SRPM builder this time.

Tried again, SRPM built on buildvm-ppc64le-04.ppc.fedoraproject.org, same problem.

https://koji.fedoraproject.org/koji/taskinfo?taskID=25261963

Looks like this is breaking everyone's epel7 builds at the moment.

This is not an infra bug but is a relng one, we switched the epel7 buildroot to use RHEL-ALT we will have to make a tweak in the epel setup to set the disttag ourselves.

builds are working again now, I have put a temporary fix in place while a permanent soultion can be devised. I built a custom redhat-release-server build that is used to ensure that the dist macro is consistent. either we get Red Hat to fix redhat-release-server or we need to add a dist macro to epel-release.

Metadata Update from @ausil:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata