Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patchelf: add patch: false alarm for non overlapping sections #106340

Closed
wants to merge 1 commit into from

Commits on Dec 10, 2020

  1. patchelf: add patch: false alarm for non overlapping sections

    Starting with version 0.12, patchelf sometimes returns
    an error complaining about overlapping sections:
    
    > unsupported overlap of SHT_NOTE and PT_NOTE
    
    This issue was reported for tsm-client:
    
    NixOS#106257
    
    There is a patch available in this pull request:
    
    NixOS/patchelf#230
    
    This patch fixes tsm-client, maybe other packages as well.
    
    This commit adds the patch to the nixpkgs patchelf build recipe.
    
    Note that the patch may also be downloaded directly here:
    
    https://github.com/NixOS/patchelf/pull/230.patch
    
    However, in contrast to common nixpkgs policy,
    the patch is not fetched with fetchpatch,
    but is copied directly into nixpkgs tree.
    This is necessary because patchelf
    is a dependency of fetchpatch.
    See also the note at the top of the patchelf build recipe
    in pkgs/development/tools/misc/patchelf/default.nix .
    Yarny0 committed Dec 10, 2020
    Configuration menu
    Copy the full SHA
    f9d5e1c View commit details
    Browse the repository at this point in the history