Jean-Michel Vourgère | 21 Apr 21:32 2016
Picon

librrd8 ?

Hi

Out of curiosity, why is librrd.so version is bumping from librrd.so.4
to librrd.so.8 ?

No symbol was removed, only some were added:
+ rrdc_create
+ rrdc_create_r2
+ rrdc_fetch
+ rrdc_first
+ rrdc_flush_if_daemon
+ rrdc_forget
+ rrdc_info
+ rrdc_is_any_connected
+ rrdc_last

We talked about version bumping, but I can't remember why, now :/

If this is a mistake, I suppose it's too late to fix?
Paul Chambers | 6 Mar 11:06 2016
Gravatar

librrd_th not being built

I've been beating my head on this; it's probably something obvious, I just can't see it.

For some reason, the librrd_th files aren't being built, after 'sudo make install' I just get:

paul <at> kubuntu:/home/projects/rrdtool-1.x$ ls -al /usr/lib/librrd*
-rw-r--r-- 1 root root 2325740 Mar  6 00:59 /usr/lib/librrd.a
-rwxr-xr-x 1 root root    1012 Mar  6 01:28 /usr/lib/librrd.la
lrwxrwxrwx 1 root root      15 Mar  6 01:28 /usr/lib/librrd.so -> librrd.so.8.0.0
lrwxrwxrwx 1 root root      15 Mar  6 01:28 /usr/lib/librrd.so.8 -> librrd.so.8.0.0
-rwxr-xr-x 1 root root 1311944 Mar  6 01:28 /usr/lib/librrd.so.8.0.0
paul <at> kubuntu:/home/projects/rrdtool-1.x$ 

I'm building using a Virtualbox VM running Kubuntu 15.04. I've attached the output of:
./configure --prefix=/usr --sysconfdir=/etc/rrdtool --disable-static --disable-perl --disable-ruby --disable-python --disable-tcl

I've poked around in configure & Makefile, don't see anything obviously amiss (though I'm no autoconf expert).

Appreciate any hints about where to look. 

- Paul
-- 
http://nymble.technology ◦ http://about.me/paul.chambers
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of gcc... gcc3
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... (cached) yes

Audit Compilation Environment
checking how to run the C preprocessor... gcc -E
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver  <at> FILE support...  <at> 
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking if gcc likes the -Werror flag... yes
checking if gcc likes the -fno-strict-aliasing flag... yes
checking if gcc likes the -Wall flag... yes
checking if gcc likes the -std=gnu99 flag... yes
checking if gcc likes the -pedantic flag... yes
checking if gcc likes the -Wundef flag... yes
checking if gcc likes the -Wshadow flag... yes
checking if gcc likes the -Wpointer-arith flag... yes
checking if gcc likes the -Wcast-align flag... yes
checking if gcc likes the -Wmissing-prototypes flag... yes
checking if gcc likes the -Wmissing-declarations flag... yes
checking if gcc likes the -Wnested-externs flag... yes
checking if gcc likes the -Winline flag... yes
checking if gcc likes the -Wold-style-definition flag... yes
checking if gcc likes the -W flag... yes
checking for long long int... yes

Checking for Header Files
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking features.h usability... yes
checking features.h presence... yes
checking for features.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking fp_class.h usability... no
checking fp_class.h presence... no
checking for fp_class.h... no
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for unistd.h... (cached) yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for string.h... (cached) yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for stdarg.h... yes
checking for varargs.h... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for vsnprintf... yes
checking whether vsnprintf is C99 compliant... yes
checking for snprintf... yes
checking whether snprintf is C99 compliant... yes
checking for vasprintf... yes
checking for asprintf... yes

Test Library Functions
checking for acos... no
checking for acos in -lm... yes
checking for round... yes
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking whether byte ordering is bigendian... no
checking for nl_langinfo... yes
checking for tzset... yes
checking for fsync... yes
checking for mbstowcs... yes
checking for opendir... yes
checking for readdir... yes
checking for chdir... yes
checking for chroot... yes
checking for getgid... yes
checking for getuid... yes
checking for setgid... yes
checking for setuid... yes
checking for strndup... yes
checking for strerror... yes
checking for snprintf... (cached) yes
checking for vsnprintf... (cached) yes
checking for vasprintf... (cached) yes
checking for fpclass... no
checking for class... no
checking for fp_class... no
checking for isnan... yes
checking for memmove... yes
checking for strchr... yes
checking for mktime... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for getpwnam... yes
checking for getgrnam... yes
checking for get_current_dir_name... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes

Map/Fadvis/Madvise checking
checking for fdatasync... yes
checking for fsync... (cached) yes
checking for socket... yes
checking for getaddrinfo... yes
checking for sigwaitinfo... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for mmap... yes
checking for munmap... yes
checking whether madvise is declared... yes
checking for madvise... yes
checking whether posix_fadvise is declared... yes
checking for posix_fadvise... yes
checking for posix_fallocate... yes

Libintl Processing
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc

IEEE Math Checks
checking for fpclassify... no
checking for fpclassify with <math.h>... yes
checking for isinf... yes
checking whether isfinite is broken... no
checking if IEEE math works out of the box... yes

Resolve Portability Issues
checking tm_gmtoff in struct tm... yes
checking __tm_gmtoff in struct tm... no
checking whether sigwait has 2 arguments... yes

checking if msync with MS_ASYNC updates the files mtime... yes
checking for _NL_TIME_WEEK_1STDAY... no
checking for nl_langinfo(_NL_TIME_WEEK_1STDAY) with langinfo.h... yes
checking if realloc can deal with NULL... yes
checking if ctime_r need special care to act posixly correct... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
checking do we need malloc/malloc.h... nope, works out of the box
checking size of time_t... 8
checking size of long int... 8

Find 3rd-Party Libraries
checking dbi/dbi.h usability... no
checking dbi/dbi.h presence... no
checking for dbi/dbi.h... no
checking rados/librados.h usability... no
checking rados/librados.h presence... no
checking for rados/librados.h... no
checking tcpd.h usability... no
checking tcpd.h presence... no
checking for tcpd.h... no
checking for glib_check_version in -lglib-2.0... yes
checking glib.h usability... no
checking glib.h presence... no
checking for glib.h... no
checking for pkg-config... pkg-config
checking for glib_check_version in -lglib-2.0... yes
checking glib.h usability... yes
checking glib.h presence... yes
checking for glib.h... yes
checking for g_regex_new... yes
checking for png_access_version_number in -lpng... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for pango_cairo_context_set_font_options in -lpangocairo-1.0... yes
checking pango/pango.h usability... no
checking pango/pango.h presence... no
checking for pango/pango.h... no
checking for pkg-config... (cached) pkg-config
checking for pango_cairo_context_set_font_options in -lpangocairo-1.0... yes
checking pango/pango.h usability... yes
checking pango/pango.h presence... yes
checking for pango/pango.h... yes
checking for pango_font_map_create_context... yes
checking for xmlParseFile in -lxml2... yes
checking libxml/parser.h usability... no
checking libxml/parser.h presence... no
checking for libxml/parser.h... no
checking for pkg-config... (cached) pkg-config
checking for xmlParseFile in -lxml2... yes
checking libxml/parser.h usability... yes
checking libxml/parser.h presence... yes
checking for libxml/parser.h... yes

Prep for Building Language Bindings
checking for perl... /usr/bin/perl
checking for pod2man... /usr/bin/pod2man
checking for pod2html... /usr/bin/pod2html
checking Perl Modules to build... No Perl Modules will be built
checking for ruby... /usr/bin/ruby
checking if ruby modules can be built... No .. Ruby not found or disabled
checking for lua... no
checking for gnroff... no
checking for nroff... /usr/bin/nroff
checking for groff... /usr/bin/groff
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating etc/rrdcached.socket
config.status: creating etc/rrdcached.service
config.status: creating src/rrd_config.h
config.status: src/rrd_config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands

Apply Configuration Information
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating etc/rrdcached.socket
config.status: creating etc/rrdcached.service
config.status: creating examples/shared-demo.pl
config.status: creating examples/piped-demo.pl
config.status: creating examples/stripes.pl
config.status: creating examples/bigtops.pl
config.status: creating examples/minmax.pl
config.status: creating examples/4charts.pl
config.status: creating examples/perftest.pl
config.status: creating examples/Makefile
config.status: creating examples/rrdcached/Makefile
config.status: creating etc/rrdcached-default-lsb
config.status: creating tests/Makefile
config.status: creating doc/Makefile
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: creating src/librrd.pc
config.status: creating bindings/Makefile
config.status: creating bindings/tcl/Makefile
config.status: creating bindings/tcl/ifOctets.tcl
config.status: creating bindings/lua/Makefile
config.status: creating Makefile
config.status: creating src/rrd_config.h
config.status: src/rrd_config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing default commands
checking in... and out again

----------------------------------------------------------------
Config is DONE!

          With MMAP IO: yes
          With Locking: yes
       Build rrd_graph: yes
     Build rrd_restore: yes
       Static programs: no
    Build Tcl Bindings: no
 Build Python Bindings: no
        Build examples: yes
       Build rrdcached: yes
          Build rrdcgi: yes
       Build librrd MT: yes
           Use gettext: yes
           With libDBI: no
         With librados: no
          With libwrap: no
      With systemd dir: /lib/systemd/system

             Libraries: -lpng -lm  -lglib-2.0  -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lcairo 
-lxml2 

Type 'make' to compile the software and use 'make install' to 
install everything to: /usr.

If you find RRDtool useful, please make me happy.
Go to http://tobi.oetiker.ch/wish and place an order.

                               -- Tobi Oetiker <tobi <at> oetiker.ch>
----------------------------------------------------------------
_______________________________________________
rrd-developers mailing list
rrd-developers <at> lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers
James W. Laferriere | 15 Feb 21:46 2016
Gravatar

rrdtool-1.5.5 rpn1.output file missing for make check .

 	Hello All ,  Just a fyi .  Hth ,  JimL

-rw-r--r--  1 1003 1001 11913 Nov 10 16:50 modify5-testa2-create.dump
-rwxr-xr-x  1 1003 1001  1263 Nov 10 16:07 rpn1*
-rwxr-xr-x  1 1003 1001  1506 Nov 10 16:51 rpn2*
-rw-r--r--  1 1003 1001  2877 Nov 10 16:50 rpn2.output
-rwxr-xr-x  1 1003 1001  4273 Nov 10 16:07 rrdcreate*
-rwxr-xr-x  1 1003 1001  1162 Nov 10 16:07 tune1*

2140 -rw-r--r-- 1 root root 2187685 Nov 10 18:41 srcs/rrdtool-1.5.5.tar.gz

# tar -tvf srcs/rrdtool-1.5.5.tar.gz | grep rpn
-rw-r--r-- 1003/1001      6766 2013-01-05 12:36 rrdtool-1.5.5/doc/rpntutorial.pod
-rw-r--r-- 1003/1001      8428 2015-07-28 17:10 rrdtool-1.5.5/doc/rpntutorial.html
-rw-r--r-- 1003/1001     10576 2015-08-09 13:01 rrdtool-1.5.5/doc/rpntutorial.pdf
-rw-r--r-- 1003/1001     21105 2015-11-10 18:01 rrdtool-1.5.5/doc/rrdgraph_rpn.txt
-rw-r--r-- 1003/1001     11790 2015-07-28 17:10 rrdtool-1.5.5/doc/rpntutorial.1
-rw-r--r-- 1003/1001     23403 2015-11-10 18:01 rrdtool-1.5.5/doc/rrdgraph_rpn.1
-rw-r--r-- 1003/1001      7885 2015-07-28 17:10 rrdtool-1.5.5/doc/rpntutorial.txt
-rw-r--r-- 1003/1001     16724 2015-11-10 16:07 rrdtool-1.5.5/doc/rrdgraph_rpn.pod
-rw-r--r-- 1003/1001     21876 2015-11-10 18:15 rrdtool-1.5.5/doc/rrdgraph_rpn.pdf
-rw-r--r-- 1003/1001     19711 2015-11-10 18:01 rrdtool-1.5.5/doc/rrdgraph_rpn.html
-rwxr-xr-x 1003/1001      1506 2015-11-10 16:51 rrdtool-1.5.5/tests/rpn2
-rw-r--r-- 1003/1001      2877 2015-11-10 16:50 rrdtool-1.5.5/tests/rpn2.output
-rwxr-xr-x 1003/1001      1263 2015-11-10 16:07 rrdtool-1.5.5/tests/rpn1
-rw-r--r-- 1003/1001     42697 2015-11-10 18:15 rrdtool-1.5.5/src/rrd_rpncalc.c
-rw-r--r-- 1003/1001      3422 2015-11-10 18:15 rrdtool-1.5.5/src/rrd_rpncalc.h

--

-- 
+------------------------------------------------------------------+
| James   W.   Laferriere | System    Techniques | Give me VMS     |
| Network&System Engineer | 3237     Holden Road |  Give me Linux  |
| babydr <at> baby-dragons.com | Fairbanks, AK. 99709 |   only  on  AXP |
+------------------------------------------------------------------+
Markus Weber | 26 Nov 10:59 2015
Picon

LEGEND length limit on systems with snprintf (HACK)

Maybe helpful for others trying to use large legends (or legends with 
lot of markup stuff):

On systems with snprintf, the length of the legend "input" (before 
markup) is truncated to 200 chars, which might not be long enough in 
some cases (at least not for me at the moment). This is more a "hack" 
rather than a real fix (which would probably to use dynamically 
allocated buffers, but gives some more room for fancy formatted legends.

Cheers,
Markus

*** ../../../rrdtool-1.5.5/src/rrd_graph.h      Tue Nov 10 17:15:18 2015
--- rrd_graph.h Wed Nov 25 10:46:27 2015
***************
*** 197,203 ****
      because they are quite diverse, not all elements will use all the
      possible parts of the structure. */
   #ifdef HAVE_SNPRINTF
! #define FMT_LEG_LEN 200
   #else
   #define FMT_LEG_LEN 2000
   #endif
--- 197,203 ----
      because they are quite diverse, not all elements will use all the
      possible parts of the structure. */
   #ifdef HAVE_SNPRINTF
! #define FMT_LEG_LEN 500
   #else
   #define FMT_LEG_LEN 2000
   #endif
Tobias Oetiker | 23 Nov 12:14 2015
Picon
Gravatar

Re: rrdtool version 1.5.0 is out

Hi Stuart,

done
tobi

Today Stuart Henderson wrote:

> On 2015/11/23 12:02, Tobias Oetiker wrote:
> > Hi Stuart,
> >
> > this is alrady fixed ... check github.com/oetiker/rrdtool-1.x
>
> Ah - could you pull it back to the 1.5 branch please? Thanks!
>
>

--

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
www.oetiker.ch tobi <at> oetiker.ch +41 62 775 9902
Yannick Marquet | 15 Oct 23:21 2015
Picon

Which branch for extending feature

Hi,

After cloning rrdtool localy, git is currently on origin/master branch.

Does the pull request (for extending existing feature) have to be on 
this branch (master) or on origin/1.5 branch ?

Thanks,
YMA
Jean-Michel Vourgère | 27 Aug 14:39 2015
Picon

Weird resolution

Hi

While investigating an issue with PREV(), I found myself unable to
explain the resolution in that case:
- An rrd file "esel.rrd" is created by "create.sh" and filled by "fill.py".

Data is available:
- Every 2 minutes for 12 hours
- Every 8 minutes for 48 hours
- ...

When I graph starting at "end-12h" or "end-11h", I expected a 2 minute
resolution. But what I get is more like a 8 minutes one.
See attached "graph.sh" and the resulting png.
Width is 720 pixels wide: One pixel per minute on a 12 hours period.
The resolution is ok for 10 hours (smooth curve), but 11 hours and 12
hours yield a stair effect.

Is that a bug?
Attachment (create.sh): application/x-shellscript, 231 bytes
Attachment (esel.rrd): application/octet-stream, 16 KiB
Attachment (fill.py): text/x-python, 343 bytes
Attachment (graph.sh): application/x-shellscript, 782 bytes
_______________________________________________
rrd-developers mailing list
rrd-developers <at> lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers
Jean-Michel Vourgère | 26 Aug 13:48 2015
Picon

lua5.0 support

Hi

I tried lua bindings with lua 5.3 and it looks ok. :)

However, the test at bindings/lua/test.lua.bottom is obsolete:
table.getn() doesn't exist anymore since lua 5.2. This need to be
replaced by the operator #.

I was wondering whether we should drop support for lua 5.0 altogether?
Supporting versions 5.1 - released in 2006 - and above seems good enough.

See release dates here:
http://www.lua.org/versions.html

I could work on a patch if agreed. configure.ac will be reduced.

--

-- 
Nirgal
Jean-Michel Vourgère | 9 Aug 19:59 2015
Picon

unit test failures on some arch: rpn2 and xport1

Hi,

3 attached files are the result of test-suite.log on 3 different
architectures.

1. xport1
---------

I tried building 1.5.4 on all architectures, with rpn2 disabled, and I
get a bunch of issues in xport1:
https://buildd.debian.org/status/package.php?p=rrdtool
:(

Looking at hurd-i386 and armel logs, we can see there still are some
issues with rounding. Both arch fails, but not at in the same way.
Should we go DIFF8 instead of DIFF9 ? :/

This is just a rounding issue.

2. rpn2
-------

I disabled the test because it doesn't work on my amd64:
week result is 3600 where it should be 720.
However, this test works on hurd-i386 and armel. Oo

There's something very wrong here. I did not look into it yet.
Attachment (test-suite-amd64.log): text/x-log, 5796 bytes
Attachment (test-suite-armel.log): text/x-log, 2272 bytes
_______________________________________________
rrd-developers mailing list
rrd-developers <at> lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers
Jean-Michel Vourgère | 26 Jul 01:37 2015
Picon

Hurd build failure

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
defining PATH_MAX. If I understand correctly, PATH_MAX is not part of
posix. Further more, if an OS set the file name size limit to 4k, 64k or
even much more, there will be issues using the stack. Yes it's a pain,
but in my opinion, that's the right thing to do.

--

-- 
Nirgal
Attachment (hurd_2009.diff): text/x-diff, 2454 bytes
_______________________________________________
rrd-developers mailing list
rrd-developers <at> lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers
Tippana Santosh | 21 Jun 06:08 2015
Picon

Rrd developer

_______________________________________________
rrd-developers mailing list
rrd-developers <at> lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers

Gmane