Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291379 - media-video/totem-2.28.1 fails to compile
Summary: media-video/totem-2.28.1 fails to compile
Status: RESOLVED DUPLICATE of bug 291329
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-31 21:43 UTC by Markus Wernig
Modified: 2009-11-01 19:21 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Wernig 2009-10-31 21:43:08 UTC
Hi all

There seem to be various bugs in the 2.28.1 totem ebuild.
First, errors pop up from the executed shell code, then a XML file cannot be parsed, which then leads to the fatal error.

As for the shell error, the culprit seems to be the line:
"ids=`xsltproc --xinclude --path "$xmlpath" `/usr/bin/pkg-config --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/ids.xsl $doc`;"
which tries to do a nested command substitution (if I read correctly).
This needs to be done in two steps:
xmldir=`/usr/bin/pkg-config --variable xmldir gnome-doc-utils`
ids=`xsltproc --xinclude --path "$xmlpath" "$xmldir"/gnome/xslt/docbook/utils/ids.xsl $doc`

Sorry, can't help with the XML error.

These are the last lines of output from emerge:

list='C/totem.xml'; for doc in $list; do \                                          
          xmlpath="`echo $doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`:./`echo $doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`"; \                            
          if ! test -f "$doc"; then doc="./$doc"; fi; \                             
          docid=`echo "$doc" | sed -e 's/.*\/\([^/]*\)\.xml/\1/' \                  
            | sed -e 's/[^a-zA-Z_]/_/g' | tr 'a-z' 'A-Z'`; \                        
          echo $xmlpath; \                                                          
          ids=`xsltproc --xinclude --path "$xmlpath" `/usr/bin/pkg-config --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/ids.xsl $doc`; \                  
          for id in $ids; do \                                                      
            echo '#define HELP_'`echo $docid`'_'`echo $id \                         
              | sed -e 's/[^a-zA-Z_]/_/g' | tr 'a-z' 'A-Z'`' "'$id'"' >> totem-docs.h.tmp; \                                                                            
          done; \                                                                   
          echo >> totem-docs.h.tmp; \                                               
        done;                                                                       
C/:./C/                                                                             
/bin/sh: line 6: /gnome/xslt/docbook/utils/ids.xsl: No such file or directory       
/bin/sh: line 6: --variable: command not found                                      
cp totem-docs.h.tmp totem-docs.h && rm -f totem-docs.h.tmp                          
xsltproc -o totem-cs.omf --stringparam db2omf.basename totem --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.5//EN" --stringparam db2omf.lang cs --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in "/var/tmp/portage/media-video/totem-2.28.1/work/totem-2.28.1/help/totem.omf.in"  `/usr/bin/pkg-config --variable db2omf gnome-doc-utils` cs/totem.xml || { rm -f "totem-cs.omf"; exit 1; }
xsltproc -o totem-da.omf --stringparam db2omf.basename totem --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.5//EN" --stringparam db2omf.lang da --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in "/var/tmp/portage/media-video/totem-2.28.1/work/totem-2.28.1/help/totem.omf.in"  `/usr/bin/pkg-config --variable db2omf gnome-doc-utils` da/totem.xml || { rm -f "totem-da.omf"; exit 1; }
xsltproc -o totem-de.omf --stringparam db2omf.basename totem --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.5//EN" --stringparam db2omf.lang de --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in "/var/tmp/portage/media-video/totem-2.28.1/work/totem-2.28.1/help/totem.omf.in"  `/usr/bin/pkg-config --variable db2omf gnome-doc-utils` de/totem.xml || { rm -f "totem-de.omf"; exit 1; }
xsltproc -o totem-el.omf --stringparam db2omf.basename totem --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.5//EN" --stringparam db2omf.lang el --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in "/var/tmp/portage/media-video/totem-2.28.1/work/totem-2.28.1/help/totem.omf.in"  `/usr/bin/pkg-config --variable db2omf gnome-doc-utils` el/totem.xml || { rm -f "totem-el.omf"; exit 1; }
xsltproc -o totem-en_GB.omf --stringparam db2omf.basename totem --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.5//EN" --stringparam db2omf.lang en_GB --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in "/var/tmp/portage/media-video/totem-2.28.1/work/totem-2.28.1/help/totem.omf.in"  `/usr/bin/pkg-config --variable db2omf gnome-doc-utils` en_GB/totem.xml || { rm -f "totem-en_GB.omf"; exit 1; }                                                                        
xsltproc -o totem-es.omf --stringparam db2omf.basename totem --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.5//EN" --stringparam db2omf.lang es --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in "/var/tmp/portage/media-video/totem-2.28.1/work/totem-2.28.1/help/totem.omf.in"  `/usr/bin/pkg-config --variable db2omf gnome-doc-utils` es/totem.xml || { rm -f "totem-es.omf"; exit 1; }
xsltproc -o totem-eu.omf --stringparam db2omf.basename totem --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.5//EN" --stringparam db2omf.lang eu --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in "/var/tmp/portage/media-video/totem-2.28.1/work/totem-2.28.1/help/totem.omf.in"  `/usr/bin/pkg-config --variable db2omf gnome-doc-utils` eu/totem.xml || { rm -f "totem-eu.omf"; exit 1; }
xsltproc -o totem-fr.omf --stringparam db2omf.basename totem --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.5//EN" --stringparam db2omf.lang fr --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in "/var/tmp/portage/media-video/totem-2.28.1/work/totem-2.28.1/help/totem.omf.in"  `/usr/bin/pkg-config --variable db2omf gnome-doc-utils` fr/totem.xml || { rm -f "totem-fr.omf"; exit 1; }
http://www.oasis-open.org/docbook/xml/4.5/dbpoolx.mod:3899: parser warning : PEReference: %tbl.frame.attval; not found                                                  
                frame           (%tbl.frame.attval;)    #IMPLIED                    
                                                   ^                                
http://www.oasis-open.org/docbook/xml/4.5/dbpoolx.mod:3899: parser error : NmToken expected in ATTLIST enumeration                                                      
                frame           (%tbl.frame.attval;)    #IMPLIED                    
                                                   ^                                
http://www.oasis-open.org/docbook/xml/4.5/dbpoolx.mod:3899: parser error : Content error in the external subset                                                         
                frame           (%tbl.frame.attval;)    #IMPLIED                    
                                                   ^                                
http://www.oasis-open.org/docbook/xml/4.5/dbpoolx.mod:3899: parser error : Content error in the external subset                                                         
                frame           (%tbl.frame.attval;)    #IMPLIED                    
                                                         ^                          
http://www.oasis-open.org/docbook/xml/4.5/dbpoolx.mod:3899: parser error : Content error in the external subset                                                         
                frame           (%tbl.frame.attval;)    #IMPLIED                    
                                                            ^                       
http://www.oasis-open.org/docbook/xml/4.5/dbpoolx.mod:3899: validity error : All markup of the conditional section is not in the same entity                            
                frame           (%tbl.frame.attval;)    #IMPLIED                    
                                                            ^                       
http://www.oasis-open.org/docbook/xml/4.5/dbpoolx.mod:3899: parser error : Content error in the external subset                                                         
                frame           (%tbl.frame.attval;)    #IMPLIED                    
                                                               ^                    
unable to parse es/totem.xml                                                        
make[2]: *** [totem-es.omf] Error 1
Comment 1 Markus Wernig 2009-10-31 21:47:32 UTC
# emerge --info
Portage 2.1.7.1 (default/linux/x86/10.0/desktop, gcc-4.4.2, glibc-2.10.1-r0, 2.6.31 i686)                                                                               
=================================================================                   
System uname: Linux-2.6.31-i686-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-gentoo-2.0.1                                                                            
Timestamp of tree: Fri, 30 Oct 2009 16:15:01 +0000                                  
app-shells/bash:     4.0_p35                                                        
dev-java/java-config: 1.3.7-r1, 2.1.9-r1                                            
dev-lang/python:     2.4.4-r13, 2.5.4-r2, 2.6.3, 3.1.1-r1                           
dev-python/pycrypto: 2.0.1-r8                                                       
dev-util/cmake:      2.6.4-r3                                                       
sys-apps/baselayout: 2.0.1                                                          
sys-apps/openrc:     0.5.2-r1                                                       
sys-apps/sandbox:    2.2                                                            
sys-devel/autoconf:  2.13, 2.63-r1                                                  
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11                
sys-devel/binutils:  2.20                                                           
sys-devel/gcc-config: 1.4.1                                                         
sys-devel/libtool:   2.2.6a                                                         
virtual/os-headers:  2.6.30-r1                                                      
ACCEPT_KEYWORDS="x86 ~x86"                                                          
CBUILD="i686-pc-linux-gnu"                                                          
CFLAGS="-O2 -march=pentium-m -funroll-loops -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/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/kde/4.3/env /usr/kde/4.3/share/config /usr/kde/4.3/shutdown /usr/share/X11/xkb /usr/share/config"                                                                                   
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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/udev/rules.d"                                               
CXXFLAGS="-O2 -march=pentium-m -funroll-loops -pipe"                                
DISTDIR="/usr/portage/distfiles"                                                    
FEATURES="assume-digests buildpkg distlocks fixpackages news parallel-fetch protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch"                        
GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ ftp://sunsite.cnlab-switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo"                       
LDFLAGS="-Wl,-O1"                                                                   
MAKEOPTS="-j3"                                                                      
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"                                                              
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"                               
USE="3dfx X a52 aac acl acpi alsa arts avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cdda cddax cddb cdparanoia cdr cli consolekit cracklib crypt css cups dbus dns dri dts dv dvd dvdr dvdread eds emboss encode esd evo exif fam ffmpeg firefox flac fortran ftp gdbm ggi gif gimp gmp gnome gnutls gphoto2 gpm gstreamer gtk gtkhtml gzip h323 hal hdmi iconv imagemagick imap imlib ipv6 isdnlog java jce jpeg jpeg2k kde kdeprefix kdrive kontact lame laptop lcms ldap libnotify lirc mad matroska mdnsresponder-compat mikmod mime mmap mmx mng modplug modules mozilla mp3 mp4 mpeg mplayer mudflap mysql ncurses nls nptl nptlonly nsplugin ogg openct opengl openmp oss pam pcmcia pcre pcsc pcsc-lite pda pdf perl php pipechan plasma png ppds pppd python qt3 qt3support qt4 quicktime raw rdesktop readline reflection rss scanner sdl session sip smartcard smp sockets spell spl sql sse sse2 ssl startup-notification svg sysfs tcpd theora threads thunar tiff timidity truetype unicode usb v4l vcd vnc vorbis wav wavpack webkit wifi win32codecs wmf x264 x86 xattr xcomposite xine xinerama xml xorg xpm xscreensaver xulrunner xv xvid zeroconf 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" CAMERAS="all" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics vmmouse void alps" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="mceusb" USERLAND="GNU" VIDEO_CARDS="nvidia intel vesa vga fbdev vmware nv v4l"                
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Sebastian Luther (few) 2009-11-01 19:21:46 UTC

*** This bug has been marked as a duplicate of bug 291329 ***