Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24653 - emerge of mod_php fails with a configure error about cross-compiling.
Summary: emerge of mod_php fails with a configure error about cross-compiling.
Status: RESOLVED DUPLICATE of bug 23751
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-17 03:50 UTC by Dan M
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Attachments
script capture of the emerge session. (typescript,6.07 KB, text/plain)
2003-07-17 03:52 UTC, Dan M
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan M 2003-07-17 03:50:26 UTC
When trying to update mod_php from 4.3.2 to 4.3.2-r3 via emerge -u world, it 
fails on the configure script. The exact error is:
configure: error: can not run test program while cross compiling

!!! ERROR: dev-php/mod_php-4.3.2-r3 failed.
!!! Function econf, Line 304, Exitcode 1
!!! econf failed

I'm running a T-bird Athlon with the following in my make.conf:
CFLAGS="-march=athlon-tbird -O3 -pipe"

Reproducible: Always
Steps to Reproduce:
1.Attempt to upgrade mod_php from 4.3.2 to 4.3.2-r3 using the above cflags 
line.
2.
3.

Actual Results:  
configure: error: can not run test program while cross compiling

!!! ERROR: dev-php/mod_php-4.3.2-r3 failed.
!!! Function econf, Line 304, Exitcode 1
!!! econf failed


Expected Results:  
The configure script should have completed and emerge should have moved on to 
compile and install mod_php.

Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20-gentoo-r5 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/share/config /usr/kde/2/share/conf
ig /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb"
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 3dnow apm arts avi crypt cups encode foomaticdb gif gpm gtk imlib 
jpeg kde gnome libg++ mad mikmod mmx mpeg ncurses nls oggvorbis pdflib png 
quicktime sdl spell svga truetype xml2 xmms xv zlib gdbm berkdb slang readline 
java mysql X tcpd pam libwww ssl perl python qt motif opengl"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O3 -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Dan M 2003-07-17 03:52:58 UTC
Created attachment 14609 [details]
script capture of the emerge session.

The attachment is a script copy of the emerge session which produced the crash.
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-07-17 05:44:41 UTC

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