I did "emerge -uaDv xine-lib" and got the following error after the xine-lib summary: --- /usr/portage/media-libs/xine-lib/xine-lib-1.0.ebuild: line 199: --disable-asf: command not found !!! ERROR: media-libs/xine-lib-1.0 failed. !!! Function src_compile, Line 202, Exitcode 127 !!! Configure failed Reproducible: Always Steps to Reproduce: 1. Emerge xine-lib 2. 3. # emerge info Portage 2.0.51-r8 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r10 x86_64) ================================================================= System uname: 2.6.9-gentoo-r10 x86_64 AMD Opteron(tm) Processor 246 Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Dec 24 2004, 00:38:47)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.9.3, 1.6.3, 1.7.9, 1.4_p6, 1.8.5-r2 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2, 1.5.10-r1, 1.5.2-r7 virtual/os-headers: 2.6.8.1-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="no" CFLAGS="-march=opteron -O3 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/X11/xdm/Xservers /etc/fonts /etc/gconf /etc/rc.d /etc/rsync /etc/terminfo /etc/wget /etc/env.d" CXXFLAGS="-march=opteron -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox userpriv usersandbox" GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 X acpi aim alsa arts audiofile bash-completion berkdb bitmap-fonts cdr crypt cups dvd dvdr exif f77 fam flac foomaticdb fortran gif gimpprint gpm gstreamer gtk gtk2 icq imagemagick imap imlib ipv6 java jp2 jpeg kde libwww lzw lzw-tiff mad mbox motifmozilla mpeg msn multilib mysql ncurses nls oggvorbis opengl oscar oss pam pcre pdflibperl png posix ppds profile python qt quotes readline scanner sdl session spell ssl tcpd tetex tiff truetype unicode usb userlocales wmf xine xml2 xmms xpm xrandr xv xvid yahoo zlib linguas_en_GB" I had to downgrade libtool to 1.5.2-r7 to get the system to install at all (can't be more specific; numerous packages could not be compiled with later versions of libtool). Upgrading to libtool-1.5.10-r2 made no difference to this xine-lib problem. This is the relevant block of /usr/portage/media-libs/xine-lib/xine-lib-1.0.ebuild: econf \ $(use_enable nls) \ $(use_enable X x11) $(use_with X x) \ $(use_enable vidix) \ $(use_enable dxr3) \ $(use_with esd) --disable-esdtest \ $(use_enable alsa) --disable-alsatest \ $(use_with arts) --disable-artstest \ $(use_with aalib) \ $(use_with oggvorbis ogg) $(use_with oggvorbis vorbis) \ $(use_enable ipv6) \ $(use_enable directfb) $(use_enable fb) \ $(use_enable macos macosx-video) $(use_enable macos coreaudio) \ $(use_enable opengl) \ $(use_enable aac faad) \ #$(use_with ffmpeg external-ffmpeg) \ #$(use_with dvdnav external-dvdnav) \ ${myconf} \ [199] --libdir=/usr/$(get_libdir) \ --with-xv-path=/usr/X11R6/$(get_libdir) \ --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/$(get_libdir) --disable-sdltest || die "Configure failed"
Created attachment 46946 [details] Full output from emerge -u xine-lib This is the full set of configuration outputs from the emerge command.
Created attachment 46948 [details] config file build by emerge This is a copy of /var/tmp/portage/xine-lib-1.0/work/xine-lib-1.0/configure as built by emerge.
you have to remove the two commented lines from the econf section, I suppose they break the parser, so following line is interpreted as a command and not as a configure option
That's done it - thanks. It's compiling now. Evidently the parser doesn't remember a continuation from the previous line when it's discarding a comment. What is the parser - I mean, what file does it live in?
This should be closed as all the ebuilds currently in portage are fixed. The parser should be plain bash, so there's nothing to do about it, inserting a comment into a \-continued line is a syntax error for bash, so ebuilds should respect this.
marking as fixed, feel free to reopen if you still experiencing problems.