GNU bug report logs - #38055
patchelf: Assertion failed when setting interpreter

Previous Next

Package: guix;

Reported by: Ivan Vilata i Balaguer <ivan <at> selidor.net>

Date: Mon, 4 Nov 2019 04:58:01 UTC

Severity: normal

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


Message #37 received at 38055-done <at> debbugs.gnu.org (full text, mbox):

From: Ivan Vilata i Balaguer <ivan <at> selidor.net>
To: Ivan Vilata i Balaguer <ivan <at> selidor.net>
Cc: Ludovic Courtès <ludo <at> gnu.org>,
 Efraim Flashner <efraim <at> flashner.co.il>, 38055-done <at> debbugs.gnu.org
Subject: Re: none
Date: Tue, 12 Nov 2019 00:19:31 -0500
Ivan Vilata i Balaguer (2019-11-11 10:10:10 -0500) wrote:

> Efraim Flashner (2019-11-11 11:27:30 +0200) wrote:
> 
> > Some inline comments added. Patch pushed.
> 
> […] I'll try to find a moment to test your patch and see if the `ipfs`
> binary doesn't segfault, then report back. […]

I tried your patch, the following command in a pure container environment:

    $ patchelf --set-interpreter "$(patchelf --print-interpreter /bin/sh)" /path/to/bin/go

does not trigger the assertion error (both `--set-interpreter` and
`--set-rpath` suffered from the same failure), and the resulting `go` binary
can be executed without issues.

Thank you very much for fixing this! `:)`

-- 
Ivan Vilata i Balaguer -- https://elvil.net/




This bug report was last modified 5 years and 276 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.