From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#38055: patchelf: Assertion failed when setting interpreter Date: Tue, 05 Nov 2019 15:12:23 +0100 Message-ID: <87muda1kfs.fsf@gnu.org> References: <20191104045614.GI17621@sax.terramar.selidor.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:47817) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iRzZz-0001PV-18 for bug-guix@gnu.org; Tue, 05 Nov 2019 09:13:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iRzZx-0005c9-Kr for bug-guix@gnu.org; Tue, 05 Nov 2019 09:13:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57414) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iRzZx-0005c1-HW for bug-guix@gnu.org; Tue, 05 Nov 2019 09:13:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iRzZu-0006q8-FM for bug-guix@gnu.org; Tue, 05 Nov 2019 09:13:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20191104045614.GI17621@sax.terramar.selidor.net> (Ivan Vilata i. Balaguer's message of "Sun, 3 Nov 2019 23:56:14 -0500") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ivan Vilata i Balaguer Cc: 38055@debbugs.gnu.org Hi Ivan, Ivan Vilata i Balaguer skribis: > Hi, I'm using patchelf 0.8 from Guix commit 7f81cce3 on Debian Sid. When > trying to patch the `go` binary from > , I get the followi= ng > error: > > ivan@sax /tmp/tmps2Cv6w [env]$ patchelf --print-interpreter $SHELL > /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/lib/ld-linux-x= 86-64.so.2 > ivan@sax /tmp/tmps2Cv6w [env]$ patchelf --set-interpreter $(patchelf = --print-interpreter $SHELL) /tmp/tmps2Cv6w/golang/bin/go > patchelf: patchelf.cc:701: void ElfFile::rewriteSectionsExecutable() \ > [with Elf_Ehdr =3D Elf64_Ehdr; Elf_Phdr =3D Elf64_Phdr; Elf_Shdr =3D= Elf64_Shdr; Elf_Addr =3D long unsigned int; Elf_Off =3D long unsigned int;= \ > Elf_Dyn =3D Elf64_Dyn; Elf_Sym =3D Elf64_Sym]: Assertion `(off_t) rd= i(hdr->e_shoff) >=3D startOffset' failed. > Aborted I think it=E2=80=99s a bug you should report upstream to the PatchELF maintainers; it=E2=80=99s probably not Guix-specific. Thanks, Ludo=E2=80=99.