I get syntax error in configure file while emerge pango. Reproducible: Always Steps to Reproduce: 1.emerge =x11-libs/pango-1.28.3 2. 3. Actual Results: emerge fails Expected Results: emerge complete emerge.log: --CUT-- checking for FREETYPE... yes checking for XFT... yes checking Carbon/Carbon.h usability... no checking Carbon/Carbon.h presence... no checking for Carbon/Carbon.h... no checking for CAIRO... no no checking for GLIB... yes checking for LIBTHAI... no no checking for gobject-introspection... yes checking modules to link statically... checking dynamic modules to build... arabic-fc,arabic-lang,basic-fc,basic-win32,basic-x,basic-atsui,hangul-fc,hebrew-fc,indic-fc,indic-lang,khmer-fc,syriac-fc,thai-fc,tibetan-fc (those built into Pango will be excluded) ./configure: line 21294: syntax error near unexpected token `}' ./configure: line 21294: `$as_echo "$as_me: error: specified module $module not recognized" >&2;}' ./configure: line 16: AA: command not found ./configure: line 17: ABI: command not found ./configure: line 18: ACCEPT_LICENSE: command not found ./configure: line 19: ACLOCAL: command not found ./configure: line 20: ALSA_CARDS: command not found ./configure: line 21: ALSA_PCM_PLUGINS: command not found --CUT-- emerge --info: Portage 2.2.0_alpha4 (selinux/2007.0/amd64, gcc-4.4.3, glibc-2.10.1-r1, 2.6.34 x86_64) ================================================================= System uname: Linux-2.6.34-x86_64-Intel-R-_Core-TM-_i5_CPU_750_@_2.67GHz-with-gentoo-2.0.1 Timestamp of tree: Sat, 06 Nov 2010 21:15:01 +0000 app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.5-r1, 3.1.1-r1 dev-util/cmake: 2.8.0-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.0-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r3, 1.10.2, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.3.4, 4.4.3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b sys-devel/make: 3.81 virtual/os-headers: 2.6.33 (sys-kernel/linux-headers) Repositories: gentoo ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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" CXXFLAGS="-O2 -pipe -march=native" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages loadpolicy news parallel-fetch preserve-libs protect-owned sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.mirror.pw.edu.pl/" LANG="pl_PL.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="pl en" MAKEOPTS="-j5" 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.europe.gentoo.org/gentoo-portage" USE="X a52 aac accessibility acl acpi alsa amd64 avahi bazaar beagle berkdb bluetooth bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dhcp dhcpcd divx djvu dri dvb dvd dvdr faac faad ffmpeg flac fortran fuse gdbm git glade glitz gnome gnome-keyring gnutls gphoto2 gsm gstreamer gtk hal iconv ieee1394 imap ipv6 irc jabber jpeg lame libnotify libsamplerate lirc mad mercurial modules moonlight mp3 mpeg mudflap nautilus ncurses networkmanager nls nptl ogg opencore-amr opengl openmp pam pcre perl policykit postgres pppd pulseaudio python qt3support qt4 readline rtmp ruby samba scanner schroedinger sdl selinux session sip spell sqlite ssl subversion svg tcpd theora threads tiff truetype unicode upnp utf8 v4l v4l2 vala vorbis wav webkit xcb xorg xv xvid 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" DVB_CARDS="usb-dib0700" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" LIRC_DEVICES="pctv" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon 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
I missed pango in summary, sorry.
sed -i \ -e '21294s/}//' \ -e '21295s/} ;;/;;/' configure helped me
Attach full build log. Might be a problem with autoconf.
Created attachment 253689 [details] pango-1.28.3 build.log
At least sys-libs/glibc, sys-devel/gcc and sys-devel/autoconf are out of date. Please update those to the latest stable versions. Reopen this bug report if the problem persists.
A user in #gentoo IRC encountered the same failure, it turned out that autoconf-2.63 is too old. Updating to 2.65-r1 solved the issue.
2.65-r1 is the latest stable. Please update your system.