QA: install │ │QA Notice: command not found: /bin/sh: line 6: --variable: command not found │ │INFO: install │ │Converting shebang in '/var/tmp/portage/media- │ │video/totem-2.32.0/image//usr/libexec/totem/totem-bugreport.py' Reproducible: Always random david # emerge --info totem Portage 2.1.9.25 (default/linux/amd64/10.0, gcc-4.5.1, glibc-2.12.1-r3, 2.6.36-gentoo-r3 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.36-gentoo-r3-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-gentoo-2.0.1 Timestamp of tree: Sat, 11 Dec 2010 00:15:01 +0000 app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r2 dev-lang/python: 2.6.6-r1, 2.7.1, 3.1.3 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1-r1 sys-apps/openrc: 0.6.8 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.10.3, 1.11.1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.4.5, 4.5.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -ggdb -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -ggdb -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ http://mirrors.163.com/gentoo/ ftp://mirror.bih.net.ba/gentoo/" LDFLAGS="-Wl,--hash-style=gnu,-O1 -Wl,--as-needed" LINGUAS="en_US" 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=" " SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="acl alsa amd64 berkdb bzip2 cdr cli cracklib crypt cups cxx dri en fortran gdbm gpm gtk iconv ipv6 midi mmx modules mudflap multilib ncurses nls nptl nptlonly openmp pam pcre perl pic pppd python readline session sse sse2 ssl sysfs tcpd threads unicode xorg 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 authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18 ree18" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= media-video/totem-2.32.0 was built with the following: USE="(multilib) nsplugin python youtube -bluetooth -debug -doc -galago -iplayer -lirc -nautilus (-tracker) -upnp"
Created attachment 256881 [details] build log
I didn't see any message like that in my logs. My emerge --info (with USE flags below): $ emerge --info totem Portage 2.1.9.25 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.4, glibc-2.11.2-r3, 2.6.35-ck-r4 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.35-ck-r4-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-gentoo-1.12.14 Timestamp of tree: Sun, 12 Dec 2010 13:30:21 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11-r1 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.14-r1 sys-apps/sandbox: 2.3-r1 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.4-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /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" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/distfiles" FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org http://ftp.ussg.iu.edu/linux/gentoo http://mirror.ovh.net/gentoo-distfiles/ http://ftp.heanet.ie/pub/gentoo/ http://gentoo-euetib.upc.es/mirror/gentoo/ http://ftp.udc.es/gentoo/ http://darkstar.ist.utl.pt/gentoo/" LANG="es_ES.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="es es_ES en_US" MAKEOPTS="-j2" PKGDIR="/usr/local/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="/usr/portage/local/layman/sunrise /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 applet avahi bash-completion berkdb branding bzip2 cairo cdda cddb cdinstall cdr cdrom cleartype cli consolekit cracklib crypt css cups cxx daap dbus djvu dri dts dvd dvdr dvi eds emboss encode evo exif fam fat ffmpeg firefox flac fortran fuse gdbm gdu gif git gnome gnome-keyring gpm gstreamer gtk hal hddtemp iconv java jpeg kpathsea latex lcdfilter lcms libnotify lm_sensors lyx lzma mad mikmod mmx mmxext mng modules mono mp3 mp4 mpeg mudflap multilib musicbrainz nautilus ncurses network network-cron nls nptl nptlonly ntfs nvidia ogg opengl openmp pam pango pch pcre pdf perl png policykit ppds pppd python qt3support qt4 readline reiserfs scanner sdl session spell sse sse2 sse3 ssl startup-notification subversion svg sysfs t1lib tcpd test threads tiff truetype unicode usb v4l2 vcd vorbis webkit x264 xattr xcb xml xmp xorg xpm xulrunner xv xvid zeroconf zlib" ALSA_CARDS="via82xx" 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en_US" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= media-video/totem-2.32.0 was built with the following: USE="(multilib) nautilus nsplugin python test youtube -bluetooth -debug -doc -galago -iplayer -lirc (-tracker) -upnp" And my app-text/docbook-xml-dtd installations: $ eix app-text/docbook-xml-dtd [I] app-text/docbook-xml-dtd Available versions: (4.1.2) 4.1.2-r6 (4.2) 4.2-r2 (4.3) 4.3-r1 (4.4) 4.4-r1 4.4-r2 (4.5) 4.5 4.5-r1 Installed versions: 4.1.2-r6(4.1.2)(23:06:49 19/11/10) 4.2-r2(4.2)(22:10:06 07/06/10) 4.3-r1(4.3)(22:09:02 07/06/10) 4.4-r2(4.4)(22:09:50 07/06/10) 4.5-r1(4.5)(22:09:21 07/06/10) Homepage: http://www.docbook.org/ Description: Docbook DTD for XML
random bug-buddy # eix app-text/docbook-xml-dtd [I] app-text/docbook-xml-dtd Available versions: (4.1.2) 4.1.2-r6{tbz2} (4.2) 4.2-r2{tbz2} (4.3) 4.3-r1{tbz2} (4.4) 4.4-r1 4.4-r2{tbz2} (4.5) 4.5 4.5-r1{tbz2} Installed versions: 4.1.2-r6(4.1.2){tbz2}(12:31:53 12/05/10) 4.2-r2(4.2){tbz2}(12:37:35 12/05/10) 4.3-r1(4.3){tbz2}(12:32:59 12/05/10) 4.4-r2(4.4){tbz2}(12:37:16 12/05/10) 4.5-r1(4.5){tbz2}(12:37:55 12/05/10) Homepage: http://www.docbook.org/ Description: Docbook DTD for XML I am using bin86-0.16.18 not that that should matter. everything else is already in ~amd64 will run again just to see if it shows up but have since encountered several libraries that have needed a revdep-rebuild including brassero, evolution-data-server and others
rebuild failed. died looking for gst-plugins-good re-installing this and will rebuild again. This was part of a package-group update was on gnome-2.30.x and upgraded when added to the tree to gnome-2.32.x Initially none of the upgrades balked at a required revdep-rebuild --library 'libname.soname' and rm libname.soanme This is what will happen if the whole set went to sable and users just emerge -u world without doing the steps in the elog output at least on mine. Besides gtkhtml, brassero, and evolution-data-server all of those revdeps&rm have not yet been done. after emerge --oneshot gst-plugins-good will try totoem again.
still died trying to build: this is after the package it refers to was rebuilt and is installed namely gst-plugins-good also for goo measure tried rebuilding gst-plugins-meta and totem-pl-parser all of these packages built without complaint and still the result when running 'emerge--oneshot totem' is checking for MISSING_PLUGINS... yes checking for GST... yes checking GStreamer 0.10 inspection tool... yes checking GStreamer 0.10 playbin2 plugin... yes checking GStreamer 0.10 ffmpegcolorspace plugin... yes checking GStreamer 0.10 videoscale plugin... yes checking GStreamer 0.10 gconfaudiosink plugin... ./configure: line 19207: 6443 Aborted $gst010_inspect $good_element > /dev/null 2> /dev/null no configure: error: Cannot find required GStreamer-0.10 plugin 'gconfaudiosink'. It should be part of gst-plugins-good. Please install it. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/media-video/totem-2.32.0/work/totem-2.32.0/config.log gst-stuff not an issue for mplayer which builds fine.
That one looks like bug 348098
Created attachment 256988 [details] build log still shows the same message Note cflags include -ggdb
Excerpt from log: > 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 need to check what's that thing in the build system.
Am running splitdebug in FEATURES but had msg before then. Perhaps this is by the patch that does that runs after the build is done. But before splidebug runs. It is the patch to the xslt stylesheets iirc and runs after the build process is done. I am at work now so no access to the box. Will check later
Making all in help make[2]: Entering directory `/var/tmp/portage/media-video/totem-2.32.0/work/totem-2.32.0/help' echo 'const gchar* documentation_credits[] = {' >> totem-docs.h.tmp 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; \ xsltproc --path "$xmlpath" `/usr/bin/pkg-config --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/credits.xsl $doc; \ done | sort | uniq \ | awk 'BEGIN{s=""}{n=split($0,w,"<");if(s!=""&&s!=substr(w[1],1,length(w[1])-1)){print s};if(n>1){print $0;s=""}else{s=$0}};END{if(s!=""){print s}}' \ | sed -e 's/\\/\\\\/' -e 's/"/\\"/' -e 's/\(.*\)/\t"\1",/' >> totem-docs.h.tmp echo ' NULL' >> totem-docs.h.tmp echo '};' >> totem-docs.h.tmp echo >> totem-docs.h.tmp 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
--variable seems to be a modifier for pkg-config Looking @ http://intranet.upesh.edu.pk/downloads/Ekiga-Soft/ekiga-3.2.0/gnome-doc-utils.make The biggest thing I see is us using pkg-config vs their doc build Thrs snip is VERY similar. echo 'const gchar* documentation_credits[] = {' >> $@.tmp list='$(DOC_H_DOCS)'; for doc in $$list; do \ xmlpath="`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`:$(srcdir)/`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`"; \ if ! test -f "$$doc"; then doc="$(srcdir)/$$doc"; fi; \ xsltproc --path "$$xmlpath" $(_credits) $$doc; \ done | sort | uniq \ | awk 'BEGIN{s=""}{n=split($$0,w,"<");if(s!=""&&s!=substr(w[1],1,length(w[1])-1)){print s};if(n>1){print $$0;s=""}else{s=$$0}};END{if(s!=""){print s}}' \ | sed -e 's/\\/\\\\/' -e 's/"/\\"/' -e 's/\(.*\)/\t"\1",/' >> $@.tmp echo ' NULL' >> $@.tmp echo '};' >> $@.tmp echo >> $@.tmp list='$(DOC_H_DOCS)'; for doc in $$list; do \ xmlpath="`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`:$(srcdir)/`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`"; \ if ! test -f "$$doc"; then doc="$(srcdir)/$$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" $(_ids) $$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'"' >> $@.tmp; \ done;
The problem is the way this line is parsed: ids=`xsltproc --xinclude --path "$xmlpath" `/usr/bin/pkg-config --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/ids.xsl $doc`; Note the nested command substitution. In order for it to work as expected the inner backquotes would need to be escaped with backslashes.
Created attachment 257106 [details, diff] patch to fix nested command substitution in gnome-doc-utils.make Instead of escaping the inner backquotes, I thought it would be more elegant to use make's shell command for the pkg-config command.
(In reply to comment #13) > Created an attachment (id=257106) [details] > patch to fix nested command substitution in gnome-doc-utils.make > > Instead of escaping the inner backquotes, I thought it would be more elegant to > use make's shell command for the pkg-config command. > If it's really the cause of the problem, it would also affect to app-text/gnome-doc-utils since its /usr/share/gnome-doc-utils/gnome-doc-utils.make is exactly the same as totem provided one and, in that case, upstream should probably be notified :-/
(In reply to comment #14) > If it's really the cause of the problem, it would also affect to > app-text/gnome-doc-utils since its > /usr/share/gnome-doc-utils/gnome-doc-utils.make is exactly the same as totem > provided one and, in that case, upstream should probably be notified :-/ > Ok. So, unless I'm wrong, the bug is in gnome-doc-utils and not totem itself. Thanks for the info. I'll file a bug report upstream tomorrow (I'm going to bed now), or if you want to do it, feel free.
https://bugzilla.gnome.org/show_bug.cgi?id=637465
Thanks a lot, also looks like upstream has accepted it :-D
+ 11 Jan 2011; Pacho Ramos <pacho@gentoo.org> totem-2.32.0.ebuild: + Use fixed gnome-doc-utils.make, bug #348403 (by David J Cozatt and patch by + Chris Coleman). +
Thank you very much Cris and Pacho please feel free to comment on bug #339485 if you feel you have anything to add. BTW I believe this bug still exists in stable and/or will until a version that contains the patch for app-text/gnome-doc-utils is bumped to stable.