Subject: bug#24361: closed (Re: bug#24361: guix graph backtrace on graphviz help message)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 01 Nov 2016 21:06:02 +0000

Your bug report

#24361: guix graph backtrace on graphviz help message

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
24361: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24361
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#24361: guix graph backtrace on graphviz help message
From: [email-masked] (Ludovic Courtès)
To: Efraim Flashner <[email-masked]>
Cc: [email-masked]
Date: Tue, 01 Nov 2016 22:05:23 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Efraim Flashner <[email-masked]> skribis:

> efraim@macbook42:~$ 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’.

Subject: guix graph backtrace on graphviz help message
From: Efraim Flashner <[email-masked]>
To: [email-masked]
Date: Sun, 4 Sep 2016 01:03:54 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

efraim@macbook42:~$ 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   <[email-masked]>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted