Subject: bin/19083: netbsd-1-6 does not build because of a typo in Makefile
To: None <gnats-bugs@gnats.netbsd.org>
From: Tomasz Luchowski <zuntum@netbsd.org>
List: netbsd-bugs
Date: 11/16/2002 23:10:51
>Number:         19083
>Category:       bin
>Synopsis:       netbsd-1-6 does not build because of a typo in Makefile
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 16 15:11:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6_STABLE
>Organization:
/* Tomasz Luchowski <tomasz@luchowski.com> */
>Environment:
	
	
System: NetBSD zunix 1.6_STABLE NetBSD 1.6_STABLE (ZUNIX) #0: Mon Nov 11 01:33:33 CET 2002 zuntum@consultor.pl:/usr/cvs/src/sys/arch/i386/compile/ZUNIX i386
Architecture: i386
Machine: i386
>Description:
	NetBSD 1.6_STABLE as of today fails to build:

cleandir ===> libexec/ld.elf_so
nbmake: "/usr/cvs/src/libexec/ld.elf_so/Makefile" line 19: Malformed conditional (((${MACHINE_ARCH} == "alpha") ||
+(${MACHINE_ARCH} == "arm") || (${MACHINE_ARCH} == "armeb" ||    (${MACHINE_ARCH} == "i386") ||
+(${MACHINE_ARCH} == "m68k") ||                                  (${MACHINE_ARCH} == "mipsel") || (${MACHINE_ARCH} ==
+"mipseb") ||       (${MACHINE_ARCH} == "powerpc") ||                                       (${MACHINE_ARCH} == "sh3eb") ||
+(${MACHINE_ARCH} == "sh3el") ||         (${MACHINE_ARCH} == "sparc") ||
+(${MACHINE_ARCH} == "sparc64") ||                                       (${MACHINE_ARCH} == "x86_64") ||
+(${MACHINE_ARCH} == "vax")) &&                                  ${OBJECT_FMT} == "ELF" && ${MKPIC} != "no")
nbmake: "/usr/cvs/src/libexec/ld.elf_so/Makefile" line 67: if-less else
nbmake: "/usr/cvs/src/libexec/ld.elf_so/Makefile" line 67: Need an operator
nbmake: "/usr/cvs/src/share/mk/bsd.man.mk" line 50: warning: duplicate script for target "__installpage" ignored
nbmake: "/usr/cvs/src/share/mk/bsd.man.mk" line 50: warning: using previous script for "__installpage" defined here
nbmake: "/usr/cvs/src/share/mk/bsd.man.mk" line 197: warning: duplicate script for target "cleanhtml" ignored
nbmake: "/usr/cvs/src/share/mk/bsd.man.mk" line 197: warning: using previous script for "cleanhtml" defined here
nbmake: "/usr/cvs/src/share/mk/bsd.man.mk" line 207: warning: duplicate script for target "cleanman" ignored
nbmake: "/usr/cvs/src/share/mk/bsd.man.mk" line 207: warning: using previous script for "cleanman" defined here
nbmake: "/usr/cvs/src/libexec/ld.elf_so/Makefile" line 72: if-less endif
nbmake: "/usr/cvs/src/libexec/ld.elf_so/Makefile" line 72: Need an operator
nbmake: Fatal errors encountered -- cannot continue
nbmake: stopped in /usr/cvs/src/libexec/ld.elf_so
*** Error code 1

	This got broken by:

Module Name:    basesrc
Committed By:   he
Date:           Sat Nov 16 10:07:30 UTC 2002

Modified Files:
        basesrc/libexec/ld.elf_so [netbsd-1-6]: Makefile

Log Message:
Pull up revision 1.50 (via patch, requested by thorpej in ticket #663):
  Build for ``armeb''.



	
>How-To-Repeat:
	
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/basesrc/libexec/ld.elf_so/Makefile,v
retrieving revision 1.48.2.1
diff -u -r1.48.2.1 Makefile
--- Makefile    2002/11/16 10:07:29     1.48.2.1
+++ Makefile    2002/11/16 23:04:27
@@ -6,7 +6,7 @@
 M= ${.CURDIR}/arch/${ARCHSUBDIR}

 .if ((${MACHINE_ARCH} == "alpha") ||                                   \
-     (${MACHINE_ARCH} == "arm") || (${MACHINE_ARCH} == "armeb" ||      \
+     (${MACHINE_ARCH} == "arm") || (${MACHINE_ARCH} == "armeb") ||     \
      (${MACHINE_ARCH} == "i386") ||                                    \
      (${MACHINE_ARCH} == "m68k") ||                                    \
      (${MACHINE_ARCH} == "mipsel") || (${MACHINE_ARCH} == "mipseb") || \

	
>Release-Note:
>Audit-Trail:
>Unformatted: