From: ludo@gnu.org (Ludovic Courtès)
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: Debugging info unavailability
Date: Tue, 02 May 2017 23:16:23 +0200 [thread overview]
Message-ID: <87pofr0xjs.fsf@gnu.org> (raw)
In-Reply-To: <87shknnrfm.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 02 May 2017 09:39:57 -0700")
Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
> ludo@gnu.org (Ludovic Courtès) writes:
>
>> Hi,
>>
>> Danny Milosavljevic <dannym@scratchpost.org> 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’s also the fact that packages that do not use the GNU build system
>> will most likely not produce debugging info out of the box, so adding
>> “debug” 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 default to say '("out"
>>> "debug") instead of '("out").
>>
>> Rather we should change the default value of the ‘outputs’ field of
>> <package>.
>>
>
> Adding the "debug" to the default value of <package> would every package
> to now have a debug output; isn't this why Danny suggested to only
> change it at the build system level? That way nothing which doesn't have
> debugging symbols by default would break or have a useless debug output.
Yes, it’s tempting to do it at the build-system level. However, there
would now be a discrepancy between the actual outputs of the package
derivations and those of the package object: the package object would
declare just one output, but the corresponding derivation would have two
outputs.
I guess bad things would happen if we did that, but maybe someone needs
to try and see exactly what goes wrong.
Ludo’.
next prev parent reply other threads:[~2017-05-02 21:16 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-23 0:02 Debugging info unavailability Danny Milosavljevic
2017-04-24 7:35 ` Tomas Cech
2017-05-02 10:08 ` Ludovic Courtès
2017-05-02 16:39 ` Maxim Cournoyer
2017-05-02 21:16 ` Ludovic Courtès [this message]
2017-05-03 4:53 ` Maxim Cournoyer
2017-05-03 6:29 ` Ricardo Wurmus
2017-05-03 10:11 ` Ludovic Courtès
2017-05-03 15:22 ` Maxim Cournoyer
2017-05-05 20:31 ` Ludovic Courtès
2017-05-05 21:47 ` Ricardo Wurmus
2017-05-06 12:21 ` Ludovic Courtès
2017-05-05 22:09 ` Maxim Cournoyer
2017-05-06 12:26 ` Distributing substitutes over GNUnet Ludovic Courtès
2017-05-11 15:05 ` Maxim Cournoyer
2017-05-06 12:46 ` Debugging info unavailability ng0
2017-05-11 5:13 ` Maxim Cournoyer
2017-05-11 16:50 ` ng0
2017-05-11 21:04 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pofr0xjs.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=maxim.cournoyer@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.