Subject: toolchain/30413: bsd.subdir.mk does not work in make's non-compatibility mode
To: None <toolchain-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 06/03/2005 14:30:00
>Number:         30413
>Category:       toolchain
>Synopsis:       bsd.subdir.mk does not work in make's non-compatibility mode
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 03 14:30:00 +0000 2005
>Originator:     Martin Husemann
>Release:        NetBSD 3.99.3
>Organization:
>Environment:
System: NetBSD night-porter.duskware.de 3.99.3 NetBSD 3.99.3 (PORTER) #5: Fri May 20 12:54:13 CEST 2005 martin@night-porter.duskware.de:/usr/src/sys/arch/i386/compile/PORTER i386
Architecture: i386
Machine: i386
>Description:

When I run "make -j 1" in /usr/src/x11/lib (after a failed -j 2 build), I get:
all ===> X11
all ===> X11/dynamic
all ===> X11/static
all ===> ICE
all ===> Xau
all ===> SM
all ===> Xext
all ===> Xft
all ===> Xft1
all ===> Xfontcache
all ===> Xi
all ===> Xinerama
all ===> Xmuu
nbmake: nbmake: don't know how to make /usr/obj/sparc64/x11/lib/Xt/libXt.so. Stop

Look at the Makefile - it seems to have the proper .WAITs

After a complete (no -j) build, the make -j 1 there does:

all ===> X11
all ===> X11/dynamic
all ===> X11/static
all ===> ICE
all ===> Xau
all ===> SM
all ===> Xext
all ===> Xft
all ===> Xft1
all ===> Xfontcache
all ===> Xi
all ===> Xinerama
all ===> Xmuu
all ===> Xp
all ===> Xrandr
all ===> Xss
all ===> Xtst
all ===> Xv
all ===> XvMC
all ===> Xxf86dga
all ===> Xxf86misc
all ===> Xxf86vm
all ===> dmx
all ===> dpstk
all ===> expat
all ===> font
all ===> font/stubs
all ===> fontconfig
all ===> fontconfig/fontconfig
all ===> fontconfig/src
all ===> fontconfig/etc
all ===> fontenc
all ===> freetype2
all ===> freetype2/freetype
all ===> freetype2/freetype/cache
all ===> freetype2/freetype/config
all ===> freetype2/freetype/internal
all ===> freetype2/freetype/internal/services
all ===> lbxutil
all ===> psres
all ===> oldX
all ===> xkbfile
all ===> xkbui
all ===> xtrans
all ===> xlibi18n
all ===> xlibi18n/im
all ===> xlibi18n/lc
all ===> xlibi18n/lc/Utf8
all ===> xlibi18n/lc/def
all ===> xlibi18n/lc/gen
all ===> xlibi18n/lc/xlocale
all ===> xlibi18n/om
all ===> Xt
all ===> Xpm
all ===> Xrender
all ===> GL
all ===> Xmu
all ===> dps
all ===> FS
all ===> GLU
all ===> GLw
all ===> OSmesa
all ===> XRes
all ===> XTrap
all ===> Xaw
all ===> Xaw6
all ===> Xcursor
all ===> Xdmcp

Note that all subdirs between the second and the last .WAIT have been delayed.
I have no idea, why.

>How-To-Repeat:
s.a.
>Fix:
n/a