Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 61910

Summary: emerging mod_php-5.0.1 does the same as "ln -sf /usr/lib/apache2-extramodules /lib"
Product: Gentoo Linux Reporter: Jaak Ristioja <jaak>
Component: Current packagesAssignee: PHP Bugs <php-bugs>
Status: VERIFIED FIXED    
Severity: major CC: amd64
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jaak Ristioja 2004-08-27 04:55:51 UTC
..blablabla
>>> /etc/apache2/conf/modules.d/70_mod_php5.conf
--- /etc/php/
--- /etc/php/apache2-php5/
>>> /etc/php/apache2-php5/._cfg0000_php.ini
>>> /lib -> /usr/lib/apache2-extramodules
>>> Safely unmerging already-installed instance...
--- !mtime obj /usr/lib/apache2/modules/libphp5.so
--- !mtime obj /usr/bin/php
--- cfgpro obj /etc/php/apache2-php5/php.ini
blablabla...

conlusion:
before: /lib -> /lib64
after:  /lib -> /usr/lib/apache2-extramodules

Reproducible: Always
Steps to Reproduce:
1. cd /usr/portage/dev-php/mod_php
2. USE="blabla" emerge mod_php-5.0.1.ebuild
Actual Results:  
configured stuff, unsuccessfully tried to start apache2 with php
reboot couldn't find /lib/rcscripts or smth like that, used livecd to boot,
located the problem by pure luck cuz i'm quite new to linux and fixed the
problem... ;)

Expected Results:  
not linked /lib to /usr/lib/apache2-extramodules ?

Portage 2.0.50-r10 (default-amd64-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r0,
2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.5.3
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-pipe -O3"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config
/usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -O3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles/
ftp://ftp.linux.ee/pub/gentoo/distfiles/ http://trumpetti.atm.tut.fi/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apm avi berkdb cdr cjk crypt cups directfb encode esd flac
foomaticdb gdbm gif gimpprint gpm gtk gtk2 gtkhtml imlib jpeg kde ldap libg++
libwww madmikmod motif mpeg ncurses nls nogcj oggvorbis opengl oss pdflib perl
png postgres python quicktime readline sdl slang spell ssl tcltk tcpd theora
truetype unicode xml2 xmms xv xvid zlib"
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-08-27 12:32:33 UTC
amd64: I can't track the source of this down. Mind having a look for it? I think it may need the new libdir stuff to be put in apache directly.
Comment 2 mb4guns 2004-09-12 06:48:42 UTC
This is very nice, now i got /lib overwritten  by that syslink.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-09-12 14:41:40 UTC
fixed in cvs.
revision not bumped.