--- Begin Message ---
Subject: |
guix graph backtrace on graphviz help message |
Date: |
Sun, 4 Sep 2016 01:03:54 +0300 |
User-agent: |
Mutt/1.7.0 (2016-08-17) |
address@hidden:~$ time guix graph -t bag pbzip2 | dot -tpdf > pbzip2.pdf
Error: dot: option -t unrecognized
Usage: dot [-Vv?] [-(GNE)name=val] [-(KTlso)<val>] <dot files>
(additional options for neato) [-x] [-n<v>]
(additional options for fdp) [-L(gO)] [-L(nUCT)<val>]
(additional options for memtest) [-m<v>]
(additional options for config) [-cv]
-V - Print version and exit
-v - Enable verbose mode
-Gname=val - Set graph attribute 'name' to 'val'
-Nname=val - Set node attribute 'name' to 'val'
-Ename=val - Set edge attribute 'name' to 'val'
-Tv - Set output format to 'v'
-Kv - Set layout engine to 'v' (overrides default based on command
name)
-lv - Use external library 'v'
-ofile - Write output to 'file'
-O - Automatically generate an output filename based on the input
filename with a .'format' appended. (Causes all -ofile options to be ignored.)
-P - Internally generate a graph of the current plugins.
-q[l] - Set level of message suppression (=1)
-s[v] - Scale input by 'v' (=72)
-y - Invert y coordinate in output
-n[v] - No layout mode 'v' (=1)
-x - Reduce graph
-Lg - Don't use grid
-LO - Use old attractive force
-Ln<i> - Set number of iterations to i
-LU<i> - Set unscaled factor to i
-LC<v> - Set overlap expansion factor to v
-LT[*]<v> - Set temperature (temperature factor) to v
-m - Memory test (Observe no growth with top. Kill when done.)
-m[v] - Memory test - v iterations.
-c - Configure plugins (Writes $prefix/lib/graphviz/config with
available plugin information. Needs write privilege.)
-? - Print usage and exit
guix graph: error: scm_flush: Broken pipe
Backtrace:
In unknown file:
?: 2 [apply-smob/1 #<catch-closure b11180> quit 1]
In ice-9/boot-9.scm:
157: 1 [catch #t #<catch-closure 52254c0> ...]
In unknown file:
?: 0 [apply-smob/1 #<catch-closure 52254c0>]
ERROR: In procedure apply-smob/1:
ERROR: In procedure scm_flush: Broken pipe
--
Efraim Flashner <address@hidden> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#24361: guix graph backtrace on graphviz help message |
Date: |
Tue, 01 Nov 2016 22:05:23 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Efraim Flashner <address@hidden> skribis:
> address@hidden:~$ time guix graph -t bag pbzip2 | dot -tpdf > pbzip2.pdf
[...]
> guix graph: error: scm_flush: Broken pipe
Hi Efraim! It’s a feature, not a bug: ‘guix graph’ wasn’t able to write
everything to standard output, so it errors out.
There are other cases where it’s best to silently ignore that (‘guix
package -A’ does that for instance), but this is not one of them IMO.
Ludo’.
--- End Message ---