17/02/2020 14:59, David Marchand: > libabigail 1.2 (at least) reports changes in 'const' property as an ABI > breakage [1]. > This was fixed upstream in libabigail 1.4 [2], and a bug has been opened > in launchpad [3]. > > But for now, build and use the last version 1.6 so that the ABI checks > can be kept. > > 1: https://travis-ci.com/DPDK/dpdk/jobs/287872118#L2242 > 2: > https://sourceware.org/git/gitweb.cgi?p=libabigail.git;a=commitdiff;h=215b7eb4fe8b986fe1cc87d9d8e7412998038392 > 3: https://bugs.launchpad.net/ubuntu/+source/libabigail/+bug/1863607 > > Signed-off-by: David Marchand <david.march...@redhat.com> > --- > + > LIBABIGAIL_REPO=${LIBABIGAIL_REPO:-https://sourceware.org/git/libabigail.git} > + LIBABIGAIL_VERSION=${LIBABIGAIL_VERSION:-libabigail-1.6} > + > + if [ "$(cat libabigail/VERSION 2>/dev/null)" != "$LIBABIGAIL_VERSION" ]; > then > + rm -rf libabigail > + # if we change libabigail, invalidate existing abi cache > + rm -rf reference > + fi > + > + if [ ! -d libabigail ]; then > + git clone --single-branch -b $LIBABIGAIL_VERSION $LIBABIGAIL_REPO > libabigail/src > + cd libabigail/src && autoconf -vfi && cd - > + mkdir libabigail/src/build > + cd libabigail/src/build && ../configure --prefix=$(pwd)/libabigail > && cd - > + make -C libabigail/src/build all install > + > + rm -rf libabigail/src > + echo $LIBABIGAIL_VERSION > libabigail/VERSION > + fi
Can we avoid compiling libabigail ourself? Is there an up-to-date Ubuntu package somewhere?