Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133650 - Gedit 2.14 needs libxml2 compiled with python use flag?
Summary: Gedit 2.14 needs libxml2 compiled with python use flag?
Status: RESOLVED DUPLICATE of bug 104088
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: 2006-05-17 17:19 UTC by Pierre-Olivier Bouchard
Modified: 2006-05-17 18:07 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 Pierre-Olivier Bouchard 2006-05-17 17:19:15 UTC
I'm trying to install Gnome 2.14 on one of my systems (built from scratch with 2006.0 stages a few days ago) and I'm getting the output below. It looks like Gedit needs to have libxml2 compiled with the python use flag, which I didn't enable at the time (see emerge --info). I'm seeing this with some other Gnome 2.14 packages (gnome-panel, file-roller, gnome-panel, evince...), should I file individual bugs for them too?

motion ~ # emerge gedit -av

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] app-editors/gedit-2.14.2  USE="spell -debug -python" 0 kB

Total size of downloads: 0 kB

<cut output for brevity>

make[3]: Leaving directory `/var/tmp/portage/gedit-2.14.2/work/gedit-2.14.2/help/sv'
make[3]: Entering directory `/var/tmp/portage/gedit-2.14.2/work/gedit-2.14.2/help'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/var/tmp/portage/gedit-2.14.2/work/gedit-2.14.2/help'
if ! test -d de/; then mkdir de/; fi
case "." in /*) sd=".";; *) sd="../.";; esac; \
        if [ -f "C/gedit.xml" ]; then d="../"; else d="$sd/"; fi; \
        (cd de/ && \
          `which xml2po` -e -p \
            "${d}de/de.po" \
            "${d}C/gedit.xml" > gedit.xml.tmp && \
            cp gedit.xml.tmp gedit.xml && rm -f gedit.xml.tmp)
Traceback (most recent call last):
  File "/usr/bin/xml2po", line 34, in ?
    import libxml2
  File "/usr/lib/python2.4/site-packages/libxml2.py", line 1, in ?
ImportError: No module named libxml2mod
make[2]: *** [bg/gedit.xml] Error 1
make[2]: *** Waiting for unfinished jobs....
Traceback (most recent call last):
  File "/usr/bin/xml2po", line 34, in ?
    import libxml2
  File "/usr/lib/python2.4/site-packages/libxml2.py", line 1, in ?
ImportError: No module named libxml2mod
make[2]: *** [de/gedit.xml] Error 1
make[2]: Leaving directory `/var/tmp/portage/gedit-2.14.2/work/gedit-2.14.2/help'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gedit-2.14.2/work/gedit-2.14.2'
make: *** [all] Error 2

!!! ERROR: app-editors/gedit-2.14.2 failed.
Call stack:
  ebuild.sh, line 1527:   Called dyn_compile
  ebuild.sh, line 931:   Called src_compile
  ebuild.sh, line 1240:   Called gnome2_src_compile
  gnome2.eclass, line 58:   Called die

!!! compile failure
!!! If you need support, post the topmost build error, and the call stack if relevant.

emerge --info:

Portage 2.1_rc1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r3, 2.6.16-beyond3 i686)
=================================================================
System uname: 2.6.16-beyond3 i686 Intel(R) Celeron(TM) CPU                1100MHz
Gentoo Base System version 1.12.0_pre19
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://files.gentoo.org ftp://gentoo.mirrors.pair.com/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://open-systems.ufl.edu/mirrors/gentoo ftp://194.117.143.72/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X a52 acpi alsa arts avi berkdb bitmap-fonts bzip2 cairo cdparanoia crypt cups dbus dri eds encode esd firefox flac foomaticdb ftp gdbm gif glitz gnome gstreamer gtk gtk2 hal imlib java jpeg kde kdeenablefinal lame ldap libwww logrotate mad matroska matrox mmx mmxext mozilla mp3 mpeg msn musicbrainz mysql ncurses nptl nptlonly nsplugin ogg oggvorbis opengl pam pcre pdf perl png qt quicktime readline samba spell sse ssl svg swat syslog tcpd truetype truetype-fonts type1-fonts udev vorbis wma xcomposite xine xinerama xml xorg xscreensaver xv xvid xvmc zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_mga"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS


If any other information is needed I would be glad to provide it.
Comment 1 Leonardo Boshell (RETIRED) gentoo-dev 2006-05-17 18:07:16 UTC
The cause is not related to gedit, but to gnome-doc-utils.

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