Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651600 - dev-util/patchelf-0.9_p20180129: version bump
Summary: dev-util/patchelf-0.9_p20180129: version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: James Le Cuirot
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-26 15:28 UTC by Nikos Chantziaras
Modified: 2018-03-26 21:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikos Chantziaras 2018-03-26 15:28:38 UTC
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.

(I will be submitting a github PR shortly.)
Comment 1 Larry the Git Cow gentoo-dev 2018-03-26 21:00:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f10514362218c557f2cb0aff2c1790094c8ae655

commit f10514362218c557f2cb0aff2c1790094c8ae655
Author:     Nikos Chantziaras <realnc@gmail.com>
AuthorDate: 2018-03-26 15:36:23 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2018-03-26 20:59:43 +0000

    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(+)