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

Bug 815061

Summary: media-libs/gd-2.3.3 disables gd support by default, add use flag to re-enable
Product: Gentoo Linux Reporter: Robert Schultz <robert>
Component: Current packagesAssignee: Codec Project <codec>
Status: UNCONFIRMED ---    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Robert Schultz 2021-09-27 01:43:41 UTC
As of v2.3.3 for media-libs/gd upstream has disabled 'gd' support by default.

A 'gd' USE flag should be added that will enable it and pass --enable-gd-formats to the configure script via use_enable

Reproducible: Always

Steps to Reproduce:
Download sample gd file: https://telparia.com/fileFormatSamples/image/gd/abydos.gd
Attempt to convert with media-libs/gd program: gdtopng abydos.gd out.png
Actual Results:  
GD Warning: GD image support has been disabled

Expected Results:  
It should convert properly. It does so after modifying the ebuild to --enable-gd-formats
Comment 1 Robert Schultz 2021-09-27 01:44:12 UTC
See this upstream bug where they disabled it by default: https://github.com/libgd/libgd/issues/428
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-09-27 01:52:27 UTC
From the discussion in https://github.com/libgd/libgd/pull/776#issuecomment-927442848, it's not clear to me if this was deliberate or not.
Comment 3 Alexandros C. Couloumbis 2021-11-09 14:38:56 UTC
this issue broke calamaris

/usr/bin/cat /extra/squid/logs/access.log | /usr/bin/nice /usr/bin/calamaris --config-file /etc/calamaris.conf


GD Warning: GD image support has been disabled
gdImageGdPtr error at /usr/lib/perl5/vendor_perl/5.34/GD/Graph.pm line 511, <> line 8884.