Subject: misc/3473: make cleandir fails on non-alpha machines
To: None <gnats-bugs@gnats.netbsd.org>
From: None <r.evans@ic.ac.uk>
List: netbsd-bugs
Date: 04/10/1997 16:43:35
>Number: 3473
>Category: misc
>Synopsis: make cleandir fails on non-alpha machines
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: misc-bug-people (Misc Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Apr 10 08:50:01 1997
>Last-Modified:
>Originator: Robert Evans
>Organization:
Imperial College Centre for Computing Services
>Release: 19960410
>Environment:
System: NetBSD afsc1.cc.ic.ac.uk 1.2D NetBSD 1.2D (DL) #36: Wed Apr 9 20:39:31 BST 1997 rhe@afsc1.cc.ic.ac.uk:/usr/src/sys/arch/sparc/compile/DL sparc
>Description:
When "make cleandir" reaches the libexec directory, the entry for ld.elf_so
is bogus because the ld.elf_so Makefile tries to find an arch specific
subdirectory, which only exists for the Alpha.
The test is correct for building, but ld.elf_so is added into all archs
for a clean or cleandir.
>How-To-Repeat:
cd /usr/src
make cleandir (or build -- it does a cleandir)
...
===> libexec/ld.elf_so
"Makefile", line 7: Could not find /usr/src/libexec/ld.elf_so/sparc/Makefile.inc
Fatal errors encountered -- cannot continue
>Fix:
*** src/libexec/Makefile.orig Wed Apr 9 12:14:27 1997
--- src/libexec/Makefile Thu Apr 10 16:32:30 1997
***************
*** 10,16 ****
tftpd uucpd
.if make(clean) || make(cleandir)
! SUBDIR+=ld.elf_so telnetd
.else
# XXX Keep telnetd(8) and libtelnet from getting out of sync during the build
--- 10,16 ----
tftpd uucpd
.if make(clean) || make(cleandir)
! SUBDIR+=telnetd
.else
# XXX Keep telnetd(8) and libtelnet from getting out of sync during the build
>Audit-Trail:
>Unformatted: