Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 528880 - x11-libs/libxcb-1.11 - .../work/libxcb-1.11/src/c_client.py", line 2924, in <module> module = Module(args[0], output): cElementTree.ParseError: not well-formed (invalid token): line 22, column 4
Summary: x11-libs/libxcb-1.11 - .../work/libxcb-1.11/src/c_client.py", line 2924, in <...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-10 21:54 UTC by M. Prášek
Modified: 2014-11-24 08:53 UTC (History)
0 users

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


Attachments
build.log (build.log,21.32 KB, text/plain)
2014-11-11 18:05 UTC, M. Prášek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description M. Prášek 2014-11-10 21:54:19 UTC
Hi, all

there is an error emerging this library

Traceback (most recent call last):
  File "/var/tmp/portage/x11-libs/libxcb-1.11/work/libxcb-1.11/src/c_client.py", line 2924, in <module>
    module = Module(args[0], output)
  File "/usr/lib64/python2.7/site-packages/xcbgen/state.py", line 64, in __init__
    self.namespace = Namespace(filename)
  File "/usr/lib64/python2.7/site-packages/xcbgen/state.py", line 32, in __init__
    self.root = parse(filename).getroot()
  File "<string>", line 62, in parse
  File "<string>", line 38, in parse
cElementTree.ParseError: not well-formed (invalid token): line 22, column 4
Makefile:1274: recipe for target 'xinerama.c' failed
make[1]: *** [xinerama.c] Error 1
Comment 1 M. Prášek 2014-11-10 21:55:43 UTC
Portage 2.2.14 (python 2.7.8-final-0, default/linux/amd64/13.0, gcc-4.8.3, glibc-2.20, 3.16.0-gentooK4-NO_preemption,1000HZ,HPET x86_64)
=================================================================
System uname: Linux-3.16.0-gentooK4-NO_preemption,1000HZ,HPET-x86_64-Intel-R-_Xeon-R-_CPU_E3-1230_v3_@_3.30GHz-with-gentoo-2.2
KiB Mem:    16422884 total,   3518304 free
KiB Swap:    8225212 total,   8213552 free
Timestamp of tree: Mon, 10 Nov 2014 19:35:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
ccache version 3.1.10 [disabled]
app-shells/bash:          4.3_p30-r1
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r2
dev-lang/python:          2.7.8, 3.3.5-r1, 3.4.2
dev-util/ccache:          3.1.10-r1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.2
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.3-r2
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.17-r1 (virtual/os-headers)
sys-libs/glibc:           2.20
Repositories: gentoo
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-fomit-frame-pointer -pipe -O2 -march=nocona -ftracer -funit-at-a-time -ftree-vectorize "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-fomit-frame-pointer -pipe -O2 -march=nocona -ftracer -funit-at-a-time -ftree-vectorize "
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="cs_CZ.iso88592"
LC_ALL="C"
LDFLAGS=" -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s "
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="3dnow acl adodb amd64 apache2 asis aspell atm bcmath bdb berkdb big-tables bmp bzip2 bzlib calendar cgi chroot clamav clamd cli cluster cracklib crypt ctype cups curl curlwrappers cxx dba dbase dbm dbx dio dri esfq exif extensions extraengine filter flatfile fontconfig fortran ftconv ftp gd gdbm geoip gif gmp iconv imap inifile innodb ithreads jadetex jpeg kerberos kpathsea l7filter ldap ldap-sasl lfs libg++ libwww lm_sensors mailbox maildir mailwrapper mbox mcal md5sum memlimit mhash milter mime minizip mmx modules mpm-prefork multilib mysql mysqli mysqlnd ncurses netlink nfprofile nftrack nls nptl nptlonly odbc openmp openssl pam pcre pdflib pdo pear perl pg-hier pg-intdatetime pg-vacuumdelay png posix postgres pwdb python radius readline readpcap rrdtool sasl sendfile session sessions sflow sharedext sharedmem simplexml slang smp smpgsql snmp soap sockets spell spl sqlite sse sse2 sse3 ssl suexec svg sysvipc tcpd threads tidy tiff tokenizer truetype unicode utf8 vhosts virtual virus-scan vserver wddx xml xml2 xmlrpc xpm xsl xslt ylib zip zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="access_compat actions alias asis auth_basic auth_digest authn_alias authn_anon authn_core authn_dbd authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cache_disk cern_meta charset_lite cgi cgid dav dav_fs dav_lock dbd deflate dir dumpio env expires ext_filter file_cache filter headers ident imagemap include info lbmethod_byrequests lbmethod_bytraffic lbmethod_bybusyness lbmethod_heartbeat log_config log_forensic logio mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http proxy_scgi rewrite reqtimeout setenvif slotmem_shm speling socache_shmcb status substitute unique_id userdir usertrack unixd version vhost_alias" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en cs" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 2 Rafał Mużyło 2014-11-11 01:04:33 UTC
Most likely, it has something to do with this:
LANG="cs_CZ.iso88592"
LC_ALL="C"
Comment 3 M. Prášek 2014-11-11 06:59:33 UTC
(In reply to Rafał Mużyło from comment #2)
> Most likely, it has something to do with this:
> LANG="cs_CZ.iso88592"
> LC_ALL="C"

Hm. I think builds should not be locale or charset specific...
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-11 10:47:39 UTC
Please attach the entire build log to this bug report.
Comment 5 Rafał Mużyło 2014-11-11 11:41:33 UTC
It's not as much locale specific as simply not liking  non-utf8 locales (and LC_AL=C ain't any better in such case).
Comment 6 M. Prášek 2014-11-11 18:05:29 UTC
Created attachment 389102 [details]
build.log
Comment 7 Chí-Thanh Christopher Nguyễn gentoo-dev 2014-11-12 11:20:02 UTC
Python packages often fail if the locale is not utf-8. Try again without LC_ALL=C set, but instead LANG="cs_CZ.utf8" (or en_US.utf8) in make.conf
Comment 8 Ian Delaney (RETIRED) gentoo-dev 2014-11-24 08:53:53 UTC
there was a finc added to the eclass which gave a warn to inform user about this.  It's a weakness in python or pythonic package authoring.  Don't worry about it, it's not a bug