Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119102 - >=dev-python/mod_python-3 won't compile on >=app-shells/bash-3.1
Summary: >=dev-python/mod_python-3 won't compile on >=app-shells/bash-3.1
Status: RESOLVED DUPLICATE of bug 118948
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://modpython.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-15 09:43 UTC by Trevor Fancher
Modified: 2006-01-15 09:45 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Trevor Fancher 2006-01-15 09:43:17 UTC
trevor@zeppelin ~/Desktop/Downloads $ bash --version
GNU bash, version 3.1.5(1)-release (i386-pc-linux-gnu)
Copyright (C) 2005 Free Software Foundation, Inc.
trevor@zeppelin ~/Desktop/Downloads $ sudo emerge mod_python -v
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-python/mod_python-3.1.4-r1 to /
>>> checksums files   ;-) mod_python-2.7.10.ebuild
>>> checksums files   ;-) mod_python-3.1.4.ebuild
>>> checksums files   ;-) mod_python-3.1.4-r1.ebuild
>>> checksums files   ;-) mod_python-3.1.3-r1.ebuild
>>> checksums files   ;-) mod_python-2.7.11.ebuild
>>> checksums files   ;-) files/16_mod_python.conf
>>> checksums files   ;-) files/digest-mod_python-3.1.3-r1
>>> checksums files   ;-) files/digest-mod_python-3.1.4-r1
>>> checksums files   ;-) files/mod_python.conf
>>> checksums files   ;-) files/digest-mod_python-2.7.10
>>> checksums files   ;-) files/digest-mod_python-2.7.11
>>> checksums files   ;-) files/publisher-2.diff
>>> checksums files   ;-) files/digest-mod_python-3.1.4
>>> checksums files   ;-) files/16_mod_python-r1.conf
>>> checksums src_uri ;-) mod_python-3.1.4.tgz
>>> Unpacking source...
>>> Unpacking mod_python-3.1.4.tgz to /var/tmp/portage/mod_python-3.1.4-r1/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/mod_python-3.1.4-r1/work/mod_python-3.1.4 ...
./configure --prefix=/usr --host=i386-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-apxs=/usr/sbin/apxs2 --build=i386-pc-linux-gnu
checking for i386-pc-linux-gnu-gcc... i386-pc-linux-gnu-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i386-pc-linux-gnu-gcc accepts -g... yes
checking for ar... ar
checking for a BSD-compatible install... /bin/install -c
checking whether make sets ${MAKE}... yes
checking for main in -lm... yes
checking for i386-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking your blood pressure... a bit high, but we can proceed
configure: checking whether apxs is available...
checking for --with-apxs... /usr/sbin/apxs2 executable, good
checking Apache version... 2.0.55
checking for Apache libexec directory... /usr/lib/apache2/modules
checking for Apache include directory... -I/usr/include/apache2
checking for --with-python... no
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

!!! ERROR: dev-python/mod_python-3.1.4-r1 failed.
!!! Function econf, Line 489, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

trevor@zeppelin ~/Desktop/Downloads $ sudo emerge "<app-shells/bash-3.1" -v
Calculating dependencies ...done!
>>> emerge (1 of 1) app-shells/bash-3.0-r14 to /
[snip]
trevor@zeppelin ~/Desktop/Downloads $ bash
trevor@zeppelin ~/Desktop/Downloads $ bash --version
GNU bash, version 3.00.16(1)-release (i386-pc-linux-gnu)
Copyright (C) 2004 Free Software Foundation, Inc.
trevor@zeppelin ~/Desktop/Downloads $ sudo emerge mod_python -v
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-python/mod_python-3.1.4-r1 to /
[snip]
>>> dev-python/mod_python-3.1.4-r1 merged.

>>> clean: No packages selected for removal.

>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.


 * GNU info directory index is up-to-date.







As you can see there seems to be a syntax error in the configure script of
mod_python if one is using bash >=3.1.  This error does not exist if one is
using bash <3.1.

Hope I pasted enough output.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-15 09:45:56 UTC

*** This bug has been marked as a duplicate of 118948 ***