NetBSD Problem Report #44881

From www@NetBSD.org  Tue Apr 19 13:46:42 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 1E2A663C2C9
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 19 Apr 2011 13:46:42 +0000 (UTC)
Message-Id: <20110419134641.72F8263BBDB@www.NetBSD.org>
Date: Tue, 19 Apr 2011 13:46:41 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joern.clausen@uni-bielefeld.de
To: gnats-bugs@NetBSD.org
Subject: pkgtools/pkg_install does not install
X-Send-Pr-Version: www-1.0

>Number:         44881
>Category:       pkg
>Synopsis:       pkgtools/pkg_install does not install
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 19 13:50:00 +0000 2011
>Closed-Date:    Wed Apr 27 07:20:41 +0000 2011
>Last-Modified:  Wed Apr 27 07:20:41 +0000 2011
>Originator:     Jörn Clausen
>Release:        NetBSD 5.1
>Organization:
University of Bielefeld
>Environment:
NetBSD pkgsrc-nb 5.1 NetBSD 5.1 (GENERIC) #0: Sun Nov  7 14:39:56 UTC 2010  builds@b6.netbsd.org:/home/builds/ab/netbsd-5-1-RELEASE/i386/201011061943Z-obj/home/builds/ab/netbsd-5-1-RELEASE/src/sys/arch/i386/compile/GENERIC i386

>Description:
Installing pkgtools/pkg_install fails with

#     build  libfetch/libfetch.a
rm -f libfetch.a
ar cq libfetch.a `NM=nm lorder fetch.o common.o ftp.o http.o file.o | tsort -q`
ranlib libfetch.a
#    format  libfetch/fetch.html3
groff -Tlatin1 -mdoc2html fetch.3 > fetch.html3.tmp &&  mv fetch.html3.tmp fetch.html3
troff: fatal error: can't find macro file doc2html

I assume, pkg_install is not meant to be installed on NetBSD at all?

Build of pkg_install gets only triggered when updating using pkg_rolling-replace, and only by some packages (i.e. it seems some other packages install fine before pkg_install is tried). When using "pkg_chk -u" to update packages, pkg_install is not touched. 
>How-To-Repeat:
After the error first appeared, I removed all packages and cleared /usr/pkg. Then I installed all packages via "pkg_chk -a" (680 packages in total) without any problems. After the next CVS update, pkg_rolling-replace failed again in the way shown above.
>Fix:

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: obache@NetBSD.org
State-Changed-When: Tue, 26 Apr 2011 12:18:36 +0000
State-Changed-Why:
fixed for you?


From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/44881 CVS commit: pkgsrc/pkgtools/pkg_install
Date: Tue, 26 Apr 2011 12:17:52 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Tue Apr 26 12:17:51 UTC 2011

 Modified Files:
 	pkgsrc/pkgtools/pkg_install: Makefile

 Log Message:
 net/libfetch is USE_BSD_MAKEFILE, pass ${BSD_MAKE_ENV} additionally for
 building libfetch.

 Fixes PR#44881, it will be happend with groff from pkgsrc.


 To generate a diff of this commit:
 cvs rdiff -u -r1.182 -r1.183 pkgsrc/pkgtools/pkg_install/Makefile

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

From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org
Cc: obache@NetBSD.org, pkg-manager@NetBSD.org, pkgsrc-bugs@NetBSD.org,
 gnats-admin@NetBSD.org
Subject: Re: pkg/44881 (pkgtools/pkg_install does not install)
Date: Wed, 27 Apr 2011 09:11:00 +0200

 > fixed for you?

 I think it is, although PR/44909 prevented a complete rebuild. But 
 pkg_install and the remaining packages were installed successfully.

 Thanks,
     Joern

 -- 
   Jörn Clausen                             joern.clausen@uni-bielefeld.de
   Hochschulrechenzentrum                 http://www.uni-bielefeld.de/hrz/
   Universität Bielefeld

State-Changed-From-To: feedback->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Wed, 27 Apr 2011 07:20:41 +0000
State-Changed-Why:
confirmed fixed, thanks!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.