From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pjotr Prins Subject: Re: Debugging and source code Date: Thu, 26 Jan 2017 08:43:44 +0000 Message-ID: <20170126084344.GA12727@mail.thebird.nl> References: <20170125065343.GB6221@mail.thebird.nl> <877f5jxoif.fsf@gnu.org> <20170125132654.GA7870@mail.thebird.nl> <87h94nvxd5.fsf@gnu.org> <20170126035844.GA10299@mail.thebird.nl> <87wpdiz1eg.fsf@gmail.com> 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]:55896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cWfho-0004Tk-UZ for guix-devel@gnu.org; Thu, 26 Jan 2017 03:46:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cWfhk-0000YS-43 for guix-devel@gnu.org; Thu, 26 Jan 2017 03:46:56 -0500 Content-Disposition: inline In-Reply-To: <87wpdiz1eg.fsf@gmail.com> 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: Chris Marusich Cc: guix-devel@gnu.org On Thu, Jan 26, 2017 at 12:11:19AM -0800, Chris Marusich wrote: > Pjotr Prins writes: >=20 > > On Wed, Jan 25, 2017 at 06:54:30PM +0100, Ludovic Court=C3=A8s wrote: > >> Pjotr Prins skribis: > >>=20 > >> > On Wed, Jan 25, 2017 at 02:22:48PM +0100, Ludovic Court=C3=A8s wro= te: > >> >> You can always get the right source code by running =E2=80=9Cguix= build -S > >> >> package=E2=80=9D. > >> >>=20 > >> >> OTOH having the source directly in the =E2=80=9Cdebug=E2=80=9D (o= r =E2=80=9Csource=E2=80=9D?) output as > >> >> you suggest would be more convenient. > >> >>=20 > >> >> The only downside is the extra size of the =E2=80=9Cdebug=E2=80=9D= output. Most of the > >> >> time that=E2=80=99s a price people are happy to pay when they are= installing the > >> >> =E2=80=9Cdebug=E2=80=9D output. But sometimes maybe not. > >> > > >> > How about a :debug-full switch? > >>=20 > >> There=E2=80=99s no switch, only a =E2=80=9Cdebug=E2=80=9D output. > > > > yes, yes. I meant a "debug-full" output. >=20 > We have "guix build -S foo" which fetches the source. It sounds like > you're suggesting that we remove this and replace it with a "source" (o= r > "debug-full") output for each package, so to get the source you would > run "guix build foo:source" instead. Is my understanding correct? With binaries and debug info. Yes. The current :debug does not include the sources which makes debugging hard(er). Pj.