NetBSD Problem Report #37366

From kre@munnari.OZ.AU  Mon Nov 12 13:06:44 2007
Return-Path: <kre@munnari.OZ.AU>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 3E64863B8D7
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 12 Nov 2007 13:06:44 +0000 (UTC)
Message-Id: <200711121146.lACBk1J3013775@jade.coe.psu.ac.th>
Date: Mon, 12 Nov 2007 18:46:01 +0700 (ICT)
From: kre@munnari.OZ.AU
To: gnats-bugs@NetBSD.org
Subject: misc/ipbt distfile checksum error
X-Send-Pr-Version: 3.95

>Number:         37366
>Category:       pkg
>Synopsis:       misc/ipbt distfile checksum error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pooka
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 12 13:10:00 +0000 2007
>Closed-Date:    Sat Jan 02 00:30:10 +0000 2010
>Last-Modified:  Sat Jan 02 00:30:10 +0000 2010
>Originator:     Robert Elz
>Release:        NetBSD 3.99.15 (--pkgsrc current within past few hours)
>Organization:
	Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 3.99.15 NetBSD 3.99.15 (GENERIC-1.696-20060125) #8: Wed Jan 25 04:59:39 ICT 2006 kre@jade.coe.psu.ac.th:/usr/obj/current/kernels/JADE_ASUS i386
Architecture: i386
Machine: i386
>Description:
	The distfile that's available for misc/ipbt doesn't
	match what the distinfo in misc/ipbt expects.

	The same distfile is available from the master site and
	ftp.netbsd.org

>How-To-Repeat:
	# make sure you don't have an old distfile for ipbt
	# ie: mv ..../distfiles/ipbt-r7471.tar.gz /somewhere/safe
	cd ..../pkgsrc/misc/ipbt
	make checksum

>Fix:
	Find out what changed in the distfile, and if it is
	safe, update the distinfo.

	This problem has existed for a while now (in fact, as
	ftp.netbsd.org has the "bad" distfile, it has most
	likely been this way since the pkg was last updated,
	indicating the master site distfile was altered between
	when the maintainer fetched a copy to make the package
	and when that was complete and the package update was
	committed)

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->pooka
Responsible-Changed-By: obache@netbsd.org
Responsible-Changed-When: Tue, 13 Nov 2007 15:50:38 +0000
Responsible-Changed-Why:
Pooka imported this package and updated checksum.


From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/37366 CVS commit: pkgsrc/misc/ipbt
Date: Sun, 6 Dec 2009 23:32:56 +0000

 Module Name:	pkgsrc
 Committed By:	dholland
 Date:		Sun Dec  6 23:32:56 UTC 2009

 Modified Files:
 	pkgsrc/misc/ipbt: Makefile distinfo
 	pkgsrc/misc/ipbt/patches: patch-aa

 Log Message:
 Update to r8765.

 pkgsrc changes:
   - use REPLACE_PERL instead of hand-rolled sed
   - use ncursesw
   - make curses selection work
   - add INSTALLATION_DIRS

 upstream changes:
   Changes to support Unicode terminals. Link against ncursesw instead
   of ncurses, since the former knows how to translate ACS_ULCORNER et
   al into the right Unicode code points; also call setlocale() before
   starting up curses, so that it knows it has to.

 Also closes PR pkg/37366.


 To generate a diff of this commit:
 cvs rdiff -u -r1.2 -r1.3 pkgsrc/misc/ipbt/Makefile pkgsrc/misc/ipbt/distinfo
 cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/misc/ipbt/patches/patch-aa

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

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 06 Dec 2009 23:39:12 +0000
State-Changed-Why:
I updated the package.

I also compared the old distfile on ftp.n.o to the author's public SVN and
it seemed ok. I don't have whatever distfile pooka built the previous packag
e from, but if he wants to send it to me I can diff it against the others.


From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/37366 (misc/ipbt distfile checksum error)
Date: Mon, 07 Dec 2009 17:38:57 +0700

     Date:        Sun,  6 Dec 2009 23:39:12 +0000 (UTC)
     From:        dholland@NetBSD.org
     Message-ID:  <20091206233912.DD3B863C483@www.NetBSD.org>

   | I updated the package.

 But unfortunately the problem remains, the distfile for r8765 that
 can be fetched from the master site now is not the same distfile as
 the one you used to make the distinfo file ...

 I really think NetBSD needs to make a copy of some specific version
 of the distfile for this thing, and then pkgsrc can use that one, the
 change every day version on the master site is useless...

 Please re-open this PR until this is fixed properly.

 kre

State-Changed-From-To: closed->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Tue, 08 Dec 2009 03:00:15 +0000
State-Changed-Why:
#%@#$)@*&#)$*&#)$*!.


From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: pooka@NetBSD.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,
	kre@munnari.OZ.AU
Subject: Re: pkg/37366 (misc/ipbt distfile checksum error)
Date: Tue, 8 Dec 2009 03:27:16 +0000

 On Mon, Dec 07, 2009 at 10:40:03AM +0000, Robert Elz wrote:
  >  But unfortunately the problem remains, the distfile for r8765 that
  >  can be fetched from the master site now is not the same distfile as
  >  the one you used to make the distinfo file ...
  >  
  >  I really think NetBSD needs to make a copy of some specific version
  >  of the distfile for this thing, and then pkgsrc can use that one, the
  >  change every day version on the master site is useless...

 It looks like what it's doing is regenerating the man page every night
 from a cron script, so the timestamp is different every day.

 It looks like a feasible alternative to caching a distfile is to fetch
 from svn and checksum the individual files; the svn tree doesn't have
 the man page, but we could build it as we have his man page tool
 already (it's textproc/halibut)...  but while I thought we had some
 existing packages that checked trees out of anonymous cvs or whatever,
 I can't find any of them and that's not something I want to try to
 improvise.

 Maybe caching a distfile is a better idea...

 -- 
 David A. Holland
 dholland@netbsd.org

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 02 Jan 2010 00:30:10 +0000
State-Changed-Why:
this should now be fixed.


>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.