Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 624332

Summary: dev-perl/GDGraph-1.540.0 needs GD[jpeg] for test ( t/axestype.t ................... Can't load '/.../GD.so' for module GD: undefined symbol: gdImageCreateFromJpegCtx )
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: normal CC: kentnl
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=640474
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 661634    
Bug Blocks: 300119    
Attachments: emerge-info.txt
dev-perl:GDGraph-1.540.0:20170709-012035.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2
tests.tbz2

Description Toralf Förster gentoo-dev 2017-07-09 08:12:48 UTC
make -j1 test TEST_VERBOSE=0 
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/*/*.t
t/axestype.t ................... Can't load '/usr/lib64/perl5/vendor_perl/5.24.1/x86_64-linux/auto/GD/GD.so' for module GD: /usr/lib64/perl5/vendor_perl/5.24.1/x86_64-linux/auto/GD/GD.so: undefined symbol: gdImageCreateFromJpegCtx at /usr/lib64/perl5/5.24.1/x86_64-linux/DynaLoader.pm line 193.
<0x00> at /var/tmp/portage/dev-perl/GDGraph-1.540.0/work/GDGraph-1.54/blib/lib/GD/Graph.pm line 38.
Compilation failed in require at /var/tmp/portage/dev-perl/GDGraph-1.540.0/work/GDGraph-1.54/blib/lib/GD/Graph.pm line 38.
BEGIN failed--compilation aborted at /var/tmp/portage/dev-perl/GDGraph-1.540.0/work/GDGraph-1.54/blib/lib/GD/Graph.pm line 38.

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_20170706-204158

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems)
  [2]   ruby22 (with Rubygems) *
Comment 1 Toralf Förster gentoo-dev 2017-07-09 08:12:51 UTC
Created attachment 482498 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-07-09 08:12:54 UTC
Created attachment 482500 [details]
dev-perl:GDGraph-1.540.0:20170709-012035.log
Comment 3 Toralf Förster gentoo-dev 2017-07-09 08:12:58 UTC
Created attachment 482502 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-07-09 08:13:01 UTC
Created attachment 482504 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-07-09 08:13:04 UTC
Created attachment 482506 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-07-09 08:13:08 UTC
Created attachment 482508 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-07-09 08:13:11 UTC
Created attachment 482510 [details]
tests.tbz2
Comment 8 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-07-10 02:36:59 UTC
GDGraph looks like it probably requires dev-perl/GD[jpeg]
Comment 9 Toralf Förster gentoo-dev 2017-07-17 17:01:00 UTC
FWIW dev-perl/GD forced me to put cgroup limitations to the tinderbox ( 8 GB RAM, 16 BG RAM+SWAP) to avoid an oom-killer by the kernel after 128 GB virtmem were full.
Comment 10 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2019-07-11 06:49:55 UTC
Turns out GD is broken beyond my capacity to fix as it:
- Ignores options to configure
- Ignores indications of supported features from media-libs/gd
- Instead gives a hardcoded list of features

Subsequently this has to be revisited once upstream makes GD less garbage.
Comment 11 Larry the Git Cow gentoo-dev 2021-08-15 17:01:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8202df3cfedc5b41d04bb8e306f4a6abd03a18c2

commit 8202df3cfedc5b41d04bb8e306f4a6abd03a18c2
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2021-08-15 17:01:02 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2021-08-15 17:01:02 +0000

    dev-perl/GD: Remove old
    
    Closes: https://bugs.gentoo.org/624332
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 dev-perl/GD/GD-2.660.0.ebuild | 70 -------------------------------------------
 dev-perl/GD/Manifest          |  1 -
 2 files changed, 71 deletions(-)