NetBSD Problem Report #48970

From  Sun Jul  6 13:10:31 2014
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer "Postmaster" (verified OK))
	by (Postfix) with ESMTPS id D3011A6541
	for <>; Sun,  6 Jul 2014 13:10:31 +0000 (UTC)
Subject: new doc build system is broken
X-Send-Pr-Version: 3.95

>Number:         48970
>Category:       toolchain
>Synopsis:       new doc build system is broken
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    dholland
>State:          suspended
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 06 13:15:00 +0000 2014
>Last-Modified:  Mon Jul 07 03:22:50 +0000 2014
>Originator:     Martin Husemann
>Release:        NetBSD 6.99.46
The NetBSD Foundation, Inc.
System: NetBSD 6.99.46 NetBSD 6.99.46 (MODULAR) #178: Sun Jul 6 11:02:15 CEST 2014 sparc64
Architecture: sparc64
Machine: sparc64

Groff calls external programs not installed in the base system nor as tools
when creating *.png files for csh:

#    format  USD.doc/csh.html
PATH=/usr/tools/lib/groff:${PATH} /usr/tools/bin/nbgroff -Thtml -I/usr/src/bin/csh/USD.doc -ms  /usr/src/bin/csh/USD.doc/tabs /usr/src/bin/csh/USD.doc/csh.1 /usr/src/bin/csh/USD.doc/csh.2 /usr/src/bin/csh/USD.doc/csh.3 /usr/src/bin/csh/USD.doc/csh.4 /usr/src/bin/csh/USD.doc/csh.ap /usr/src/bin/csh/USD.doc/csh.g  -P -I -P csh  > csh.html
Calling `psselect -q -p4 /var/tmp/groff-ps-KZn5sY /var/tmp/groff-ps-yfiMTK
' returned status 32512
Calling `echo showpage | missing -q -dBATCH -dSAFER -dDEVICEHEIGHTPOINTS=792 -dDEVICEWIDTHPOINTS=700 -dFIXEDMEDIA=true -sDEVICE=pnmraw -r100 -dTextAlphaBits=4 -dGraphicsAlphaBits=4  -sOutputFile=/var/tmp/groff-page-aZ5K8U /var/tmp/groff-ps-yfiMTK -
' returned status 32512
Calling `pnmcut 100 777 601 69 < /var/tmp/groff-page-aZ5K8U | pnmcrop -quiet | pnmtopng -background rgb:f/f/f -transparent rgb:f/f/f > csh1.png
' returned status 32512
Calling `psselect -q -p8 /var/tmp/groff-ps-KZn5sY /var/tmp/groff-ps-yfiMTK
' returned status 32512
Calling `echo showpage | missing -q -dBATCH -dSAFER -dDEVICEHEIGHTPOINTS=792 -dDEVICEWIDTHPOINTS=700 -dFIXEDMEDIA=true -sDEVICE=pnmraw -r100 -dTextAlphaBits=4 -dGraphicsAlphaBits=4  -sOutputFile=/var/tmp/groff-page-aZ5K8U /var/tmp/groff-ps-yfiMTK -
' returned status 32512
Calling `pnmcut 100 612 601 36 < /var/tmp/groff-page-aZ5K8U | pnmcrop -quiet | pnmtopng -background rgb:f/f/f -transparent rgb:f/f/f > csh2.png
' returned status 32512
Calling `psselect -q -p12 /var/tmp/groff-ps-KZn5sY /var/tmp/groff-ps-yfiMTK
' returned status 32512

Try to build -current on a host w/o netpbm installed.

give up on groff?



Responsible-Changed-From-To: toolchain-manager->dholland
Responsible-Changed-When: Sun, 06 Jul 2014 17:43:30 +0000
my fault
(also, wtf??)

From: "David A. Holland" <>
Subject: PR/48970 CVS commit: src
Date: Sun, 6 Jul 2014 18:22:04 +0000

 Module Name:	src
 Committed By:	dholland
 Date:		Sun Jul  6 18:22:03 UTC 2014

 Modified Files:
 	src/distrib/sets/lists/games: mi
 	src/distrib/sets/lists/misc: mi
 	src/share/mk: bsd.README

 Log Message:
 Add MKGROFFHTMLDOC and make it default to no. It seems that sometimes
 when generating html groff runs netpbm behind your back. Needless to
 say we don't have netpbm in base, so this fails on a clean install; so
 for now disable generating html for /usr/share/doc by default.
 Workaround for PR 48970.

 It seems that all available document preparation toolchains are made
 of fail.

 To generate a diff of this commit:
 cvs rdiff -u -r1.51 -r1.52 src/distrib/sets/lists/games/mi
 cvs rdiff -u -r1.191 -r1.192 src/distrib/sets/lists/misc/mi
 cvs rdiff -u -r1.333 -r1.334 src/share/mk/bsd.README
 cvs rdiff -u -r1.66 -r1.67 src/share/mk/
 cvs rdiff -u -r1.819 -r1.820 src/share/mk/

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->suspended
State-Changed-When: Mon, 07 Jul 2014 03:22:50 +0000
workaround in place

we need a comprehensive solution to this and other related problems, and
that's going to require planning.


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.