[Bug default/19262] make abipkgdiff support taking just two directories that contain packages and debuginfo

dodji at redhat dot com sourceware-bugzilla@sourceware.org
Thu Jan 1 00:00:00 GMT 2015


https://sourceware.org/bugzilla/show_bug.cgi?id=19262

--- Comment #1 from dodji at redhat dot com ---
Some more thoughts, courtesy of Matthieu Bridon.  I am attaching his comments
here, so that I can forget them in peace :-)

So, from a Fedora packager perspective, one thing that would be neat would be
to be able to write:

 abipkgdiff --from f23./libcurl-X.Y-Z.fc23.x86_64.rpm

This would connect to koji, download the Fedora 23 version of libcurl, along
with its debug info package and compare its ABI with the one of the
./libcurl-X.Y-Z.fc23.x86_64.rpm package that I have just built locally.  The
program would also guess the name of the debug info package associated with
libcurl-X.Y-Z.fc23.x86_64.rpm and look for it locally.

Note that the name of the debug info package is usually the name of the srpm,
with "-debuginfo" appended.  To get the name of the srpm, one would do:

  $ rpm -q --qf="%{SOURCERPM}\n" libcurl
  curl-7.43.0-4.fc23.src.rpm
  $

Another neat thing to write would be:

  abipkgdiff --from f23 --to f24 libcurl

That would compare the ABI of the libcurl package, using the versions of Fedora
23 and Fedora 24 in particular.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libabigail mailing list