Bug 2185 - Add smarter error processing to rpmbuild
: Add smarter error processing to rpmbuild
Status: RESOLVED FIXED
Product: Desktop Bugs
Classification: ROSA Desktop
Component: Main Packages
: Fresh
: All Linux
: Normal normal
: ---
Assigned To: ROSA Linux Bugs
: ROSA Linux Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-11 13:03 MSD by Denis Silakov
Modified: 2013-06-18 11:30 MSD (History)
2 users (show)

See Also:
RPM Package: rpm-build
ISO-related:
Bad POT generating:
Upstream:
vladimir.potapov: qa_verified+
alex.burmashev: published+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Silakov 2013-06-11 13:03:57 MSD
There are some reports about rpmbuild stopping on the first packaging error met, while it could proceed further and detect other possible errors.

For example, the first "File(s) not found (by glob)" error stops the build. But it makes sense to proceed further and check "files listed twice", "installed but unpackaged files" and some other issues. Furthermore, in case of several subpackages "File not found (by glob)" error met in any of the subpackages stops the build immediately, while it would be smarter to check other subpackages first. 

A patch to improve rpmbuild behavior was pushed to OMV Cooker several weeks ago and no issues were reported up to now. So I believe it is safe to port that patch to ROSA Desktop Fresh.
Comment 1 Denis Silakov 2013-06-11 13:15:21 MSD
Advisory:

Improved rpmbuild to detect and report as many errors as possible and not stop after the first error met.

Build lists:
https://abf.rosalinux.ru/build_lists/1121694
https://abf.rosalinux.ru/build_lists/1121695

Theoretically, this change affects rpmbuild only ()and only builds that stop with errors), but it's better to check that no other rpm components are affected.
Comment 2 Vladimir Potapov 2013-06-11 18:12:19 MSD
rpm-build-5.4.10-11-rosa2012.1
******************** Advisory ********************
Improved rpmbuild to detect and report as many errors as possible and not stop after the first error met.
**************************************************
QA Verified