NetBSD Problem Report #34827
From kre@munnari.OZ.AU Sun Oct 15 13:22:16 2006
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 4B90063B84D
for <gnats-bugs@gnats.NetBSD.org>; Sun, 15 Oct 2006 13:22:16 +0000 (UTC)
Message-Id: <200610151320.k9FDKf0d003142@jade.coe.psu.ac.th>
Date: Sun, 15 Oct 2006 20:20:41 +0700 (ICT)
From: kre@munnari.OZ.AU
To: gnats-bugs@NetBSD.org
Subject: misc/edict - distinfo checksum does not match distfile
X-Send-Pr-Version: 3.95
>Number: 34827
>Category: pkg
>Synopsis: misc/edict - distinfo checksum does not match distfile
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: wiz
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Oct 15 13:25:00 +0000 2006
>Closed-Date: Sat Dec 09 08:21:04 +0000 2006
>Last-Modified: Sat Dec 09 08:21:04 +0000 2006
>Originator: Robert Elz
>Release: NetBSD 3.99.15 (pkgsrc current as of 4-5 hours ago)
>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:
Since the last misc/edict upgrade (early July - and you can
probably tell how important this package is to me by how long
it took me to even notice this problem...) I haven't managed to
fetch a distfile which matches that expected by the distinfo
file. What's more, the file I no fetch is not the same as one
I fetched in July - though neither is what the distinfo expects.
That suggests perhaps this file might be a moving target.
>How-To-Repeat:
mv .../distfiles/edict-2006.002/edict.gz /somewhere/safe/.
cd .../pkgsrc/misc/edict
make checksum
>Fix:
Not sure... The file seems stable today, but ...
if it truly is a moving target, then pick a version, any
version, stick that on ftp.netbsd.org, and make that be the
sole master site. Alternatively, just update the distinfo
(and DIST_SUBDIR most probably). (perhaps check that the
package still builds with the current offering).
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->wiz
Responsible-Changed-By: cube@netbsd.org
Responsible-Changed-When: Mon, 16 Oct 2006 21:05:44 +0000
Responsible-Changed-Why:
wiz is the maintainer.
From: Thomas Klausner <wiz@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/34827 CVS commit: pkgsrc/misc
Date: Fri, 8 Dec 2006 16:59:56 +0000 (UTC)
Module Name: pkgsrc
Committed By: wiz
Date: Fri Dec 8 16:59:56 UTC 2006
Modified Files:
pkgsrc/misc/JMdict: Makefile distinfo
pkgsrc/misc/edict: Makefile PLIST distinfo
pkgsrc/misc/kanjidic: Makefile distinfo
pkgsrc/misc/kanjidic2: Makefile distinfo
Log Message:
Update to today's snapshot. Use distfiles from ftp.NetBSD.org, since
they change daily. Add a comment with update instructions.
Daily changes are not documented, so I'm not sure what changed to the
previous version.
Addresses PR 34827 and joerg's complaints.
To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 pkgsrc/misc/JMdict/Makefile pkgsrc/misc/JMdict/distinfo
cvs rdiff -r1.6 -r1.7 pkgsrc/misc/edict/Makefile
cvs rdiff -r1.2 -r1.3 pkgsrc/misc/edict/PLIST
cvs rdiff -r1.5 -r1.6 pkgsrc/misc/edict/distinfo
cvs rdiff -r1.6 -r1.7 pkgsrc/misc/kanjidic/Makefile
cvs rdiff -r1.5 -r1.6 pkgsrc/misc/kanjidic/distinfo
cvs rdiff -r1.5 -r1.6 pkgsrc/misc/kanjidic2/Makefile
cvs rdiff -r1.6 -r1.7 pkgsrc/misc/kanjidic2/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->feedback
State-Changed-By: wiz@netbsd.org
State-Changed-When: Fri, 08 Dec 2006 17:01:36 +0000
State-Changed-Why:
Should work now, since I made it use distfiles from
ftp.netbsd.org. Does it work for you?
From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/34827 (misc/edict - distinfo checksum does not match distfile)
Date: Sat, 09 Dec 2006 13:14:16 +0700
Date: Fri, 8 Dec 2006 17:01:37 +0000 (UTC)
From: wiz@NetBSD.org
Message-ID: <20061208170137.4402763BA6F@narn.NetBSD.org>
| Synopsis: misc/edict - distinfo checksum does not match distfile
|
| State-Changed-From-To: open->feedback
| State-Changed-By: wiz@netbsd.org
| State-Changed-When: Fri, 08 Dec 2006 17:01:36 +0000
| State-Changed-Why:
| Should work now, since I made it use distfiles from
| ftp.netbsd.org. Does it work for you?
For misc/edict and misc/JMdict your fix works fine, and is the
right way to handle it I believe.
For misc/kanjidic and misc/kanjidic2 the (same) method is correct,
but there's a typo in the Makefile(s) for the two packages, they
both need the following patch applied. With this, they're fine too.
Thanks,
kre
ps: patch made with -u1 purposely to allow the same patch to apply
to both Makefiles. Of course, it's probably just as easy (or easier)
to delete the stray 'S' with an editor...
Index: Makefile
===================================================================
RCS file: /cvsroot/NetBSD/pkgsrc/misc/kanjidic/Makefile,v
retrieving revision 1.7
diff -u -1 -r1.7 Makefile
--- Makefile 8 Dec 2006 16:59:56 -0000 1.7
+++ Makefile 9 Dec 2006 06:02:29 -0000
@@ -11,3 +11,3 @@
CATEGORIES= japanese misc
-MASTER_SITES= ${MASTER_SITES_LOCAL:=${PKGNAME_NOREV}/}
+MASTER_SITES= ${MASTER_SITE_LOCAL:=${PKGNAME_NOREV}/}
OMASTER_SITES= ftp://ftp.cc.monash.edu.au/pub/nihongo/
State-Changed-From-To: feedback->closed
State-Changed-By: wiz@netbsd.org
State-Changed-When: Sat, 09 Dec 2006 08:21:04 +0000
State-Changed-Why:
Fixed, thanks for the feedback!
>Unformatted:
(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.