Add "abi-check" target to the makefile
Bug #915287 reported by
Andrey Ponomarenko
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
RPM |
Incomplete
|
Undecided
|
Andrey Ponomarenko |
Bug Description
I suggest to add "abi-check" and "abi-dump" targets to the makefile to be able to check API/ABI compatibility of librpm. The "abi-dump" target is for creating of reference ABI dump of a stable RPM version, which will be saved in CVS. The "abi-check" target is for checking of the latest version for compatibility with an old one.
Makefiles to be changed:
lib/
rpmio/
rpmdb/
build/
The following XML-descriptors should be used as input for basic abi-compliance-
lib/auto/desc
rpmio/auto/desc
rpmdb/auto/desc
build/auto/desc
description: | updated |
Changed in rpm: | |
milestone: | 5.4.6 → 5.4.7 |
Changed in rpm: | |
milestone: | 5.4.7 → 5.4.8 |
status: | In Progress → Incomplete |
Changed in rpm: | |
importance: | Low → Wishlist |
Changed in rpm: | |
importance: | Wishlist → Undecided |
To post a comment you must log in.
The "abi-check" target is essentially already wired into RPM lib/build directories. So
because of
SUBDIRS = auto
in the rpmio/rpmdb/
make check
recurses into each auto sub-directory. Its easy enough to add
abi-check: check
rules if there is a need to have an explicit "make abi-check". I typically
do
cd rpmio/auto
make check
instead.
Lemme look at the "abi-dump: target. I've never actually tried the ABI compliance
checker because of the statefulness of the data between versions.