unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Debugging Guix packages?
@ 2016-01-19  2:42 Jookia
  2016-01-19 14:52 ` Ricardo Wurmus
  0 siblings, 1 reply; 14+ messages in thread
From: Jookia @ 2016-01-19  2:42 UTC (permalink / raw)
  To: guix-devel

Hi there,

I've been hitting some bugs in Guix packages which I'm up for fixing, though
currently I'm finding it difficult to follow along the build process then
improvise with my own inspection. There's only two ways I know of to do this:

- Have the package fail and inspect it afterwards using guix environment.

This could work, but it isn't helpful if the package doesn't fail and I want to
try adding my own patches without doing a full rebuild that could fail.

- Read the package and roughly convert it to Bash commands.

I'm still not good at this. For instance, if I want to build coreutils with
some tweaks in the build process without modifying the package I'd have to
figure out how to patch shebangs from the command line and figure out how to do
this if I'm cross compiling.

It'd be a nice feature to have where I could step through the build process in
an environment close to the actual build and run build commands myself like
'patch' or 'make' or 'configure', but builders can also include Guile code.

Debugging the builder using Guile seems to be somewhat useful but I haven't
figured out how to do that as I'm not versed in Guile and this may not be the
right level of abstraction.

I apologize if my thoughts aren't clear, currently it's annoying to have to
decipher packages to hope I'm following along with the build. The alternative is
to iterate through full builds hoping I get the right output or manually failing
after a certain phase (I'm not sure how to do this.)

Cheers,
Jookia.

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2016-01-22 17:06 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-19  2:42 Debugging Guix packages? Jookia
2016-01-19 14:52 ` Ricardo Wurmus
2016-01-19 15:56   ` Christopher Allan Webber
2016-01-20 22:26   ` Ludovic Courtès
2016-01-21  0:21     ` Jookia
2016-01-21  1:27       ` Leo Famulari
2016-01-21  1:59       ` Ben Woodcroft
2016-01-21 20:55       ` Ludovic Courtès
2016-01-22  4:13         ` Pjotr Prins
2016-01-22  4:53           ` Jookia
2016-01-22 17:05           ` Ludovic Courtès
2016-01-21 20:58       ` Ludovic Courtès
2016-01-21 22:10         ` Jookia
2016-01-21 22:28     ` Christopher Allan Webber

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).