* debugging cycles in build
@ 2017-07-26 16:39 Dave Love
2017-07-26 21:11 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Dave Love @ 2017-07-26 16:39 UTC (permalink / raw)
To: help-guix
I changed a package to have a "lib" output, which failed because it
detected a cycle (whereas it's OK with everything in "out"). Is there a
good way to debug that? I couldn't easily find the code implementing
the check.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: debugging cycles in build
2017-07-26 16:39 debugging cycles in build Dave Love
@ 2017-07-26 21:11 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2017-07-26 21:11 UTC (permalink / raw)
To: Dave Love; +Cc: help-guix
Dave Love <fx@gnu.org> skribis:
> I changed a package to have a "lib" output, which failed because it
> detected a cycle (whereas it's OK with everything in "out"). Is there a
> good way to debug that?
No good way unfortunately. I usually build with -K and then do
something like:
LC_ALL=C grep -r OUTPUT2 OUTPUT1
which kinda works, except if the reference comes from a symlink, in
which case you can do something like:
tar cf O2.tar OUTPUT2
grep OUTPUT1 O2.tar
and/or open O2.tar in Emacs with hexl-mode.
This is inconvenient but doable.
> I couldn't easily find the code implementing the check.
The check is done by guix-daemon, whose C++ code base is under nix/.
HTH!
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-07-26 21:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-26 16:39 debugging cycles in build Dave Love
2017-07-26 21:11 ` Ludovic Courtès
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.