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

Bug 50084

Summary: libgnomecanvas-2.6.1.1 not listing libxml2 as dependency
Product: Gentoo Linux Reporter: Bruno T. C. de Oliveira <btco>
Component: New packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Bruno T. C. de Oliveira 2004-05-05 02:12:30 UTC
apparently libgnomecanvas-2.6.1.1 needs libxml2 but does not list it as a dependency. As a result, attempts to emerge libgnomecanvas-2.6.1.1 without first emerging libxml2 by hand fail with a configure error.

Reproducible: Always
Steps to Reproduce:
1. emerge -C libxml2
2. ACCEPT_KEYWORDS="~amd64" emerge libgnomecanvas
(if you are using x86, I guess you could use '~x86' above; I don't have an x86 machine to test that on; the point is forcing the 2.6 version to be emerged, as opposed to the default 2.4)

Actual Results:  
The configure script for libgnomecanvas fails complaining that 'libxml-2.0.0'
cannot be found; please check that libxml2.pc is in PKG_CONFIG_PATH, etc, etc,
etc. In summary, it complains libxml2 is not installed.

Expected Results:  
The libgnomecanvas-2.6.1.1 ebuild (or some other ebuild that it depends on)
should list libxml2 as a dependency so that one didn't have to emerge libxml2 by
hand.
Comment 1 foser (RETIRED) gentoo-dev 2004-05-05 14:34:02 UTC
libgnomecanvas deps on libglade -> libglade deps on libxml2

you shouldnt just remove random libs from your system, that is your fault here. libgnomecanvas itself has no direct dependency on libxml2 (there is _no_ reference to it in the code).