NetBSD Problem Report #39099

From www@NetBSD.org  Fri Jul  4 10:09:19 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 6A90363BC7C
	for <gnats-bugs@gnats.netbsd.org>; Fri,  4 Jul 2008 10:09:19 +0000 (UTC)
Message-Id: <20080704100919.2494563B880@narn.NetBSD.org>
Date: Fri,  4 Jul 2008 10:09:19 +0000 (UTC)
From: srcshelton@gmail.com
Reply-To: srcshelton@gmail.com
To: gnats-bugs@NetBSD.org
Subject: bootstrap-mk-files still can't be updated (on IRIX?)
X-Send-Pr-Version: www-1.0

>Number:         39099
>Category:       pkg
>Synopsis:       bootstrap-mk-files still can't be updated (on IRIX?)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 04 10:10:01 +0000 2008
>Closed-Date:    Sun Aug 09 23:47:51 +0000 2015
>Last-Modified:  Sun Aug 09 23:47:51 +0000 2015
>Originator:     Stuart Shelton
>Release:        pkgsrc latest from CVS
>Organization:
>Environment:
IRIX64 6.5.30; MIPSPro Compilers: Version 7.4.4m
>Description:
netbsd@fuel ~/pkgtools/bootstrap-mk-files # bmake clean && bmake test && bmake update
===> su-do-clean [bootstrap-mk-files-20080703] ===> Cleaning for bootstrap-mk-files-20080703
===> _flavor-check-vulnerable [bootstrap-mk-files-20080703] ===> Skipping vulnerability checks.
WARNING: No /usr/bsd/var/db/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/bsd/sbin/download-vulnerability-list'.
===> depends-message [bootstrap-mk-files-20080703] ===> Installing dependencies for bootstrap-mk-files-20080703
===> tools-message [bootstrap-mk-files-20080703] ===> Overriding tools for bootstrap-mk-files-20080703
===> extract-message [bootstrap-mk-files-20080703] ===> Extracting for bootstrap-mk-files-20080703
===> patch-message [bootstrap-mk-files-20080703] ===> Patching for bootstrap-mk-files-20080703
===> wrapper-message [bootstrap-mk-files-20080703] ===> Creating toolchain wrappers for bootstrap-mk-files-20080703
===> configure-message [bootstrap-mk-files-20080703] ===> Configuring for bootstrap-mk-files-20080703
cd /usr/bsd/var/tmp/pkgtools/bootstrap-mk-files/work/bootstrap-mk-files-20080703; for file in bsd.* sys.mk; do                   test ! -f mods/IRIX.$file ||                    /sbin/cp -f mods/IRIX.$file /usr/bsd/var/tmp/pkgtools/bootstrap-mk-files/work/bootstrap-mk-files-20080703/$file;                done
cd /usr/bsd/var/tmp/pkgtools/bootstrap-mk-files/work/bootstrap-mk-files-20080703;                                                        if test -f mods/IRIX.bsd.own.mk.in; then                        own_mk=mods/IRIX.bsd.own.mk.in;                         else                                                            own_mk=mods/bsd.own.mk.in;                              fi;                                                             /usr/bsd/bin/gnu-sed   -e 's|@ROOT_GROUP@|'netbsd'|g'                   -e 's|@ROOT_USER@|'netbsd'|g'                   -e 's|@SYSCONFDIR@|'/usr/bsd/etc'|g'            $own_mk > bsd.own.mk
===> test-message [bootstrap-mk-files-20080703] ===> Testing for bootstrap-mk-files-20080703
===> deinstall [bootstrap-mk-files-20080703] ===> Deinstalling for bootstrap-mk-files-20080703
Running /usr/bsd/sbin/pkg_delete -K /usr/bsd/var/db/pkg -r bootstrap-mk-files-20080415
Package `bootstrap-mk-files-20080415' is marked as not for deletion
===> _flavor-check-vulnerable [bootstrap-mk-files-20080703] ===> Skipping vulnerability checks.
WARNING: No /usr/bsd/var/db/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/bsd/sbin/download-vulnerability-list'.
===> install-message [bootstrap-mk-files-20080703] ===> Installing for bootstrap-mk-files-20080703
ERROR: bootstrap-mk-files-20080415 is already installed - perhaps an older version?
ERROR: If so, you may use either of:
ERROR:     - "pkg_delete bootstrap-mk-files-20080415" and "/usr/bsd/bin/bmake reinstall"
ERROR:       to upgrade properly
ERROR:     - "/usr/bsd/bin/bmake update" to rebuild the package and all
ERROR:       of its dependencies
ERROR:     - "/usr/bsd/bin/bmake replace" to replace only the package without
ERROR:       re-linking dependencies, risking various problems.
*** Error code 1

Stop.
bmake: stopped in /usr/bsd/src/pkgtools/bootstrap-mk-files
*** Error code 1

Stop.
bmake: stopped in /usr/bsd/src/pkgtools/bootstrap-mk-files
*** Error code 1

Stop.
bmake: stopped in /usr/bsd/src/pkgtools/bootstrap-mk-files
*** Error code 1

Stop.
bmake: stopped in /usr/bsd/src/pkgtools/bootstrap-mk-files

>How-To-Repeat:

Also:

netbsd@fuel ~/pkgtools/bootstrap-mk-files # bmake clean && bmake test && bmake replace
===> su-do-clean [bootstrap-mk-files-20080703] ===> Cleaning for bootstrap-mk-files-20080703
===> _flavor-check-vulnerable [bootstrap-mk-files-20080703] ===> Skipping vulnerability checks.
WARNING: No /usr/bsd/var/db/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/bsd/sbin/download-vulnerability-list'.
===> depends-message [bootstrap-mk-files-20080703] ===> Installing dependencies for bootstrap-mk-files-20080703
===> tools-message [bootstrap-mk-files-20080703] ===> Overriding tools for bootstrap-mk-files-20080703
===> extract-message [bootstrap-mk-files-20080703] ===> Extracting for bootstrap-mk-files-20080703
===> patch-message [bootstrap-mk-files-20080703] ===> Patching for bootstrap-mk-files-20080703
===> wrapper-message [bootstrap-mk-files-20080703] ===> Creating toolchain wrappers for bootstrap-mk-files-20080703
===> configure-message [bootstrap-mk-files-20080703] ===> Configuring for bootstrap-mk-files-20080703
cd /usr/bsd/var/tmp/pkgtools/bootstrap-mk-files/work/bootstrap-mk-files-20080703; for file in bsd.* sys.mk; do                   test ! -f mods/IRIX.$file ||                    /sbin/cp -f mods/IRIX.$file /usr/bsd/var/tmp/pkgtools/bootstrap-mk-files/work/bootstrap-mk-files-20080703/$file;                done
cd /usr/bsd/var/tmp/pkgtools/bootstrap-mk-files/work/bootstrap-mk-files-20080703;                                                        if test -f mods/IRIX.bsd.own.mk.in; then                        own_mk=mods/IRIX.bsd.own.mk.in;                         else                                                            own_mk=mods/bsd.own.mk.in;                              fi;                                                             /usr/bsd/bin/gnu-sed   -e 's|@ROOT_GROUP@|'netbsd'|g'                   -e 's|@ROOT_USER@|'netbsd'|g'                   -e 's|@SYSCONFDIR@|'/usr/bsd/etc'|g'            $own_mk > bsd.own.mk
===> test-message [bootstrap-mk-files-20080703] ===> Testing for bootstrap-mk-files-20080703
===> _flavor-check-vulnerable [bootstrap-mk-files-20080703] ===> Skipping vulnerability checks.
WARNING: No /usr/bsd/var/db/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/bsd/sbin/download-vulnerability-list'.
===> replace-message [bootstrap-mk-files-20080703] ===> Replacing for bootstrap-mk-files-20080703
WARNING: experimental target - DATA LOSS MAY OCCUR.
Creating binary package: bootstrap-mk-files-20080415
Creating package /usr/bsd/var/tmp/pkgtools/bootstrap-mk-files/work/bootstrap-mk-files-20080415
Using SrcDir value of /usr/bsd
=> Preserving existing +INSTALLED_INFO file.
=> Preserving existing +REQUIRED_BY file.
===> deinstall [bootstrap-mk-files-20080703] ===> Deinstalling for bootstrap-mk-files-20080703
Running /usr/bsd/sbin/pkg_delete -K /usr/bsd/var/db/pkg  bootstrap-mk-files-20080415
Package `bootstrap-mk-files-20080415' is marked as not for deletion
===> install-message [bootstrap-mk-files-20080703] ===> Installing for bootstrap-mk-files-20080703
ERROR: bootstrap-mk-files-20080415 is already installed - perhaps an older version?
ERROR: If so, you may use either of:
ERROR:     - "pkg_delete bootstrap-mk-files-20080415" and "/usr/bsd/bin/bmake reinstall"
ERROR:       to upgrade properly
ERROR:     - "/usr/bsd/bin/bmake update" to rebuild the package and all
ERROR:       of its dependencies
ERROR:     - "/usr/bsd/bin/bmake replace" to replace only the package without
ERROR:       re-linking dependencies, risking various problems.
*** Error code 1

