Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137953 - transcode-1.0.2-r2: syntax error during configure
Summary: transcode-1.0.2-r2: syntax error during configure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 137964
  Show dependency tree
 
Reported: 2006-06-25 10:23 UTC by Jabari R. Roberts
Modified: 2006-06-27 02:53 UTC (History)
1 user (show)

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


Attachments
Log of emerge to error point (transcodeconfig_2.59d.txt,14.56 KB, text/plain)
2006-06-25 10:25 UTC, Jabari R. Roberts
Details
config.log from configure script (config_2.59d.log,102.75 KB, text/x-log)
2006-06-25 10:25 UTC, Jabari R. Roberts
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jabari R. Roberts 2006-06-25 10:23:07 UTC
Was installing K3B on a freshly-installed 2006.0 system, which deps on transcode.
The emerge dies on a syntax error (condensed here for clarity, full log will be attached to this report):


checking ffmpeg/avcodec.h usability... yes
checking ffmpeg/avcodec.h presence... yes
checking for ffmpeg/avcodec.h... yes
checking how to determine LIBAVCODEC_LIBS... default
checking for avcodec_thread_init in -lavcodec... yes
VER=CVS
BUILD=3344128
checking for pkgconfig support for libmpeg2... no
checking how to determine LIBMPEG2_CFLAGS... default
checking mpeg2dec/mpeg2.h usability... yes
checking mpeg2dec/mpeg2.h presence... yes
checking for mpeg2dec/mpeg2.h... yes
checking how to determine LIBMPEG2_LIBS... default
checking for mpeg2_init in -lmpeg2... yes
checking for internal static framebuffer support... yes
checking for network streaming support... yes
checking whether v4l support is requested... yes
./configure: line 30551: syntax error near unexpected token `}'
./configure: line 30551: `echo "${ECHO_T}no" >&6; }'

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/transcode-1.0.2-r2/work/transcode-1.0.2/config.log

!!! ERROR: media-video/transcode-1.0.2-r2 failed.
Call stack:
  ebuild.sh, line 1540:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  transcode-1.0.2-r2.ebuild, line 97:   Called econf '--disable-altivec' '--enable-netstream' '--enable-freetype2' '--enable-v4l' '--enable-lame' '--enable-ogg' '--enable-vorbis' '--enable-theora' '--enable-libdvdread' '--enable-libdv' '--enable-libquicktime' '--enable-lzo' '--enable-a52' '--enable-libmpeg3' '--enable-libxml2' '--enable-mjpegtools' '--enable-sdl' '--enable-gtk' '--enable-libfame' '--enable-imagemagick' '--enable-libjpeg' '--with-mod-path=/usr/lib/transcode' '--with-x' '--with-default-xvid=xvid4' '--enable-mmx' '--enable-3dnow' '--enable-sse' '--enable-sse2' '--with-libpostproc-builddir=//usr/lib' '--with-lzo-includes=/usr/include/lzo' '--disable-avifile'
  ebuild.sh, line 541:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


