Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293195 - [FEATURES=test failure] dev-libs/libxml2-2.7.6 fails src_test in Relax-NG regression tests
Summary: [FEATURES=test failure] dev-libs/libxml2-2.7.6 fails src_test in Relax-NG reg...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 310097 (view as bug list)
Depends on: 317819
Blocks: 309949
  Show dependency tree
 
Reported: 2009-11-14 17:54 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2010-05-30 17:50 UTC (History)
2 users (show)

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


Attachments
libxml2 build.log (build.log,158.38 KB, text/plain)
2009-11-14 17:56 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details
libxml2 environment (environment,141.78 KB, text/plain)
2009-11-14 17:56 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2009-11-14 17:54:51 UTC
Relatively clean install, upgrading to ~amd64.

## Relax-NG regression tests
File ./test/relaxng/addressBook.rng generated an error
File ./test/relaxng/demo.rng generated an error
File ./test/relaxng/demo2.rng generated an error
File ./test/relaxng/demo3.rng generated an error
File ./test/relaxng/inline.rng generated an error
File ./test/relaxng/inline2.rng generated an error
File ./test/relaxng/inline3.rng generated an error
File ./test/relaxng/interleave0_0.rng generated an error
File ./test/relaxng/interleave1_0.rng generated an error
File ./test/relaxng/pattern1.rng generated an error
File ./test/relaxng/pattern2.rng generated an error
File ./test/relaxng/proofsystem.rng generated an error
File ./test/relaxng/rngbug-001.rng generated an error
File ./test/relaxng/table.rng generated an error
File ./test/relaxng/tutor11_3.rng generated an error
File ./test/relaxng/tutor14_1.rng generated an error
File ./test/relaxng/tutor3_7.rng generated an error
File ./test/relaxng/tutor4_4.rng generated an error
File ./test/relaxng/tutor5_3.rng generated an error
File ./test/relaxng/tutor5_5.rng generated an error
File ./test/relaxng/tutorA.rng generated an error
## Relax-NG streaming regression tests
Total 2816 tests, 21 errors, 0 leaks
make: *** [runtests] Error 1


emerge -pqv =dev-libs/libxml2-2.7.4-r1
[ebuild     U ] dev-libs/libxml2-2.7.4-r1 [2.7.3-r2] USE="ipv6 readline test* -debug -doc -examples -python*"

Portage 2.1.7.4 (default/linux/amd64/10.0/no-multilib, gcc-4.3.4, glibc-2.11-r0, 2.6.31-gentoo-r5 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.31-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 13 Nov 2009 14:15:01 +0000
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.2-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r2
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=native -mtune=native"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict test unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.ihug.co.nz/gentoo/"
LDFLAGS="-Wl,-O1"
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"
SYNC="rsync://mirror.ihug.co.nz/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv idn ipv6 mmx modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd readline reflection session spl sqlite sse sse2 ssl sysfs tcpd unicode xorg zlib" 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" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2009-11-14 17:56:09 UTC
Created attachment 210251 [details]
libxml2 build.log
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2009-11-14 17:56:33 UTC
Created attachment 210253 [details]
libxml2 environment
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-11-15 15:35:48 UTC
Unfortunately they do pass here with USE="-python" FEATURES="test stricter" emerge -1Bv libxml2
Could you try with USE="python" ?
Comment 4 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2009-11-16 01:30:49 UTC
(In reply to comment #3)
> Unfortunately they do pass here with USE="-python" FEATURES="test stricter"
> emerge -1Bv libxml2
> Could you try with USE="python" ?
> 

Its likely an incidental yet to be recognised dependency playing up. 

I just re-ran emerge -v1 =dev-libs/libxml2-2.7.4-r1  with no changes to USE and it now passes. 

I can no longer replicate the problem, upgrade it, downgrade it, passes tests.

The only way for me to repeat it now would be a fresh install from autobuild ( 20091105 ) , unmask ~amd64, USE=-python, emerge libxml2 and I don't have the time or resources to do that right now.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-03-17 15:38:57 UTC
Relax-NG?

*libxml2-2.7.6 (23 Dec 2009)

  23 Dec 2009; Diego E. Pettenò <flameeyes@gentoo.org>
  +libxml2-2.7.6.ebuild:
  Version bump, fixes Relax-NG validation problems.

Please test 2.7.6.
Comment 6 Pacho Ramos gentoo-dev 2010-03-18 15:05:20 UTC
*** Bug 310097 has been marked as a duplicate of this bug. ***
Comment 7 Pacho Ramos gentoo-dev 2010-03-18 15:08:04 UTC
I still suffer this with 2.7.6:
[ebuild     U ] dev-libs/libxml2-2.7.6 [2.7.3-r2] USE="python readline test -debug -doc -examples -ipv6" 0 kB
Comment 8 Pacho Ramos gentoo-dev 2010-03-18 15:18:13 UTC
But seems to be fixed with 2.7.7 (while I was able to always reproduce when updating from 2.7.3-r2 to 2.7.6)
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2010-03-18 15:28:12 UTC
(In reply to comment #8)
> But seems to be fixed with 2.7.7 (while I was able to always reproduce when
> updating from 2.7.3-r2 to 2.7.6)
> 

Are you sure it's not a case where the failure came from the installed libxml2-2.7.3-r2? 

Can you still reproduce the failure with 2.7.6 or 2.7.7 installed?
Comment 10 Pacho Ramos gentoo-dev 2010-03-18 15:42:34 UTC
2.7.6 tests still fail with 2.7.7 installed :-/
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2010-03-18 15:53:59 UTC
(In reply to comment #10)
> 2.7.6 tests still fail with 2.7.7 installed :-/
> 

From this thread,

http://www.mail-archive.com/xml@gnome.org/msg07311.html

I ended up to this patch,

http://git.gnome.org/browse/libxml2/patch/?id=c966790781a9ab5d80aed1246df6316149ef5f07

It says "Windows" but the failures look identical...
Comment 12 Pacho Ramos gentoo-dev 2010-03-19 08:22:03 UTC
(In reply to comment #11)
> I ended up to this patch,
> 
> http://git.gnome.org/browse/libxml2/patch/?id=c966790781a9ab5d80aed1246df6316149ef5f07
> 
> It says "Windows" but the failures look identical...
> 

And it also fixes this bug, thanks a lot! :-D
Comment 13 Claes 2010-04-14 07:09:30 UTC
I had the same problem. Patch in #11 fixed it.
Comment 14 Samuli Suominen (RETIRED) gentoo-dev 2010-05-30 17:50:30 UTC
Fixed by (now stable) libxml2-2.7.7 wrt bug 317819.