Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 484044 - dev-python/lxml-3.2.1 fails test lxml.tests.test_io.ETreeIOTestCase
Summary: dev-python/lxml-3.2.1 fails test lxml.tests.test_io.ETreeIOTestCase
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-06 20:39 UTC by Markus Meier
Modified: 2015-03-15 16:46 UTC (History)
0 users

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


Attachments
dev-python:lxml-3.2.1:20130906-071823.log (dev-python:lxml-3.2.1:20130906-071823.log,44.80 KB, text/plain)
2013-09-06 20:39 UTC, Markus Meier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Meier gentoo-dev 2013-09-06 20:39:32 UTC
Created attachment 358108 [details]
dev-python:lxml-3.2.1:20130906-071823.log

* Package:    dev-python/lxml-3.2.1
 * Repository: gentoo
 * Maintainer: python@gentoo.org
 * USE:        arm beautifulsoup3 elibc_glibc kernel_linux python_targets_python2_6 python_targets_python2_7 python_targets_python3_2 threads userland_GNU
 * FEATURES:   preserve-libs sandbox test userpriv usersandbox


>>> Source compiled.
 * python3_2: running distutils-r1_run_phase python_test
 * python2_6: running distutils-r1_run_phase python_test
 * Running test.py
 * Running test.py
======================================================================
ERROR: test_etree_parse_io_error (lxml.tests.test_io.ETreeIOTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/lxml-3.2.1/work/lxml-3.2.1-python3_2/build/lib/lxml/tests/test_io.py", line 265, in test_etree_parse_io_error
    dn = tempfile.mkdtemp(prefix=dirnameRU)
  File "/usr/lib/python3.2/tempfile.py", line 309, in mkdtemp
    _os.mkdir(file, 0o700)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 54-67: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.2/unittest/case.py", line 370, in _executeTestPart
    function()
  File "/var/tmp/portage/dev-python/lxml-3.2.1/work/lxml-3.2.1-python3_2/build/lib/lxml/tests/test_io.py", line 268, in test_etree_parse_io_error
    os.rmdir(dn)
OSError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-python/lxml-3.2.1/temp/python3.2/Directory9melrn'

======================================================================
ERROR: test_etree_parse_io_error (lxml.tests.test_io.ElementTreeIOTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/lxml-3.2.1/work/lxml-3.2.1-python3_2/build/lib/lxml/tests/test_io.py", line 265, in test_etree_parse_io_error
    dn = tempfile.mkdtemp(prefix=dirnameRU)
  File "/usr/lib/python3.2/tempfile.py", line 309, in mkdtemp
    _os.mkdir(file, 0o700)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 54-67: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.2/unittest/case.py", line 370, in _executeTestPart
    function()
  File "/var/tmp/portage/dev-python/lxml-3.2.1/work/lxml-3.2.1-python3_2/build/lib/lxml/tests/test_io.py", line 268, in test_etree_parse_io_error
    os.rmdir(dn)
OSError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-python/lxml-3.2.1/temp/python3.2/Directorywaziiv'

----------------------------------------------------------------------
Ran 1490 tests in 273.560s

FAILED (errors=2)
Skipping tests in lxml.cssselect - external cssselect package is not installed
Comparing with ElementTree 1.3.0

TESTED VERSION: 3.2.1
    Python:           sys.version_info(major=3, minor=2, micro=5, releaselevel='final', serial=0)
    lxml.etree:       (3, 2, 1, 0)
    libxml used:      (2, 9, 1)
    libxml compiled:  (2, 9, 1)
    libxslt used:     (1, 1, 28)
    libxslt compiled: (1, 1, 28)

 * ERROR: dev-python/lxml-3.2.1 failed (test phase):
 *   Test test.py fails with python3.2


Portage 2.1.12.2 (default/linux/arm/13.0/armv5te/desktop, gcc-4.6.3, glibc-2.15-r3, 3.8.13 armv5tel)
=================================================================
System uname: Linux-3.8.13-armv5tel-with-gentoo-2.2
KiB Mem:      513344 total,    252188 free
KiB Swap:     614396 total,    596916 free
Timestamp of tree: Fri, 23 Aug 2013 16:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p45
dev-lang/python:          2.6.8-r3, 2.7.5-r2, 3.2.5-r2
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.10.2-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.6, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.5.4, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="armv5tel-softfloat-linux-gnueabi"
CFLAGS="-O2 -march=armv5te -pipe"
CHOST="armv5tel-softfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/lib/python2.7/site-packages/buildbot/status/web /usr/share/gnupg/qualified.txt /var/bind /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/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="-O2 -march=armv5te -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --jobs=2 --keep-going --with-bdeps=y"
FCFLAGS="-O2 -pipe -march=armv5te"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-O2 -pipe -march=armv5te"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --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=""
SYNC="rsync://minil/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 arm berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk iconv jpeg kpathsea lcms ldap libnotify mad mng modules mp3 mp4 mpeg mudflap ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl session spell ssl startup-notification svg tcpd test tiff truetype udev udisks unicode upower usb vorbis wxwidgets xcb xml xv xvid zlib" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" 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 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" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_6 python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="exynos fbdev omap omapfb 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, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Patrice Clement (RETIRED) gentoo-dev 2015-03-15 16:46:53 UTC
patrice@freshmint ~/gentoo-x86/dev-python/lxml $ ls -l
total 68
-rw-r--r-- 1 patrice patrice 25759 Mar  8 01:06 ChangeLog
drwxr-xr-x 2 patrice patrice  4096 Mar 15 17:37 CVS
drwxr-xr-x 3 patrice patrice  4096 Mar 15 17:37 files
-rw-r--r-- 1 patrice patrice  2322 Mar 15 17:41 lxml-3.3.5.ebuild
-rw-r--r-- 1 patrice patrice  2330 Mar 15 17:41 lxml-3.3.6.ebuild
-rw-r--r-- 1 patrice patrice  2379 Mar 15 17:44 lxml-3.4.0.ebuild
-rw-r--r-- 1 patrice patrice  2090 Mar  8 01:06 lxml-3.4.1.ebuild
-rw-r--r-- 1 patrice patrice  2097 Mar 15 17:40 lxml-3.4.2.ebuild
-rw-r--r-- 1 patrice patrice  5673 Mar 15 17:44 Manifest
-rw-r--r-- 1 patrice patrice   253 Mar  7  2014 metadata.xml

Removed from the tree a while ago. Bug not valid anymore.