This occured after I recently synced and built autoconf-2.59d (with success).
Tried downgrading to autoconf-2.59-r7 to see if that was the cause, but when I tried re-emerging transcode afterwards, I encountered an error from aclocal about a mismatched autoconf version.  Not sure if this is the fault of transcode or autoconf (similar bug at bug #137921).

emerge --info:


Portage 2.1.1_pre1-r2 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo i686)
=================================================================
System uname: 2.6.17-gentoo i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.12.1
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59d
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
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/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/chaos-X2/techidna-2/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en en_US en_GB zh zh_CN zh_TW ja ko de es fr it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.1.100/gentoo-portage"
USE="x86 3dnow 3dnowext 7zip X X509 Xaw3d a52 aac aalib accessibility acpi activefilter akode alsa amr ao aotuv apache2 apm arts artswrappersuid artworkextra asf asterisk async audiofile avi bash-completion bcp bdf beagle berkdb bidi big-tables binfilter bitmap-fonts bittorrent bjam bl blas branding browserplugin bzip2 cairo canna catalogs cdda cddb cdf cdparanoia cdr chm chroot cjk cli crypt cscope css cups curl daap dbus dga dhcp directfb djbfft djvu dlloader dmi doc dri dts dv dvd dvdr dvdread dvi dynagraph eap-tls ecc edl eds elf emboss encode escreen esd etwin evo examples exif expat extraengine f77 fam fame fat fbcon ffmpeg fftw finger firefox flac fltk fontconfig foomaticdb fortran fpx freetts ftp fuse gcj gd gdbm ggi gif gimp gimpprint ginac glep glitz glut gmp gnokii gnome gnutls gopher gpg2-experimental gphoto2 gpm grammar graphviz gs gsm gstreamer gtk gtk2 gtkhtml guile hal hdf5 hfs hlapi hpn http httpd icp ide idea idn ieee1394 ilbc imagemagick imlib immqt-bc insecure-savers ipv6 isdnlog ithreads jabber jack jack-tmpfs java javascript jbig jfs jikes jingle joystick jpeg jpeg2k jrtplib justify kcal kde kdeenablefinal kdehiddenvisibility kdexdeltas kerberos kig-scripting kipi krb4 ladcca ladspa lame latex lcd lcms ldap libcaca libclamav libedit libg++ libsamplerate libvisual libwww live lm_sensors logrotate lua lzo m17n-lib mad math matroska max-idx-128 mbrola md5sum memlimit mfd-rewrites mikmod mime mjpeg mmap mmx mmxext mng mod modplug mono motif mozilla mozsvg mp3 mp4 mpeg mpi mplayer mpm-worker mudflap multicall multiuser musepack musicbrainz mysql mythtv mzscheme na_dd na_icons nas nautilus ncurses net nethack netjack network nforce2 nls nntp nptl nptlonly nsplugin ntfs ntlm numeric nvidia objc objc++ objc-gc ocaml odbc offensive ogg ole openal openexr opengl ortp oss overlays pam parse-clocks pccts pcre pda pdf pdflib perl physfs pike plotutils pmu png portaudio povray ppds pppd priority pyste python qhull qt qt3 qt4 quicktime rar rdesktop readline real recode reflection reiser4 reiserfs rle rpm rtc rtsp ruby samba sametime sample sasl scanner screen sdk sdl session sftplogging shorten shout silc skins slang slp smime sms smtp smux sndfile snmp source sox speedo speex spell spl sql sqlite sqlite3 srvdir sse sse-filters sse2 ssl stream subp subtitles subversion svg svga swat symlink sysfs syslog szip t1lib tcltk tcltl tcpd tetex tga theora thesaurus threads threadsonly tidy tiff timidity toolbar tools tos transcode translator truetype truetype-fonts tv_check tv_pick_cgi type1 type1-fonts ucs2 ucs4 udev unicode upnp usb v4l v4l2 vcd vcdimager vdr vidix vim vim-pager vim-with-x vlm vorbis vorbis-psy widescreen wifi win32codecs wmf wordperfect wxwindows x264 xanim xcomposite xext xface xfs xine xinerama xml xml2 xmldoclet xmms xorg xosd xpm xscreensaver xv xvid xvmc yv12 zlib zvbi elibc_glibc input_devices_keyboard input_devices_mouse input_devices_joystick kernel_linux linguas_en linguas_en_US linguas_en_GB linguas_zh linguas_zh_CN linguas_zh_TW linguas_ja linguas_ko linguas_de linguas_es linguas_fr linguas_it userland_GNU video_cards_vesa video_cards_fbdev video_cards_nvidia video_cards_v4l video_cards_apm video_cards_vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jabari R. Roberts 2006-06-25 10:25:10 UTC
Created attachment 90124 [details]
Log of emerge to error point
Comment 2 Jabari R. Roberts 2006-06-25 10:25:43 UTC
Created attachment 90125 [details]
config.log from configure script
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-06-25 12:02:34 UTC
Thanks for reporting, this is indeed autoconf 2.59d's fault. I've now added a patch to fix this (in the mean time autoconf is masked pending testing).
Comment 4 SpanKY gentoo-dev 2006-06-26 18:15:16 UTC
not a bug in autoconf-2.60

the patch you committed is correct, please send it upstream

autoconf now wraps AC_MSG_RESULT() in { } so this code:
v4l2=no AC_MSG_RESULT(...)

is turned into

v4l1=no { ... }