Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 289361 - >=x11-terms/gnome-terminal-2.26.3.1-r2 fails src_test
Summary: >=x11-terms/gnome-terminal-2.26.3.1-r2 fails src_test
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks: gnome2.26 281427
  Show dependency tree
 
Reported: 2009-10-16 18:05 UTC by Markus Meier
Modified: 2010-04-30 07:21 UTC (History)
1 user (show)

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


Attachments
x11-terms:gnome-terminal-2.26.3.1-r2:20091016-173318.log (x11-terms:gnome-terminal-2.26.3.1-r2:20091016-173318.log,87.37 KB, text/plain)
2009-10-16 18:06 UTC, Markus Meier
Details
emerge --info gnome-terminal-2.26.3.1-r2 (emerge-info_gnome-terminal-2.26.3.1-r2,3.55 KB, text/plain)
2010-02-05 15:56 UTC, Jean-Michel Berliere
Details
build.log of gnome-terminal-2.26.3.1-r2 (gnome-terminal-2.26.3.1-r2_build_log,75.04 KB, text/plain)
2010-02-05 16:23 UTC, Jean-Michel Berliere
Details
Patch to get valid XML in en_GB help (gnome-terminal-2.26.3.1_help_en_GB_xmllint.patch,812 bytes, patch)
2010-02-18 20:13 UTC, Daniel Schömer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Meier gentoo-dev 2009-10-16 18:05:35 UTC
fails src_test, which is a regression compared to x11-terms/gnome-terminal-2.24.2-r1. altough I am unsure if this is the same issue as bug #289348:

x11-terms/gnome-terminal-2.26.3.1-r2 [2.24.2-r1] USE="-debug"

make[2]: Entering directory `/var/tmp/portage/x11-terms/gnome-terminal-2.26.3.1-r2/work/gnome-terminal-2.26.3.1/help'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/var/tmp/portage/x11-terms/gnome-terminal-2.26.3.1-r2/work/gnome-terminal-2.26.3.1/help'
xmllint --noout --noent --path C:./C --xinclude --postvalid ./C/gnome-terminal.xml
xmllint --noout --noent --path de:./de --xinclude --postvalid ./de/gnome-terminal.xml
xmllint --noout --noent --path en_GB:./en_GB --xinclude --postvalid ./en_GB/gnome-terminal.xml
./en_GB/gnome-terminal.xml:567: element guilabel: validity error : Element keycap is not declared in guilabel list of possible children
Document ./en_GB/gnome-terminal.xml does not validate
make[1]: *** [check-doc-docs] Error 3
make[1]: Leaving directory `/var/tmp/portage/x11-terms/gnome-terminal-2.26.3.1-r2/work/gnome-terminal-2.26.3.1/help'
make: *** [check-recursive] Error 1
 * 
 * ERROR: x11-terms/gnome-terminal-2.26.3.1-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_test
 *             environment, line 2824:  Called _eapi0_src_test
 *               ebuild.sh, line  607:  Called die
 * The specific snippet of code:
 *                      hasq test $FEATURES && die "Make check failed. See above for details."
 *  The die message:
 *   Make check failed. See above for details.

