Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 199745 - gnome-base/gnome-desktop-2.20.1 needs to check USE python for libxml2
Summary: gnome-base/gnome-desktop-2.20.1 needs to check USE python for libxml2
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High trivial (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-20 08:57 UTC by Samuli Suominen (RETIRED)
Modified: 2007-11-20 20:14 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 Samuli Suominen (RETIRED) gentoo-dev 2007-11-20 08:57:10 UTC
Traceback (most recent call last):
Traceback (most recent call last):
  File "/usr/bin/xml2po", line 35, in ?
    import libxml2
ImportError: No module named libxml2
  File "/usr/bin/xml2po", line 35, in ?
    import libxml2
ImportError: No module named libxml2
make[3]: *** [fr/lgpl.xml] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [es/lgpl.xml] Error 1
Traceback (most recent call last):
  File "/usr/bin/xml2po", line 35, in ?
    import libxml2
ImportError: No module named libxml2
make[3]: *** [ar/lgpl.xml] Error 1
make[3]: Leaving directory `/var/tmp/portage/gnome-base/gnome-desktop-2.20.1/work/gnome-desktop-2.20.1/desktop-docs/lgpl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-base/gnome-desktop-2.20.1/work/gnome-desktop-2.20.1/desktop-docs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-base/gnome-desktop-2.20.1/work/gnome-desktop-2.20.1'
make: *** [all] Error 2

Solution is of course (freestyle :-p),

pkg_setup() {

local xmlpython_check="Re-emerge dev-libs/libxml2 with USE python."

if ! built_with_use dev-libs/libxml2 python; then
  eerror "${xmlpython_check}"
  die "${xmlpython_check}"
fi

}
Comment 1 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-11-20 20:01:00 UTC
This is not a gnome-desktop bug.  xml2po comes from gnome-doc-utils, which *does* have such a check.  re-emerge gnome-doc-utils, and it will complain.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2007-11-20 20:14:38 UTC
(In reply to comment #1)
> This is not a gnome-desktop bug.  xml2po comes from gnome-doc-utils, which
> *does* have such a check.  re-emerge gnome-doc-utils, and it will complain.
> 

bah.. 

*wants USE based deps from portage*