From unknown Sat Jun 14 05:33:44 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#32670] [PATCH] gnu: Add libabigail. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 09 Sep 2018 12:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 32670 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 32670@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15364949572973 (code B ref -1); Sun, 09 Sep 2018 12:10:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Sep 2018 12:09:17 +0000 Received: from localhost ([127.0.0.1]:50876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fyyWj-0000ls-Df for submit@debbugs.gnu.org; Sun, 09 Sep 2018 08:09:17 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fyyWh-0000lf-RE for submit@debbugs.gnu.org; Sun, 09 Sep 2018 08:09:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fyyWb-0004sk-FK for submit@debbugs.gnu.org; Sun, 09 Sep 2018 08:09:10 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:49031) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fyyWb-0004rv-AD for submit@debbugs.gnu.org; Sun, 09 Sep 2018 08:09:09 -0400 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 mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sun, 09 Sep 2018 08:09:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= date:from:message-id:subject:to:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=JsYg9f4uu1h6hNPzdOn5EgETw/Pj8B32gzaB/dG8U h0=; b=XmBXM9llE8fcah3YIMPm2kQc0SOY2N9dutsagJ+Gl+1sEwV7ldIDE5iY2 WyEvxRVKhwDq5Rcewudei08S2/CnF9bQSERAVm6D834kGFUqI++GBFnXf97wo0EE tamT2aUFYvVG3S5O2LO5u/rNa633svvWjglrAHGpKDHrmorJW9SrBbsADrkU60s8 0p0+LLpOvj/cou600emZAZzAsUmhMZyYQAm9DhT3258gpaE6FLQcmCF6+lkguOLv +efQb84hd0Gz/1lRU6B7MQvJPKDYaZyibRlfAQyYQNTCAmqNAJ9WwxgazHNX4Rxf 6ZOQsa8e5GDnfIK7sxxsv+q8Fb8Ew== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=date:from:message-id:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=JsYg9f4uu1h6hNPzd On5EgETw/Pj8B32gzaB/dG8Uh0=; b=jiTwCuImmKpoc3dosQ28kdaxGSUWBKgd+ J7k5kj47ywZdaJFVZFZLuIZvVjMR/aMpirjVOCDflB4QCGbKZww7aVPfMNCfbv8a VT4DiQHzeBdDq5IAGubyMIZRvr/o0jBOlcqVRDmBHHgK9uoRwucqwjrnFfC1b57a 980suWxoqvvu006YqExMVml8SNxIIVew3AAXMltEU6HMERQCo9S41WmHZlqryYag q31dIRQ9vdPiENHOU6V9BQcpRHirqODGQzSMtKHHzuSYnEKCui1PMKcnAeIUJKer 8aTfcKqX+cNr+D+9pvMbY/3CEGGGaDehHbSIYiPPDIMRxx+OI2mOw== X-ME-Proxy: X-ME-Sender: 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> X-Mailer: git-send-email 2.18.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.4 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.4 (-----) * 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 From unknown Sat Jun 14 05:33:44 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#32670] [PATCH] gnu: Add libabigail. Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 10 Sep 2018 13:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32670 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Marius Bakke Cc: 32670@debbugs.gnu.org Received: via spool by 32670-submit@debbugs.gnu.org id=B32670.15365863213607 (code B ref 32670); Mon, 10 Sep 2018 13:32:01 +0000 Received: (at 32670) by debbugs.gnu.org; 10 Sep 2018 13:32:01 +0000 Received: from localhost ([127.0.0.1]:51903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzMIK-0000w7-Ps for submit@debbugs.gnu.org; Mon, 10 Sep 2018 09:32:00 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56745) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzMII-0000vs-V9 for 32670@debbugs.gnu.org; Mon, 10 Sep 2018 09:31:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzMI9-00062H-Ai for 32670@debbugs.gnu.org; Mon, 10 Sep 2018 09:31:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38896) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzMI9-00062A-6a; Mon, 10 Sep 2018 09:31:49 -0400 Received: from [193.50.110.124] (port=42836 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fzMI8-000362-Rk; Mon, 10 Sep 2018 09:31:49 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20180909120900.9546-1-mbakke@fastmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 24 Fructidor an 226 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 10 Sep 2018 15:31:47 +0200 In-Reply-To: <20180909120900.9546-1-mbakke@fastmail.com> (Marius Bakke's message of "Sun, 9 Sep 2018 14:09:00 +0200") Message-ID: <87y3c9eaws.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Hi Marius, Marius Bakke skribis: > * gnu/packages/linux.scm (libabigail): New public variable. I think this shouldn=E2=80=99t go in linux.scm because it=E2=80=99s unrelat= ed to Linux. What about elf.scm instead? > Look at this tool I found: >=20=20=20=20=20 > $ abidiff /gnu/store/qx0hmn4scjd31w1nj4dr7hzr566gcls4-ghostscript-9.2= 3/lib/libgs.so /gnu/store/l60v1b0xs8h9blzzf7b2m4ry55k76bhb-ghostscript-9.24= /lib/libgs.so Yeah it=E2=80=99s basically awesome. :-) > + (synopsis "Analyze Application Binary Interfaces") What about =E2=80=9CAnalyze application binary interfaces (ABIs)=E2=80=9D? Other than that LGTM, thank you! Ludo=E2=80=99. From unknown Sat Jun 14 05:33:44 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Marius Bakke Subject: bug#32670: closed (Re: [bug#32670] [PATCH] gnu: Add libabigail.) Message-ID: References: <87pnxlcid0.fsf@fastmail.com> <20180909120900.9546-1-mbakke@fastmail.com> X-Gnu-PR-Message: they-closed 32670 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 32670@debbugs.gnu.org Date: Mon, 10 Sep 2018 18:34:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1536604442-20486-1" This is a multi-part message in MIME format... ------------=_1536604442-20486-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #32670: [PATCH] gnu: Add libabigail. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 32670@debbugs.gnu.org. --=20 32670: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D32670 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1536604442-20486-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 32670-done) by debbugs.gnu.org; 10 Sep 2018 18:33:52 +0000 Received: from localhost ([127.0.0.1]:35743 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzR0R-0005K2-K9 for submit@debbugs.gnu.org; Mon, 10 Sep 2018 14:33:51 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:51459) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzR0Q-0005Jv-A6 for 32670-done@debbugs.gnu.org; Mon, 10 Sep 2018 14:33:50 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id DDFF721CE2; Mon, 10 Sep 2018 14:33:49 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Mon, 10 Sep 2018 14:33:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=U+iy2BnkFqjDqNR4EkFKrWHNpM9dmhBRJzd/O6D5390=; b=PvGZuRxr q4Eg9IHcDiFm7bRvIKBII9RU0hjXa07O7eYZZH/1ITyjHDp19pZfWXFXti+Pr8ud tGFBvVHj+1/2pPH15tyKhVT8Py8DPNmgn8eYQwpkelNxGNIc4i5msNMhwtUXvYGd VdgsZpOIKOSKOs+N7tx6xIf23wfDOCQ+4LA7FBBTWK2JGZa22UUn/4i6ZfL+aPy4 S9FeDlKg76rIQx7HWnLzeEtam0Wsr4DKMEX/kTEyk12ZEOkdssh/31q9Bh+cGTMp 5ijUUU0J4Y3vIIkohb10AGLPrLdBjfmofmNLsvqqk8Ulte8+nl/2fR/l+tk2Ts6E 8XkEkfLwuNFdfQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=U+iy2BnkFqjDqNR4EkFKrWHNpM9dm hBRJzd/O6D5390=; b=uNs0tlfoDhO2zblYvM8T1PqZNBei7XF0IygY9eqE/fgJ9 s7abiHbIYn3A8x8BaKpHFkJ8jWmi5T3396zakm/K04yzdlsYYFCmqlTjC5nsAbXQ gzTvO7aJGi4qiLr/D+bapa9rUKUNQYvRqkZXc40aSfVpoLTCW1mSO+JAx8q2BNuN oE1dmGxcYUBFi85X1NKuD0FLT47dHMhpMygghtsjjtwWbTLWniIrwungsi4wIfZ+ 8fWUh1N9y/zNM0fM3ekaOJ6Rb+dv5oTTTLzKV//bq+m8SKYYHdX8PC2u/A0WU4E4 AJ25unKMsU+5uvr3unPDyAeBKn5c5X0OB+T9Gvr8g== X-ME-Proxy: X-ME-Sender: Received: from localhost (140.226.16.62.customer.cdi.no [62.16.226.140]) by mail.messagingengine.com (Postfix) with ESMTPA id 447D81029E; Mon, 10 Sep 2018 14:33:49 -0400 (EDT) From: Marius Bakke To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#32670] [PATCH] gnu: Add libabigail. In-Reply-To: <87y3c9eaws.fsf@gnu.org> References: <20180909120900.9546-1-mbakke@fastmail.com> <87y3c9eaws.fsf@gnu.org> User-Agent: Notmuch/0.27 (https://notmuchmail.org) Emacs/26.1 (x86_64-pc-linux-gnu) Date: Mon, 10 Sep 2018 20:33:47 +0200 Message-ID: <87pnxlcid0.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32670-done Cc: 32670-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Marius Bakke skribis: > >> * gnu/packages/linux.scm (libabigail): New public variable. > > I think this shouldn=E2=80=99t go in linux.scm because it=E2=80=99s unrel= ated to Linux. > What about elf.scm instead? That makes sense. >> + (synopsis "Analyze Application Binary Interfaces") > > What about =E2=80=9CAnalyze application binary interfaces (ABIs)=E2=80=9D? Yes, that's better. Pushed with these changes, plus documentation and bash completions! Thanks for reviewing, as always. :-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAluWuQsACgkQoqBt8qM6 VPp+vgf9EAon8GVpncD/2y61VY2/s56GGHXP7GT22MmGXJDPn8m7Kr9LOupBU4de /HIAwckYSFyElrpoAb2DZPe5aA8FEmf4pjWof4IwVWTiBobRsnoZObV6BjaIcB6M zC2iUdS9eLquwkM/1yg8a0RbxQjNHlLdJXbDUImnSNAASSFjI6ts4xO2QAR64fvJ eoK/f4kr565qU2IYB081fWW8LFLFGz8GlfTMlyMx2YJTDrmUUpfYHduS2pyVDnPq 0ssCvwgWKW0TpGFCw9Dket3uQIm2Jtb43f2jg+132fhgWLzBbd6wu7wTy3tqghBd ZdGOdwLjFSTQeLw3l9GzvkwnerRd0Q== =BAfj -----END PGP SIGNATURE----- --=-=-=-- ------------=_1536604442-20486-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 9 Sep 2018 12:09:17 +0000 Received: from localhost ([127.0.0.1]:50876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fyyWj-0000ls-Df for submit@debbugs.gnu.org; Sun, 09 Sep 2018 08:09:17 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fyyWh-0000lf-RE for submit@debbugs.gnu.org; Sun, 09 Sep 2018 08:09:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fyyWb-0004sk-FK for submit@debbugs.gnu.org; Sun, 09 Sep 2018 08:09:10 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:49031) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fyyWb-0004rv-AD for submit@debbugs.gnu.org; Sun, 09 Sep 2018 08:09:09 -0400 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 mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sun, 09 Sep 2018 08:09:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= date:from:message-id:subject:to:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=JsYg9f4uu1h6hNPzdOn5EgETw/Pj8B32gzaB/dG8U h0=; b=XmBXM9llE8fcah3YIMPm2kQc0SOY2N9dutsagJ+Gl+1sEwV7ldIDE5iY2 WyEvxRVKhwDq5Rcewudei08S2/CnF9bQSERAVm6D834kGFUqI++GBFnXf97wo0EE tamT2aUFYvVG3S5O2LO5u/rNa633svvWjglrAHGpKDHrmorJW9SrBbsADrkU60s8 0p0+LLpOvj/cou600emZAZzAsUmhMZyYQAm9DhT3258gpaE6FLQcmCF6+lkguOLv +efQb84hd0Gz/1lRU6B7MQvJPKDYaZyibRlfAQyYQNTCAmqNAJ9WwxgazHNX4Rxf 6ZOQsa8e5GDnfIK7sxxsv+q8Fb8Ew== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=date:from:message-id:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=JsYg9f4uu1h6hNPzd On5EgETw/Pj8B32gzaB/dG8Uh0=; b=jiTwCuImmKpoc3dosQ28kdaxGSUWBKgd+ J7k5kj47ywZdaJFVZFZLuIZvVjMR/aMpirjVOCDflB4QCGbKZww7aVPfMNCfbv8a VT4DiQHzeBdDq5IAGubyMIZRvr/o0jBOlcqVRDmBHHgK9uoRwucqwjrnFfC1b57a 980suWxoqvvu006YqExMVml8SNxIIVew3AAXMltEU6HMERQCo9S41WmHZlqryYag q31dIRQ9vdPiENHOU6V9BQcpRHirqODGQzSMtKHHzuSYnEKCui1PMKcnAeIUJKer 8aTfcKqX+cNr+D+9pvMbY/3CEGGGaDehHbSIYiPPDIMRxx+OI2mOw== X-ME-Proxy: X-ME-Sender: 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 To: guix-patches@gnu.org Subject: [PATCH] gnu: Add libabigail. Date: Sun, 9 Sep 2018 14:09:00 +0200 Message-Id: <20180909120900.9546-1-mbakke@fastmail.com> X-Mailer: git-send-email 2.18.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.4 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.4 (-----) * 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 ------------=_1536604442-20486-1--