bombs out with: checking for python... /usr/bin/python checking Python version... 2.4 checking Python install prefix... /usr checking for Py_NewInterpreter in -lpython2.4... yes checking what libraries Python was linked with... -lpython2.4 -lpthread -ldl -lutil -lm checking linker flags used to link Python... checking where Python include files are... -I/usr/include/python2.4 ./configure: line 2951: syntax error near unexpected token `(' ./configure: line 2951: `as_me=`(basename "$0") 2>/dev/null ||' !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/mod_python-3.1.4-r1/work/mod_python-3.1.4/config.log
Created attachment 77046 [details] The config log as requested by the ebuild itself.
# emerge info Portage 2.1_pre3-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo i686) ================================================================= System uname: 2.6.15-gentoo i686 Intel(R) Pentium(R) 4 CPU 3.60GHz Gentoo Base System version 1.12.0_pre14 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=nocona -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=nocona -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://mirror.datapipe.net/gentoo http://prometheus.cs.wmich.edu/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow S3TC X X509 Xaw3d a52 aac aalib acpi aim alsa apache2 arts artswrappersuid asf async audiofile avi bash-completion berkdb bitmap-fonts bl blender-game bluetooth bonobo bootsplash browserplugin bzip2 cairo cardbus cddb cdio cdparanoia cdr cegui cg chroot cjk cpudetection crypt css cups curl devil dga dhcp dio djbfft dmx doc double-precision dts dvd dvdr dvdread ecc editor edl eds emacs emboss encode enscript escreen exif expat extras fam fat fbcon ffcall ffmpeg figlet firefox flac flood fmod font-server foomaticdb fortran freetds gcj gdbm gif gimpprint glep glitz glut gmail gmailtimestamps gnome gnustep gnutls gphoto2 gpm gps gs gsm gsnd gssapi gstreamer gtk gtk2 gtkhtml guile gzip hal hfs hpn http icecast icq idn ieee1394 imagemagick imap imlib imlib2 inifile inkjar innkeywords innodb intl irc irda irmc jabber jack jack-tmpfs jai java javacomm javamail javascript jbig jce jfs jikes jimi jms jmx joystick jp2 jpeg jpeg2k jta junit jython kde kdeenablefinal kdepim kerberos keyscrub kqemu krb4 ladcca largeterminal latex lcd lcms leim libcaca libclamav libdsk libg++ libsamplerate libvisual libwww lirc live lj lm_sensors logitech-mouse ltsp lua lzo lzw mad maildir mailwrapper mapeditor maps math mccp mcve mgetty mikmod mime ming mjpeg mmap mmx mmxext mng mod mod_irc mod_muc mod_pubsub mozcalendar mozdevelop mozsvg mozxmlterm mp3 mp4live mpeg mpeg2 mpeg4 mplayer msn multi-tty multicall multitarget musepack music nas ncurses neXt net network neural nls nntp no-htdocs nocd nodrm nptl nptlonly nsplugin ntfs numeric nvidia oav objc offensive ofx ogdi ogg oggvorbis ogre on-the-fly-crypt openal openexr opengl openntpd openssh osc oscar pam pam_chroot parse-clocks pcmcia pcntl pcre pda pdflib perl pfpro pg-hier physfs pic plotutils plugin png pnp posix postgres ppds print python qemu-fast qmail qt quicktime quotes rar readline real recode reiserfs remix remote rhino rogue rpc rss rtc sasl savedconfig sblive screen sdl sensord serial session sftp sftplogging sharedmem shorten silc silverxp skey slp smime sms sndfile soap sockets socks5 sounds source sox spamassassin speedo speex spell sse sse2 ssl stencil-buffer stream streamzap stroke subp subtitles subversion svg svgz symlink sysfs sysvipc szip tcpd tetex tga theora threads tidy tiff tools transcode transparent-proxy truetype truetype-fonts trusted type1 type1-fonts udev underscores unicode ups urandom usb utf8 v4l v4l2 vcd vcdimager verbose videos vidix virus-scan visualization vlm vnc voice vorbis web webdav wifi win32codecs winbind wma wma123 wmf xanim xatrix xfs xim xine xinerama xml xml2 xmlrpc xmms xosd xpm xrandr xscreensaver xsl xslt xv xvid xvmc yahoo yv12 zeroconf zlib zvbi elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Sigh. Another bash-3.1 "boon"?
I had a look at this earlier and this line in configure.in seems to be responsible: MP_VERSION=`echo $MP_VERSION | sed s/\\"//g` on bash 3.0, foo=`echo \\"` sets foo to '"'. on bash 3.1 it waits for more input. In case of this configure script this makes it fail about 200 lines further on. Haven't gotten around to patching it yet, but replacing the above line with: MP_VERSION=`echo $MP_VERSION | sed s/\"//g` and rerunning autoconf will probably do the trick.
To confirm, I've got bash 3.1. I tried my hand at patching with the change suggested.. still fails with the same error. Is there anything else that catches your eye?
Created attachment 77162 [details, diff] patch to configure.in Makes the change from my earlier comment.
Created attachment 77164 [details, diff] Patch to 3.1.4-r1 ebuild applying the previous patch and rerunning autoconf
(In reply to comment #5) > To confirm, I've got bash 3.1. > > I tried my hand at patching with the change suggested.. still fails with the > same error. Is there anything else that catches your eye? Odd, the two patches I just attached fixed it here. Perhaps autoconf didn't rerun? Can you try the patches?
Yup, your patches did the trick. I hadn't realized that autoconf had to be called again explicitly after the epatch (I thought the src_unpack would take place before the first autoconf invocation.) Thanks!
Committed a fixed 3.1.4-r1, thanks for testing.
*** Bug 119102 has been marked as a duplicate of this bug. ***