Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 404469 - net-analyzer/mrtg with media-libs/gd[-png] generates some invalid image links
Summary: net-analyzer/mrtg with media-libs/gd[-png] generates some invalid image links
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-19 04:03 UTC by kfm
Modified: 2014-05-10 17:33 UTC (History)
0 users

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 kfm 2012-02-19 04:03:22 UTC
Steps to reproduce:

1) Build media-libs/gd without USE="png"
2) Generate graphs with mrtg

Results:

* All images produced are in gif format
* The links to the graph images are generated correctly
* The links to sundry images incorrectly have a suffix of ".png" instead of ".gif"

I a using mrtg-2.17.4 but the bug probably applies to previous versions too. My suggested workaround is to change the gd dependency so that png support is required:-

>=media-libs/gd-1.8.4[png]
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-10 17:33:29 UTC
Fixed in 2.17.4-r1. Thanks for the report!