Closed Bug 140869 Opened 22 years ago Closed 22 years ago

ps2linux not properly detected by config.guess

Categories

(SeaMonkey :: Build Config, defect, P3)

Other
Linux

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.0.1

People

(Reporter: fulmer, Assigned: netscape)

References

Details

Attachments

(1 file, 2 obsolete files)

Error occurs on current cvs 4/29/2002 and on Mozilla 0.9.9 release
Configuration built with "./configure NONOPT"
Platform: Playstation 2 "mips cpu"


^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
make nspr
make[1]: Entering directory `/home/src/mozilla'
make -C nsprpub
make[2]: Entering directory `/home/src/mozilla/nsprpub'
cd config; make -j1 export
make[3]: Entering directory `/home/src/mozilla/nsprpub/config'
rm -f /home/src/mozilla/dist/bin/nspr-config
make[3]: Leaving directory `/home/src/mozilla/nsprpub/config'
cd pr; make -j1 export
make[3]: Entering directory `/home/src/mozilla/nsprpub/pr'
cd include; make export
make[4]: Entering directory `/home/src/mozilla/nsprpub/pr/include'
cd md; make export
make[5]: Entering directory `/home/src/mozilla/nsprpub/pr/include/md'
../../../config/./nsinstall -R -m 444 ./ /home/src/mozilla/dist/include/nspr
../../../config/./nsinstall: cannot make symbolic link /home/src/mozilla/dist/in
clude/nspr/.: No such file or directory
make[5]: *** [export] Error 1
make[5]: Leaving directory `/home/src/mozilla/nsprpub/pr/include/md'
make[4]: *** [export] Error 2
make[4]: Leaving directory `/home/src/mozilla/nsprpub/pr/include'
make[3]: *** [export] Error 2
make[3]: Leaving directory `/home/src/mozilla/nsprpub/pr'
make[2]: *** [export] Error 2
make[2]: Leaving directory `/home/src/mozilla/nsprpub'
make[1]: *** [nspr] Error 2
make[1]: Leaving directory `/home/src/mozilla'
make: *** [default] Error 2
[root@FredsPS2 mozilla]#
Chris, could you please take a look at this?  Thanks.
This looks like the gmake wildcard function problem.

Mr. Ulmer, could you supply the output of "make -v"?
Assignee: wtc → seawood
> Configuration built with "./configure NONOPT"
> Platform: Playstation 2 "mips cpu"

NONOPT is not a valid configuration so MDCPUCFG_H isn't set which leads to that
make error.  (Note to self: add check for unknown platforms in configure.) 
IIRC, we have support for ps2linux (mipsEEel-linux) already in the tree so
`./configure` should autodetect the platform correctly.  If that doesn't work,
please provide the output of a fresh configure run and config.log.
Here is the output for "make -v"

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[fulmer@FredsPS2 mozilla]$ make -v
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for mipsel-redhat-linux-gnu
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
        Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to <bug-make@gnu.org>.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[keithh@FredsPS2 mozilla]$ ./configure
loading cache ./config.cache
checking host system type... ./build/autoconf/config.guess: unable to guess
system type

This script, last modified 2001-10-05, 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

    ftp://ftp.gnu.org/pub/gnu/config/

If the version you run (./build/autoconf/config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to <config-patches@gnu.org> in order to provide the needed
information to handle your system.

config.guess timestamp = 2001-10-05

uname -m = mips
uname -r = 2.2.1
uname -s = Linux
uname -v = #1 Wed Nov 14 18:28:00 JST 2001

/usr/bin/uname -p = 
/bin/uname -X     = 

hostinfo               = 
/bin/universe          = 
/usr/bin/arch -k       = 
/bin/arch              = mips
/usr/bin/oslevel       = 
/usr/convex/getsysinfo = 

UNAME_MACHINE = mips
UNAME_RELEASE = 2.2.1
UNAME_SYSTEM  = Linux
UNAME_VERSION = #1 Wed Nov 14 18:28:00 JST 2001
configure: error: can not guess host type; you must specify one
[keithh@FredsPS2 mozilla]$ uname -a 
Linux FredsPS2 2.2.1 #1 Wed Nov 14 18:28:00 JST 2001 mips unknown
[keithh@FredsPS2 mozilla]$ 
[keithh@FredsPS2 mozilla]$ more config.log 
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:833: checking host system type
[keithh@FredsPS2 mozilla]$ 

downloaded new config.guess

./configure
.....lot of stuff configs for mozilla, looks like it knew the platform, but then....
creating ./config.status
creating config/autoconf.mk
creating config/doxygen.cfg
configuring in nsprpub
running /bin/sh ./configure  --with-dist-prefix=/home/src/mozilla/dist
--with-mozilla --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking host system type... ./build/autoconf/config.guess: unable to guess
system type

This script, last modified 2001-10-05, 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

    ftp://ftp.gnu.org/pub/gnu/config/

If the version you run (./build/autoconf/config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to <config-patches@gnu.org> in order to provide the needed
information to handle your system.

config.guess timestamp = 2001-10-05

uname -m = mips
uname -r = 2.2.1
uname -s = Linux
uname -v = #1 Wed Nov 14 18:28:00 JST 2001

/usr/bin/uname -p = 
/bin/uname -X     = 

hostinfo               = 
/bin/universe          = 
/usr/bin/arch -k       = 
/bin/arch              = mips
/usr/bin/oslevel       = 
/usr/convex/getsysinfo = 

UNAME_MACHINE = mips
UNAME_RELEASE = 2.2.1
UNAME_SYSTEM  = Linux
UNAME_VERSION = #1 Wed Nov 14 18:28:00 JST 2001
configure: error: can not guess host type; you must specify one
configure: error: ./configure failed for nsprpub
[keithh@FredsPS2 mozilla]$ date
Wed May  1 14:51:45 JST 2002

copied new config.guess to:
./nsprpub/build/autoconf/config.guess
./directory/c-sdk/config/autoconf/config.guess
./other-licenses/expat/conftools/config.guess
./other-licenses/freetype/builds/unix/config.guess
./xpcom/typelib/xpidl/glib/glib-1.2.1/config.guess
./xpcom/typelib/xpidl/libidl/libIDL-0.6.5/config.guess

[keithh@FredsPS2 mozilla]$ cp ~/config.guess ./directory/c-sdk/config/autoconf/c
                              onfig.guess
[keithh@FredsPS2 mozilla]$ cp ~/config.guess ./other-licenses/expat/conftools/co
                              nfig.guess
[keithh@FredsPS2 mozilla]$ cp ~/config.guess
./other-licenses/freetype/builds/unix/config.guess
[keithh@FredsPS2 mozilla]$ cp ~/config.guess
./xpcom/typelib/xpidl/libidl/libIDL-0.6.5/config.guess

"./configure" now completes without error, and without NONOPT.

gmake no longer stops at: 
make[5]: Entering directory `/home/src/mozilla/nsprpub/pr/include/md'
../../../config/./nsinstall -R -m 444 ./ /home/src/mozilla/dist/include/nspr
../../../config/./nsinstall: cannot make symbolic link /home/src/mozilla/dist/in
clude/nspr/.: No such file or directory

so, it appears the config.guess files in the CVS are not up to date for PS2Linux
Severity: blocker → major
Ah, that'll do it. 
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Priority: -- → P1
Summary: Mozilla Build Error: nsinstall failed to create symlink → ps2linux not properly detected by config.guess
Target Milestone: --- → 4.2.1
Actually, I'm going to bounce this up to the browser level since all of the
config.* files need to stay in sync.
Status: ASSIGNED → NEW
Component: NSPR → Build Config
Product: NSPR → Browser
QA Contact: wtc → granrose
Target Milestone: 4.2.1 → mozilla1.0.1
Comment on attachment 81881 [details] [diff] [review]
Update & sync mozilla, nspr & ldap config.guess & config.sub

r=bryner
Attachment #81881 - Flags: review+
Patch has been checked into  the mozilla trunk, nsprpub pre-4.2 client branch, 
nspr trunk & ldapcsdk 5.0 client branch.
Blocks: 138348
Keywords: mozilla1.0
Whiteboard: [fixed on trunk]
Attachment #81881 - Flags: needs-work+
Comment on attachment 81881 [details] [diff] [review]
Update & sync mozilla, nspr & ldap config.guess & config.sub

I reviewed the changes to NSPR's config.guess and config.sub.

I need the "msvc and mksnt" line in config.sub, so the change
below should be reverted.

>@@ -1078,10 +1097,10 @@
> 	      | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
> 	      | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
> 	      | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
>-	      | -msvc* | -mksnt* \
> 	      | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
> 	      | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \

All the other changes are fine.
This patch was already checked in last night.  Some of our custom hacks weren't
labelled so I missed them in the first pass.
*** Bug 143034 has been marked as a duplicate of this bug. ***
Attachment #81881 - Attachment is obsolete: true
Attachment #82245 - Attachment is obsolete: true
cls: I just poked despot; with luck you should be able to check into the LDAP C
SDK trunk now.  Lemme know if that's not the case.
Whiteboard: [fixed on trunk] → [fixed on trunk][drivers queue]
Comment on attachment 83421 [details] [diff] [review]
Consolidated patch for moz1.0.0 branch

r=wtc on the NSPR changes.
The patch has been checked in on the ldap trunk.  Thanks, dmose!
Status: NEW → ASSIGNED
Priority: P1 → P3
http://mpt.phrasewise.com/2002/06/07

Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Whiteboard: [fixed on trunk][drivers queue]
Target Milestone: mozilla1.0.1 → mozilla1.1alpha
Comment on attachment 83421 [details] [diff] [review]
Consolidated patch for moz1.0.0 branch

Please land this on the 1.0.1 branch.  Once there, replace the
"mozilla1.0.1+" keyword with the "fixed1.0.1" keyword.
Attachment #83421 - Flags: approval+
Target Milestone: mozilla1.1alpha → mozilla1.0.1
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: