Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39627 - mod_python 3.0.4 does not build module
Summary: mod_python 3.0.4 does not build module
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-27 17:39 UTC by Matt Bailey
Modified: 2004-01-28 05:41 UTC (History)
1 user (show)

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 Matt Bailey 2004-01-27 17:39:09 UTC
emergeing mod_python (mod_python-3.0.4.ebuild) generates errors that does not stop build process, but are essential to mod_python to work.

Reproducible: Always
Steps to Reproduce:
1. emerge mod_python
2.
3.

Actual Results:  
build completes successfully, but on starting apache with -D PYTHON, you get:

 * Apache2 has detected a syntax error in your configuration files:
Syntax error on line 3 of /usr/lib/apache2/conf/modules.d/16_mod_python.conf:
Cannot load /usr/lib/apache2/extramodules/mod_python.so into server:
/usr/lib/apache2/extramodules/mod_python.so: cannot open shared object file: No
such file or directory


Expected Results:  
apache to start

when you run 'emerge mod_python | grep mod_python.so' you get:

/bin/install -c src/mod_python.so
/var/tmp/portage/mod_python-3.0.4/image//usr/lib/apache2/modules
    LoadModule python_module /usr/lib/apache2/modules/mod_python.so
mv: cannot stat
`/var/tmp/portage/mod_python-3.0.4/image//usr/lib/apache2/mod_python.so': No
such file or directory

[0]-+-{mod_python}> emerge info
Portage 2.0.50_pre20 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0,
2.6.1-mm4)
=================================================================
System uname: 2.6.1-mm4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.4.3.12
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -mmmx -msse -msse2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -mmmx -msse -msse2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.ccccom.com ftp://gentoo.ccccom.com
http://gentoo.seren.com/gentoo ftp://gentoo.noved.org/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X alsa apache2 apm ati avi berkdb breakme composite crypt cups dvd encode
esd faad fglrx firegl foomaticdb gdbm gif gnome gpm gtk gtk2 imlib imlib2
imlib2_loaders ipv6 jpeg libg++ libwww livecd-ng mad mikmod mmx motif mpeg
ncurses nls offensive oggvorbis opengl oss pam pdflib png python quicktime
readline samba sdl slang spell ssl svga tcpd truetype x86 xine xinerama xml xml2
xmms xosd xv xvid zlib"
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2004-01-28 05:37:49 UTC
this should really be python's
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2004-01-28 05:41:11 UTC
should be fixed in 3.0.4-r1