From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jul 3 05:00:21 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D35941065673 for ; Sun, 3 Jul 2011 05:00:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9D9738FC1C for ; Sun, 3 Jul 2011 05:00:21 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p6350LvX012214 for ; Sun, 3 Jul 2011 05:00:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p6350LJF012213; Sun, 3 Jul 2011 05:00:21 GMT (envelope-from gnats) Resent-Date: Sun, 3 Jul 2011 05:00:21 GMT Resent-Message-Id: <201107030500.p6350LJF012213@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, pirat sriyotha Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88E81106564A for ; Sun, 3 Jul 2011 04:53:54 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 7974D8FC08 for ; Sun, 3 Jul 2011 04:53:54 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p634rsBG019046 for ; Sun, 3 Jul 2011 04:53:54 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p634rsCd019017; Sun, 3 Jul 2011 04:53:54 GMT (envelope-from nobody) Message-Id: <201107030453.p634rsCd019017@red.freebsd.org> Date: Sun, 3 Jul 2011 04:53:54 GMT From: pirat sriyotha To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/158602: bench2graph use gnuplot deprecated syntax that resulted in error X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jul 2011 05:00:22 -0000 >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: