Skip Menu |

This queue is for tickets about the GDGraph CPAN distribution.

Maintainer(s)' notes

There are plenty of good ideas of what people can do published here on the queue. Turning a patch from the tracker into a pull request is not one of them. In order to get maintainers' attention way more quickier, PR should have at least a sample included. We know it's hard to test images generating software, but it doesn't mean we can not test numbers produced by intermediate algorithms used to generate these images, so either a test or a sample.

Report information
The Basics
Id: 21900
Status: rejected
Priority: 0/
Queue: GDGraph

People
Owner: Nobody in particular
Requestors: LGODDARD [...] cpan.org
Cc:
AdminCc:

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



Subject: Fails Tests on CentOS (RedHat)
Perl -V at end. bash-3.00# perl Makefile.PL Writing Makefile for GD::Graph The automatic tests for GDGraph are not really a solid workout of the library. The best way to test the package is to run the examples before installing it. You can run the examples in the samples directory with `make samples` or by going into that directory, and just running `make`. If that fails, please read samples/Makefile. bash-3.00# make Manifying blib/man3/GD::Graph.3pm Manifying blib/man3/GD::Graph::Error.3pm Manifying blib/man3/GD::Graph::Data.3pm Manifying blib/man3/GD::Graph::hbars.3pm Manifying blib/man3/GD::Graph::colour.3pm Manifying blib/man3/GD::Graph::FAQ.3pm bash-3.00# make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "- e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/axestype....Can't load '/usr/lib/perl5/site_perl/5.8.5/i386-linux- thread-multi/auto/GD/GD.so' for module GD: /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread- multi/auto/GD/GD.so: undefined symbol: gdImageGifAnimAddPtr at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230. at /root/.cpan/build/GDGraph-1.4308/blib/lib/GD/Graph.pm line 38 Compilation failed in require at /root/.cpan/build/GDGraph- 1.4308/blib/lib/GD/Graph.pm line 38. BEGIN failed--compilation aborted at /root/.cpan/build/GDGraph- 1.4308/blib/lib/GD/Graph.pm line 38. Compilation failed in require at /root/.cpan/build/GDGraph- 1.4308/blib/lib/GD/Graph/axestype.pm line 18. BEGIN failed--compilation aborted at /root/.cpan/build/GDGraph- 1.4308/blib/lib/GD/Graph/axestype.pm line 18. Compilation failed in require at /root/.cpan/build/GDGraph- 1.4308/blib/lib/GD/Graph/mixed.pm line 18. BEGIN failed--compilation aborted at /root/.cpan/build/GDGraph- 1.4308/blib/lib/GD/Graph/mixed.pm line 18. Compilation failed in require at t/axestype.t line 11. BEGIN failed--compilation aborted at t/axestype.t line 11. t/axestype....dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-13 Failed 13/13 tests, 0.00% okay t/colour......ok t/data........ok t/error.......ok t/use.........Can't load '/usr/lib/perl5/site_perl/5.8.5/i386-linux- thread-multi/auto/GD/GD.so' for module GD: /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread- multi/auto/GD/GD.so: undefined symbol: gdImageGifAnimAddPtr at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230. at /root/.cpan/build/GDGraph-1.4308/blib/lib/GD/Graph.pm line 38 Compilation failed in require at /root/.cpan/build/GDGraph- 1.4308/blib/lib/GD/Graph.pm line 38. BEGIN failed--compilation aborted at /root/.cpan/build/GDGraph- 1.4308/blib/lib/GD/Graph.pm line 38. Compilation failed in require at t/use.t line 7. BEGIN failed--compilation aborted at t/use.t line 7. t/use.........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-10 Failed 10/10 tests, 0.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed ----------------------------------------------------------------------- -------- t/axestype.t 255 65280 13 26 200.00% 1-13 t/use.t 255 65280 10 20 200.00% 1-10 Failed 2/5 test scripts, 60.00% okay. 23/85 subtests failed, 72.94% okay. make: *** [test_dynamic] Error 255 bash-3.00# perl -V Summary of my perl5 (revision 5 version 8 subversion 5) configuration: Platform: osname=linux, osvers=2.6.9-42.elsmp, archname=i386-linux-thread- multi uname='linux build-i386 2.6.9-42.elsmp #1 smp sat aug 12 09:39:11 cdt 2006 i686 i686 i386 gnulinux ' config_args='-des -Doptimize=-O2 -g -pipe -m32 -march=i386 - mtune=pentium4 -Dversion=5.8.5 -Dmyhostname=localhost - Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. - Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux - Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib -Dusethreads - Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db - Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio - Dinstallusrbinperl -Ubincompat5005 -Uversiononly - Dpager=/usr/bin/less -isr -Dinc_version_list=5.8.4 5.8.3 5.8.2 5.8.1 5.8.0' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno- strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE - D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', optimize='-O2 -g -pipe -m32 -march=i386 -mtune=pentium4', cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict- aliasing -pipe -I/usr/local/include -I/usr/include/gdbm' ccversion='', gccversion='3.4.6 20060404 (Red Hat 3.4.6-3)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='gcc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread - lc perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=/lib/libc-2.3.4.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.3.4' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E - Wl,-rpath,/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE' cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Built under linux Compiled at Aug 12 2006 17:09:08 @INC: /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl . bash-3.00#
From: BWARFIELD [...] cpan.org
Just from the error messages, it looks to me like the problem lies with your GD installation, not GD::Graph. Possibly it was built with a different compiler than your current perl? (I'm just dredging through my memory for known RedHat issues, here.) In any case, I would advise reinstalling GD from CPAN, then trying again.