Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27461 - mod_php does not compile after upgrading to apache2. fails configure tests.
Summary: mod_php does not compile after upgrading to apache2. fails configure tests.
Status: RESOLVED DUPLICATE of bug 14397
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-28 01:04 UTC by Gabriele COnti
Modified: 2005-07-17 13:06 UTC (History)
2 users (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 Gabriele COnti 2003-08-28 01:04:57 UTC
During one of the last emerge -u world i got installed the new version of apache (2.0.47). 
After that whenever I try to upgrade mod_php the emerge fails. The failure happens during 
configuration phase. The error reported is: 
 
checking for fopencookie... yes 
configure: error: can not run test program while cross compiling 
 
 
 
This error happens independently from the version of mod_php i am trying to emerge. Also, 
if i go to "/var/tmp/mod_php-xxx/work/mod_php-xxx" and try to execute "./configure && 
make" it happens that mod_php is compiled correctly. It seems to me that something is 
wrong with the ebuild script. (maybe some configure options wrong). 
 
 

Reproducible: Always
Steps to Reproduce:
1. emerge mod_php 
2. 
3. 
Actual Results:  
checking for sys/wait.h... yes 
checking for unistd.h... yes 
checking for unix.h... no 
checking for utime.h... yes 
checking for sys/utsname.h... yes 
checking for sys/ipc.h... yes 
checking for fopencookie... yes 
configure: error: can not run test program while cross compiling 
 
!!! ERROR: dev-php/mod_php-4.3.2-r4 failed. 
!!! Function econf, Line 320, Exitcode 1 
!!! econf failed 
 

Expected Results:  
emerge correctly. 

I keep my gentoo box always updated to the new versions of the programs. I dont have any  
unmasked package installed and I didn't install packages by myself from sources. 
 
this is my emerge info: 
Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) 
================================================================= 
System uname: 2.4.20-gentoo-r4 i686 AMD Athlon(TM)Processor 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config 
/usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="" 
USE="x86 oss apm foomaticdb qt 3dnow aalib acl afs alsa apache2 arts atlas avi berkdb 
bonobo cdr crypt cups curl dga directfb doc dvb dvd emacs encode esd ethereal evo fbcon 
firebird flash gb gd gdbm ggi ggz gif gnome gphoto2 gpm gps gtk gtk2 gtkhtml guile imap 
imlib innodb ipv6 jack java jikes jpeg junit kde kerberos ladcca lcms ldap leim libg++ libgda 
libwww lirc mad maildir mikmod mmx motif mozilla mpeg mpi mule mysql nas ncurses nls 
oci8 oav odbc oggvorbis opengl pam pdflib perl plotutils png pnp postgres ppds python qtmt 
quicktime readline ruby samba sasl scanner sdl slang slp snmp socks5 spell sse ssl svga 
tcltk tcpd tetex tiff truetype trusted usb wmf X Xaw3d xface xinerama xml xml2 xmms xv 
zeo zlib" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=athlon-xp -O3 -pipe -fprefetch-loop-arrays -ffast-math -fforce-addr 
-falign-functions=4" 
CXXFLAGS="-march=athlon-xp -O3 -pipe -fprefetch-loop-arrays -ffast-math -fforce-addr 
-falign-functions=4" 
ACCEPT_KEYWORDS="x86" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
FEATURES="sandbox ccache buildpkg"
Comment 1 Stuart Herbert (RETIRED) gentoo-dev 2003-08-28 04:47:20 UTC
Re-emerge libwww; that normally fixes this problem. 
 
Bug-wranglers: this looks like yet another duplicate of bug 14397. 

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