NetBSD Problem Report #41743
From kre@munnari.OZ.AU Thu Jul 16 12:44:22 2009
Return-Path: <kre@munnari.OZ.AU>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id A9C1B63B883
for <gnats-bugs@gnats.NetBSD.org>; Thu, 16 Jul 2009 12:44:22 +0000 (UTC)
Message-Id: <200907161244.n6GCiHuU000753@jade.coe.psu.ac.th>
Date: Thu, 16 Jul 2009 19:44:17 +0700 (ICT)
From: kre@munnari.OZ.AU
To: gnats-bugs@gnats.NetBSD.org
Subject: www/merb installation error (NetBSD 4.0)
X-Send-Pr-Version: 3.95
>Number: 41743
>Category: pkg
>Synopsis: www/merb installation error (NetBSD 4.0)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 16 12:45:00 +0000 2009
>Closed-Date: Sun May 01 05:50:09 +0000 2016
>Last-Modified: Sun May 01 05:50:09 +0000 2016
>Originator: Robert Elz
>Release: NetBSD 4.0_STABLE
>Organization:
Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE (JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 kre@jade.coe.psu.ac.th:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
www/merb fails to install (and so also fails to generate a binary
package). (Other www/merb-* packages are all fine).
The problem is a missing "lib" file (or just as likely, directory)
somewhere (apparently) - the error message is very terse...
>How-To-Repeat:
I use pkg_comp with libkver and NetBSD 4.0 sets installed
(except x*, I use pkgsrc modular xorg instead). Most probably
none of that is relevant here.
When building www/merb, except to see ...
===> Installing for merb-0.9.2
=> Generating pre-install file lists
=> Installing gem into installation root
File not found: lib
Successfully installed merb-0.9.2
1 gem installed
Installing ri documentation for merb-0.9.2...
*** Error code 1
Stop.
What that "lib" is that is not found I have no idea
(that is, whether it is something in the pkg that is
to be copied, or something that should exist in /usr/pkg
somewhere). I'm even only guessing that the missing lib
is the cause of the "Error code 1".
I do see earlier ...
===> Building for merb-0.9.2
mkdir -p pkg
mkdir -p lib
with no error from the mkdir (and no reason it should fail
that I can imagine, though mkdir -p does tend to hide
some errors - for those simple paths, is the -p really needed?)
After that ...
WARNING: no rubyforge_project specified
WARNING: description and summary are identical
mv merb-more-0.9.2.gem pkg/merb-more-0.9.2.gem
WARNING: no rubyforge_project specified
WARNING: description and summary are identical
mv merb-0.9.2.gem pkg/merb-0.9.2.gem
which seems to be the entire build process for www/merb !
There's a little more output before the install phase
starts, but that just seems to be providing some version
info on those two files that we just mv'd.
>Fix:
??
>Release-Note:
>Audit-Trail:
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/41743: www/merb installation error (NetBSD 4.0)
Date: Sat, 26 Sep 2009 13:20:12 +0900
On Thu, 16 Jul 2009 21:45:00 +0900, <kre@munnari.oz.au> wrote:
>> Description:
> www/merb fails to install (and so also fails to generate a binary
> package). (Other www/merb-* packages are all fine).
> The problem is a missing "lib" file (or just as likely, directory)
> somewhere (apparently) - the error message is very terse...
You can find "lib" in ${WRKDIR}/merb-0.9.2.gemspec:
require_paths:
- lib
After "make extract", remove the "- lib" line, is it succeed to build and install?
From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/41743: www/merb installation error (NetBSD 4.0)
Date: Sat, 26 Sep 2009 23:29:06 +0700
Date: Sat, 26 Sep 2009 04:25:03 +0000 (UTC)
From: "OBATA Akio" <obache@NetBSD.org>
Message-ID: <20090926042503.2865363B850@www.NetBSD.org>
| After "make extract", remove the "- lib" line, is it succeed to build and install?
No, that makes no difference at all that I could detect. I have spent
a while playing around with this one, and I still have no idea what is
happening, I really don't even know what the "error code 1" is coming
from, it is just speculation that the message relating to the "lib" file
not found (which was several lines earlier in the build log) is related
to the actual problem.
I cannot even find where the
Installing ri documentation for merb-0.9.2...
message comes from (that's the line just before the error code) so I
really have no idea what might be failing here.
kre
State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 18 Jun 2015 07:14:15 +0000
State-Changed-Why:
Does this still happen? ISTR that the ruby version they happened with is no
longer in pkgsrc, but maybe I recall incorrectly...
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/41743 (www/merb installation error (NetBSD 4.0))
Date: Thu, 18 Jun 2015 07:15:06 +0000
On Thu, Jun 18, 2015 at 07:14:15AM +0000, dholland@NetBSD.org wrote:
> Synopsis: www/merb installation error (NetBSD 4.0)
>
> State-Changed-From-To: open->feedback
> State-Changed-By: dholland@NetBSD.org
> State-Changed-When: Thu, 18 Jun 2015 07:14:15 +0000
> State-Changed-Why:
> Does this still happen? ISTR that the ruby version they happened with is no
> longer in pkgsrc, but maybe I recall incorrectly...
"they" meaning "failures like this", which there have been a lot of.
--
David A. Holland
dholland@netbsd.org
State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 01 May 2016 05:50:09 +0000
State-Changed-Why:
feedback timeout
>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.