From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#32894: Exception in validate-runpath phase Date: Mon, 08 Oct 2018 14:21:46 +0200 Message-ID: <87bm8439yd.fsf@gnu.org> References: <877ej0o7ht.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56869) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9UZ0-0001aQ-Pq for bug-guix@gnu.org; Mon, 08 Oct 2018 08:23:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9UYw-0008Ad-Ll for bug-guix@gnu.org; Mon, 08 Oct 2018 08:23:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:35694) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g9UYw-0008AR-97 for bug-guix@gnu.org; Mon, 08 Oct 2018 08:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g9UYw-0004nz-4H for bug-guix@gnu.org; Mon, 08 Oct 2018 08:23:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (Julien Lepiller's message of "Wed, 03 Oct 2018 10:14:21 +0200") 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: Julien Lepiller Cc: 32894@debbugs.gnu.org Hello, Julien Lepiller skribis: > Le 2018-10-02 14:31, ludo@gnu.org a =C3=A9crit=C2=A0: >> Hello Julien, >> >> [...] >> >> Then again, these are =E2=80=9C.debuginfo=E2=80=9D files so perhaps they= are the result >> of home-made ELF stripping (we don=E2=80=99t have this problem with =E2= =80=9C.debug=E2=80=9D >> files created with objcopy & co.). >> >> I can see two short-term =E2=80=9Csolutions=E2=80=9D: >> >> 1. Remove those .debuginfo files prior to the =E2=80=98validate-runpat= h=E2=80=99 >> phase. >> >> 2. Set #:validate-runpath? #f. >> >> Could you check in your build logs how those .debuginfo files are >> produced? >> >> HTH! >> >> Ludo=E2=80=99. > > As a workaround, I found that passing > --with-native-debug-symbols=3Dzipped to the configure script allowed > validate-runpath to complete successfully. This option is documented > as the prefered value for distributions, so I think it's a good thing > to have. I creates zipped versions of these .debuginfo files, so > validate-runpath doesn't look at them. Hmm OK. :-) Is it the files that are zipped, or just .debug sections that are gzipped? (Binutils, GDB, etc. support the latter.) > There is no mention of debuginfo until the install phase in my build > log, so I don't know how they are built. OK. Thanks, Ludo=E2=80=99.