NetBSD Problem Report #30675
From www@netbsd.org Wed Jul 6 10:26:34 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
id ED3D663B400; Wed, 6 Jul 2005 10:26:33 +0000 (UTC)
Message-Id: <20050706102633.ED3D663B400@narn.netbsd.org>
Date: Wed, 6 Jul 2005 10:26:33 +0000 (UTC)
From: eau@phear.org
Reply-To: eau@phear.org
To: gnats-bugs@netbsd.org
Subject: MKMAN=no disable groff which makes ./build.sh release fails
X-Send-Pr-Version: www-1.0
>Number: 30675
>Category: toolchain
>Synopsis: MKMAN=no disable groff which makes ./build.sh release fails
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: lukem
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jul 06 10:27:00 +0000 2005
>Closed-Date: Thu Aug 21 06:18:30 +0000 2008
>Last-Modified: Thu Aug 21 06:20:01 +0000 2008
>Originator: Eric AUGE
>Release: 2.0.2_STABLE
>Organization:
>Environment:
NetBSD stardust.intra.nexthink.com 2.0.2_STABLE NetBSD 2.0.2_STABLE (GLOP) #7: Thu May 12 14:54:11 CEST 2005 root@glop.nexthink.com:/usr/src/sys/arch/i386/compile/GLOP i386
>Description:
MKMAN=no disable groff in the toolchain (tools/Makefile) but
"./build.sh release" will need it to build .ps files during the build
and in the release dir like INSTALL.ps
>How-To-Repeat:
try to build release with MKMAN=no in /etc/mk.conf
./build.sh -R test release
>Fix:
A quick patch to fix that small but important issue.
--- Makefile 2004-06-17 10:06:20.000000000 +0200
+++ Makefile.new 2005-07-06 11:18:36.000000000 +0200
@@ -32,9 +32,9 @@
lint1 makefs menuc mkcsmapper mkesdb mklocale mknod msgc pax \
pwd_mkdb stat sunlabel zic
-.if ${MKMAN} != "no"
+#.if ${MKMAN} != "no"
SUBDIR+= groff
-.endif
+#.endif
.if ${MKMAINTAINERTOOLS:Uno} != "no"
SUBDIR+= autoconf gettext
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: toolchain-manager->lukem
Responsible-Changed-By: lukem@NetBSD.org
Responsible-Changed-When: Thu, 21 Aug 2008 06:18:30 +0000
Responsible-Changed-Why:
I dealt with it
State-Changed-From-To: open->closed
State-Changed-By: lukem@NetBSD.org
State-Changed-When: Thu, 21 Aug 2008 06:18:30 +0000
State-Changed-Why:
I've modified the build so that it won't build distrib/notes if
MKMAN==no.
This appears to address the "build.sh -V MKMAN=no release" issue
From: Luke Mewburn <lukem@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/30675 CVS commit: src/distrib
Date: Thu, 21 Aug 2008 06:17:41 +0000 (UTC)
Module Name: src
Committed By: lukem
Date: Thu Aug 21 06:17:41 UTC 2008
Modified Files:
src/distrib: Makefile
Log Message:
Don't descend into distrib/notes if MKMAN==no, because
groff (et al) isn't available in $TOOLDIR in that situation.
Fixes PR 30675.
(If we ever implement more specific "don't build groff" or "don't build C++"
build knobs, we can change this to use that.)
To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 src/distrib/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.