Making all in . make[3]: Entering directory `/var/tmp/portage/dev-libs/libxml2-2.6.31/work/libxml2-2.6.31/python' /usr/bin/python ./generator.py . /usr/lib/python2.4/xmllib.py:9: DeprecationWarning: The xmllib module is obsolete. Use xml.sax instead. warnings.warn("The xmllib module is obsolete. Use xml.sax instead.", DeprecationWarning) Traceback (most recent call last): File "./generator.py", line 1229, in ? buildStubs() File "./generator.py", line 569, in buildStubs parser.close() File "/usr/lib/python2.4/xmllib.py", line 175, in close self.goahead(1) File "/usr/lib/python2.4/xmllib.py", line 408, in goahead self.syntax_error("bogus `%s'" % data) File "/usr/lib/python2.4/xmllib.py", line 794, in syntax_error raise Error('Syntax error at line %d: %s' % (self.lineno, message)) xmllib.Error: Syntax error at line 5646: bogus `<' make[3]: *** [gen_prog] Error 1 make[3]: Leaving directory `/var/tmp/portage/dev-libs/libxml2-2.6.31/work/libxml2-2.6.31/python' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-libs/libxml2-2.6.31/work/libxml2-2.6.31/python' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-libs/libxml2-2.6.31/work/libxml2-2.6.31' make: *** [all] Error 2
# emerge --info Portage 2.1.4.4 (hardened/x86/2.6, gcc-3.4.6, glibc-2.6.1-r0, 2.6.21-rsbac-r1-rsbac i686) ================================================================= System uname: 2.6.21-rsbac-r1-rsbac i686 AMD Athlon(tm) XP 2500+ Timestamp of tree: Mon, 14 Apr 2008 06:00:01 +0000 app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.4.4-r9 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=athlon-xp -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="hu_HU" LC_ALL="hu_HU.UTF-8" LINGUAS="hu" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/hron /usr/local/overlays/hron-temp /usr/local/overlays/aleph" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acpi apache2 bash-completion berkdb bzip2 cracklib crypt hardened jpeg logrotate midi mysql ncurses nls nptl nptlonly pam pcre perl pic png python readline ssl tcpd tiff truetype unicode urandom vhosts vim-syntax x86 xml" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_default authn_file authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env file_cache filter headers include info log_config mem_cache mime mime_magic proxy proxy_http proxy_ftp rewrite setenvif userdir vhost_alias" APACHE2_MPMS="itk" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="hu" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 149688 [details] build.log
Created attachment 149689 [details] environment
It's not a bug in bugzilla.
The culprit line seems to be: xmllib.Error: Syntax error at line 5646: bogus `<' The build works fine for me (Python 2.5), though, even with the DeprecationWarning. The problem seems to be hit while parsing "doc/libxml2-api.xml" in the source tree. Could you examine this file (particularly line 5646) and see if everything looks fine?
Can anyone reproduce this bug with libxml2 2.6.32 ? Thanks
Yes. This bug is reproducable with libxml2 2.6.32.
I update for python-2.4.4-r13 and dev-libs/libxml2-2.6.31 is compiled. 1. emerge --sync 2. emerge -1 >=python-2.4.4-r13 3. emerge -1 =dev-libs/libxml2-2.6.31