Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333497 - Please install perl module GD::Graph on build.eclipse.org
Summary: Please install perl module GD::Graph on build.eclipse.org
Status: RESOLVED FIXED
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Servers (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Eclipse Webmaster CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-04 11:39 EST by Martin Oberhuber CLA
Modified: 2011-05-03 14:12 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Oberhuber CLA 2011-01-04 11:39:58 EST
+++ This bug was initially created as a clone of Bug #167838 +++

It looks like once again, during the server upgrade of build.e.o to x86_64, the GD::Graph perl module was lost.

I'm running cvschangelogbuilder on build.eclipse.org, and the charts require GD::Graph. This was installed before the server upgrade.

According to bug 142522 comment 5, the right command should be
   /usr/bin/perl -MCPAN -e 'install "GD::Graph"'
Comment 1 Eclipse Webmaster CLA 2011-01-07 15:01:35 EST
I've built the GD libs and installed the Perl module.  Can you confirm your scripts are now working correctly.

-M.
Comment 2 Martin Oberhuber CLA 2011-01-10 06:10:10 EST
Unfortunately it still fails, and in a way that's worse than before: Now the failure generating images leads to terminating the script, so I cannot see ANY data (before I saw textual data without images).

This is the error message I see:

Generating HTML report...
Can't locate object method "png" via package "GD::Image" at /home/data/users/moberhuber/cvscl/cvschangelogbuilder-2.2/cvschangelogbuild
er.pl line 1688.
moberhuber@build:~/cvscl> ls ~/downloads-tm/downloads/drops/N-changelog/
Comment 3 Denis Roy CLA 2011-01-24 09:36:37 EST
gd itself was not installed... I wonder if it's required.  I've installed it; Martin, can you try again?
Comment 4 Martin Oberhuber CLA 2011-01-24 12:24:34 EST
Better, but not quite good yet... now changelogbuilder doesn't crash any more, but ends with this message:

Generating HTML report...
Can't locate object method "png" via package "GD::Image" at /home/data/users/moberhuber/cvscl/cvschangelogbuilder-2.2/cvschangelogbuilder.pl line 1688.
Comment 5 Martin Oberhuber CLA 2011-05-02 21:29:17 EDT
Ping? 

This still fails for me on build.e.o
Comment 6 Martin Oberhuber CLA 2011-05-02 21:32:23 EDT
FWIW, CDT is also broken, no updates since Sep 2010:
http://download.eclipse.org/tools/cdt/builds/cvslog/HEAD/index.html
Comment 7 Eclipse Webmaster CLA 2011-05-03 14:12:53 EDT
Ok I think this should be fixed.  Having to install the png and jpeg devel libs and then having to hand correct the symlinks(and the symlink for gd) so they appear to LD is really really irritating.  Might have something to do with the 32bit compatibility mode.

Perl one liner to test for png:

>perl -e 'use GD; $im=GD::Image->new(); print $im->can("png") ? "yes" : "no" , "\n";'
yes
>

-M.