Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202446 - media-gfx/graphviz build error with GCC 4.3
Summary: media-gfx/graphviz build error with GCC 4.3
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
Depends on:
Blocks: gcc-4.3
  Show dependency tree
Reported: 2007-12-16 02:39 UTC by Ryan Hill (RETIRED)
Modified: 2007-12-16 22:46 UTC (History)
0 users

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

graphviz-2.16.1-gcc43-missing-includes.patch (graphviz-2.16.1-gcc43-missing-includes.patch,673 bytes, patch)
2007-12-16 02:44 UTC, Ryan Hill (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Hill (RETIRED) gentoo-dev 2007-12-16 02:39:54 UTC
During the GCC 4.3 cycle there was a massive cleanup of the C++ header dependencies.  A lot of headers were being pulled in indirectly by others even if they weren't needed, wasting time and resources.  Code which worked up until now because it happened to (accidentally or intentionally) rely on this can fail to build.

The attached patch fixes two such errors in graphviz-2.12:

generate-constraints.cpp:155: error: 'qsort' was not declared in this scope
csolve_VPSC.cpp:97: error: 'exit' was not declared in this scope

These are also present in the latest version, 2.16.1.
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2007-12-16 02:44:33 UTC
Created attachment 138598 [details, diff]
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2007-12-16 22:46:11 UTC
fixed in 2.16.1