Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 292478

Summary: [FEATURES=test failure] sys-block/gparted-0.4.8 installation fails because of invalid german xml help file
Product: Gentoo Linux Reporter: Christian Weiske <cweiske>
Component: New packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: enhancement CC: DuPol
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 69343    

Description Christian Weiske 2009-11-09 08:53:45 UTC
Installtion of sys-block/gparted-0.4.8 fails, because xml validation of german help file fails.

Reproducible: Always

Steps to Reproduce:
1. Emerge gparted-0.4.8

Actual Results:  
>>> Test phase [check]: sys-block/gparted-0.4.8
make -j1 check 
Making check in help
make[1]: Entering directory `/mnt/temporary/var-tmp/portage/sys-block/gparted-0.4.8/work/gparted-0.4.8/help'
xmllint --noout --noent --path C:./C --xinclude --postvalid ./C/gparted.xml
xmllint --noout --noent --path de:./de --xinclude --postvalid ./de/gparted.xml
./de/gparted.xml:271: element menuchoice: validity error : Element menuchoice content does not follow the DTD, expecting (shortcut? , (guibutton | guiicon | guilabel | guimenu | guimenuitem | guisubmenu | interface)+), got (guimenu guimenuitem CDATA)
Document ./de/gparted.xml does not validate


Expected Results:  
Installation succeeds

bogo cweiske # emerge --info
Portage 2.1.6.13 (default/linux/amd64/10.0/developer, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31debug x86_64)
=================================================================
System uname: Linux-2.6.31debug-x86_64-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-gentoo-1.12.13
Timestamp of tree: Mon, 09 Nov 2009 07:00:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 1.3.7-r1, 2.1.9-r1
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  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.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -pipe -ggdb -O2"
CHOST="x86_64-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"
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/privoxy/templates /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="-march=nocona -pipe -ggdb -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect cvs distlocks fixpackages multilib-strict parallel-fetch protect-owned sandbox sfperms sign splitdebug strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de en en_GB"
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="/home/cweiske/Dev/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aiglx aim alsa amd64 apache2 avahi avi bash-completion berkdb bluethooth bluetooth bzip2 cairo cdda cdr cli consolekit cracklib crypt cups daap dbus divx dri dts dv dvd dvdr eds emboss encode evo exif fam fax firefox flac fortran ftp gcj gd gdbm gif gimpprint glitz glx gnutls gphoto2 gpm gstreamer gtk gtk2 hal hbci icecast iconv ieee1394 imap ipv6 isight java jpeg ldap libnotify lirc live mad madwifi matroska mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib mysql ncurses network nls nptl nptlonly nsplugin offensive ofx ogg oggvorbis openal opengl openmp pam pcre pdf perl png ppds pppd python quicktime readline reflection reiser4 reiserfs samba sasl scanner sdl session slp smp snmp soap speex spell spl sqlite3 srt sse sse2 ssl startup-notification svg sysfs tcpd theora threads thunar tiff truetype unicode upnp usb v4l v4l2 visualization vorbis x264 xcb xcomposite xface xine xinerama xiv xml xorg xosd xulrunner xv xvid 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en en_GB" LIRC_DEVICES="macmini" MISDN_CARDS="hfcsusb" NETBEANS_MODULES="php ide" SANE_BACKENDS="plustek" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-01-07 23:23:31 UTC
this is fixed in 0.5. Thanks for reporting.
Comment 2 Dustin Polke 2010-01-08 09:53:19 UTC
(In reply to comment #1)
> this is fixed in 0.5. Thanks for reporting.

It is not...
>>> Test phase [check]: sys-block/gparted-0.5.0
make -j5 -j1 check 
Making check in help
make[1]: Entering directory `/var/tmp/portage/sys-block/gparted-0.5.0/work/gparted-0.5.0/help'
xmllint --noout --noent --path C:./C --xinclude --postvalid ./C/gparted.xml
xmllint --noout --noent --path de:./de --xinclude --postvalid ./de/gparted.xml
./de/gparted.xml:271: element menuchoice: validity error : Element menuchoice content does not follow the DTD, expecting (shortcut? , (guibutton | guiicon | guilabel | guimenu | guimenuitem | guisubmenu | interface)+), got (guimenu guimenuitem CDATA)
Document ./de/gparted.xml does not validate
make[1]: *** [check-doc-docs] Error 3
make[1]: Leaving directory `/var/tmp/portage/sys-block/gparted-0.5.0/work/gparted-0.5.0/help'
make: *** [check-recursive] Error 1
 * 
 * ERROR: sys-block/gparted-0.5.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_test
 *             environment, line 1503:  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.

 # emerge -p gparted
[ebuild  N    ] sys-block/gparted-0.5.0  USE="fat ntfs reiserfs xfce -dmraid -gnome -hfs -jfs -kde -mdadm -reiser4 -xfs"

Portage 2.1.6.13 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6-stable x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-stable-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8100_@_2.10GHz-with-gentoo-1.12.13
Timestamp of tree: Fri, 08 Jan 2010 06:45:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r2
dev-lang/python:     2.6.4
dev-python/pycrypto: 2.1.0_beta1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -msse4.1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/bin/mygenkernel /usr/sbin/run-crons /usr/share/X11/xkb /usr/share/cairo-dock/plug-ins/wifi/wifi /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe -msse4.1"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks fixpackages multilib-strict parallel-fetch protect-owned sandbox sfperms strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/     ftp://de-mirror.org/distro/gentoo/     ftp://mirror.netcologne.de/gentoo/     ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo     ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,relro -Wl,-z,now"
LINGUAS="en de"
MAKEOPTS="-j5"
PKGDIR="/home/ftp/binpkg/"
PORTAGE_COMPRESS=""
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500"
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/g-ctan /usr/local/portage/modified /usr/local/portage/own /usr/local/portage/layman/alon-barlev /usr/local/portage/layman/sping /usr/local/portage/layman/science /usr/local/portage/layman/desktop-effects /usr/local/portage/layman/sunrise"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X X509 Xaw3d a52 aac aalib accessibility acl acpi alsa amd64 amr amrnb amrr amrwb apm async audacious audiofile bash-completion battery berkdb bindist bl bluetooth branding bzip2 cairo cardbus cdaudio cdda cdinstall cjk cli consolekit cracklib crypt css ctype cups curl cxx dbus dga directfb dri dts dv dvd dvdr eds encode evo exchange exif fam fame fbcon fbcondecor fbsplash ffmpeg flac fontforge foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gimp git glade glitz gmp gphoto2 gs gsm gstreamer gtk gtkhtml guile hal hddtemp hdf5 iconv icq icu idn ieee1394 imagemagick imap imlib iproute2 jack java javascript jpeg jpeg2k kerberos keyscrub kino kpathsea lame lapack laptop latex lcms libcaca libnotify libsamplerate libsexy libv4l2 libwww live lm_sensors logrotate loop-aes lzma lzo mad memlimit mikmod mime mjpeg mmx mmxext mng modules mono motif mp2 mp3 mp4 mpeg mplayer mudflap multilib musepack ncurses nls nntp nowin nptl nptlonly nsplugin ntp nuv nvidia ogg opengl openmp opensslcrypt pam pch pcmcia pcre pda pdf perl plotutils png posix ppds pppd print python qt3support quicktime readline reflection rtsp ruby rubytests samba sasl schroedinger sdl server session simplexml slang sndfile soap sockets sou speex spell spl sse sse2 sse3 sse4.1 ssl ssse3 startup-notification stream subversion svg swat sysfs syslog tcpd tga theora threads tiff truetype unicode usb userlocales v4l v4l2 vcd vdpau vim-syntax vim-with-x vorbis wifi winbind wma wmf wxwindows x264 xanim xcomposite xfce xinetd xml xmp xorg xpm xsl xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel mpu401" 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" CAMERAS="fuji ptp2" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS_FLAGS
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-01-08 10:22:51 UTC
erf, how is it that I couldn't see this building the package like this:
 unset LINGUAS in make.conf
$ FEATURES="test stricter" emerge -1v gparted

could you list what docbook dtds you have installed on your system ?
Comment 4 Dustin Polke 2010-01-08 12:34:34 UTC
(In reply to comment #3)
> erf, how is it that I couldn't see this building the package like this:
>  unset LINGUAS in make.conf
> $ FEATURES="test stricter" emerge -1v gparted
I don't know. Maybe unset LINGUAS is not the same as LINGUAS="*"?
I am using latter in my stable chroot for testing with all languages.
 
> could you list what docbook dtds you have installed on your system ?

$ eix docbook -Ic
[I] app-text/build-docbook-catalog (1.4@09-02-28): DocBook XML catalog auto-updater
[I] app-text/docbook-dsssl-stylesheets (1.79@09-03-01): DSSSL Stylesheets for DocBook.
[U] app-text/docbook-sgml-dtd (3.0-r3(3.0)@09-03-01 3.1-r3(3.1)@09-03-01 4.0-r3(4.0)@09-03-01 4.1-r3(4.1)@09-03-01 -> 3.0-r3(3.0) 3.1-r3(3.1) 4.0-r3(4.0) 4.1-r3(4.1) 4.2-r2(4.2) 4.3-r2(4.3) 4.4(4.4)): Docbook SGML DTD 4.5
[I] app-text/docbook-sgml-utils (0.6.14@09-03-01): Shell scripts to manage DocBook documents
[I] app-text/docbook-xml-dtd (4.1.2-r6(4.1.2)@09-03-01 4.2-r2(4.2)@09-08-10 4.3-r1(4.3)@09-08-31 4.4-r1(4.4)@09-03-01 4.5(4.5)@09-08-10): Docbook DTD for XML
[I] app-text/docbook-xml-simple-dtd (1.0-r1(1.0)@09-03-01 4.1.2.4-r2@09-03-01): Simplified Docbook DTD for XML
[I] app-text/docbook-xsl-stylesheets (1.75.2@09-09-20): XSL Stylesheets for Docbook