public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/patchelf/
Date: Mon, 26 Mar 2018 21:01:00 +0000 (UTC)	[thread overview]
Message-ID: <1522097983.f10514362218c557f2cb0aff2c1790094c8ae655.chewi@gentoo> (raw)

commit:     f10514362218c557f2cb0aff2c1790094c8ae655
Author:     Nikos Chantziaras <realnc <AT> gmail <DOT> com>
AuthorDate: Mon Mar 26 15:36:23 2018 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Mon Mar 26 20:59:43 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1051436

dev-util/patchelf: git snapshot version bump to 0.9_p20180129

Current (0.9) version of patchelf fails to update the .gnu.version_r section of
binary executables when patching them, resulting in the executable being unable
to run:

    $ patchelf --replace-needed "libcurl-gnutls.so.4" "libcurl.so.4" my_binary
    $ ./my_binary
    Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions:
    Assertion `needed != ((void *)0)' failed!

This has been fixed by upstream a couple years ago, but patchelf has not done a
new release since then. This version bump grabs a Git snapshot.

Closes: https://bugs.gentoo.org/651600
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Closes: https://github.com/gentoo/gentoo/pull/7625

 dev-util/patchelf/Manifest                      |  1 +
 dev-util/patchelf/patchelf-0.9_p20180129.ebuild | 26 +++++++++++++++++++++++++
 2 files changed, 27 insertions(+)

diff --git a/dev-util/patchelf/Manifest b/dev-util/patchelf/Manifest
index 9c4a653bc3e..c05694b07e2 100644
--- a/dev-util/patchelf/Manifest
+++ b/dev-util/patchelf/Manifest
@@ -1,2 +1,3 @@
 DIST patchelf-0.8.tar.bz2 119369 BLAKE2B bfe7dceea9a79845c61bc7490faad5cd4d5e83bc0be4ec7e3b19fbed91ecb7d15e0a0688d4914731b94f0522c80ea9f940b6a8ad5595931df8826ef43f2fd209 SHA512 819ace0ee032612e8bef56f230ea470be9d44bc03ef561f98ffac84f2555e419f87309280df6d265a8ae56452e54d46fc90be13a449847e93e4e7b413dc8605a
 DIST patchelf-0.9.tar.bz2 159956 BLAKE2B 7e8543a98aa683eeafacfb836a02ad7cf2fb52409b0780edb614e30edc66f8f356a9bd19e133b185861fe9c6ae0e4868b0b307c174610eef80e3446610f76bcb SHA512 5bd3a1268b809f173debde5d34c3f736f38d7afb69decf609a422884c51eb1d5ccf62f2d454d4ef8b2c20e263ece49e3c2f801347ef1dfcceecd89c78a214790
+DIST patchelf-0.9_p20180129.tar.gz 99490 BLAKE2B a5372942f7f400085a1d5e15701a25f916012ae6afc90cc3065aebf6fd0fc7cae3a626496cae4a7ce7320e5c954b0b11a14defae0bacf3350bf6b201db952eb5 SHA512 eabeb34dbef68dc6e79374f46bdbe473ca3c21515962c684f3368fdf7a1dbea75ec152fdb7796f9d22c2f40da25e3f9c181cd1a29e52fbe5843a8cd02acb2c75

diff --git a/dev-util/patchelf/patchelf-0.9_p20180129.ebuild b/dev-util/patchelf/patchelf-0.9_p20180129.ebuild
new file mode 100644
index 00000000000..0efbab73c0a
--- /dev/null
+++ b/dev-util/patchelf/patchelf-0.9_p20180129.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools vcs-snapshot
+
+DESCRIPTION="Small utility to modify the dynamic linker and RPATH of ELF executables"
+HOMEPAGE="http://nixos.org/patchelf.html"
+COMMIT=1fa4d36fead44333528cbee4b5c04c207ce77ca4
+SRC_URI="https://github.com/NixOS/${PN^}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+LICENSE="GPL-3"
+
+src_prepare() {
+	default
+	rm src/elf.h || die
+
+	sed -i \
+		-e 's:-Werror::g' \
+		-e 's:parallel-tests:serial-tests:g' \
+		configure.ac || die
+
+	eautoreconf
+}


             reply	other threads:[~2018-03-26 21:01 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-26 21:01 James Le Cuirot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-26 20:17 [gentoo-commits] repo/gentoo:master commit in: dev-util/patchelf/ Ionen Wolkens
2023-11-10  5:47 Viorel Munteanu
2023-08-24 21:42 James Le Cuirot
2023-08-24 21:42 James Le Cuirot
2023-08-24 21:42 James Le Cuirot
2023-08-24 18:09 Arthur Zamarin
2023-08-02  4:27 Sam James
2023-06-18 22:17 James Le Cuirot
2023-06-17 22:48 Sam James
2023-06-17  3:55 Sam James
2023-06-17  3:55 Sam James
2023-06-17  2:49 Sam James
2023-06-17  2:49 Sam James
2023-06-17  2:49 Sam James
2023-06-16 13:47 Arthur Zamarin
2023-04-23 18:37 James Le Cuirot
2023-04-23 18:21 James Le Cuirot
2023-01-13 23:33 James Le Cuirot
2022-12-24 17:21 James Le Cuirot
2022-12-24  2:01 Sam James
2022-12-24  1:46 Sam James
2022-12-24  1:46 Sam James
2022-12-24  1:46 Sam James
2022-12-24  1:46 Sam James
2022-12-24  1:46 Sam James
2022-12-24  1:46 Sam James
2022-11-14  9:24 Arthur Zamarin
2022-11-08 22:52 James Le Cuirot
2022-10-29 13:32 James Le Cuirot
2022-10-29 13:32 James Le Cuirot
2022-10-25  8:07 Sam James
2022-10-25  8:07 Sam James
2022-10-24  6:37 Agostino Sarubbo
2022-10-23  7:52 Agostino Sarubbo
2022-10-23  7:52 Agostino Sarubbo
2022-10-23  7:51 Agostino Sarubbo
2022-10-09 16:10 Sam James
2022-10-09  0:04 Sam James
2022-07-22  7:31 James Le Cuirot
2022-07-16 22:43 James Le Cuirot
2022-07-16 22:42 James Le Cuirot
2022-03-21 21:48 James Le Cuirot
2022-03-21  9:18 Jakov Smolić
2022-03-21  7:50 Agostino Sarubbo
2022-03-21  7:48 Agostino Sarubbo
2022-03-21  7:48 Agostino Sarubbo
2022-03-21  7:47 Agostino Sarubbo
2022-02-26 23:30 James Le Cuirot
2022-02-26 23:30 James Le Cuirot
2021-12-16 23:19 James Le Cuirot
2021-12-16 23:19 James Le Cuirot
2021-08-22  9:43 James Le Cuirot
2021-08-22  9:43 James Le Cuirot
2020-08-29 19:57 James Le Cuirot
2020-08-18 22:31 James Le Cuirot
2019-11-22 21:29 Aaron Bauman
2019-11-20 13:23 Agostino Sarubbo
2019-11-20 13:21 Agostino Sarubbo
2019-11-20 11:27 Agostino Sarubbo
2019-11-20 11:21 Agostino Sarubbo
2019-07-29 13:04 Aaron Bauman
2019-05-03 20:45 James Le Cuirot
2019-03-30  0:06 James Le Cuirot
2019-03-30  0:06 James Le Cuirot
2019-01-21 22:57 James Le Cuirot
2017-12-20 21:53 Sergei Trofimovich
2016-03-17 22:41 James Le Cuirot
2016-03-15  7:06 James Le Cuirot
2016-01-08  9:42 James Le Cuirot
2015-11-22 15:16 James Le Cuirot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1522097983.f10514362218c557f2cb0aff2c1790094c8ae655.chewi@gentoo \
    --to=chewi@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox