unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* 'core-updates': should we mention Graphviz in "Requirements"?
@ 2013-07-09 21:37 Nikita Karetnikov
  2013-07-09 21:42 ` Ludovic Courtès
  0 siblings, 1 reply; 8+ messages in thread
From: Nikita Karetnikov @ 2013-07-09 21:37 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 300 bytes --]

'make' fails with the following:

[...]

dot -Tpng -Tpng -Gratio=.9 -Gnodesep=.005 -Granksep=.00005 -Nfontsize=9 -Nheight=.1 -Nwidth=.1 < "doc/images/bootstrap-graph.dot" > "doc/images/bootstrap-graph.png.tmp"
/bin/bash: dot: command not found
make[2]: *** [doc/images/bootstrap-graph.png] Error 127

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

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

* Re: 'core-updates': should we mention Graphviz in "Requirements"?
  2013-07-09 21:37 Nikita Karetnikov
@ 2013-07-09 21:42 ` Ludovic Courtès
  0 siblings, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2013-07-09 21:42 UTC (permalink / raw)
  To: Nikita Karetnikov; +Cc: guix-devel

Nikita Karetnikov <nikita@karetnikov.org> skribis:

> 'make' fails with the following:
>
> [...]
>
> dot -Tpng -Tpng -Gratio=.9 -Gnodesep=.005 -Granksep=.00005 -Nfontsize=9 -Nheight=.1 -Nwidth=.1 < "doc/images/bootstrap-graph.dot" > "doc/images/bootstrap-graph.png.tmp"
> /bin/bash: dot: command not found
> make[2]: *** [doc/images/bootstrap-graph.png] Error 127

The idea is that the images produces by dot are part of the tarball, so
Graphviz doesn’t need to be listed as a requirement.

That said, it would be good to mention it in the “Building from Git”
section that you’re working on.

WDYT?

Thanks,
Ludo’.

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

* Re: 'core-updates': should we mention Graphviz in "Requirements"?
@ 2015-08-27  8:28 白い熊@相撲道
  2015-08-27  9:10 ` Ludovic Courtès
  0 siblings, 1 reply; 8+ messages in thread
From: 白い熊@相撲道 @ 2015-08-27  8:28 UTC (permalink / raw)
  To: guix-devel

>> 'make' fails with the following:
>> 
>> [...]
>> 
>> dot -Tpng -Tpng -Gratio=.9 -Gnodesep=.005 -Granksep=.00005 
>> -Nfontsize=9
>> -Nheight=.1 -Nwidth=.1 < "doc/images/bootstrap-graph.dot" >
>> "doc/images/bootstrap-graph.png.tmp"
>> /bin/bash: dot: command not found
>> make[2]: *** [doc/images/bootstrap-graph.png] Error 127
> 
> The idea is that the images produces by dot are part of the tarball, so
> Graphviz doesn’t need to be listed as a requirement.
> 
> That said, it would be good to mention it in the “Building from Git”
> section that you’re working on.

Ugh... This just got me.

I'm running git Guix on a GuixSD install, having aliased "guix" to the 
git version.

So in order to run make now I first have to install graphviz using the 
non-git guix, since the dot commang is not present, and only then can I 
make the git right?

Cumbersome...
-- 
白い熊@相撲道

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

* Re: 'core-updates': should we mention Graphviz in "Requirements"?
  2015-08-27  8:28 'core-updates': should we mention Graphviz in "Requirements"? 白い熊@相撲道
@ 2015-08-27  9:10 ` Ludovic Courtès
  2015-08-27 10:13   ` 白い熊@相撲道
  0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2015-08-27  9:10 UTC (permalink / raw)
  To: 白い熊@相撲道; +Cc: guix-devel

白い熊@相撲道 <guix-devel_gnu.org@sumou.com> skribis:

> So in order to run make now I first have to install graphviz using the
> non-git guix, since the dot commang is not present, and only then can
> I make the git right?

Right.  See
<http://www.gnu.org/software/guix/manual/html_node/Building-from-Git.html>.

Ludo’.

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

* Re: 'core-updates': should we mention Graphviz in "Requirements"?
  2015-08-27  9:10 ` Ludovic Courtès
@ 2015-08-27 10:13   ` 白い熊@相撲道
  2015-08-27 11:28     ` Ludovic Courtès
  0 siblings, 1 reply; 8+ messages in thread
From: 白い熊@相撲道 @ 2015-08-27 10:13 UTC (permalink / raw)
  To: ludo; +Cc: guix-devel

On 2015-08-27 11:10, ludo@gnu.org wrote:
> 白い熊@相撲道 <guix-devel_gnu.org@sumou.com> skribis:
> 
>> So in order to run make now I first have to install graphviz using the
>> non-git guix, since the dot commang is not present, and only then can
>> I make the git right?
> 
> Right.  See
> <http://www.gnu.org/software/guix/manual/html_node/Building-from-Git.html>.
> 
> Ludo’.

Ugh, and now the fun starts...

Using the GuixSD guix command:

=================================

