Date: Sun, 3 Jul 2011 04:53:54 GMT From: pirat sriyotha <jotawski@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/158602: bench2graph use gnuplot deprecated syntax that resulted in error Message-ID: <201107030453.p634rsCd019017@red.freebsd.org> Resent-Message-ID: <201107030500.p6350LJF012213@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 158602 >Category: ports >Synopsis: bench2graph use gnuplot deprecated syntax that resulted in error >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jul 03 05:00:21 UTC 2011 >Closed-Date: >Last-Modified: >Originator: pirat sriyotha >Release: FreeBSD wmc.homeunix.org 8.2-RELEASE-p0 FreeBSD 8.2-RELEASE-p0 #1: Sun May 29 15:21:52 ICT 2011 root@jotawski.tint.or.th:/usr/obj/usr/src/sys/JOTAWSKI amd64 >Organization: >Environment: FreeBSD wmc.homeunix.org 8.2-RELEASE-p0 FreeBSD 8.2-RELEASE-p0 #1: Sun May 29 15:21:52 ICT 2011 root@jotawski.tint.or.th:/usr/obj/usr/src/sys/JOTAWSKI amd64 >Description: autobench does not generate the correct gnuplot.cmd script for producing a graph. the graph generated from bench2graph produced error as follow :- [wmc] ~# bench2graph result-1000.tsv result-1000.ps Enter the title : core i5 httperf test set data style linespoints ^ "gnuplot.cmd", line 6: Unrecognized option. See 'help set'. my gnuplot need a different syntax so I edit bench2graph accordingly and rerun bench2graph without any errors. the autobench command is autobench --single_host --quiet --file result-1000.tsv --num_conn 1000 --uri1 /gallery3 >How-To-Repeat: # autobench --single_host --quiet --file result-1000.tsv --num_conn 1000 --uri1 /gallery3 # bench2graph result-1000.tsv result-1000.ps >Fix: edit /usr/local/bin/bench2graph at line 77 by swapping data style to style data Patch attached with submission follows: --- bench2graph 2011-07-03 09:13:53.000000000 +0700 +++ bench2graph.orig 2011-07-03 09:13:12.000000000 +0700 @@ -74,7 +74,7 @@ echo set key box >> gnuplot.cmd echo set grid >> gnuplot.cmd echo set output \"${output}\" >> gnuplot.cmd -echo set style data linespoints >> gnuplot.cmd +echo set data style linespoints >> gnuplot.cmd echo set title \"$title\" >> gnuplot.cmd echo -n plot >> gnuplot.cmd j=0 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107030453.p634rsCd019017>