On Qui, 2013-07-11 at 12:49 +0400, Andrey Ponomarenko wrote:
Sérgio Basto wrote:
On Qui, 2013-07-04 at 16:47 +0400, Andrey Ponomarenko wrote:
Starting with 1.6 version of pkgdiff if you compare debug packages and add --details option on the command line then the tool will automatically run abi-dumper to dump ABI of old and new shared objects found in the packages and then compare them by the abi-compliance-checker tool.
hum , so pkgdiff -details doesn't use abi-compliance-checker without abi-dumper installed ?
Yes, it doesn't. Detailed checks of ABI changes in shared objects will be disabled in this case. They are enabled only if you install both tools and compare appropriate debug-info RPM packages.
ah ABI Status, just appears when we compare debuginfo packages (with -details )
pkgdiff x264-0.130-3.20130502git1db4621.fc20.i686.rpm x264-0.133-1.20130709git585324f.fc20.i686.rpm -details ERROR: cannot find ABI Dumper reading packages ... comparing packages ... creating changes report ... result: CHANGED (18.4%) see detailed report:
pkgdiff_reports/x264/0.130-3.20130502git1db4621.fc20_to_0.133-1.20130709git585324f.fc20/changes_report.html
Total Objects (with debug-info) 2 ABI Compatibility 70.8%
Cool thanks,
pkgdiff print some errors [1] are you interested in reports ?
[1] pkgdiff x264-debuginfo-0.130-3.20130502git1db4621.fc20.i686.rpm x264-debuginfo-0.133-1.20130709git585324f.fc20.i686.rpm -details reading packages ... comparing packages ... Compare ABIs of x264 (0.8M) ... ERROR: missed type id 130179 ERROR: missed type id 131954 ERROR: missed type name (82925) ERROR: missed type id 23828 ERROR: missed type id 132137 ERROR: missed type id 47285 ERROR: missed type id 47358 ERROR: missed type id 6333 ERROR: missed type id 134805 ERROR: missed type id 131958 ERROR: missed type id 134661 Compare ABIs of libx264.so.130 (2.3M) ... ERROR: Failed to run ABI Compliance Checker (7) Compare ABIs of libx26410b.so.130 (2.2M) ... ERROR: Failed to run ABI Compliance Checker (7) Compare ABIs of libx264.so.130 (2.4M) ... ERROR: missed type id 36143 creating changes report ... result: CHANGED (97.1%) see detailed report:
pkgdiff_reports/x264-debuginfo/0.130-3.20130502git1db4621.fc20_to_0.133-1.20130709git585324f.fc20/changes_report.html