Skip Menu |

This queue is for tickets about the Chart-Graph CPAN distribution.

Report information
The Basics
Id: 73684
Status: new
Priority: 0/
Queue: Chart-Graph

People
Owner: Nobody in particular
Requestors: d.thomas [...] its.uq.edu.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: gnuplot test 31 causes stack-smashing on RHEL5/6 [patch]
I use an automated process to install hundreds of module tarballs and it's necessary for each tarball to PASS its tests. gnuplot on RHEL5/6 is built with '-fstack-protector' which detects stack-smashing happening in test 31 of gnuplot.t and core-dumps. There may be a better approach but the following patch simply removes this test. --- Chart-Graph-3.2.orig/t/gnuplot.t 2006-04-19 03:56:50.000000000 +1000 +++ Chart-Graph-3.2/t/gnuplot.t 2011-12-15 08:44:22.000000000 +1000 @@ -45,7 +45,7 @@ # test script for the gnuplot package # # -print "1..48\n"; +print "1..47\n"; my @drivers = @t::Config::drivers; my $test_gnuplot = 0; @@ -458,7 +458,7 @@ 'x2data' => 'time', 'y2data' => 'time', 'timefmt' => '%d%m%y%Y%j%H%M%S%b%B', #concat of all in doc table 1 - 'format' => ['x','%f%e%E%g%G%x%X%o%O%t%l%s%T%L%S%c%P'], #concat of all in doc table 2 +# 'format' => ['x','%f%e%E%g%G%x%X%o%O%t%l%s%T%L%S%c%P'], #concat of all in doc table 2 'xrange' => '[0:100]', 'xrange' => [0 , 100], 'yrange' => '[0:100]',