NetBSD Problem Report #48970
From martin@duskware.de Sun Jul 6 13:10:31 2014
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id D3011A6541
for <gnats-bugs@gnats.NetBSD.org>; Sun, 6 Jul 2014 13:10:31 +0000 (UTC)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
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
>Closed-Date:
>Last-Modified: Mon Jul 07 03:22:50 +0000 2014
>Originator: Martin Husemann
>Release: NetBSD 6.99.46
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD thirdstage.duskware.de 6.99.46 NetBSD 6.99.46 (MODULAR) #178: Sun Jul 6 11:02:15 CEST 2014 martin@thirdstage.duskware.de:/usr/src/sys/arch/sparc64/compile/MODULAR sparc64
Architecture: sparc64
Machine: sparc64
>Description:
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
...
>How-To-Repeat:
Try to build -current on a host w/o netpbm installed.
>Fix:
give up on groff?
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: toolchain-manager->dholland
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Sun, 06 Jul 2014 17:43:30 +0000
Responsible-Changed-Why:
my fault
(also, wtf??)
From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
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 bsd.doc.mk bsd.own.mk
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/bsd.doc.mk
cvs rdiff -u -r1.819 -r1.820 src/share/mk/bsd.own.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-By: dholland@NetBSD.org
State-Changed-When: Mon, 07 Jul 2014 03:22:50 +0000
State-Changed-Why:
workaround in place
we need a comprehensive solution to this and other related problems, and
that's going to require planning.
>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.