NetBSD Problem Report #42819

From kre@munnari.OZ.AU  Mon Feb 15 13:59:06 2010
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 82BAF63B8DE
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 15 Feb 2010 13:59:06 +0000 (UTC)
Message-Id: <201002151358.o1FDwwFh008679@jade.coe.psu.ac.th>
Date: Mon, 15 Feb 2010 20:58:58 +0700 (ICT)
From: kre@munnari.OZ.AU
To: gnats-bugs@gnats.NetBSD.org
Subject: databases/ruby-activeldap distfile checksum error
X-Send-Pr-Version: 3.95

>Number:         42819
>Category:       pkg
>Synopsis:       databases/ruby-activeldap distfile checksum error
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    taca
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 15 14:00:00 +0000 2010
>Closed-Date:    Tue Feb 16 14:02:39 +0000 2010
>Last-Modified:  Tue Feb 16 14:02:39 +0000 2010
>Originator:     Robert Elz
>Release:        pkgsrc current as of 2010-02-15
>Organization:
	Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 5.0.2 NetBSD 5.0.2 (JADE-$Revision: 1.12 $) #17: Fri Feb 12 18:27:01 ICT 2010 kre@jade.coe.psu.ac.th:/usr/obj/5/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
	The distfile (gem) available from the master site for
	databases/ruby-activeldap (version 1.2.1 - the newly updated one)
	doesn't match the checksum in the distinfo file.

>How-To-Repeat:
	mv ..../distfiles/activeldap-1.2.1.gem /somewhere/safe
	cd ..../pkgsrc/databases/ruby-activeldap
	make checksum

>Fix:
	Find out what changed between the distfile used to make the
	package, and the one currently available.   If everything
	looks OK, just update the distinfo file.   No need to bother
	with a DIST_SUBDIR in this case - it appears as if there
	have been two versions of 1.2.1, one Dec 15 (2009), the other
	Dec 16 (2009).   Only the latter is available now, but I'd
	guess that this package was made from the former.   Given the
	short window when the old distfile was available, and that it
	was (almost) 2 months before pkgsrc started requesting this
	distfile, the chances that anyone (except perhaps one) has the
	version matching the distinfo file are close enough to zero to ignore.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->taca
Responsible-Changed-By: taca@NetBSD.org
Responsible-Changed-When: Mon, 15 Feb 2010 14:47:38 +0000
Responsible-Changed-Why:
I'll take it.


State-Changed-From-To: open->analyzed
State-Changed-By: taca@NetBSD.org
State-Changed-When: Tue, 16 Feb 2010 03:10:38 +0000
State-Changed-Why:
I confirm the situation.


State-Changed-From-To: analyzed->feedback
State-Changed-By: taca@NetBSD.org
State-Changed-When: Tue, 16 Feb 2010 03:16:57 +0000
State-Changed-Why:
ruby-activeldap 1.2.1nb1 should be fix this problem.



From: Takahiro Kambe <taca@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/42819 CVS commit: pkgsrc/databases/ruby-activeldap
Date: Tue, 16 Feb 2010 03:15:11 +0000

 Module Name:	pkgsrc
 Committed By:	taca
 Date:		Tue Feb 16 03:15:11 UTC 2010

 Modified Files:
 	pkgsrc/databases/ruby-activeldap: Makefile distinfo

 Log Message:
 Distfile has changed with the same file name.
 It changes some Ruby gem dependency only.

 Introduce DIST_SUBDIR and update dependency of this package.

 Should be fix PR pkg/42819 by Robert Elz.


 To generate a diff of this commit:
 cvs rdiff -u -r1.2 -r1.3 pkgsrc/databases/ruby-activeldap/Makefile \
     pkgsrc/databases/ruby-activeldap/distinfo

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/42819 (databases/ruby-activeldap distfile checksum error)
Date: Tue, 16 Feb 2010 16:36:05 +0700

     Date:        Tue, 16 Feb 2010 03:16:58 +0000 (UTC)
     From:        taca@NetBSD.org
     Message-ID:  <20100216031658.8974963C356@www.NetBSD.org>

   | ruby-activeldap 1.2.1nb1 should be fix this problem.

 It does, thanks - though I still do not believe that either a revbump
 or a DIST_SUBDIR was needed in this particular case (in other similar
 cases, yes, but unless this version was availabe in -wip, I don't think
 it was possible for anyone, except you, to have ever had the earlier
 stuff - and I think you could have handled it...)

 kre

From: Takahiro Kambe <taca@back-street.net>
To: gnats-bugs@NetBSD.org, kre@munnari.OZ.AU
Cc: taca@NetBSD.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/42819 (databases/ruby-activeldap distfile checksum error)
Date: Tue, 16 Feb 2010 21:10:23 +0900 (JST)

 In message <20100216094003.C6B5F63B11D@www.NetBSD.org>
 	on Tue, 16 Feb 2010 09:40:03 +0000 (UTC),
 	Robert Elz <kre@munnari.OZ.AU> wrote:
 >    | ruby-activeldap 1.2.1nb1 should be fix this problem.
 >  
 >  It does, thanks - though I still do not believe that either a revbump
 >  or a DIST_SUBDIR was needed in this particular case (in other similar
 >  cases, yes, but unless this version was availabe in -wip, I don't think
 >  it was possible for anyone, except you, to have ever had the earlier
 >  stuff - and I think you could have handled it...)
 It is true that it looks like format revbump but dependency change
 affects content of binary package.

 Yes, it is purely-formal revbump.  :-)

 -- 
 Takahiro Kambe <taca@back-street.net>

From: Robert Elz <kre@munnari.OZ.AU>
To: Takahiro Kambe <taca@back-street.net>
Cc: gnats-bugs@NetBSD.org, taca@NetBSD.org, gnats-admin@NetBSD.org,
        pkgsrc-bugs@NetBSD.org
Subject: Re: pkg/42819 (databases/ruby-activeldap distfile checksum error)
Date: Tue, 16 Feb 2010 19:30:51 +0700

     Date:        Tue, 16 Feb 2010 21:10:23 +0900 (JST)
     From:        Takahiro Kambe <taca@back-street.net>
     Message-ID:  <20100216.211023.71560628.taca@back-street.net>

   | It is true that it looks like format revbump but dependency change
   | affects content of binary package.

 Yes, I understand - my point was that no-one but you could
 have ever seen one of the earlier version binary packages.
 For all the rest of us, the earlier one never existed.

 The revbump though is (aside from making an uglier package name) entirely
 harmless, the DIST_SUBDIR causes (caused) those of us who had fetched
 the distfile earlier and gotten the new one to have to fetch it again,
 for no particularly good purpose - so when it is acceptable to avoid that
 (when no-one using pkgsrc could possibly have gotten the earlier
 distfile), I'd generally avoid using a DIST_SUBDIR.   Use it when any
 pkgsrc user could have fetched the earlier version (when the master site
 changes it after the package exists, for example.)   The existence of the
 old distfile on ftp.netbsd.org is going to be a guarantee that a DIST_SUBDIR
 is needed, its absence is a hint that it might not be.

 kre

State-Changed-From-To: feedback->closed
State-Changed-By: taca@NetBSD.org
State-Changed-When: Tue, 16 Feb 2010 14:02:39 +0000
State-Changed-Why:
Submitter confimed it fixed.  Thanks for your problem report.



>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.