Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116120 - gnome-panel emerge failed missing a libxml2 dependency
Summary: gnome-panel emerge failed missing a libxml2 dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 118955 123652 (view as bug list)
Depends on:
Blocks: 2.12
  Show dependency tree
 
Reported: 2005-12-19 21:34 UTC by sinizzl
Modified: 2008-10-20 18:29 UTC (History)
4 users (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 sinizzl 2005-12-19 21:34:30 UTC
recently found out that portage did not tell me to also emerge libxml2 for getting the compilation of the gnome-panel working. it was not needed for 2.10, but it obviously is for 2.12. i never did a "emerge gnome" or "emerge gnome-light"; i just wanted to use the gnome-panel for xfce. a emerge --pretend gnome/gnome-light didn't tell me to emerge libxml2 too though.
Comment 1 John N. Laliberte (RETIRED) gentoo-dev 2005-12-20 04:56:33 UTC
did you have libxml installed already?

can you provide an error log?

If you already had it installed, this is probably a dupe.
Comment 2 sinizzl 2005-12-22 18:11:49 UTC
no, i haven't installed libxml before, and unfortunately, i cannot provide an error log. i thought this was not necessary since it was clear to install libxml2 to get it working and this is only a minor bug, isn't it?
Comment 3 Nick Devito 2005-12-29 13:14:02 UTC
I have also incountered this problem, where python would error out "ImportError: No Module named libxml2". Emerging libxml2 would fix the problem, however, it seems the gnome-panel ebuild is missing this dependancy.
Comment 4 John N. Laliberte (RETIRED) gentoo-dev 2006-01-14 05:54:25 UTC
*** Bug 118955 has been marked as a duplicate of this bug. ***
Comment 5 John N. Laliberte (RETIRED) gentoo-dev 2006-01-19 17:27:50 UTC
I've investigated this issue a bit more.

gnome-panel deps on libgnomeui deps on libbonoboui deps on libxml2.

Therefore, you should have libxml2 installed.  If you did NOT have libxml2 installed, you would have gotten this error:
checking for PANEL... configure: error: Package requirements blah blah were not met.

This is because it would have tried to get the pkg-config flags, and failed when it got to libgnomeui-2.0 and received the following error:
Package libxml-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxml-2.0.pc'
to the PKG_CONFIG_PATH environment variable.
Package `libxml-2.0', required by ' libbonoboui', not found

and not the ImportError.

Therefore, you either:
1) forgot to run python-updater after upgrading python
2) have -python in your use flags.

I have committed an updated ebuild to fix the 2nd case only.  

gnome-panel does not directly depend on libxml2.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-02-21 13:29:18 UTC
*** Bug 123652 has been marked as a duplicate of this bug. ***