Stop.
bmake: stopped in /usr/bsd/src/pkgtools/bootstrap-mk-files
*** Error code 1

Stop.
bmake: stopped in /usr/bsd/src/pkgtools/bootstrap-mk-files
*** Error code 1

Stop.
bmake: stopped in /usr/bsd/src/pkgtools/bootstrap-mk-files
*** Error code 1

Stop.
bmake: stopped in /usr/bsd/src/pkgtools/bootstrap-mk-files

>Fix:

What does the 'experimental target' warning indicate - is it a platform warning, or is "replace" the experimental part?

>Release-Note:

>Audit-Trail:
From: "Stuart Shelton" <srcshelton@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/39099: bootstrap-mk-files still can't be updated (on IRIX?)
Date: Fri, 4 Jul 2008 11:47:45 +0100

 ... and, after removing the bootstrap-mk-files directory from db/pkg/
 so that I can install the new build, it's lost it's "don't-uninstall"
 status and so later running "bmake update" has removed all of the .mk
 files, breaking bmake *again* :(

State-Changed-From-To: open->feedback
State-Changed-By: obache@NetBSD.org
State-Changed-When: Sun, 01 Sep 2013 05:44:01 +0000
State-Changed-Why:
should be resolved with USE_DESTDIR=yes (default after 2011Q1).


State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 09 Aug 2015 23:47:51 +0000
State-Changed-Why:
two-year feedback timeout and believed fixed


>Unformatted:

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-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.