Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 815061 - media-libs/gd-2.3.3 disables gd support by default, add use flag to re-enable
Summary: media-libs/gd-2.3.3 disables gd support by default, add use flag to re-enable
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Codec Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-27 01:43 UTC by Robert Schultz
Modified: 2022-12-16 04:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.