Closed
Bug 196247
Opened 22 years ago
Closed 21 years ago
strange perl error in reports.cgi
Categories
(Bugzilla :: Reporting/Charting, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jon, Assigned: gerv)
References
Details
Attachments
(1 file)
5.33 KB,
image/png
|
Details |
User-Agent: Mozilla/5.0 Galeon/1.2.6 (X11; Linux i686; U;) Gecko/20020830
Build Identifier: Mozilla/5.0 Galeon/1.2.6 (X11; Linux i686; U;) Gecko/20020830
(using cvs head as of yesterday)
when i try to generate graphical reports, i get the following error:
Can't locate Bugzilla/Template/Plugin/GD/Graph/bars.pm in @INC (@INC contains: .
/usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1
/usr/lib/perl5/vendor_perl) at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Template/Plugins.pm line 194.
I can't seem to find why the code is putting the GD::Graph::Bars call in the
Bugzilla namespace.
[root@bugzilla jon]$ perl -MGD::Graph -e 'print $GD::Graph::VERSION,"\n"'
1.39
[root@bugzilla jon]$ perl -MTemplate::Plugin::GD::Graph::bars -e 'print
"$Template::Plugin::GD::Graph::bars::VERSION\n"'
1.44
[root@bugzilla jon]$ perl -MTemplate::Plugin -e 'print
"$Template::Plugin::VERSION\n"'
2.54
[jon@bugzilla Plugin]$ perl --version
This is perl, v5.6.1 built for i386-linux
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1•22 years ago
|
||
I believe the GD plugin for Template is optional when you install Template
Toolkit... did you say no when it asked if it could install that?
Summary: strange perl error in reports.cgi → strange perl error in reports.cgi
Reporter | ||
Comment 2•22 years ago
|
||
when i do a "force install A/AB/ABW/Template-Toolkit-2.08.tar.gz" i get the
following:
Text::Autoformat [ ] module not installed
GD [X] version 1.40 installed
GD::Text [X] version 0.83 installed
GD::Graph [X] version 1.39 installed
GD::Graph3d [ ] module not installed
Date::Calc [X] version 5.3 installed
Pod::POM [ ] module not installed
Tie::DBI [ ] module not installed
XML::DOM [ ] module not installed
XML::RSS [ ] module not installed
XML::XPath [ ] module not installed
DBI [X] version 1.32 installed, configuring tests
so it looks like it's already installed. i've also reinstalled all of the
related GD libs / perl modules, and it doesn't make a difference. am i the only
one with this problem? this is on a redhat 7.3 machine, and i wonder if there's
an underlying but that i'm totally missing. all of the tests for the above
mentioned modules pass.
Comment 3•22 years ago
|
||
The real question is 'why is it looking in Bugzilla/' ?
Can you try some print calls in Template::Plugin? the code should be trying
that, and then falling back to the 'default' Template::Plugin namespace
What version of CGI.pm do you have?
Reporter | ||
Comment 4•22 years ago
|
||
[jon@bugzilla main]$ perl -MCGI -e 'print "$CGI::VERSION\n"'
2.91
where should i be putting debugging output in Template::Plugin?
i hope this is a configuration issue, because i'd gladly write a check for it in
checksetup.pl.
Comment 5•22 years ago
|
||
I can't reproduce this - are you talking about report.cgi or reports.cgi? The
summary says reports, but that doesn't use bars.pm
Is the error a template error, or a |die|?
If you change Bugzilla::Template to |use Template::Constants qw(:debug).;
and then add DEBUG => DEBUG_PLUGINS to the constructor's hash args, what results
do you get printed to STDERR (ie your server log)
Comment 6•22 years ago
|
||
*** Bug 198105 has been marked as a duplicate of this bug. ***
Comment 7•22 years ago
|
||
So when I comment out
# use Carp;
and
# sub die_with_dignity {
# my ($err_msg) = @_;
# print $err_msg;
# confess($err_msg);
# }
# $::SIG{__DIE__} = \&die_with_dignity;
I get the same error I started with. No image is displayed and when I select an
image and right click and select view I see the following:
The image
“http://mreynolds-sun/bugzilla2/report.cgi?bug_file_loc_type=allwordssubstr&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=PENDING&bugidtype=include&chfieldto=Now&emailassigned_to1=1&emailassigned_to2=1&emailcc2=1&emailqa_contact2=1&emailreporter2=1&emailtype1=substring&emailtype2=substring&field0-0-0=noop&long_desc_type=substring&query_format=report-graph&short_desc_type=allwordssubstr&type0-0-0=noop&x_axis_field=bug_status&x_labels_vertical=1&y_axis_field=product&z_axis_field=component&format=bar&ctype=png&action=plot&component=BB-PBGen&width=600&height=350”
cannot be displayed, because it contains errors.
Let me know if you need me to do anything else.
Mike
Comment 8•22 years ago
|
||
Additionally, coment out all instancs of CGI::Carp (in globals.pl). Then see
what happens.
Comment 9•22 years ago
|
||
I can find no reference to CGI anything in globals.pl
Comment 10•22 years ago
|
||
sorry, its in CGI.pl
Comment 11•22 years ago
|
||
commented out one instance of # use CGI::Carp qw(fatalsToBrowser);
in CGI.pl
Ran report again, same error
Assignee | ||
Comment 12•22 years ago
|
||
What happens if you add "&debug=1" to the end of the URL in comment 7?
Gerv
Comment 13•22 years ago
|
||
Adding debug=1 to the end of the URL
data hash:
$VAR1 = '-total-';
$VAR2 = {
'ASSIGNED' => {
'BroadBand' => 1
}
};
$VAR3 = 'BB-PBGen';
$VAR4 = {
'ASSIGNED' => {
'BroadBand' => 1
}
};
data array:
$VAR1 = [
[
'ASSIGNED'
],
[
1
]
];
Bugzilla Version 2.17.3
Internal Error
Bugzilla has suffered an internal error. Please save this page and send it to
mreynolds@ipass.com with details of what you were doing at the time this message
appeared.
URL:
http://mreynolds-sun/bugzilla2/report.cgi?bug_file_loc_type=allwordssubstr&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=PENDING&bugidtype=include&chfieldto=Now&emailassigned_to1=1&emailassigned_to2=1&emailcc2=1&emailqa_contact2=1&emailreporter2=1&emailtype1=substring&emailtype2=substring&field0-0-0=noop&long_desc_type=substring&query_format=report-graph&short_desc_type=allwordssubstr&type0-0-0=noop&x_axis_field=bug_status&x_labels_vertical=1&y_axis_field=product&z_axis_field=component&format=bar&ctype=png&action=plot&component=BB-PBGen&width=600&height=350&debug=1
undef error - Template::Exception at /usr/local/lib/perl5/5.8.0/CGI/Carp.pm line
301.
Comment 14•22 years ago
|
||
What is the status on this bug? Do you need any other information from me. Is
there some additional testing or data collection that I can do?
Mike
Comment 15•22 years ago
|
||
Teh status is that none of the bugzilla developers can reproduce this, or have
any idea as to what could be going on.
What happens if you upgrade TT to the latest devel version?
Comment 16•22 years ago
|
||
I have made and run make test on TT 2.08e and received the following
t/gd.............ok 3/11libpng warning: Application was compiled with png.h from
libpng-1.0.10 libpng warning: Application is running with png.c from libpng-1.2.4
gd-png: fatal libpng error: Incompatible libpng version in application and library
t/gd.............dubious
Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 4-11
Failed 8/11 tests, 27.27% okay
t/gdgraph........ok 3/21libpng warning: Application was compiled with png.h from
libpng-1.0.10 libpng warning: Application is running with png.c from libpng-1.2.4
gd-png: fatal libpng error: Incompatible libpng version in application and library
t/gdgraph........dubious
Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 4-21
Failed 18/21 tests, 14.29% okay t/gdgraph3d......skipped
all skipped: GD module(s) not installed
*** Error code 29
make: Fatal error: Command failed for target `test_dynamic'
I have libpng 1.24 and Template Toolkit 2.08e installed
Mike
Comment 17•22 years ago
|
||
Ah ha! That would be the issue.
You obviously upgraded libpng at some point Reintsall the perl GD module.
Comment 18•22 years ago
|
||
Already reinstalled GD, I get the same error
Comment 19•22 years ago
|
||
I had this problem once... seems like I actually had to reinstall GD itself or
something. I forget what I actually did though.
Comment 20•22 years ago
|
||
I have rebuilt libpng, libgd and GD itself. I did notice that it cannot seem
to find Math::Trig even though it is installed. I am not longer receiveing that
libpng error when building and installing GD.
oot@mreynolds-sun:[/export/home/mreynold/GD-2.06]# perl Makefile.PL
NOTICE: This module requires libgd 2.0.5 or higher.
it will NOT work with earlier versions.
For earlier versions of libgd, use GD version 1.41.
Where is libgd installed? [/usr/lib] /usr/local/lib/
Please choose the features that match how libgd was built:
Build JPEG support? [y] n
Build FreeType support? [y] n
Build XPM support? [y] n
If you experience compile problems, please check the @INC, @LIBPATH and @LIBS
arrays defined in Makefile.PL and manually adjust, if necessary.
WARNING: CAPI is not a known parameter.
Warning: prerequisite Math::Trig 1 not found.
Writing Makefile for GD
root@mreynolds-sun:[/export/home/mreynold/GD-2.06]# make
gcc -B/usr/ccs/bin/ -c -I/usr/local/lib//include -I/usr/local/include
-I/usr/local/include/gd -fno-strict-aliasing -D_LARc
gcc: file path prefix `/usr/ccs/bin/' never used
Running Mkbootstrap for GD ()
chmod 644 GD.bs
rm -f blib/arch/auto/GD/GD.so
LD_RUN_PATH="/usr/local/lib:/usr/lib" gcc -B/usr/ccs/bin/ -G -L/usr/local/lib
GD.o -o blib/arch/auto/GD/GD.so -L/usr/lo
gcc: file path prefix `/usr/ccs/bin/' never used
chmod 755 blib/arch/auto/GD/GD.so
cp GD.bs blib/arch/auto/GD/GD.bs
chmod 644 blib/arch/auto/GD/GD.bs
Manifying blib/man3/GD::Polyline.3
Manifying blib/man3/GD.3
root@mreynolds-sun:[/export/home/mreynold/GD-2.06]# make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/GD..........ok
3/10 skipped: various reasons
t/Polyline....ok
All tests successful, 3 subtests skipped.
Files=2, Tests=11, 1 wallclock secs ( 0.80 cusr + 0.11 csys = 0.91 CPU)
root@mreynolds-sun:[/export/home/mreynold/GD-2.06]# make install
Installing /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/GD/GD.so
Files found in blib/arch: installing files in blib/lib into architecture
dependent library tree
Writing /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/GD/.packlist
Appending installation info to /usr/local/lib/perl5/5.8.0/sun4-solaris/perllocal.pod
I am still receiving the same errors.
Internal Error
Bugzilla has suffered an internal error. Please save this page and send it to
mreynolds@ipass.com with details of what you were doing at the time this message
appeared.
URL:
http://mreynolds-sun/bugzilla2/report.cgi?bug_file_loc_type=allwordssubstr&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=PENDING&bugidtype=include&chfieldto=Now&cumulate=1&debug=1&emailassigned_to1=1&emailassigned_to2=1&emailcc2=1&emailqa_contact2=1&emailreporter2=1&emailtype1=substring&emailtype2=substring&field0-0-0=noop&long_desc_type=substring&query_format=report-graph&short_desc_type=allwordssubstr&type0-0-0=noop&x_axis_field=resolution&x_labels_vertical=1&y_axis_field=product&z_axis_field=component&format=line&ctype=png&action=plot&width=600&height=350
plugin error - Can't load
'/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/GD/GD.so' for module GD:
ld.so.1: /usr/bonsaitools/bin/perl: fatal: libXpm.so.4: open failed: No such
file or directory at /usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm line
229. at /usr/local/lib/perl5/site_perl/5.8.0/GD/Graph.pm line 38 Compilation
failed in require at /usr/local/lib/perl5/site_perl/5.8.0/GD/Graph.pm line 38.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.0/GD/Graph.pm line 38. Compilation failed in
require at /usr/local/lib/perl5/site_perl/5.8.0/GD/Graph/axestype.pm line 18.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.0/GD/Graph/axestype.pm line 18. Compilation
failed in require at /usr/local/lib/perl5/site_perl/5.8.0/GD/Graph/area.pm line
18. BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.0/GD/Graph/area.pm line 18. Compilation
failed in require at
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Template/Plugin/GD/Graph/area.pm
line 30. BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Template/Plugin/GD/Graph/area.pm
line 30. Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Template/Plugins.pm line 202.
What else would you like me to check
Reporter | ||
Comment 21•22 years ago
|
||
>------- Additional Comment #5 From Bradley Baetz 2003-03-07 20:53 -------
>
>I can't reproduce this - are you talking about report.cgi or reports.cgi? The
>summary says reports, but that doesn't use bars.pm
i meant report.cgi. sorry.
i've been following this thread for the last week, and i think Mike's error is
different than mine.
I've uninstalled + reinstalled every library + pm that has anything to do with
this code, and i still see this error (on both rh7.3 and rh8). sometimes though
i get something like this:
http://bugzilla.vmware.com/report.cgi?debug=1&bug_status=new&bug_status=assigned&bug_status=reopened&bug_status=diagnosed&bugidtype=include&chfieldto=Now&emailassigned_to1=1&emailassigned_to2=1&emailcc2=1&emailqa_contact2=1&emailreporter2=1&emailtype1=exact&emailtype2=exact&field0-0-0=noop&long_desc_type=allwordssubstr&query_format=report-graph&short_desc_type=allwordssubstr&type0-0-0=noop&x_axis_field=version&y_axis_field=component&z_axis_field=guest_op_sys&format=bar&ctype=png&action=plot&op_sys=All%20FreeBSD&width=980&height=350
gives me:
data hash:
$VAR1 = '-total-';
$VAR2 = {
'Internal' => {
'tools' => '8'
}
};
$VAR3 = 'All FreeBSD';
$VAR4 = {
'Internal' => {
'tools' => '8'
}
};
data array:
$VAR1 = [
[
'Internal'
],
[
'8'
]
];
Can't locate Bugzilla/Template/Plugin/GD/Graph/bars.pm in @INC (@INC contains: .
/usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1
/usr/lib/perl5/vendor_perl) at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Template/Plugins.pm line 194.
194. ‰PNG
IHDR
(followed by a bunch of binary data that i can't cut and paste here)
so occasionally the code generates an error and an image. but the error goes to
STDOUT instead of STDERR (there's nothing in my error_log about this).
Comment 22•22 years ago
|
||
Any News???
Reporter | ||
Comment 23•22 years ago
|
||
I did a fresh install on a rh9.0 machine, and the problem exists there as well:
Can't locate Bugzilla/Template/Plugin/GD/Graph/bars.pm in @INC (@INC contains: .
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl) at
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Template/Plugins.pm line 194.
Comment 24•22 years ago
|
||
What TT version was that? I suppose I should try to come up with a small test
case, but since I can't repro it locally, that may be hard. I'll try this
weeknd, though.
Has someone tried adding the debug line I mentioend in comment #5?
Comment 25•22 years ago
|
||
Please see the history of this bug below
------- Additional Comment #13 From Mike Reynolds 2003-03-21 16:10 -------
Adding debug=1 to the end of the URL
data hash:
$VAR1 = '-total-';
$VAR2 = {
'ASSIGNED' => {
'BroadBand' => 1
}
};
$VAR3 = 'BB-PBGen';
$VAR4 = {
'ASSIGNED' => {
'BroadBand' => 1
}
};
data array:
$VAR1 = [
[
'ASSIGNED'
],
[
1
]
];
Bugzilla Version 2.17.3
Internal Error
Bugzilla has suffered an internal error. Please save this page and send it to
mreynolds@ipass.com with details of what you were doing at the time this message
appeared.
URL:
http://mreynolds-sun/bugzilla2/report.cgi?bug_file_loc_type=allwordssubstr&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=PENDING&bugidtype=include&chfieldto=Now&emailassigned_to1=1&emailassigned_to2=1&emailcc2=1&emailqa_contact2=1&emailreporter2=1&emailtype1=substring&emailtype2=substring&field0-0-0=noop&long_desc_type=substring&query_format=report-graph&short_desc_type=allwordssubstr&type0-0-0=noop&x_axis_field=bug_status&x_labels_vertical=1&y_axis_field=product&z_axis_field=component&format=bar&ctype=png&action=plot&component=BB-PBGen&width=600&height=350&debug=1
undef error - Template::Exception at /usr/local/lib/perl5/5.8.0/CGI/Carp.pm line
301.
Comment 26•22 years ago
|
||
bugzilla@mreynolds-sun:[/export/home/bugzilla/bugzilla2]# ./checksetup.pl
Checking perl modules ...
Checking for AppConfig (v1.52) ok: found v1.52
Checking for CGI (v2.88) ok: found v2.89
Checking for Data::Dumper (any) ok: found v2.101
Checking for Date::Parse (any) ok: found v2.23
Checking for DBI (v1.13) ok: found v1.32
Checking for DBD::mysql (v1.2209) ok: found v2.1024
Checking for File::Spec (v0.82) ok: found v0.82
Checking for File::Temp (any) ok: found v0.13
Checking for Template (v2.08) ok: found v2.08e
Checking for Text::Wrap (v2001.0131) ok: found v2001.0929
The following Perl modules are optional:
Checking for GD (v1.20) ok: found v2.06
Checking for Chart::Base (v0.99) ok: found v0.99
Checking for XML::Parser (any) ok: found v2.31
Checking for GD::Graph (any) ok: found v1.39
Checking for GD::Text::Align (any) ok: found v1
Comment 27•22 years ago
|
||
no, not the &debug one - the DEBUG => DEBUG_PLUGINS one
Comment 28•22 years ago
|
||
If you change Bugzilla::Template to |use Template::Constants qw(:debug).;
and then add DEBUG => DEBUG_PLUGINS to the constructor's hash args, what results
do you get printed to STDERR (ie your server log)
Do I add this line
use Template::Constants qw(:debug);
or is there a line I should replace with this. Where is the constructor called
for this line. I'm looking in Bugzilla/Template.pm and there is no line that
calls Template::Constants. The closest is Template::Stash.
Thanks
Comment 29•22 years ago
|
||
> Do I add this line
> use Template::Constants qw(:debug);
Yes, just up the top.
> Where is the constructor called for this line.
Its not; you use the value brought in. Inside the |create| sub, change:
return $class->new({
+ DEBUG=>DEBUG_PLUGINS,
# Colon-separated list of directories containing templates.
add the line I marked with a + (but don't add the + itself)
Confirming; multiple people have run into this now.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 30•22 years ago
|
||
Contents of error_log after making said changes to Template.pm
[Fri Apr 11 16:22:41 2003] [error] [client 10.10.7.171] [Template::Plugins]
fetch(GD.Graph.bars, [ 600, 350 ], Template::Context=HAS
H(0x5b8cc4)), referer:
http://mreynolds-sun/bugzilla2/report.cgi?y_axis_field=product&cumulate=0&z_axis_field=&format=bar&x_axis_fie
ld=bug_status&x_labels_vertical=1&query_format=report-graph&short_desc_type=allwordssubstr&short_desc=&long_desc_type=substring&long
_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=PENDING&op_s
ys=&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailqa_contact2=1&emailcc2=1&emailtype2=s
ubstring&email2=&bugidtype=include&bug_id=&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&action=wrap&field0-0-0=noop&type0-0-0
=noop&value0-0-0=
[Fri Apr 11 16:22:41 2003] [error] [client 10.10.7.171] [Template::Plugins]
loading Bugzilla/Template/Plugin/GD/Graph/bars.pm (PLUGI
N_BASE), referer:
http://mreynolds-sun/bugzilla2/report.cgi?y_axis_field=product&cumulate=0&z_axis_field=&format=bar&x_axis_field=bu
g_status&x_labels_vertical=1&query_format=report-graph&short_desc_type=allwordssubstr&short_desc=&long_desc_type=substring&long_desc
=&bug_file_loc_type=allwordssubstr&bug_file_loc=&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=PENDING&op_sys=&e
mailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailqa_contact2=1&emailcc2=1&emailtype2=substr
ing&email2=&bugidtype=include&bug_id=&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&action=wrap&field0-0-0=noop&type0-0-0=noop
&value0-0-0=
[Fri Apr 11 16:22:41 2003] [error] [client 10.10.7.171] [Template::Plugins]
loading Template/Plugin/GD/Graph/bars.pm (PLUGIN_BASE),
referer:
http://mreynolds-sun/bugzilla2/report.cgi?y_axis_field=product&cumulate=0&z_axis_field=&format=bar&x_axis_field=bug_status&
x_labels_vertical=1&query_format=report-graph&short_desc_type=allwordssubstr&short_desc=&long_desc_type=substring&long_desc=&bug_fil
e_loc_type=allwordssubstr&bug_file_loc=&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=PENDING&op_sys=&emailassig
ned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailqa_contact2=1&emailcc2=1&emailtype2=substring&email
2=&bugidtype=include&bug_id=&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&action=wrap&field0-0-0=noop&type0-0-0=noop&value0-0
-0=
[Fri Apr 11 16:22:41 2003] [error] [client 10.10.7.171] [Template::Plugins]
fetch(Bugzilla, <no args>, Template::Context=HASH(0x5b8c
c4)), referer:
http://mreynolds-sun/bugzilla2/report.cgi?y_axis_field=product&cumulate=0&z_axis_field=&format=bar&x_axis_field=bug_s
tatus&x_labels_vertical=1&query_format=report-graph&short_desc_type=allwordssubstr&short_desc=&long_desc_type=substring&long_desc=&b
ug_file_loc_type=allwordssubstr&bug_file_loc=&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=PENDING&op_sys=&emai
lassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailqa_contact2=1&emailcc2=1&emailtype2=substring
&email2=&bugidtype=include&bug_id=&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&action=wrap&field0-0-0=noop&type0-0-0=noop&va
lue0-0-0=
[Fri Apr 11 16:22:41 2003] [error] [client 10.10.7.171] [Template::Plugins]
loading Bugzilla/Template/Plugin/GD/Graph/bars.pm (PLUGI
N_BASE), referer:
http://mreynolds-sun/bugzilla2/report.cgi?y_axis_field=product&cumulate=0&z_axis_field=&format=bar&x_axis_field=bu
g_status&x_labels_vertical=1&query_format=report-graph&short_desc_type=allwordssubstr&short_desc=&long_desc_type=substring&long_desc
=&bug_file_loc_type=allwordssubstr&bug_file_loc=&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=PENDING&op_sys=&e
mailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailqa_contact2=1&emailcc2=1&emailtype2=substr
ing&email2=&bugidtype=include&bug_id=&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&action=wrap&field0-0-0=noop&type0-0-0=noop
&value0-0-0=
[Fri Apr 11 16:22:41 2003] [error] [client 10.10.7.171] [Template::Plugins]
loading Template/Plugin/GD/Graph/bars.pm (PLUGIN_BASE),
referer:
http://mreynolds-sun/bugzilla2/report.cgi?y_axis_field=product&cumulate=0&z_axis_field=&format=bar&x_axis_field=bug_status&
x_labels_vertical=1&query_format=report-graph&short_desc_type=allwordssubstr&short_desc=&long_desc_type=substring&long_desc=&bug_fil
e_loc_type=allwordssubstr&bug_file_loc=&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=PENDING&op_sys=&emailassig
ned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailqa_contact2=1&emailcc2=1&emailtype2=substring&email
2=&bugidtype=include&bug_id=&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&action=wrap&field0-0-0=noop&type0-0-0=noop&value0-0
-0=
[Fri Apr 11 16:22:41 2003] [error] [client 10.10.7.171] [Template::Plugins]
fetch(Bugzilla, <no args>, Template::Context=HASH(0x5b8c
c4)), referer:
http://mreynolds-sun/bugzilla2/report.cgi?y_axis_field=product&cumulate=0&z_axis_field=&format=bar&x_axis_field=bug_s
tatus&x_labels_vertical=1&query_format=report-graph&short_desc_type=allwordssubstr&short_desc=&long_desc_type=substring&long_desc=&b
ug_file_loc_type=allwordssubstr&bug_file_loc=&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=PENDING&op_sys=&emai
lassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailqa_contact2=1&emailcc2=1&emailtype2=substring
&email2=&bugidtype=include&bug_id=&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&action=wrap&field0-0-0=noop&type0-0-0=noop&va
lue0-0-0=
[Fri Apr 11 16:22:41 2003] [error] [client 10.10.7.171] [Template::Plugins]
loading Bugzilla/Template/Plugin/Bugzilla.pm (PLUGIN_BAS
E), referer:
http://mreynolds-sun/bugzilla2/report.cgi?y_axis_field=product&cumulate=0&z_axis_field=&format=bar&x_axis_field=bug_sta
tus&x_labels_vertical=1&query_format=report-graph&short_desc_type=allwordssubstr&short_desc=&long_desc_type=substring&long_desc=&bug
_file_loc_type=allwordssubstr&bug_file_loc=&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=PENDING&op_sys=&emaila
ssigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailqa_contact2=1&emailcc2=1&emailtype2=substring&e
mail2=&bugidtype=include&bug_id=&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&action=wrap&field0-0-0=noop&type0-0-0=noop&valu
e0-0-0=
[Fri Apr 11 16:22:41 2003] [error] [client 10.10.7.171] [Template::Plugins]
calling Bugzilla::Template::Plugin::Bugzilla->load(), re
ferer:
http://mreynolds-sun/bugzilla2/report.cgi?y_axis_field=product&cumulate=0&z_axis_field=&format=bar&x_axis_field=bug_status&x_
labels_vertical=1&query_format=report-graph&short_desc_type=allwordssubstr&short_desc=&long_desc_type=substring&long_desc=&bug_file_
loc_type=allwordssubstr&bug_file_loc=&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=PENDING&op_sys=&emailassigne
d_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailqa_contact2=1&emailcc2=1&emailtype2=substring&email2=
&bugidtype=include&bug_id=&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&action=wrap&field0-0-0=noop&type0-0-0=noop&value0-0-0
=
[Fri Apr 11 16:22:41 2003] [error] [client 10.10.7.171] [Template::Plugins]
Bugzilla => Bugzilla::Template::Plugin::Bugzilla, refere
r:
http://mreynolds-sun/bugzilla2/report.cgi?y_axis_field=product&cumulate=0&z_axis_field=&format=bar&x_axis_field=bug_status&x_labe
ls_vertical=1&query_format=report-graph&short_desc_type=allwordssubstr&short_desc=&long_desc_type=substring&long_desc=&bug_file_loc_
type=allwordssubstr&bug_file_loc=&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=PENDING&op_sys=&emailassigned_to
1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailqa_contact2=1&emailcc2=1&emailtype2=substring&email2=&bug
idtype=include&bug_id=&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&action=wrap&field0-0-0=noop&type0-0-0=noop&value0-0-0=
[Fri Apr 11 16:22:41 2003] [error] [client 10.10.7.171] [Template::Plugins]
fetch(Bugzilla, <no args>, Template::Context=HASH(0x5b8c
c4)), referer:
http://mreynolds-sun/bugzilla2/report.cgi?y_axis_field=product&cumulate=0&z_axis_field=&format=bar&x_axis_field=bug_s
tatus&x_labels_vertical=1&query_format=report-graph&short_desc_type=allwordssubstr&short_desc=&long_desc_type=substring&long_desc=&b
ug_file_loc_type=allwordssubstr&bug_file_loc=&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=PENDING&op_sys=&emai
lassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailqa_contact2=1&emailcc2=1&emailtype2=substring
&email2=&bugidtype=include&bug_id=&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&action=wrap&field0-0-0=noop&type0-0-0=noop&va
lue0-0-0=
[Fri Apr 11 16:22:41 2003] [error] [client 10.10.7.171] [Template::Plugins]
fetch(Bugzilla, <no args>, Template::Context=HASH(0x5b8c
c4)), referer:
http://mreynolds-sun/bugzilla2/report.cgi?y_axis_field=product&cumulate=0&z_axis_field=&format=bar&x_axis_field=bug_s
tatus&x_labels_vertical=1&query_format=report-graph&short_desc_type=allwordssubstr&short_desc=&long_desc_type=substring&long_desc=&b
ug_file_loc_type=allwordssubstr&bug_file_loc=&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=PENDING&op_sys=&emai
lassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailqa_contact2=1&emailcc2=1&emailtype2=substring
&email2=&bugidtype=include&bug_id=&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&action=wrap&field0-0-0=noop&type0-0-0=noop&va
lue0-0-0=
Comment 31•22 years ago
|
||
Hmm.
Can you confirm that that file is readable by the webserver user?
If you add the USE line from teh reports template into, say, header.html.tmpl,
and then try running index.cgi from the command line, does it work (and fail on
the webserver)?
Check that your bonsaitools perl is poting to the same perl you used to install TT.
Comment 32•22 years ago
|
||
File is executable and readable by webserver user
---------------------------------------------
bonsaitool perl
lrwxrwxrwx 1 root other 19 Jan 24 15:49 perl -> /usr/local/bin/perl
bugzilla@mreynolds-sun:[/usr/bonsaitools/bin]# perl -version
This is perl, v5.8.0 built for sun4-solaris
--------------------------------------------------------------------
I added use Template::Constants qw(:debug); to header.html.tmpl
[Fri Apr 11 22:31:02 2003] [error] [client 10.10.7.171] Argument "" isn't
numeric in numeric gt (>) at, referer: http://mreynolds-sun/bugzilla2/report.cgi
[Fri Apr 11 22:31:02 2003] [error] [client 10.10.7.171]
data/template/en/default/index.html.tmpl line 27 (
#1), referer: http://mreynolds-sun/bugzilla2/report.cgi
[Fri Apr 11 22:31:02 2003] [error] [client 10.10.7.171] (W numeric) The
indicated string was fed as an argumen
t to an operator, referer: http://mreynolds-sun/bugzilla2/report.cgi
[Fri Apr 11 22:31:02 2003] [error] [client 10.10.7.171] that expected a
numeric value instead. If you're fortunate the message, referer:
http://mreynolds-sun/bugzilla2/report.cgi
[Fri Apr 11 22:31:02 2003] [error] [client 10.10.7.171] will identify which
operator was so unfortunate., referer: http://mreynolds-sun/bugzilla2/report.cgi
[Fri Apr 11 22:31:02 2003] [error] [client 10.10.7.171] , referer:
http://mreynolds-sun/bugzilla2/report.cgi
[Fri Apr 11 22:31:02 2003] [error] [client 10.10.7.171] [Fri Apr 11 22:31:02
2003] index.cgi: Argument "" isn't numeric in numeric gt (>) at
data/template/en/default/index.html.tmpl line 27., referer:
http://mreynolds-sun/bugzilla2/report.cgi
Comment 33•22 years ago
|
||
from the command line
./index.cgi
Can't call method "param" on an undefined value at CGI.pl line 907.
Compilation failed in require at ./index.cgi line 38.
Comment 34•22 years ago
|
||
I meant for you to check if the gd.pm file was readable.
Don't add that use line to the template - remove it and add:
[% USE graph = GD.Graph.bars(100,200) %]
to the top, instead.
I don't get that error from the command line, which makes me wonder if something
else is wrong.
Comment 35•22 years ago
|
||
Added
[% USE graph = GD.Graph.bars(100,200) %]
to the top of header.html.tmpl
received this from the command line when running index.cgi
./index.cgi
Can't call method "param" on an undefined value at CGI.pl line 907.
Compilation failed in require at ./index.cgi line 38.
This error was received when running from browser
Bugzilla has suffered an internal error. Please save this page and send it to
mreynolds@ipass.com with details of what you were doing at the time this message
appeared.
URL: http://mreynolds-sun/bugzilla2/
Template->process() failed twice.
First error: plugin error - Can't load
'/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/GD/GD.so' for module GD:
ld.so.1: /usr/bonsaitools/bin/perl: fatal: libXpm.so.4: open failed: No such
file or directory at /usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm line
229. at /usr/local/lib/perl5/site_perl/5.8.0/GD/Graph.pm line 38 Compilation
failed in require at /usr/local/lib/perl5/site_perl/5.8.0/GD/Graph.pm line 38.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.0/GD/Graph.pm line 38. Compilation failed in
require at /usr/local/lib/perl5/site_perl/5.8.0/GD/Graph/axestype.pm line 18.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.0/GD/Graph/axestype.pm line 18. Compilation
failed in require at /usr/local/lib/perl5/site_perl/5.8.0/GD/Graph/bars.pm line
18. BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.0/GD/Graph/bars.pm line 18. Compilation
failed in require at
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Template/Plugin/GD/Graph/bars.pm
line 30. BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Template/Plugin/GD/Graph/bars.pm
line 30. Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Template/Plugins.pm line 202.
Second error: plugin error - Can't locate object method "load" via package
"Template::Plugin::GD::Graph::bars" at
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Template/Plugins.pm line 213.
Comment 36•22 years ago
|
||
That means that libgd couldn't load.
How did you install it? Perhaps try rebuilding it without xpm support? How did
the GD tests pass....
(I'm not sure whether that means that you need to reinstall teh perl GD module
or teh C one. Probably the C one, but you may have to redo the perl one afterwards)
Comment 37•22 years ago
|
||
So i tried reinstalling gd and all dependendent libraries also. I tried to go
down to an earlier version of GD ( 1.19 and 1.20 ) and received the same errors
when running a make test
root@mreynolds-sun:[/export/home/mreynold/GD-1.19]# make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/GD....brush is not of type GD::Image at t/GD.t line 64.
t/GD....dubious
Test returned status 0 (wstat 11, 0xb)
FAILED--1 test script could be run, alas--no output ever seen
*** Error code 2
make: Fatal error: Command failed for target `test_dynamic'
Any suggestions??
Comment 38•22 years ago
|
||
Did you reinstall the c library part of GD? Thats teh failing bit - the perl
stuff is just following on.
Comment 39•22 years ago
|
||
I reinstalled the following:
gd-2.0.12
zlib-1.1.4-sol8-sparc-local
libgcc-3.2.2-sol8-sparc-local
libiconv-1.8-sol8-sparc-local
libpcap-0.7.1-sol8-sparc-local
libpng-1.2.4-sol8-sparc-local
and reinstalled GD-2.06
I built all without freetype and xpm support. GD-2.06 builds fine and now make
test fails here
make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/GD..........Can't load './blib/arch/auto/GD/GD.so' for module GD: ld.so.1:
/usr/local/bin/perl: fatal: relocation error: file /us.
at t/GD.t line 13
Compilation failed in require at t/GD.t line 13.
BEGIN failed--compilation aborted at t/GD.t line 13.
t/GD..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-10
Failed 10/10 tests, 0.00% okay
t/Polyline....Can't load '/export/home/mreynold/GD-2.06/blib/arch/auto/GD/GD.so'
for module GD: ld.so.1: /usr/local/bin/perl: fatal.
at /export/home/mreynold/GD-2.06/blib/lib/GD/Polyline.pm line 49
Compilation failed in require at
/export/home/mreynold/GD-2.06/blib/lib/GD/Polyline.pm line 49.
BEGIN failed--compilation aborted at
/export/home/mreynold/GD-2.06/blib/lib/GD/Polyline.pm line 49.
Compilation failed in require at t/Polyline.t line 10.
BEGIN failed--compilation aborted at t/Polyline.t line 10.
t/Polyline....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/GD.t 255 65280 10 10 100.00% 1-10
t/Polyline.t 255 65280 1 1 100.00% 1
Failed 2/2 test scripts, 0.00% okay. 11/11 subtests failed, 0.00% okay.
*** Error code 2
make: Fatal error: Command failed for target `test_dynamic'
Comment 40•22 years ago
|
||
I've reinstalled all libraries
gd-2.0.12
zlib-1.1.4-sol8-sparc-local
libgcc-3.2.2-sol8-sparc-local
libiconv-1.8-sol8-sparc-local
libpcap-0.7.1-sol8-sparc-local
libpng-1.2.4-sol8-sparc-local
and reinstalled GD-2.06
I built all without freetype and xpm support. GD-2.06 builds fine and now make
test fails here
make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
t/GD..........1..10
Can't load './blib/arch/auto/GD/GD.so' for module GD: ld.so.1:
/usr/local/bin/perl: fatal: relocation error: file /usr/lib/libgd.so.
at t/GD.t line 13
Compilation failed in require at t/GD.t line 13.
BEGIN failed--compilation aborted at t/GD.t line 13.
not ok 1
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-10
Failed 10/10 tests, 0.00% okay
t/Polyline....1..1
Can't load '/export/home/mreynold/GD-2.06/blib/arch/auto/GD/GD.so' for module
GD: ld.so.1: /usr/local/bin/perl: fatal: relocation e.
at /export/home/mreynold/GD-2.06/blib/lib/GD/Polyline.pm line 49
Compilation failed in require at
/export/home/mreynold/GD-2.06/blib/lib/GD/Polyline.pm line 49.
BEGIN failed--compilation aborted at
/export/home/mreynold/GD-2.06/blib/lib/GD/Polyline.pm line 49.
Compilation failed in require at t/Polyline.t line 10.
BEGIN failed--compilation aborted at t/Polyline.t line 10.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/GD.t 255 65280 10 10 100.00% 1-10
t/Polyline.t 255 65280 1 1 100.00% 1
Failed 2/2 test scripts, 0.00% okay. 11/11 subtests failed, 0.00% okay.
*** Error code 2
make: Fatal error: Command failed for target `test_dynamic'
Comment 41•22 years ago
|
||
I've reinstalled all libraries
gd-2.0.12
zlib-1.1.4-sol8-sparc-local
libgcc-3.2.2-sol8-sparc-local
libiconv-1.8-sol8-sparc-local
libpcap-0.7.1-sol8-sparc-local
libpng-1.2.4-sol8-sparc-local
and reinstalled GD-2.06
I built all without freetype and xpm support. GD-2.06 builds fine and now make
test fails here
make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
t/GD..........1..10
Can't load './blib/arch/auto/GD/GD.so' for module GD: ld.so.1:
/usr/local/bin/perl: fatal: relocation error: file /usr/lib/libgd.so.
at t/GD.t line 13
Compilation failed in require at t/GD.t line 13.
BEGIN failed--compilation aborted at t/GD.t line 13.
not ok 1
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-10
Failed 10/10 tests, 0.00% okay
t/Polyline....1..1
Can't load '/export/home/mreynold/GD-2.06/blib/arch/auto/GD/GD.so' for module
GD: ld.so.1: /usr/local/bin/perl: fatal: relocation e.
at /export/home/mreynold/GD-2.06/blib/lib/GD/Polyline.pm line 49
Compilation failed in require at
/export/home/mreynold/GD-2.06/blib/lib/GD/Polyline.pm line 49.
BEGIN failed--compilation aborted at
/export/home/mreynold/GD-2.06/blib/lib/GD/Polyline.pm line 49.
Compilation failed in require at t/Polyline.t line 10.
BEGIN failed--compilation aborted at t/Polyline.t line 10.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/GD.t 255 65280 10 10 100.00% 1-10
t/Polyline.t 255 65280 1 1 100.00% 1
Failed 2/2 test scripts, 0.00% okay. 11/11 subtests failed, 0.00% okay.
*** Error code 2
make: Fatal error: Command failed for target `test_dynamic'
I did a make install, and for some reason it's working. Although when I do a
graph and select product on the X-axis and Status on the Y-axis CLOSED always
shows to the left instead of the right. So it shows CLOSED, NEW, ASSIGNED,
PENDING, RESOLVED and VERIFIED which is kinda weird. Any ideas on how to get
CLOSED to display to the right?
Mike
Comment 42•22 years ago
|
||
Comment 43•22 years ago
|
||
the perl GD module is now up to version 2.07, with the changelog item
2.07 Now compatible with (and requires!) libgd 2.0.12.
which implies that 2.06 wasn't compatible with 2.0.12. Maybe try that?
Comment 44•22 years ago
|
||
Whe I try to install GD 2.07.. any idea as to what test this is failing on...
make
/usr/local/bin/perl /usr/local/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/5.8.0/ExtUtils/typemap -typemap typec
gcc -B/usr/ccs/bin/ -c -I/usr/local/include -I/usr/local/include/gd
-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITSc
gcc: file path prefix `/usr/ccs/bin/' never used
Running Mkbootstrap for GD ()
chmod 644 GD.bs
rm -f blib/arch/auto/GD/GD.so
LD_RUN_PATH="/usr/lib:/usr/local/lib" gcc -B/usr/ccs/bin/ -G -L/usr/local/lib
GD.o -o blib/arch/auto/GD/GD.so -L/usr/local/lib
gcc: file path prefix `/usr/ccs/bin/' never used
chmod 755 blib/arch/auto/GD/GD.so
cp GD.bs blib/arch/auto/GD/GD.bs
chmod 644 blib/arch/auto/GD/GD.bs
Manifying blib/man3/GD::Polyline.3
Manifying blib/man3/GD.3
root@mreynolds-sun:[/export/home/mreynold/GD-2.07]# make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/GD..........Can't load './blib/arch/auto/GD/GD.so' for module GD: ld.so.1:
/usr/local/bin/perl: fatal: relocation error: file /u.
at t/GD.t line 13
Compilation failed in require at t/GD.t line 13.
BEGIN failed--compilation aborted at t/GD.t line 13.
t/GD..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-10
Failed 10/10 tests, 0.00% okay
t/Polyline....Can't load '/export/home/mreynold/GD-2.07/blib/arch/auto/GD/GD.so'
for module GD: ld.so.1: /usr/local/bin/perl: fata.
at /export/home/mreynold/GD-2.07/blib/lib/GD/Polyline.pm line 49
Compilation failed in require at
/export/home/mreynold/GD-2.07/blib/lib/GD/Polyline.pm line 49.
BEGIN failed--compilation aborted at
/export/home/mreynold/GD-2.07/blib/lib/GD/Polyline.pm line 49.
Compilation failed in require at t/Polyline.t line 10.
BEGIN failed--compilation aborted at t/Polyline.t line 10.
t/Polyline....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/GD.t 255 65280 10 10 100.00% 1-10
t/Polyline.t 255 65280 1 1 100.00% 1
Failed 2/2 test scripts, 0.00% okay. 11/11 subtests failed, 0.00% okay.
*** Error code 2
make: Fatal error: Command failed for target `test_dynamic'
Comment 45•22 years ago
|
||
"fatal: relocation error" looks like a local setup issue. Is the path where the
GD C lib is installed on the LD_LIBRARY_PATH, or otehrwise accessible?
Assignee | ||
Comment 46•21 years ago
|
||
Mike, Jon,
Did you ever get this sorted out?
Gerv
Assignee | ||
Comment 47•21 years ago
|
||
Closing WORKSFORME due to lack of input from reporter.
Gerv
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
Comment 48•20 years ago
|
||
I just installed bugzilla 2.18 from Debian's packages and I am getting this same
error in my report images. Here's an example of the output from report.cgi:
Content-type: text/html
<H1>Software error:</H1>
<CODE>Can't locate Bugzilla/Template/Plugin/GD/Graph/bars.pm in @INC (@INC
contains: /usr/share/bugzilla /etc/perl /usr/local
/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/
lib/site_perl) at /usr/lib/perl5/Template/Plugins.pm line 201.
</CODE>
<P>
Please send mail to this site's webmaster for help.
<89>PNG
... binary png data...
I get this output with curl piped to less.
You can see it starts sending the PNG after the error so it's doing _something_,
but the error destroys the image.
I noticed this didn't seem to get resolved before. Any ideas on what I should check?
Comment 49•19 years ago
|
||
I'm experiencing the same problems. How can I reinstall the GD library when I've used CPAN to install it. I'm a complette Perl noob, so please execuse the dumb question.
Updated•12 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•