Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287891 - app-cdr/brasero-2.26.3: xml docs don't validate
Summary: app-cdr/brasero-2.26.3: xml docs don't validate
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Optical Media project
URL:
Whiteboard:
Keywords: Inclusion
: 305597 (view as bug list)
Depends on:
Blocks: gnome2.26
  Show dependency tree
 
Reported: 2009-10-06 12:32 UTC by Dustin Polke
Modified: 2010-02-25 21:35 UTC (History)
3 users (show)

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


Attachments
brasero-2.26.3-xmlfix.patch (brasero-2.26.3-xmlfix.patch,2.56 KB, patch)
2009-10-06 12:32 UTC, Dustin Polke
Details | Diff
build.log (build.log,284.95 KB, text/plain)
2009-10-28 21:04 UTC, Dustin Polke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dustin Polke 2009-10-06 12:32:07 UTC
app-cdr/brasero-2.26.3 fails make check due to non-validating docs translation.
Patch to be attached.

BR,
Dustin

Reproducible: Always
Comment 1 Dustin Polke 2009-10-06 12:32:42 UTC
Created attachment 206244 [details, diff]
brasero-2.26.3-xmlfix.patch
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-10-08 20:18:50 UTC
Patch looks good, also changing .po only should be sufficient.
Comment 3 Attila Stehr 2009-10-23 21:12:47 UTC
Will the patch be added the package (portage tree) soon?
Comment 4 Romain Perier (RETIRED) gentoo-dev 2009-10-27 18:31:59 UTC
Even if the patch looks correct, that would be nice to attach the build.log.
Because I can't reproduce the fail here
Comment 5 Dustin Polke 2009-10-28 11:43:01 UTC
(In reply to comment #4)
> Even if the patch looks correct, that would be nice to attach the build.log.
> Because I can't reproduce the fail here

Here the part of build.log concerning test phase:

Making check in help
make[1]: Entering directory `/var/tmp/portage/app-cdr/brasero-2.26.3/work/brasero-2.26.3/help'
if ! test -d ca/; then mkdir ca/; fi
if [ -f "C/brasero.xml" ]; then d="../"; else d="/var/tmp/portage/app-cdr/brasero-2.26.3/work/brasero-2.26.3/help/"; fi; \
        (cd ca/ && \
          `which xml2po` -e -p \
            "${d}ca/ca.po" \
            "${d}C/brasero.xml" > brasero.xml.tmp && \
            cp brasero.xml.tmp brasero.xml && rm -f brasero.xml.tmp)
[...]
xmllint --noout --noent --path C:./C --xinclude --postvalid ./C/brasero.xml
xmllint --noout --noent --path ca:./ca --xinclude --postvalid ./ca/brasero.xml
xmllint --noout --noent --path de:./de --xinclude --postvalid ./de/brasero.xml
./de/brasero.xml:609: element para: validity error : Element placeholder-1 is not declared in para list of possible children
./de/brasero.xml:609: element placeholder-1: validity error : No declaration for element placeholder-1
Document ./de/brasero.xml does not validate
xmllint --noout --noent --path el:./el --xinclude --postvalid ./el/brasero.xml
./el/brasero.xml:923: element guimenuitem: validity error : Element guimenuitem is not declared in guimenuitem list of possible children
Document ./el/brasero.xml does not validate
xmllint --noout --noent --path en_GB:./en_GB --xinclude --postvalid ./en_GB/brasero.xml
xmllint --noout --noent --path es:./es --xinclude --postvalid ./es/brasero.xml
xmllint --noout --noent --path fr:./fr --xinclude --postvalid ./fr/brasero.xml
xmllint --noout --noent --path it:./it --xinclude --postvalid ./it/brasero.xml
xmllint --noout --noent --path pl:./pl --xinclude --postvalid ./pl/brasero.xml
./pl/brasero.xml:933: element menuchoice: validity error : Element menuchoice content does not follow the DTD, expecting (shortcut? , (guibutton | guiicon | guilabel | guimenu | guimenuitem | guisubmenu | interface)+), got (guimenu guisubmenu guimenuitem CDATA)
Document ./pl/brasero.xml does not validate
xmllint --noout --noent --path ru:./ru --xinclude --postvalid ./ru/brasero.xml
xmllint --noout --noent --path sv:./sv --xinclude --postvalid ./sv/brasero.xml
xsltproc -o brasero-ca.omf --stringparam db2omf.basename brasero --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.3//EN" --stringparam db2omf.lang ca --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in "/var/tmp/portage/app-cdr/brasero-2.26.3/work/brasero-2.26.3/help/brasero.omf.in"  `/usr/bin/pkg-config --variable db2omf gnome-doc-utils` ca/brasero.xml || { rm -f "brasero-ca.omf"; exit 1; }
[...]
Comment 6 Romain Perier (RETIRED) gentoo-dev 2009-10-28 16:41:49 UTC
not the part , the build.log (the file) in attachment please
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2009-10-28 16:45:14 UTC
To reproduce this, I think you need a special condition for the LINGUAS variable.

But hard to say, because emerge --info is missing.
Comment 8 Dustin Polke 2009-10-28 19:04:42 UTC
Okay, here a bit more information now that I have a bit time.
Tests fail with for me with LINGUAS="de".
The failures I've post above result from "make check" in the ${WORKDIR} after the emerge bailed out thus including failure for all available languages.

Please find below my complete emerge --info:

Portage 2.1.6.13 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r5-stable x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r5-stable-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8100_@_2.10GHz-with-gentoo-1.12.11.1
Timestamp of tree: Wed, 28 Oct 2009 15:45:02 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
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.7.9-r1, 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.6a
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/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/layman/alon-barlev /usr/local/portage/layman/sping /usr/local/portage/layman/science /usr/local/portage/layman/desktop-effects /usr/local/portage/layman/sunrise /usr/local/portage/g-ctan /usr/local/portage/modified /usr/local/portage/own"
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 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 gnutls gphoto2 gs gsm gstreamer gtk gtkhtml guile hal hddtemp hdf5 iconv icq icu idn ieee1394 imagemagick imap imlib iproute2 isdnlog jack java javascript jpeg jpeg2k kerberos keyscrub kino kpathsea lame lapack laptop latex lcms ldap 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 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="keyboard evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS_FLAGS
Comment 9 Dustin Polke 2009-10-28 21:04:27 UTC
Created attachment 208575 [details]
build.log

As request, the complete build.log, emerge --info provided above.
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2009-10-28 21:14:26 UTC
Brasero 2.28.2 is in Portage. I can see part of this patch applied in it,
and tests don't fail here with:

LINGUAS="de" LANG="C" FEATURES="test" emerge brasero

Let me know if I missed something...
Comment 11 Dustin Polke 2009-10-29 08:15:31 UTC
(In reply to comment #10)
> Brasero 2.28.2 is in Portage. I can see part of this patch applied in it,
> and tests don't fail here with:
> 
> LINGUAS="de" LANG="C" FEATURES="test" emerge brasero
> 
> Let me know if I missed something...

I can confirm that 2.28.2 emerges fine with:
LINGUAS="en de" LANG="C" FEATURES="test" emerge =brasero-2.28.2
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2009-10-29 08:48:05 UTC
Closing as fixed by 2.28.2 then. If you still have issues, reopen or open a new bug.

I'll get 2.28.2 stable in 2-4 weeks.
Comment 13 Thomas Kahle (RETIRED) gentoo-dev 2010-02-25 21:35:12 UTC
*** Bug 305597 has been marked as a duplicate of this bug. ***