From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Debugging info unavailability Date: Tue, 02 May 2017 12:08:34 +0200 Message-ID: <87d1brk1ul.fsf@gnu.org> References: <20170423020206.41aac1a2@scratchpost.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]:60118) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5Uja-0006bf-Fc for guix-devel@gnu.org; Tue, 02 May 2017 06:08:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d5UjV-00006K-I4 for guix-devel@gnu.org; Tue, 02 May 2017 06:08:42 -0400 In-Reply-To: <20170423020206.41aac1a2@scratchpost.org> (Danny Milosavljevic's message of "Sun, 23 Apr 2017 02:02:06 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Danny Milosavljevic Cc: guix-devel@gnu.org Hi, Danny Milosavljevic skribis: > just now I had to debug a doxygen Segmentation Fault. I tried to install= doxygen:debug but that wasn't available. > > I think it would be nice if these outputs were available by default (but = not installed by default). Yeah, on of the reasons this is currently opt-in is disk space on hydra, as noted in the manual (info "(guix) Installing Debugging Files"). There=E2=80=99s also the fact that packages that do not use the GNU build s= ystem will most likely not produce debugging info out of the box, so adding =E2=80=9Cdebug=E2=80=9D automatically may break many packages. > If we wanted to do that, we could just adapt guix/build-system/cmake.scm,= guix/build-system/gnu.scm and guix/build-system/glib-or-gtk.scm outputs de= fault to say '("out" "debug") instead of '("out"). Rather we should change the default value of the =E2=80=98outputs=E2=80=99 = field of . The problem is that we=E2=80=99d have to add a line like: (outputs '("out")) to all the packages that do not provide debugging symbols (such as Perl/Python/Ruby packages), which could be a lot of them. Or we could provide: (define-syntax-rule (package/no-debug fields ...) (package (outputs '("out")) fields ...)) Thoughts? Ludo=E2=80=99.