Bug 1443034

Summary: RFE: better diagnosis for dependency generators
Product: [Fedora] Fedora Reporter: Pavel Raiskup <praiskup>
Component: rpmAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ignatenko, kardos.lubos, mjw, packaging-team-maint, pmatilai, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-08 13:01:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pavel Raiskup 2017-04-18 10:58:31 UTC
I had a hard times with debugging scl-utils-build package, where
%__scl_provides and %_scl_requires commands did not eat the whole stdin
%(provided by rpm as pipe), proposed fix in [1].

This caused an immediate exit of the rpmbuild with exit status 141, with
completely zero info about the failure (reproduced on Fedora 25, performing
a mock build against fedora-rawhide-x86_64 chroot).

It would be nice if rpm logged what provides/requires generators
were run, what were the command arguments and what was the exit status.

[1] https://github.com/sclorg/scl-utils/pull/13.

Comment 1 Panu Matilainen 2017-12-08 12:35:20 UTC
Fixed upstream by this commit I'd think:
https://github.com/rpm-software-management/rpm/commit/1d1ff6c86fc9afb4c6c89b42fdb5be851f13cb7a

Comment 2 Pavel Raiskup 2017-12-08 13:01:48 UTC
Seems to be!  Thanks.