Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.83 KB

6_analysis.md

File metadata and controls

30 lines (23 loc) · 1.83 KB

Build Analysis

Built packages list

A built-packages-summary target checks the build logs and creates a file with a list of packages that have been built locally (which might be different from a list of packages present, e.g. downloaded toolchain packages). The file is used later for sodiff analysis.

Fake list

If no packages has been built, a target fake-built-packages-list can be run to generate a list as if all the packages in the rpm output folder were built locally.

sodiff

sodiff is a process which looks for new versions of .so files and provides a list of packages that need to be rebuilt due to the change.

To provide a list of packages that need to be rebuilt, simply run sodiff-check target. The target will fail if no packages has been built. In that case, one can run fake-built-packages-list target before making a sodiff check. This will allow to analyze all RPMs except just the locally built ones.

Implementation

Artifacts

The artifacts are available in the $(SODIFF_OUTPUT_FOLDER), which is build/sodiff by default. The results of sodiff check are: - summary.txt file, containing a list of source rpm names (without the extension part) of packages that need to be rebuilt due to .so version change, - sodiff.log file, updated throughout the build with names of packages that are currently processed (use tail -f to track progress of the check). - Files following a naming format: require_$SOFILE, where $SOFILE is a full name of a .so file with updated version. It contains a list of packages that depend on that file.