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

Bug 60492

Summary: dev-php/mod_php-5.0.x failed to emerge
Product: Gentoo Linux Reporter: Jon <jboi001>
Component: [OLD] DevelopmentAssignee: PHP Bugs <php-bugs>
Status: RESOLVED INVALID    
Severity: normal CC: dholm
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 60438    
Attachments: mod_php-5.0.1.log.gz

Description Jon 2004-08-15 14:47:37 UTC
Updated to PHP 5.0.1 from 4.3.8 on home test server.  Tried to upgrade to mod_php-5.0.1 and always receive this error after the build is completed:

Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).


>>> Install mod_php-5.0.0-r1 into /home/tmp/portage/mod_php-5.0.0-r1/image/ category dev-php
Installing PHP SAPI module:       apache2handler
/usr/lib/apache2/build/instdso.sh SH_LIBTOOL='/usr/share/build/libtool' libphp5.la /home/tmp/portage/mod_php-5.0.0-r1/image//usr/lib/apache2/modules
/usr/share/build/libtool --mode=install cp libphp5.la /home/tmp/portage/mod_php-5.0.0-r1/image//usr/lib/apache2/modules/
/usr/lib/apache2/build/instdso.sh: line 53: /usr/share/build/libtool: No such file or directory
apxs:Error: Command failed with rc=8323072
.
make: *** [install-sapi] Error 1

!!! ERROR: dev-php/mod_php-5.0.0-r1 failed.
!!! Function php5-sapi_src_install, Line 431, Exitcode 2
!!! install failed



Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS="~x86" emerge mod_php
2.
3.

Actual Results:  
Same as before:  build completes but installation fails with the same error message.

Expected Results:  
Installation.

Gentoo Base System version 1.5.2
Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r0,
2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 Pentium II (Klamath)
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
CFLAGS="-mcpu=i586 -pipe -O2 -fomit-frame-pointer -ftracer"
CHOST="i586-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/share/config /usr/share/config /var/qmail/alias
/var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/rc.d /etc/terminfo /etc/wget /etc/env.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://mirror.datapipe.net/gentoo/
ftp://gentoo.mirrors.pair.com/ ftp://gentoo.mirrored.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl aim apm arts avi berkdb cdr crypt cups dba encode esd flash
foomaticdb ftp gd gd-external gdbm gif gnome gpm gtk gtk2 guile icq imlib ipv6
java jpeg kde ldap libg++ libwww mad maildir mikmod ming motif msn mysql ncurses
nls oav opengl pam pdflib perl php png postgres ppds python qt quicktime
readline samba sdl slang spell ssl svga tcltk tcpd tiff truetype usb
video_cards_ati x86 xml xml2 xv yahoo zlib"
Comment 1 David Holm (RETIRED) gentoo-dev 2004-08-16 05:14:17 UTC
I get the same error on ppc.
Comment 2 David Holm (RETIRED) gentoo-dev 2004-08-16 05:18:34 UTC
Created attachment 37522 [details]
mod_php-5.0.1.log.gz

Complete build log
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-08-21 16:22:19 UTC
you need to be running ~arch on your entire system.
unrelated, but seeing the logfile, you should also run revdep-rebuild your system is slightly borked with the gdbm upgrade.