Hurd build failure

Jean-Michel Vourgère <nirgal <at> debian.org>
2015-07-25 23:37:16 GMT

Hi
I'm having a look at the history of problems caused by usage of
PATH_MAX. There has been a few proposals since August 2013, but they
were based on a Debian / GNU Linux version that already contained a
patch for hurd, which was introduced back in 2009, and never made it to
the official repository.
Patches by Svante Signell only are about rrd_daemon.c and rrd_client.c.
So, I'm pretty sure they assume the other occurrences have been fixed.
Attached is the original patch by Marc Dequènes for rrd_graph.c,
rrd_graph.h and rrd_tool.c, refreshed against branch 1.5.
In Debian and derivatives, it's been applied to every version since
2009. I reviewed it and it still seems ok.
I think it's just missing a conditional free(im->graphfile) in im_free().
Before creating a pull request, I'd like you opinion about the #if usage:
On one hand, it's nice to have it, since we avoid a malloc and use the heap.
On the other hand, it makes the code more complex, and filename
allocation during graphical operation probably doesn't use a lot of
ressources compared to cairo ploting, so it doesn't seem worth the trouble.
I slightly prefer version that works everywhere, and would like to
remove the static length usage, so that the code is more simple. How
does that sound?
Shall I make a request against master or against the 1.5 branch?
I saw some questions in the list about whether hurd is broken for not

rrdtool version 1.5.0 is out

Tobias Oetiker <tobi <at> oetiker.ch>
2015-04-16 21:48:37 GMT

Finally! RRDtool 1.5.0 is out.
Get a copy from http://www.rrdtool.org
A big thank you to the sponsors who are helping to fund my work on
rrdtool: http://www.wuerth-phoenix.com/https://www.open.ch/https://www.psw.net/ and http://www.irisns.com/
New Features
------------
* automatic x-axis labels that work from 1s to 30y on a single chart
* librados integration
* new datasource types: DCOUNTER and DDERIVE (they work the same as
the original DS, except that they can deal with floatingpoint
numbers).
* compile without graphics libraries: ./configure --disable-rrd_graph
* updated windows port (see WIN32-BUILD-TIPS.txt)
* single step RRAs for MIN,MAX,LAST are generated virtually from
an AVERAGE RRA
* ignore updates in the past with rrdtool update --skip-past-updates
* ignore a LINE when scaling a chart using the skipscale option
* detect 32bit timeoverflows
* massive performance boost for charts with more than 100 DEF line
* by switching form a linear search to a HASH when searching for data
* improved cross compilation support
* .Net bindings
* allow rrdtool graph to silently skip non-existing source files
using the --use-nan-for-all-missing-data option
* restore from a pipe (rrdtool restore - y.rrd)
* in rrdtool create, row count and step can be defined in absolute time
* all new "create on steroids" can pull both data and configuration
* from existing rrd files
* use rrdtool graph to chart arbitrary data via a callback function
for data fetching support is integrated in the perl bindings.
* re-written parser for rrdtool graph commands. It now follows a
simple key value pattern, compatible with the previous syntax.
* MEDIAN op for CDEF expressions
* DEPTH,INDEX,COPY,ROL ops for CDEF (as seen in PostScript)
* gradient AREA backgrounds
* no more locale magic while reading numeric data.
Bugfixes
--------
all the bugs fixed in 1.4.x during 1.5 development
--
--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
www.oetiker.ch tobi <at> oetiker.ch +41 62 775 9902

rrdtool compilation in Solaris

Yamei Feng <yamei.feng <at> oracle.com>
2015-01-21 21:13:49 GMT

Hi All,
I want to compile the rrdtool source tree in Solaris. I would like to
know which environment variables I need to configure when I run
./configure? For example how should I set CC, MAKE, PATH?
Thanks,
-- Yamei