NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/43466: make(1): Makefile.boot is missing a source file (Patch included)



>Number:         43466
>Category:       bin
>Synopsis:       make(1): Makefile.boot is missing a source file (Patch 
>included)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 13 12:30:00 +0000 2010
>Originator:     Arun Thomas
>Release:        5.0
>Organization:
>Environment:
Linux, Minix
>Description:
When attempting to build NetBSD's make(1) on non-NetBSD platforms, the build 
will fail. Cause: The bootstrap Makefile for non-NetBSD platforms 
(Makefile.boot) is missing a source file in its SRCS variable. When you add 
lst.lib/lstPrev.c, make(1) builds correctly.

I have included a patch that fixes the problem.
>How-To-Repeat:
Run 'make -f Makefile.boot' in src/usr.bin/make on a non-NetBSD platform.
>Fix:
Add lst.lib/lstPrev.c to SRCS in src/usr.bin/make/Makefile.boot.

Patch below:


diff -urN src.orig/usr.bin/make/Makefile.boot src/usr.bin/make/Makefile.boot
--- src.orig/usr.bin/make/Makefile.boot 2010-06-13 01:44:54.000000000 +0200
+++ src/usr.bin/make/Makefile.boot      2010-06-13 01:53:40.000000000 +0200
@@ -32,7 +32,7 @@
        lst.lib/lstInit.o lst.lib/lstInsert.o lst.lib/lstIsAtEnd.o \
        lst.lib/lstIsEmpty.o lst.lib/lstLast.o lst.lib/lstMember.o \
        lst.lib/lstNext.o lst.lib/lstOpen.o lst.lib/lstRemove.o \
-       lst.lib/lstReplace.o lst.lib/lstSucc.o
+       lst.lib/lstReplace.o lst.lib/lstSucc.o lst.lib/lstPrev.c
 
 bmake: ${OBJ} ${LIBOBJ}
 #      @echo 'make of make and make.0 started.'



Home | Main Index | Thread Index | Old Index