Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280365 - >=dev-python/gdata-2.0.0: atom_tests.core_test.CharacterEncodingTest.testOtherEncodingOnInputString fails on big-endian architectures
Summary: >=dev-python/gdata-2.0.0: atom_tests.core_test.CharacterEncodingTest.testOthe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jim Ramsay (lack) (RETIRED)
URL: http://code.google.com/p/gdata-python...
Whiteboard:
Keywords:
Depends on:
Blocks: 277347
  Show dependency tree
 
Reported: 2009-08-04 19:39 UTC by Jeroen Roovers (RETIRED)
Modified: 2009-09-22 19:33 UTC (History)
3 users (show)

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


Attachments
dev-python:gdata-2.0.1:20090814-143850.log.gz [hppa,fails same test] (20090814-143850.log.gz,6.36 KB, text/plain)
2009-08-17 05:19 UTC, Jeroen Roovers (RETIRED)
Details
dev-python:gdata-2.0.0:20090818-164917.log [sparc,fail] (20090818-164917.log,53.71 KB, text/plain)
2009-08-18 16:56 UTC, Jeroen Roovers (RETIRED)
Details
dev-python:gdata-2.0.1:20090818-165733.log [sparc,fail] (20090818-165733.log,53.91 KB, text/plain)
2009-08-18 16:59 UTC, Jeroen Roovers (RETIRED)
Details
dev-python:gdata-2.0.2:20090901-021012.log [hppa,fail] (20090901-021012.log,78.35 KB, text/plain)
2009-09-01 02:11 UTC, Jeroen Roovers (RETIRED)
Details
gdata-big_endian_tests.patch (gdata-big_endian_tests.patch,1.44 KB, patch)
2009-09-19 01:35 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff
dev-python:gdata-2.0.2:20090921-082457.log.gz [hppa,success] (20090921-082457.log.gz,6.36 KB, text/plain)
2009-09-21 08:32 UTC, Jeroen Roovers (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2009-08-04 19:39:07 UTC
Seems like a typical endian problem (HPPA being bigendian), but the better question is whether this test failure matters, or if the test itself is flawed. If not, stabilisation should continue.

If you would be so kind as to consult UPSTREAM about this matter, this would be greatly appreciated.
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-10 16:24:59 UTC
Does this bug occur also with dev-python/gdata-2.0.1?
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2009-08-10 16:44:21 UTC
(In reply to comment #1)
> Does this bug occur also with dev-python/gdata-2.0.1?

Please, if you have any indication that a new version fixes the issue, then tell us so. If not, please don't make me waste time testing versions where nothing has changed.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2009-08-14 14:49:02 UTC
Seems it does.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2009-08-14 14:51:55 UTC
No wait. 2.0.1 is far too new to stabilise and draws in a spanking brand new eselect-python.
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-15 02:37:03 UTC
If dev-python/gdata-2.0.1 works for you and you would like to stabilize it quickly and stabilization of >=dev-python/gdata-2.0.0 is required before stabilization of dev-lang/python-2.6.2-r1 on HPPA, then we could rename dev-python/gdata-2.0.1 to dev-python/gdata-2.0.1-r1 and remove dependency on >=app-admin/eselect-python-20090804 from dev-python/gdata-2.0.1.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2009-08-15 16:06:59 UTC
It seems from a quick glance at a diff -ur of 2.0.0 vs 2.0.1 that the test suite changes weren't as important here as some unicode related changes, so I'd like to stabilise 2.0.1.

(In reply to comment #5)
> If dev-python/gdata-2.0.1 works for you and you would like to stabilize it
> quickly and stabilization of >=dev-python/gdata-2.0.0 is required before
> stabilization of dev-lang/python-2.6.2-r1 on HPPA, then we could rename
> dev-python/gdata-2.0.1 to dev-python/gdata-2.0.1-r1 and remove dependency on
> >=app-admin/eselect-python-20090804 from dev-python/gdata-2.0.1.

Yes, please do.
Comment 7 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-16 19:52:40 UTC
(In reply to comment #6)

Done.
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2009-08-17 05:19:28 UTC
Created attachment 201496 [details]
dev-python:gdata-2.0.1:20090814-143850.log.gz [hppa,fails same test]
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2009-08-17 05:24:39 UTC
Appears that nothing is fixed after all.
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2009-08-18 16:56:26 UTC
Same for SPARC.

Tue Aug 18 16:54:19 Local time zone must be set--see zic manual page 2009
Portage 2.1.6.13 (default/linux/sparc/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r5 sparc64)
=================================================================
System uname: Linux-2.6.28-gentoo-r5-sparc64-sun4v-with-glibc2.0
Timestamp of tree: Tue, 18 Aug 2009 03:00:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.4.4-r13, 2.5.4-r3
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="sparc"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-mcpu=ultrasparc -mtune=ultrasparc -O2 -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /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/sandbox.d /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=ultrasparc -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j16"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl audit berkdb bzip2 cli cracklib crypt cups dri fastcgi fortran gcc64 gdbm gpm iconv ipv6 isdnlog jpeg kerberos mudflap ncurses nls nptl nptlonly openmp pam pcre perl png pppd python readline reflection ruby session sparc spl ssl svg sysfs tcpd unicode xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga r128 radeon sunbw2 suncg14 suncg3 	suncg6 sunffb sunleo tdfx voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 11 Jeroen Roovers (RETIRED) gentoo-dev 2009-08-18 16:56:51 UTC
Created attachment 201626 [details]
dev-python:gdata-2.0.0:20090818-164917.log [sparc,fail]
Comment 12 Jeroen Roovers (RETIRED) gentoo-dev 2009-08-18 16:59:59 UTC
Created attachment 201628 [details]
dev-python:gdata-2.0.1:20090818-165733.log [sparc,fail]
Comment 13 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-09-01 01:09:30 UTC
Please attach the build log of dev-python/gdata-2.0.2 and we will send it to upstream.
Comment 14 Jeroen Roovers (RETIRED) gentoo-dev 2009-09-01 02:11:56 UTC
Created attachment 202840 [details]
dev-python:gdata-2.0.2:20090901-021012.log [hppa,fail]
Comment 15 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-09-19 01:35:07 UTC
Created attachment 204557 [details, diff]
gdata-big_endian_tests.patch

Please test this patch from upstream.
Comment 16 Jeroen Roovers (RETIRED) gentoo-dev 2009-09-21 08:32:07 UTC
Created attachment 204775 [details]
dev-python:gdata-2.0.2:20090921-082457.log.gz [hppa,success]

(In reply to comment #15)
> Created an attachment (id=204557) [edit]
> gdata-big_endian_tests.patch
> 
> Please test this patch from upstream.

Yes, that seems to work.
Comment 17 Jeroen Roovers (RETIRED) gentoo-dev 2009-09-21 08:45:03 UTC
Works on SPARC too.
Comment 18 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-09-22 19:33:46 UTC
Fixed in 2.0.1, 2.0.1-r1 and 2.0.2.