Bug 2283990

Summary: fedrq: FTBFS in F41/Rawhide with rpm 4.20
Product: [Fedora] Fedora Reporter: Ben Beasley <code>
Component: fedrqAssignee: Maxwell G <maxwell>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: maxwell
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: fedrq-1.1.0-2.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-30 18:59:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2276421    

Description Ben Beasley 2024-05-30 14:13:30 UTC
Now that rpm 4.19.91 AKA 4.20.0 alpha 2 is in Rawhide, there are some regressions in the %check section.

The line

  bash -x ./tests/test_data/build.sh

fails as follows:

Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.qiUxth
+ umask 022
+ cd /builddir/build/BUILD/packageb-2-build
+ [... snip: omitted environment variable setup ...]
+ RPM_EC=0
++ jobs -p
+ exit 0
Processing files: packageb-2-1.fc36.x86_64
Provides: package(b) packageb = 11111:2-1.fc36 packageb(x86-64) = 11111:2-1.fc36 vpackage(b) = 11111:2-1.fc36
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: packageb-sub-2-1.fc36.noarch
Provides: packageb-sub = 11111:2-1.fc36 subpackage(b) vsubpackage(b) = 2-1.fc36
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Supplements: (vpackage(b) and package(a))
Processing files: packageb-debugsource-2-1.fc36.x86_64
error: Empty %files file /builddir/build/BUILD/packageb-2-build/debugsourcefiles.list

RPM build errors:
    Empty %files file /builddir/build/BUILD/packageb-2-build/debugsourcefiles.list

If I comment out that script, then the Python tests have 199 errors due to a CalledProcessError invoking that script.

Reproducible: Always