From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Lepiller Subject: bug#32894: Exception in validate-runpath phase Date: Wed, 03 Oct 2018 10:14:21 +0200 Message-ID: References: <877ej0o7ht.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38551) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g7cJG-0006HK-HC for bug-guix@gnu.org; Wed, 03 Oct 2018 04:15:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g7cJC-0004I9-Ly for bug-guix@gnu.org; Wed, 03 Oct 2018 04:15:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:58854) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g7cJC-0004Hw-Fs for bug-guix@gnu.org; Wed, 03 Oct 2018 04:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g7cJC-00073N-8a for bug-guix@gnu.org; Wed, 03 Oct 2018 04:15:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <877ej0o7ht.fsf@gnu.org> 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: 32894@debbugs.gnu.org Le 2018-10-02 14:31, ludo@gnu.org a écrit : > Hello Julien, > > [...] > > Then again, these are “.debuginfo” files so perhaps they are the result > of home-made ELF stripping (we don’t have this problem with “.debug” > files created with objcopy & co.). > > I can see two short-term “solutions”: > > 1. Remove those .debuginfo files prior to the ‘validate-runpath’ > phase. > > 2. Set #:validate-runpath? #f. > > Could you check in your build logs how those .debuginfo files are > produced? > > HTH! > > Ludo’. As a workaround, I found that passing --with-native-debug-symbols=zipped 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. There is no mention of debuginfo until the install phase in my build log, so I don't know how they are built.