Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262325 - [FEATURES=test failure] >=app-editors/gedit-2.24.3 fails testsuite
Summary: [FEATURES=test failure] >=app-editors/gedit-2.24.3 fails testsuite
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
Depends on:
Blocks: gnome-tests gnome2.24 260063 gnome2.26 gnome2.28
  Show dependency tree
Reported: 2009-03-12 23:06 UTC by Markus Meier
Modified: 2010-05-08 10:41 UTC (History)
2 users (show)

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

app-editors:gedit-2.24.3:20090312-203852.log (app-editors:gedit-2.24.3:20090312-203852.log,270.68 KB, text/plain)
2009-03-12 23:07 UTC, Markus Meier
Fix XML syntax of gedit.xml of diverse languages (gedit-2.24.3-fix_xml_validation.patch,10.48 KB, patch)
2009-05-18 12:08 UTC, Dustin Polke
Details | Diff
gedit-2.26.3-fix_xml_validation.patch (gedit-2.26.3-fix_xml_validation.patch,9.54 KB, patch)
2009-08-14 13:42 UTC, Dustin Polke
Details | Diff
gedit-2.26.3-fix_xml_validation.patch (gedit-2.26.3-fix_xml_validation.patch,5.20 KB, patch)
2009-08-14 21:17 UTC, Dustin Polke
Details | Diff
XML validation patch (gedit-2.28.4-fix_xml_validation.patch,4.50 KB, patch)
2010-04-16 14:38 UTC, Dustin Polke
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-03-12 23:06:54 UTC
app-editors/gedit-2.24.3 USE="python spell -doc -xattr (-debug%)"

Making check in ro
make[2]: Entering directory `/var/tmp/portage/app-editors/gedit-2.24.3/work/gedit-2.24.3/help/ro'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/var/tmp/portage/app-editors/gedit-2.24.3/work/gedit-2.24.3/help/ro'
make[2]: Entering directory `/var/tmp/portage/app-editors/gedit-2.24.3/work/gedit-2.24.3/help'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/var/tmp/portage/app-editors/gedit-2.24.3/work/gedit-2.24.3/help'
xmllint --noout --noent --path C:./C --xinclude --postvalid ./C/gedit.xml
xmllint --noout --noent --path de:./de --xinclude --postvalid ./de/gedit.xml
./de/gedit.xml:446: element menuchoice: validity error : Element menuchoice content does not follow the DTD, expecting (shortcut? , (guibutton | guiicon | guilabel | guimenu | guimenuitem | guisubmenu | interface)+), got (CDATA guimenu guimenuitem)
Document ./de/gedit.xml does not validate
make[1]: *** [check-doc-docs] Error 3
make[1]: Leaving directory `/var/tmp/portage/app-editors/gedit-2.24.3/work/gedit-2.24.3/help'
make: *** [check-recursive] Error 1
 * ERROR: app-editors/gedit-2.24.3 failed.
 * Call stack:
 *     , line   49:  Called src_test
 *             environment, line 3094:  Called _eapi0_src_test
 *     , line  616:  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 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, i686)
System uname: Linux-
Timestamp of tree: Wed, 11 Mar 2009 19:30:14 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.4.4-r14, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2-r1
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 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.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
CFLAGS="-O2 -march=i686 -pipe"
CONFIG_PROTECT="/etc /opt/openfire/resources/security/ /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/share/config /var/bind /var/lib/hsqldb /var/spool/fax/etc /var/spool/torque"
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/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
FEATURES="collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict test unmerge-orphans userfetch userpriv usersandbox"
LINGUAS="en en_GB de"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="X acl acpi alsa apache2 avahi berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo examples fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde ldap libnotify mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session source spell spl ssl startup-notification svg sysfs tcpd test tiff truetype unicode usb vorbis win32codecs x86 xml xorg xulrunner xv 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 i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Comment 1 Markus Meier gentoo-dev 2009-03-12 23:07:33 UTC
Created attachment 184861 [details]

build log
Comment 2 Dustin Polke 2009-05-18 12:08:17 UTC
Created attachment 191656 [details, diff]
Fix XML syntax of gedit.xml of diverse languages
Comment 3 Dustin Polke 2009-08-14 13:42:55 UTC
Created attachment 201243 [details, diff]

gedit-2.26.3 fails as well. This patch fixes validation errors.
Comment 4 Gilles Dartiguelongue gentoo-dev 2009-08-14 15:45:03 UTC
as per upstream comments, you should patch the .po files, not the .xml.
Comment 5 Dustin Polke 2009-08-14 21:17:09 UTC
Created attachment 201280 [details, diff]

Patch now against .po files.
Comment 6 Gilles Dartiguelongue gentoo-dev 2010-01-27 22:09:40 UTC
updating summary since we won't be fixing 2.24
Comment 7 Dustin Polke 2010-04-16 14:38:55 UTC
Created attachment 228037 [details, diff]
XML validation patch

gedit-2.28.4 fails tests as well.
Maybe someone with enough bugzie powerz can adjust summary and make this block bug #314899?

Comment 8 Pacho Ramos gentoo-dev 2010-04-16 18:11:15 UTC
Did you reported this upstream?
Comment 9 Dustin Polke 2010-04-19 10:59:36 UTC
(In reply to comment #8)
> Did you reported this upstream?

Now I have:
Comment 10 Pacho Ramos gentoo-dev 2010-04-19 16:21:12 UTC
Thanks a lot :-)
Comment 11 Pacho Ramos gentoo-dev 2010-05-08 09:06:37 UTC
Ups, I forgot to include 

Will try to fix it as soon as possible
Comment 12 Pacho Ramos gentoo-dev 2010-05-08 10:41:38 UTC
+  08 May 2010; Pacho Ramos <> -gedit-2.28.3.ebuild,
+  gedit-2.28.4.ebuild, +files/gedit-2.28.4-xml-syntax.patch:
+  Fix XML syntax in po files for de, fi, and hu (bug #262325). Thanks a lot
+  to Dustin Polke for the patch. Remove old testing version that won't be
+  stabilized ever.