First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 118948
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Python Gentoo Team <python@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Philip H. Smith <phil.h.smith@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
config.log The config log as requested by the ebuild itself. text/plain Philip H. Smith 2006-01-13 21:22 0000 8.31 KB Details
mod_python-3.1.4-configure-bash-3.1.patch patch to configure.in patch Marien Zwart (RETIRED) 2006-01-15 05:47 0000 473 bytes Details | Diff
mod_python-ebuild.patch Patch to 3.1.4-r1 ebuild applying the previous patch and rerunning autoconf patch Marien Zwart (RETIRED) 2006-01-15 05:48 0000 1.01 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 118948 depends on: Show dependency tree
Bug 118948 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-01-13 21:19 0000
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

------- Comment #1 From Philip H. Smith 2006-01-13 21:22:02 0000 -------
Created an attachment (id=77046) [details]
The config log as requested by the ebuild itself.

------- Comment #2 From Philip H. Smith 2006-01-13 21:23:20 0000 -------
# 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

------- Comment #3 From Jakub Moc (RETIRED) 2006-01-14 00:46:56 0000 -------
Sigh. Another bash-3.1 "boon"?

------- Comment #4 From Marien Zwart (RETIRED) 2006-01-14 01:17:25 0000 -------
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.

------- Comment #5 From Philip H. Smith 2006-01-15 00:07:06 0000 -------
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?

------- Comment #6 From Marien Zwart (RETIRED) 2006-01-15 05:47:34 0000 -------
Created an attachment (id=77162) [details]
patch to configure.in

Makes the change from my earlier comment.

------- Comment #7 From Marien Zwart (RETIRED) 2006-01-15 05:48:28 0000 -------
Created an attachment (id=77164) [details]
Patch to 3.1.4-r1 ebuild applying the previous patch and rerunning autoconf

------- Comment #8 From Marien Zwart (RETIRED) 2006-01-15 05:50:05 0000 -------
(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?

------- Comment #9 From Philip H. Smith 2006-01-15 08:35:12 0000 -------
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!

------- Comment #10 From Marien Zwart (RETIRED) 2006-01-15 09:17:59 0000 -------
Committed a fixed 3.1.4-r1, thanks for testing.

------- Comment #11 From Jakub Moc (RETIRED) 2006-01-15 09:45:56 0000 -------
*** Bug 119102 has been marked as a duplicate of this bug. ***

First Last Prev Next    No search results available      Search page      Enter new bug