Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178270 - media-video/totem needs libxml2 built with USE="python"
Summary: media-video/totem needs libxml2 built with USE="python"
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-13 01:15 UTC by Hanno Böck
Modified: 2007-05-15 02:29 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 Hanno Böck gentoo-dev 2007-05-13 01:15:06 UTC
Else it won't compile, see error below.

totem-ebuild should build_with_use-check that.

case "." in /*) sd=".";; *) sd="../.";; esac; \
        if [ -f "C/totem.xml" ]; then d="../"; else d="$sd/"; fi; \
        (cd de/ && \
          `which xml2po` -e -p \
            "${d}de/de.po" \
            "${d}C/totem.xml" > totem.xml.tmp && \
            cp totem.xml.tmp totem.xml && rm -f totem.xml.tmp)
xsltproc -o totem-C.omf --stringparam db2omf.basename totem --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.1.2//EN" --stringparam db2omf.lang C --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in "`pwd`/./totem.omf.in" `/usr/bin/pkg-config --variable db2omf gnome-doc-utils` C/totem.xml
Traceback (most recent call last):
  File "/usr/bin/xml2po", line 35, in <module>
    import libxml2
ImportError: No module named libxml2
make[2]: *** [de/totem.xml] Error 1
make[2]: Leaving directory `/var/tmp/paludis/media-video/totem-2.18.1-r1/work/totem-2.18.1/help'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/paludis/media-video/totem-2.18.1-r1/work/totem-2.18.1'
make: *** [all] Error 2

!!! ERROR in media-video/totem-2.18.1-r1:
!!! In gnome2_src_compile at line 2941
!!! compile failure
Comment 1 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-05-15 02:29:55 UTC
It's not totem, it's gnome-doc-utils, and that already has a built_with_use check.  That's the best we can do, until portage has use-based deps.  If you build correctly to pass the built_with_use check, and later change it, there's no way we can detect it.