NetBSD Problem Report #46421
From www@NetBSD.org Mon May 7 08:21:32 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
by www.NetBSD.org (Postfix) with ESMTP id C1CB063BD33
for <gnats-bugs@gnats.NetBSD.org>; Mon, 7 May 2012 08:21:32 +0000 (UTC)
Message-Id: <20120507082132.278C663B91F@www.NetBSD.org>
Date: Mon, 7 May 2012 08:21:32 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joern.clausen@uni-bielefeld.de
To: gnats-bugs@NetBSD.org
Subject: pkgtools/pkg_filecheck
X-Send-Pr-Version: www-1.0
>Number: 46421
>Category: pkg
>Synopsis: pkgtools/pkg_filecheck
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 07 08:25:00 +0000 2012
>Last-Modified: Tue May 08 06:08:00 +0000 2012
>Originator: Jörn Clausen
>Release:
>Organization:
University of Bielefeld
>Environment:
>Description:
pkgtools/pkg_filecheck does not work on Solaris 10 (though it compiles out of the box, see/close pkg/42145):
$ pkg_filecheck
__db_meta_setup: /usr/pkgsrc/20120411/var/db/pkg/pkgdb.byfile.db: unexpected file type or format
Although "file" does not recognize it as a DB file, is has the same initial bytes as the corresponding file on a NetBSD machine. pkg_filecheck is linked against databases/db4 (4.8.30).
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Mon, 07 May 2012 09:20:48 +0000
Responsible-Changed-Why:
Solaris pkgsrc PR
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/46421 (pkgtools/pkg_filecheck)
Date: Mon, 07 May 2012 18:33:24 +0900
On Mon, 07 May 2012 18:20:50 +0900, <wiz@netbsd.org> wrote:
> Solaris pkgsrc PR
I feel this is not a Solaris related issue.
pkgtools/pkg_install will be built with bdb from pkgtools/libnbcompat,
but pkgtools/pkg_filecheck is using mk/bdb.buildlink3.mk.
So this issue affect any platforms missing builtin db1.
--
OBATA Akio / obache@NetBSD.org
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/46421 (pkgtools/pkg_filecheck)
Date: Tue, 8 May 2012 02:59:57 +0000
On Mon, May 07, 2012 at 09:35:03AM +0000, OBATA Akio wrote:
> > Solaris pkgsrc PR
>
> I feel this is not a Solaris related issue.
>
> pkgtools/pkg_install will be built with bdb from pkgtools/libnbcompat,
> but pkgtools/pkg_filecheck is using mk/bdb.buildlink3.mk.
> So this issue affect any platforms missing builtin db1.
concur
--
David A. Holland
dholland@netbsd.org
Responsible-Changed-From-To: solaris-pkg-people->pkg-manager
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Tue, 08 May 2012 06:08:00 +0000
Responsible-Changed-Why:
Popular sentiment is that it's not Solaris specific.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.36 2007/11/24 03:27:39 kano 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.