Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144774 - ImportError: undefined symbol: PyUnicodeUCS4_Decode
Summary: ImportError: undefined symbol: PyUnicodeUCS4_Decode
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
: 150718 157510 173815 (view as bug list)
Depends on:
Reported: 2006-08-22 10:53 UTC by mmanns
Modified: 2007-04-09 08:14 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description mmanns 2006-08-22 10:53:12 UTC
ant-core-1.6.5-r13 emerge fails with ucs2 USE flag enabled (see below).
Without ucs2 USE flag everything compiles well.

# emerge ant-core
Calculating dependencies... done!
>>> Emerging (1 of 1) dev-java/ant-core-1.6.5-r13 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking apache-ant-1.6.5-src.tar.bz2 ;-)
 * Using: blackdown-jdk-1.4.2
>>> Unpacking source...
>>> Unpacking apache-ant-1.6.5-src.tar.bz2 to /var/tmp/portage/ant-core-1.6.5-r13/work
 * Applying ...                                   [ ok ]>>> Source unpacked.
Rewriting ./src/etc/testcases/core/include/included_file_parse_error/build.xml
Traceback (most recent call last):
  File "/usr/bin/", line 132, in ?
    rewriter = Rewriter(IOWrapper(source))
  File "/usr/bin/", line 43, in __init__
    self.document = parse(;
  File "/usr/lib/python2.4/site-packages/_xmlplus/dom/", line 1914, in parse
    from xml.dom import expatbuilder
  File "/usr/lib/python2.4/site-packages/_xmlplus/dom/", line 32, in ?
    from xml.parsers import expat
  File "/usr/lib/python2.4/site-packages/_xmlplus/parsers/", line 4, in ?
    from pyexpat import *
ImportError: /usr/lib/python2.4/site-packages/_xmlplus/parsers/ undefined symbol: PyUnicodeUCS4_Decode

!!! ERROR: dev-java/ant-core-1.6.5-r13 failed.
Call stack:, line 1539:   Called dyn_unpack, line 716:   Called post_src_unpack
  java-ant-2.eclass, line 74:   Called java-ant_bsfix
  java-ant-2.eclass, line 128:   Called java-ant_bsfix_one './src/etc/testcases/core/include/included_file_parse_error/build.xml'
  java-ant-2.eclass, line 166:   Called die

!!! xml-rewrite failed: ./src/etc/testcases/core/include/included_file_parse_error/build.xml
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! When you file a bug report, please include the following information:
GENTOO_VM=blackdown-jdk-1.4.2  CLASSPATH="" JAVA_HOME="/opt/blackdown-jdk-"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info


# emerge --info Portage 2.1-r2 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686)
System uname: 2.6.17-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.40GHz
Gentoo Base System version 1.12.4
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
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-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
CFLAGS="-pipe -O3 -march=pentium4"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-pipe -O3 -march=pentium4"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
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'"
USE="x86 16bit 7zip X a52 aac alsa apm applet aqua_theme arts artworkextra automount avi berkdb big-tables bigpatch binfilter bitmap-fonts bzip2 cdparanoia cracklib crypt cups dlloader dvd dvdr effects encode escreen fftw foomaticdb fortran gdbm gif gimpprint gkrellm glade gnome gnome-print gnomedb gnuplot gnustep gpm gstreamer gtk gtk2 hpn imlib jpeg jpeg2k kde libg++ mad mikmod motif mp3 mpeg nautilus ncurses nls ntfs numeric nvidia ogg oggvorbis opengl openssh oss pam pdflib plugin png pppd print python qt3 qt4 quicktime readline reflection reiserfs samba sdl session spell spl sqlite sse-filters sse2 ssl symlink tcpd tetex truetype truetype-fonts type1-fonts ucs2 udev unicode vfat vorbis win32codecs wordperfect wxgtk1 wxwindows xinerama xml2 xmms xorg xscreensaver xv zeroconf zip zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo"
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-22 11:08:12 UTC
Tried to re-emerge dev-python/pyxml?
Comment 2 mmanns 2006-08-23 07:48:57 UTC
re-emerge broken dev-python/pyxml fixed the problem
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-12-08 04:57:10 UTC
*** Bug 150718 has been marked as a duplicate of this bug. ***
Comment 4 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-12-08 04:57:27 UTC
*** Bug 157510 has been marked as a duplicate of this bug. ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-04-09 08:14:33 UTC
*** Bug 173815 has been marked as a duplicate of this bug. ***