Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 289348 - >=gnome-extra/gucharmap-2.26.3.1 fails src_test
Summary: >=gnome-extra/gucharmap-2.26.3.1 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 17:14 UTC by Markus Meier
Modified: 2010-04-30 07:39 UTC (History)
0 users

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


Attachments
gnome-extra:gucharmap-2.26.3.1:20091016-053947.log (gnome-extra:gucharmap-2.26.3.1:20091016-053947.log,73.44 KB, text/plain)
2009-10-16 17:15 UTC, Markus Meier
Details
Changes en_GB help to valid XML according to xmllint (gucharmap-2.26.3.1_help_en_GB_xmllint.patch,5.30 KB, patch)
2010-02-17 21:19 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 17:14:51 UTC
gnome-extra/gucharmap-2.26.3.1 fails test suite (which is a regression compared to gnome-extra/gucharmap-2.24.3):

gnome-extra/gucharmap-2.26.3.1 USE="gnome python test -cjk -debug -doc"

make[2]: Entering directory `/var/tmp/portage/gnome-extra/gucharmap-2.26.3.1/work/gucharmap-2.26.3.1/help'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/var/tmp/portage/gnome-extra/gucharmap-2.26.3.1/work/gucharmap-2.26.3.1/help'
xmllint --noout --noent --path C:./C --xinclude --postvalid ./C/gucharmap.xml
xmllint --noout --noent --path de:./de --xinclude --postvalid ./de/gucharmap.xml
xmllint --noout --noent --path en_GB:./en_GB --xinclude --postvalid ./en_GB/gucharmap.xml
./en_GB/gucharmap.xml:301: element menuchoice: validity error : Element menuchoice content does not follow the DTD, expecting (shortcut? , (guibutton | guiicon | guilabel | guimenu | guimenuitem | guisubmenu | interface)+), got (guimenu guimenuitem shortcut)
./en_GB/gucharmap.xml:313: element menuchoice: validity error : Element menuchoice content does not follow the DTD, expecting (shortcut? , (guibutton | guiicon | guilabel | guimenu | guimenuitem | guisubmenu | interface)+), got (guimenu guimenuitem shortcut)
./en_GB/gucharmap.xml:326: element menuchoice: validity error : Element menuchoice content does not follow the DTD, expecting (shortcut? , (guibutton | guiicon | guilabel | guimenu | guimenuitem | guisubmenu | interface)+), got (guimenu guimenuitem shortcut)
./en_GB/gucharmap.xml:329: element menuchoice: validity error : Element menuchoice content does not follow the DTD, expecting (shortcut? , (guibutton | guiicon | guilabel | guimenu | guimenuitem | guisubmenu | interface)+), got (guimenu guimenuitem shortcut)
./en_GB/gucharmap.xml:453: element menuchoice: validity error : Element menuchoice content does not follow the DTD, expecting (shortcut? , (guibutton | guiicon | guilabel | guimenu | guimenuitem | guisubmenu | interface)+), got (guimenu guimenuitem shortcut)
./en_GB/gucharmap.xml:456: element menuchoice: validity error : Element menuchoice content does not follow the DTD, expecting (shortcut? , (guibutton | guiicon | guilabel | guimenu | guimenuitem | guisubmenu | interface)+), got (guimenu guimenuitem shortcut)
./en_GB/gucharmap.xml:459: element menuchoice: validity error : Element menuchoice content does not follow the DTD, expecting (shortcut? , (guibutton | guiicon | guilabel | guimenu | guimenuitem | guisubmenu | interface)+), got (guimenu guimenuitem shortcut)
Document ./en_GB/gucharmap.xml does not validate
make[1]: *** [check-doc-docs] Error 3
make[1]: Leaving directory `/var/tmp/portage/gnome-extra/gucharmap-2.26.3.1/work/gucharmap-2.26.3.1/help'
make: *** [check-recursive] Error 1
 * 
 * ERROR: gnome-extra/gucharmap-2.26.3.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_test
 *             environment, line 1420:  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 17:15:27 UTC
Created attachment 207333 [details]
gnome-extra:gucharmap-2.26.3.1:20091016-053947.log
Comment 2 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-12-29 23:19:26 UTC
Which version of libxml2 do you have? I have 2.7.3-r2, and I cannot reproduce this test failure (or others you have reported)
Comment 3 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-12-29 23:25:58 UTC
Please get back to us.
Comment 4 Markus Meier gentoo-dev 2009-12-30 17:37:22 UTC
(In reply to comment #2)
> Which version of libxml2 do you have? I have 2.7.3-r2, and I cannot reproduce
> this test failure (or others you have reported)

this happens with libxml2-2.7.3-r2 USE="examples ipv6 python readline test".
you should probably set the same LINGUAS as I do...
Comment 5 Daniel Schömer 2010-02-17 21:19:13 UTC
xmllint tells that in help/en_GB/gucharmap.xml there are some elements in wrong order according to the DTD.

After applying attached gucharmap-2.26.3.1_help_en_GB_xmllint.patch, the file is ok for xmllint of dev-libs/libxml2-2.7.3-r2.

I just changed the order of xml elements within the <menuchoice> elements. According to xmllint, the DTD tells that the <shortcut> element must be the first child if present. The the unmodified help/en_GB/gucharmap.xml, the <shortcut> elements are the last children.

I guess, help/C/gucharmap.xml was updated sometime by upstream, but help/en_GB/gucharmap.xml was not.
Comment 6 Daniel Schömer 2010-02-17 21:19:55 UTC
Created attachment 220097 [details, diff]
Changes en_GB help to valid XML according to xmllint
Comment 7 Pacho Ramos gentoo-dev 2010-04-30 07:39:31 UTC
+  30 Apr 2010; Pacho Ramos <pacho@gentoo.org> gucharmap-2.26.3.1.ebuild,
+  +files/gucharmap-2.26.3.1-en_GB.patch, gucharmap-2.28.2.ebuild:
+  Fix British English documentation translation (bug #289348 reported by
+  Markus Meier) with upstream patch. Also thanks to Daniel Schömer for
+  finding the problem. This is fixed upstream in > 2.30.1 versions.