Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51555 - apache-2.0.49-r1 has old config.guess
Summary: apache-2.0.49-r1 has old config.guess
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: MIPS Linux
: High major (vote)
Assignee: Apache Team - Bugzilla Reports
Depends on:
Reported: 2004-05-20 05:29 UTC by Dan A. Dickey
Modified: 2005-04-23 19:56 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Dan A. Dickey 2004-05-20 05:29:57 UTC
When emerging apache on my O2 and O200, the build failed due to using an old out of date config.guess.  The ebuild should use config.guess from /usr/share/gnuconfig which is from sys-devel/gnuconfig.

Reproducible: Always
Steps to Reproduce:
1.  emerge apache

Actual Results:  
checking build system type... build/config.guess: unable to guess system type 
This script, last modified 2002-03-20, has failed to recognize 
the operating system you are using. It is advised that you 
download the most up to date version of the config scripts from 
If the version you run (build/config.guess) is already up to date, please 
send the following data and any information you think might be 
pertinent to <> in order to provide the needed 
information to handle your system. 
config.guess timestamp = 2002-03-20 
uname -m = mips64 
uname -r = 2.6.6-rc3 
uname -s = Linux 
uname -v = #75 SMP Wed Apr 28 07:34:48 PDT 2004 
/usr/bin/uname -p = R12000 V2.3  FPU V0.0 
/bin/uname -X     = 
hostinfo               = 
/bin/universe          = 
/usr/bin/arch -k       = 
/bin/arch              = mips64 
/usr/bin/oslevel       = 
/usr/convex/getsysinfo = 
UNAME_RELEASE = 2.6.6-rc3 
UNAME_VERSION = #75 SMP Wed Apr 28 07:34:48 PDT 2004 
configure: error: cannot guess build type; you must specify one 
!!! ERROR: net-www/apache-2.0.49-r1 failed. 
!!! Function src_compile, Line 170, Exitcode 1 
!!! bad ./configure please submit bug report to Include your 

Expected Results:  
It should have used config.guess from /usr/share/gnuconfig.
Comment 1 Chuck Short (RETIRED) gentoo-dev 2004-05-20 06:14:23 UTC
I dont have a mips box to test this.
Comment 2 Stephen Becker (RETIRED) gentoo-dev 2004-05-20 06:21:59 UTC
Actually, this isn't a bug at all.

Try this:
emerge mips32
mips32 emerge apache

The problem is when running a mips64 kernel, many configure systems have no idea what mips64 is.  The mips32 program tricks programs run as arguments to it into thinking the system is really just "mips".  For an example how this works, after you emerge mips32, run uname by itself, then run mips32 uname.  You can even run "mips32 bash" to get a new shell, and every command run from that shell will be tricked into thinking the system is mips.  This is useful if you are going to be emerging a lot of things and don't want any of them to fail on mips64.  Anyway, try mips32, and if it still fails to guess the system we'll have to add the gnuconfig tweak to the ebuild.  I'm pretty sure mips32 will fix it though.  Test and report back...and we'll close the bug.

By the way Dan, have you ever stopped by #gentoo-mips on freenode?
Comment 3 Dan A. Dickey 2004-05-20 08:54:01 UTC
Ok, that worked.
Thanks for the help.
(I'm HydraSwitch on freenode as someone else is using my usual Hydra moniker).
Comment 4 Joshua Kinard gentoo-dev 2004-05-20 16:41:57 UTC
mips32 works, but this still needs some gnuconfig magic done to it (which is the proper fix).  I'll add it shortly.
Comment 5 Chuck Short (RETIRED) gentoo-dev 2004-05-20 17:27:17 UTC

Can you add your gnuconfig magic to 2.0.49-r2 as well.  Thanks.

Comment 6 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-04-23 19:56:55 UTC
Closing.  Please re-open if this is still an issue.