Portage 2.1.6.13 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31.3 i686)
=================================================================
System uname: Linux-2.6.31.3-i686-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-gentoo-1.12.11.1
Timestamp of tree: Thu, 15 Oct 2009 06:30:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 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:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_GB de"
MAKEOPTS="-j2"
PKGDIR="/mnt/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://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 avahi berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups dbus dri dts dvd dvdr eds emboss encode evo examples fam firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde ldap libnotify mad mikmod modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly objc objc++ ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sdl session source spell spl ssl startup-notification svg sysfs tcpd test thunar tiff truetype unicode usb vorbis win32codecs x264 x86 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" LINGUAS="en en_GB de" 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, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Markus Meier gentoo-dev 2009-10-16 18:06:43 UTC
Created attachment 207345 [details]
x11-terms:gnome-terminal-2.26.3.1-r2:20091016-173318.log
Comment 2 Tomáš Guziurek 2009-10-18 05:19:03 UTC
I had the exact same problem and emerging dev-libs/libxml2-2.7.3-r2 solved it.
Comment 3 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-12-29 23:37:56 UTC
Which version of libxml2 do you have? I have 2.7.3-r2, and I cannot reproduce
this test failure.
Comment 4 Markus Meier gentoo-dev 2009-12-30 17:38:02 UTC
(In reply to comment #3)
> Which version of libxml2 do you have? I have 2.7.3-r2, and I cannot reproduce
> this test failure.

this happens with libxml2-2.7.3-r2 USE="examples ipv6 python readline test".
try with LINGUAS provided in `emerge --info`.
Comment 5 Jean-Michel Berliere 2010-02-05 15:56:52 UTC
Created attachment 218541 [details]
emerge --info gnome-terminal-2.26.3.1-r2
Comment 6 Jean-Michel Berliere 2010-02-05 16:23:21 UTC
Created attachment 218547 [details]
build.log of gnome-terminal-2.26.3.1-r2
Comment 7 Jean-Michel Berliere 2010-02-05 16:37:47 UTC
If this can help to solve ... I've tried to update in december ==> failed; I've
deleted it and re emerge ==> failed ; I try today ==> failed.

You'll find on attachements :
N°218541 : the result of an emerge --info gnome-terminal-2.26.3.1-r2
N°218547 : the build.log

And the libxml2-2.7.3-r2 is installed.
Comment 8 Xake 2010-02-17 18:19:15 UTC
(In reply to comment #3)
> Which version of libxml2 do you have? I have 2.7.3-r2, and I cannot reproduce
> this test failure.
> 

@ Nirbheek

These issues has nothing to do with libxml2.

The way some (most?) GNOME packages work to reproduce these problems you have to make sure that LINGUAS only is specified for the failing language, else it might not build the documentation. It also might build it but not test it, or might (not so common) build and fail during testing it, but the makefile does not error out. I have seen all three happend trying to reproduce bug #289372.

So the way to make sure you will reproduce this is to specify LINGUAS="en_GB", else you might not see this error.

This is also true for bug #289372 and bug #289348.
Comment 9 Daniel Schömer 2010-02-17 21:26:52 UTC
Seems just like bug #289348: I bet the error is the content of help/en_GB/gnome-terminal.xml which is not valid to the DTD.

Maybe I can look into this tomorrow night (CET).
Comment 10 Daniel Schömer 2010-02-18 20:13:30 UTC
Created attachment 220209 [details, diff]
Patch to get valid XML in en_GB help

The attached patch corrects the en_GB help to valid XML according to xmllint run by "make check".
Comment 11 Jean-Michel Berliere 2010-02-18 21:27:54 UTC
(In reply to comment #10)
> Created an attachment (id=220209) [details]
> Patch to get valid XML in en_GB help
> 
> The attached patch corrects the en_GB help to valid XML according to xmllint
> run by "make check".
> 

Hum, I shall like to believe whether it is it. But in my case I'm not sure of it.
My LINGAS is Fr, the first error which appears with Traceback is "ImportError: No module name libxml2" (and the installed version of libxml2 is 2.7.3-r2); and to finish I don't how understand to install the patch because that files don't exist (It's no more a upgrade, I can not install Gnome-Terminal)
Comment 12 Daniel Schömer 2010-02-19 14:27:09 UTC
(In reply to comment #11)
> (In reply to comment #10)
> > Created an attachment (id=220209) [details] [details]
> > Patch to get valid XML in en_GB help
>
> Hum, I shall like to believe whether it is it. But in my case I'm not sure of
> it.
> My LINGAS is Fr, the first error which appears with Traceback is "ImportError:
> No module name libxml2" (and the installed version of libxml2 is 2.7.3-r2); and
> to finish I don't how understand to install the patch because that files don't
> exist (It's no more a upgrade, I can not install Gnome-Terminal)

Sorry, I have not read comment #6 and your build log.

Your "ImportError" should not be related to the patch I attached. It seems that libxml2 can not be loaded by the python script /usr/bin/xml2po (from app-text/gnome-doc-utils-0.16.1 on my system) on your system.

I have /usr/lib/python2.6/site-packages/libxml2.py (and .pyo, .pyc). It belongs to dev-libs/libxml2-2.7.3-r2. Maybe the python bindings for/from libxml2 are missing on your system.

What do the following three commands output on your system?

# emerge --info libxml2
...
dev-libs/libxml2-2.7.3-r2 was built with the following:
USE="ipv6 python readline -debug -doc -examples -test" 
LDFLAGS="-Wl,-O1"

# qlist libxml2 | fgrep .py
/usr/lib/python2.6/site-packages/libxml2.py
/usr/lib/python2.6/site-packages/drv_libxml2.py

# python -c 'import libxml2' ; echo $?
0
Comment 13 Jean-Michel Berliere 2010-02-20 09:02:21 UTC
(In reply to comment #12)
> (In reply to comment #11)
 
> Sorry, I have not read comment #6 and your build log.

No matter, thanks for your answer

> Your "ImportError" should not be related to the patch I attached. It seems that
> libxml2 can not be loaded by the python script /usr/bin/xml2po (from
> app-text/gnome-doc-utils-0.16.1 on my system) on your system.

The version of my /usr/bin/xml2po is "0.16.1". I don't know with which package it came.

> I have /usr/lib/python2.6/site-packages/libxml2.py (and .pyo, .pyc). It belongs
> to dev-libs/libxml2-2.7.3-r2. Maybe the python bindings for/from libxml2 are
> missing on your system.

I have the 3 libxml2 too (.py, .pyo, .pyc), but curiously, their mode is 644 (x flag is missing ?!)

> What do the following three commands output on your system?
> 
> # emerge --info libxml2
> ...
> dev-libs/libxml2-2.7.3-r2 was built with the following:
> USE="ipv6 python readline -debug -doc -examples -test" 
> LDFLAGS="-Wl,-O1"

The same without the last line "LDFLAGS ..."
 
> # qlist libxml2 | fgrep .py
> /usr/lib/python2.6/site-packages/libxml2.py
> /usr/lib/python2.6/site-packages/drv_libxml2.py

The same

> # python -c 'import libxml2' ; echo $?
> 0
The same

I think that this bug is bound to the upgrade to python 2.6 (as my problem with ROX see : http://bugs.gentoo.org/show_bug.cgi?id=303597 ). But I don't really see how resolving it.
Comment 14 Jean-Michel Berliere 2010-02-20 09:24:07 UTC
(In reply to comment #13)

I answer to myself because I found !

I just come to chmod 744 /usr/lib/python2.6/site-packages/libxml2.*, and now the emerge -vau gnome-terminal works !!

Now, it would be necessary to know why these executable files were installed in mode 644 ?

Thanks to Daniel to have shown me the way.
Comment 15 Pacho Ramos gentoo-dev 2010-04-30 07:21:54 UTC
+  30 Apr 2010; Pacho Ramos <pacho@gentoo.org>
+  gnome-terminal-2.26.3.1-r2.ebuild,
+  +files/gnome-terminal-2.26.3.1-en_GB.patch, gnome-terminal-2.28.2.ebuild:
+  Fix British English documentation translation. Thanks to Daniel Schömer
+  for pointing to the issue and Markus Meier for reporting bug #289361. This
+  is solved by upstream in >2.30.1