Bug 1443034 - RFE: better diagnosis for dependency generators
Summary: RFE: better diagnosis for dependency generators
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-18 10:58 UTC by Pavel Raiskup
Modified: 2017-12-08 13:01 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-12-08 13:01:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1443038 0 unspecified CLOSED always eat the whole stdin by /usr/lib/rpm/scldeps.sh 2021-02-22 00:41:40 UTC

Internal Links: 1443038

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.


Note You need to log in before you can comment on or make changes to this bug.