Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115972 - compiling gnome-panel fails because of wrong python path in xml2po
Summary: compiling gnome-panel fails because of wrong python path in xml2po
Status: RESOLVED DUPLICATE of bug 104088
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-18 11:56 UTC by Christian H. Kuhn
Modified: 2005-12-18 12:05 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 Christian H. Kuhn 2005-12-18 11:56:15 UTC
Hiho,

I try to emerge gnome-panel--2.12.2. It fails:
if test -f "C/clock.xml"; then d="../"; else d=".././"; fi; \
(cd es/ && \
  `which xml2po` -e -p \
    ${d}es/es.po \
    ${d}C/clock.xml > clock.xml.tmp && \
    cp clock.xml.tmp clock.xml && rm -f clock.xml.tmp)
Traceback (most recent call last):
  File "/usr/bin/xml2po", line 34, in ?
    import libxml2
ImportError: dynamic module does not define init function (initlibxml2)
Traceback (most recent call last):
  File "/usr/bin/xml2po", line 34, in ?
    import libxml2
ImportError: dynamic module does not define init function (initlibxml2)
make[3]: *** [de/clock.xml] Fehler 1

/usr/bin/xml2po is part of gnome-doc-utils-0.4.4. It is a python script which calls "import libxml2". libxml2-2.6.22 is installed, libs are in /usr/lib64/.

Google tells me that that error is well known. If i understood right, $PYTHONPATH has to be set correct when calling jhbuild in libxml2's make process. But i fear that i'm too new to gentoo to change the ebuild myself, so i have to report it here.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-18 12:05:17 UTC

*** This bug has been marked as a duplicate of 104088 ***