Subject: misc/14979: build fails on generated manpages with MKCATPAGES=no
To: None <>
From: None <>
List: netbsd-bugs
Date: 12/16/2001 15:26:47
>Number:         14979
>Category:       misc
>Synopsis:       build fails on generated manpages with MKCATPAGES=no
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 17 09:31:00 PST 2001
>Originator:     john heasley
>Release:        NetBSD-current 20011216
System: NetBSD foad 1.5Y NetBSD 1.5Y (foad) #8: Fri Sep 28 19:23:36 UTC 2001 root@foad:/home/src/sys/arch/sparc64/compile/foad sparc64
Architecture: sparc64
Machine: sparc64
	if MKCATPAGES=no is set (in mk.conf or otherwise), several of the
	non-cat manages, which are generated via makefile targets, fail to
	be built.

	the md[245].3 pages are a good example.

	STRIP=/home/tools/bin/sparc64--netbsd-strip /home/tools/bin/nbinstall  -c -p -r -o root -g wheel -m 444  md2.3 /home/release/usr/share/man/man3/md2.3
	nbinstall: md2.3: No such file or directory
	*** Error code 1
	make: stopped in /home/src/lib/libc

	from what i can tell from looking at make debug o/p (not being a make
	master); all the variables are being replaced and dependencies created
	properly, but somewhere in the *.mk files the taget (eg: m2.3) is not
	being added as a dependency for the mkmanpages (i think that is the
	right target).

	if one moves to lib/libc and make md2.3 md4.3 md5.3, the pages are
	generated correctly.
	set MKCATPAGES=no in /etc/mk.conf or on make cmd-line
	cd /sys/../lib/libc
	rm obj/md?.3
	not sure.  i couldnt seem to unravel the web.