Subject: install/24036: ./bootstrap fails with error
To: None <>
From: None <>
List: netbsd-bugs
Date: 01/10/2004 02:55:37
>Number:         24036
>Category:       install
>Synopsis:       running .bootstrab fails on cobalt mipsel
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 10 01:48:00 UTC 2004
>Originator:     Andreas Fuchs
>Release:        NetBSD 1.6.1
System: NetBSD qube 1.6.1 NetBSD 1.6.1 (GENERIC) #0: Thu Jun 26 22:22:53 CEST 2003 cobalt
Architecture: mipsel
Machine: cobalt
rm -f *.[ado] */*.[ado]
CC="gcc" MAKESYSPATH=/usr/pkg/share/mk ./bmake.boot -f Makefile
gcc -O2 -I. -I. -DHAVE_CONFIG_H  "-D_PATH_DEFSYSPATH=\"/usr/pkg/share/mk\""    -Werror   -c arch.c
gcc -O2 -I. -I. -DHAVE_CONFIG_H  "-D_PATH_DEFSYSPATH=\"/usr/pkg/share/mk\""    -Werror   -c buf.c
gcc -O2 -I. -I. -DHAVE_CONFIG_H  "-D_PATH_DEFSYSPATH=\"/usr/pkg/share/mk\""    -Werror   -c compat.c
gcc -O2 -I. -I. -DHAVE_CONFIG_H  "-D_PATH_DEFSYSPATH=\"/usr/pkg/share/mk\""    -Werror   -c cond.c
gcc -O2 -I. -I. -DHAVE_CONFIG_H  "-D_PATH_DEFSYSPATH=\"/usr/pkg/share/mk\""    -Werror   -c dir.c
gcc -O2 -I. -I. -DHAVE_CONFIG_H  "-D_PATH_DEFSYSPATH=\"/usr/pkg/share/mk\""    -Werror   -c for.c
gcc -O2 -I. -I. -DHAVE_CONFIG_H  "-D_PATH_DEFSYSPATH=\"/usr/pkg/share/mk\""    -Werror   -c hash.c
gcc -O2 -I. -I. -DHAVE_CONFIG_H  "-D_PATH_DEFSYSPATH=\"/usr/pkg/share/mk\""    -Werror   -c job.c
gcc -O2 -I. -I. -DHAVE_CONFIG_H  "-D_PATH_DEFSYSPATH=\"/usr/pkg/share/mk\""  "-DMAKE_VERSION=\"bmake-3.1.12 20040110\"" "-DMACHINE=\"cobalt\"" "-DMACHINE_ARCH=\"cobalt\""  -Werror   -c main.c
In file included from /usr/include/sys/param.h:146,
                 from main.c:92:
/usr/include/machine/param.h:44: warning: `MACHINE_ARCH' redefined
*Initialization*:1: warning: this is the location of the previous definition
*** Error code 1

bmake.boot: stopped in /usr/bootstrap-pkgsrc/bmake
*** Error code 1

make: stopped in /usr/bootstrap-pkgsrc/bmake
===> exited with status 1

	just try to run ./bootstrap from on a cobalt mips
	i think the problem is that configure think that MACHINE_ARCH=\"cobalt\" should it not be mipsel ?