From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52203) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyyXX-00084i-13 for guix-patches@gnu.org; Sun, 09 Sep 2018 08:10:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fyyXT-0007gH-Jh for guix-patches@gnu.org; Sun, 09 Sep 2018 08:10:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:45865) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fyyXT-0007ej-CK for guix-patches@gnu.org; Sun, 09 Sep 2018 08:10:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fyyXT-0000nN-1i for guix-patches@gnu.org; Sun, 09 Sep 2018 08:10:03 -0400 Subject: [bug#32670] [PATCH] gnu: Add libabigail. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyyWZ-0007yW-Th for guix-patches@gnu.org; Sun, 09 Sep 2018 08:09:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fyyWW-0004ej-Fu for guix-patches@gnu.org; Sun, 09 Sep 2018 08:09:07 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:57619) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fyyWW-0004YP-5O for guix-patches@gnu.org; Sun, 09 Sep 2018 08:09:04 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 4A6A521BCD for ; Sun, 9 Sep 2018 08:09:02 -0400 (EDT) Received: from localhost (140.226.16.62.customer.cdi.no [62.16.226.140]) by mail.messagingengine.com (Postfix) with ESMTPA id A85DC10294 for ; Sun, 9 Sep 2018 08:09:01 -0400 (EDT) From: Marius Bakke Date: Sun, 9 Sep 2018 14:09:00 +0200 Message-Id: <20180909120900.9546-1-mbakke@fastmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 32670@debbugs.gnu.org * gnu/packages/linux.scm (libabigail): New public variable. --- Notes: Guix, Look at this tool I found: $ abidiff /gnu/store/qx0hmn4scjd31w1nj4dr7hzr566gcls4-ghostscript-9.23/lib/libgs.so /gnu/store/l60v1b0xs8h9blzzf7b2m4ry55k76bhb-ghostscript-9.24/lib/libgs.so Functions changes summary: 0 Removed, 0 Changed, 0 Added function Variables changes summary: 0 Removed, 0 Changed, 0 Added variable Function symbols changes summary: 2 Removed, 20 Added function symbols not referenced by debug info Variable symbols changes summary: 0 Removed, 2 Added variable symbols not referenced by debug info 2 Removed function symbols not referenced by debug info: cmsChangeBuffersFormat gsicc_profile_reference 20 Added function symbols not referenced by debug info: _cmsAdjustReferenceCount cmsCloneTransformChangingFormats default_subclass_finalize dorestore epo_check_and_install epo_disable gsicc_adjust_profile_rc gsicc_getprofilevers gx_change_color_model gx_get_cmapper opj_j2k_set_decoded_components opj_jp2_set_decoded_components opj_sparse_array_int32_create opj_sparse_array_int32_free opj_sparse_array_int32_read opj_sparse_array_int32_write opj_sparse_array_is_region_valid opj_tcd_is_subband_area_of_interest restore_check_save tiff_open_s 2 Added variable symbols not referenced by debug info: gs_epo_device st_epo_device gnu/packages/linux.scm | 45 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 02d723316..f7aa2eb65 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -1439,6 +1439,51 @@ a router). Since forwarding is done at Layer 2, all protocols can go transparently through a bridge.") (license license:gpl2+))) +(define-public libabigail + (package + (name "libabigail") + (home-page "https://sourceware.org/libabigail/") + (version "1.4") + (source (origin + (method url-fetch) + (uri (string-append "https://sourceware.org/pub/" name + "/" name "-" version ".tar.gz")) + (sha256 + (base32 + "17r8i60lxykvdd9pdidmnvkzgf9k8zman0c1czl3zbx0znhlx497")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags '("--disable-static") + #:make-flags '("V=1") + #:phases (modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda _ + (substitute* "build-aux/ltmain.sh" + ;; Don't add -specs=/usr/lib/rpm/redhat/redhat-hardened-ld + ;; to the GCC command line. + (("compiler_flags=\"-specs=.*") + "compiler-flags=\n")) + #t)) + (add-before 'check 'set-test-environment + (lambda _ + ;; Some tests need a writeable $HOME. + (setenv "HOME" "/tmp") + #t))))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("python" ,python))) ;for tests + (propagated-inputs + `(("elfutils" ,elfutils) ;libabigail.la says -lelf + ("libxml2" ,libxml2))) ;in Requires.private of libabigail.pc + (synopsis "Analyze Application Binary Interfaces") + (description + "@dfn{ABIGAIL} stands for the Application Binary Interface Generic +Analysis and Instrumentation Library. It is a framework which aims at +helping developers and software distributors to spot ABI-related issues +like interface incompatibility in ELF shared libraries by performing a +static analysis of the ELF binaries at hand.") + (license license:lgpl3+))) + (define-public libnl (package (name "libnl") -- 2.18.0