~$ guix package -i graphviz
Backtrace:
In ice-9/boot-9.scm:
  157: 15 [catch #t #<catch-closure d7f980> ...]
In unknown file:
    ?: 14 [apply-smob/1 #<catch-closure d7f980>]
In ice-9/boot-9.scm:
   63: 13 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
  432: 12 [eval # #]
In ice-9/boot-9.scm:
2401: 11 [save-module-excursion #<procedure d9d940 at 
ice-9/boot-9.scm:4045:3 ()>]
4050: 10 [#<procedure d9d940 at ice-9/boot-9.scm:4045:3 ()>]
1724: 9 [%start-stack load-stack #<procedure db0d40 at 
ice-9/boot-9.scm:4041:10 ()>]
1729: 8 [#<procedure db3ea0 ()>]
In unknown file:
    ?: 7 [primitive-load 
"/gnu/store/yfr7jk9lgajzkgg4rwwlzs31w7x8k4dc-guix-0.8.3.5d09263/bin/.guix-real"]
In guix/ui.scm:
  849: 6 [run-guix-command package "-i" "graphviz"]
In ice-9/boot-9.scm:
  157: 5 [catch srfi-34 #<procedure 236de20 at guix/ui.scm:221:2 ()> ...]
  157: 4 [catch system-error ...]
In guix/scripts/package.scm:
  992: 3 [#<procedure 236e390 at guix/scripts/package.scm:981:4 ()>]
  815: 2 [process-actions (# # # # ...)]
In ice-9/boot-9.scm:
  867: 1 [call-with-input-file 
"/var/guix/profiles/per-user/shiroikuma/guix-profile/manifest" ...]
In unknown file:
    ?: 0 [scm-error misc-error #f ...]

ERROR: In procedure scm-error:
ERROR: unsupported manifest format #<procedure %manifest-procedure 
(entries)>

===================================

What is this? What can I go now?
-- 
白い熊@相撲道

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

* Re: 'core-updates': should we mention Graphviz in "Requirements"?
  2015-08-27 10:13   ` 白い熊@相撲道
@ 2015-08-27 11:28     ` Ludovic Courtès
  2015-08-27 13:47       ` 白い熊@相撲道
  0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2015-08-27 11:28 UTC (permalink / raw)
  To: 白い熊@相撲道; +Cc: guix-devel

白い熊@相撲道 <guix-devel_gnu.org@sumou.com> skribis:

> ERROR: In procedure scm-error:
> ERROR: unsupported manifest format #<procedure %manifest-procedure
> (entries)>

It seems you’ve been somehow mixing versions, and this error was
produced by a Guix version older than the one use to upgrade your
profile, hence the error (and it’s a Guix version older than 0.8.3.)

Please make sure to use the latest Guix, and you should be fine.

HTH,
Ludo’.

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

* Re: 'core-updates': should we mention Graphviz in "Requirements"?
  2015-08-27 11:28     ` Ludovic Courtès
@ 2015-08-27 13:47       ` 白い熊@相撲道
  2015-08-27 20:51         ` Ludovic Courtès
  0 siblings, 1 reply; 8+ messages in thread
From: 白い熊@相撲道 @ 2015-08-27 13:47 UTC (permalink / raw)
  To: ludo; +Cc: guix-devel

On 2015-08-27 13:28, ludo@gnu.org wrote:
> 白い熊@相撲道 <guix-devel_gnu.org@sumou.com> skribis:
> 
>> ERROR: In procedure scm-error:
>> ERROR: unsupported manifest format #<procedure %manifest-procedure
>> (entries)>
> 
> It seems you’ve been somehow mixing versions, and this error was
> produced by a Guix version older than the one use to upgrade your
> profile, hence the error (and it’s a Guix version older than 0.8.3.)
> 
> Please make sure to use the latest Guix, and you should be fine.

I thought I would not be able to install graphviz from the git pull as I 
ran 'make clean' when it wouldn't build, but alas the git guix still 
installed it, and now the git build is running.

How will I purge the older versions BTW? 'guix gc' doesn't seem to do it 
and this issue - the old version being used - must be due to the fact 
that originally I install GuixSD 0.8.0 but then have been working with 
the git version ever since.
-- 
白い熊@相撲道

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

* Re: 'core-updates': should we mention Graphviz in "Requirements"?
  2015-08-27 13:47       ` 白い熊@相撲道
@ 2015-08-27 20:51         ` Ludovic Courtès
  0 siblings, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2015-08-27 20:51 UTC (permalink / raw)
  To: 白い熊@相撲道; +Cc: guix-devel

白い熊@相撲道 <guix-devel_gnu.org@sumou.com> skribis:

> How will I purge the older versions BTW? 'guix gc' doesn't seem to do
> it and this issue - the old version being used - must be due to the
> fact that originally I install GuixSD 0.8.0 but then have been working
> with the git version ever since.

The ‘guix’ command uses whatever code is pointed to by
~/.config/guix/latest¹, which is normally updated by ‘guix pull’.

You mentioned fiddling with that symlink manually, no?

Running ‘guix pull’ will update that symlink to the latest code.

HTH,
Ludo’.

¹ Except when using ./pre-inst-env, which overrides that.

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

end of thread, other threads:[~2015-08-27 20:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-27  8:28 'core-updates': should we mention Graphviz in "Requirements"? 白い熊@相撲道
2015-08-27  9:10 ` Ludovic Courtès
2015-08-27 10:13   ` 白い熊@相撲道
2015-08-27 11:28     ` Ludovic Courtès
2015-08-27 13:47       ` 白い熊@相撲道
2015-08-27 20:51         ` Ludovic Courtès
  -- strict thread matches above, loose matches on Subject: below --
2013-07-09 21:37 Nikita Karetnikov
2013-07-09 21:42 ` Ludovic Courtès

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).