NetBSD Problem Report #41803

From www@NetBSD.org  Sat Aug  1 17:34:14 2009
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 016FF63BDF9
	for <gnats-bugs@gnats.netbsd.org>; Sat,  1 Aug 2009 17:34:14 +0000 (UTC)
Message-Id: <20090801173413.C4AC263BD7C@www.NetBSD.org>
Date: Sat,  1 Aug 2009 17:34:13 +0000 (UTC)
From: ogi@triangle.bg
Reply-To: ogi@triangle.bg
To: gnats-bugs@NetBSD.org
Subject: ./bootstrap interruption and re-launch requires too much knowledge
X-Send-Pr-Version: www-1.0

>Number:         41803
>Category:       pkg
>Synopsis:       ./bootstrap interruption and re-launch requires too much knowledge
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 01 17:35:00 +0000 2009
>Originator:     Ognyan Kulev
>Release:        5.0.1
>Organization:
>Environment:
NetBSD 5.0.1 GENERIC on i386.
>Description:
I had to interrupt ./bootstrap and then re-launch it but error messages were shown. Apart from multiple identical bmake error messages, some advice was shown that bootstrap-mk-files should be removed. This happens after "rm -fr work" and even ./cleanup too. Fortunately, I know some of pkgsrc operation and it was no surprise for me that pkg_delete...bootstrap-mk-files... didn't work. Then trying after deleting /var/db/pkg and /usr/pkg succeeded.
>How-To-Repeat:
Interrupt ./bootstrap somewhen later in the process and try to re-launch it.
>Fix:
This kind of errors are hard to handle by newbie. Something should be cooked up so that error messages are meaningful.

Alternative "fix" is to document this situation and how to cope with it in bootstrap/README. BTW ./cleanup is not mentioned there too.

NetBSD Home
NetBSD PR Database Search

(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.