NetBSD Problem Report #43602

From smb@cs.columbia.edu  Sun Jul 11 20:42:50 2010
Return-Path: <smb@cs.columbia.edu>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 92F1463BAC2
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 11 Jul 2010 20:42:50 +0000 (UTC)
Message-Id: <20100711204241.A01E3293DB5@yellowstone.machshav.com>
Date: Sun, 11 Jul 2010 16:41:39 -0400 (EDT)
From: smb@cs.columbia.edu
Reply-To: smb@cs.columbia.edu
To: gnats-bugs@gnats.NetBSD.org
Subject: ruby18-base won't install
X-Send-Pr-Version: 3.95

>Number:         43602
>Category:       pkg
>Synopsis:       ruby18-base won't install
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 11 20:45:00 +0000 2010
>Last-Modified:  Sun Jul 11 23:05:01 +0000 2010
>Originator:     Steven M. Bellovin
>Release:        NetBSD 5.99.22
>Organization:
Department of Computer Science, Columbia University
>Environment:


System: NetBSD yellowstone.machshav.com 5.99.22 NetBSD 5.99.22 (YELLOWSTONE) #0: Sun Dec 6 00:13:38 EST 2009 smb@yellowstone.machshav.com:/usr/BUILD/obj/sys/arch/amd64/compile/YELLOWSTONE amd64
Architecture: x86_64
Machine: amd64
>Description:
	lang/ruby18-base fails to install with up-to-date pkgsrc HEAD:

	===> Installing for ruby18-base-1.8.7.174nb5
	=> Creating installation directories
	=> Running PRE-INSTALL script actions
	cd /usr/pkgsrc/lang/ruby18-base/work/ruby-1.8.7-p174; /usr/bin/find . \( -name '*.orig' -o -name '*.orig_dist' \)  -exec /bin/rm -f {} \;
	*** Error code 1

	I don't use ruby itself, but subversion needs it

>How-To-Repeat:
	see above
>Fix:


>Audit-Trail:
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/43602: ruby18-base won't install
Date: Sun, 11 Jul 2010 21:47:40 +0000

 On Sun, Jul 11, 2010 at 08:45:00PM +0000, smb@cs.columbia.edu wrote:
  > 	lang/ruby18-base fails to install with up-to-date pkgsrc HEAD:
  > 
  > 	===> Installing for ruby18-base-1.8.7.174nb5
  > 	=> Creating installation directories
  > 	=> Running PRE-INSTALL script actions
  > 	cd /usr/pkgsrc/lang/ruby18-base/work/ruby-1.8.7-p174; /usr/bin/find . \( -name '*.orig' -o -name '*.orig_dist' \)  -exec /bin/rm -f {} \;
  > 	*** Error code 1

 This works fine on my amd64 with 5.99.29, though with USE_DESTDIR
 turned on.

 The fact that it prints "*** Error code 1" without actually reporting
 any errors leads me to suspect that something failed that ordinarily
 shouldn't and (given that PR 43600 shows similar symptoms, and I can't
 reproduce it either) also to wonder if you have something corrupted on
 your system somewhere...

 -- 
 David A. Holland
 dholland@netbsd.org

From: Steven Bellovin <smb@cs.columbia.edu>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@NetBSD.org, gnats-admin@NetBSD.org, pkgsrc-bugs@NetBSD.org
Subject: Re: pkg/43602: ruby18-base won't install
Date: Sun, 11 Jul 2010 18:32:55 -0400

 On Jul 11, 2010, at 5:50 13PM, David Holland wrote:

 > The following reply was made to PR pkg/43602; it has been noted by =
 GNATS.
 >=20
 > From: David Holland <dholland-pbugs@netbsd.org>
 > To: gnats-bugs@NetBSD.org
 > Cc:=20
 > Subject: Re: pkg/43602: ruby18-base won't install
 > Date: Sun, 11 Jul 2010 21:47:40 +0000
 >=20
 > On Sun, Jul 11, 2010 at 08:45:00PM +0000, smb@cs.columbia.edu wrote:
 >> 	lang/ruby18-base fails to install with up-to-date pkgsrc HEAD:
 >>=20
 >> 	=3D=3D=3D> Installing for ruby18-base-1.8.7.174nb5
 >> 	=3D> Creating installation directories
 >> 	=3D> Running PRE-INSTALL script actions
 >> 	cd /usr/pkgsrc/lang/ruby18-base/work/ruby-1.8.7-p174; =
 /usr/bin/find . \( -name '*.orig' -o -name '*.orig_dist' \)  -exec =
 /bin/rm -f {} \;
 >> 	*** Error code 1
 >=20
 > This works fine on my amd64 with 5.99.29, though with USE_DESTDIR
 > turned on.
 >=20
 > The fact that it prints "*** Error code 1" without actually reporting
 > any errors leads me to suspect that something failed that ordinarily
 > shouldn't and (given that PR 43600 shows similar symptoms, and I can't
 > reproduce it either) also to wonder if you have something corrupted on
 > your system somewhere...
 >=20
 > --=20

 I certainly can't rule that out -- per kern/42104, I've certainly had =
 file system adventures.  I will note that I did just rebuild very many =
 packages without (other) incident.  I can build a new system, though =
 this doesn't really seem to be the best time to try today's kernel.  I =
 can also delete all packages and rebuild everything, perhaps after =
 running 'fsck -f'.  Any other suggestions?  (Well, I guess that memtest =
 is always in order.)


 		--Steve Bellovin, http://www.cs.columbia.edu/~smb





From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/43602: ruby18-base won't install
Date: Sun, 11 Jul 2010 23:01:30 +0000

 On Sun, Jul 11, 2010 at 10:35:02PM +0000, Steven Bellovin wrote:
  >> The fact that it prints "*** Error code 1" without actually reporting
  >> any errors leads me to suspect that something failed that ordinarily
  >> shouldn't and (given that PR 43600 shows similar symptoms, and I can't
  >> reproduce it either) also to wonder if you have something corrupted on
  >> your system somewhere...
  >>
  >  
  >  I certainly can't rule that out -- per kern/42104, I've certainly had
  >  file system adventures.  I will note that I did just rebuild very many
  >  packages without (other) incident.  I can build a new system, though
  >  this doesn't really seem to be the best time to try today's kernel.  I
  >  can also delete all packages and rebuild everything, perhaps after
  >  running 'fsck -f'.  Any other suggestions?  (Well, I guess that memtest
  >  is always in order.)

 Those all seem awfully drastic... although I guess fscking can't hurt.
 Also try cvs update in pkgsrc/mk and make sure nothing's marked
 modified that isn't supposed to be.

 Another good diagnostic step would be to run the install with
 PKG_DEBUG_LEVEL=2 to see what's actually failing. That may make the
 problem obvious.

 -- 
 David A. Holland
 dholland@netbsd.org

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