NetBSD Problem Report #51386

From kre@munnari.OZ.AU  Tue Aug  2 15:11:51 2016
Return-Path: <kre@munnari.OZ.AU>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id B200E7A20D
	for <gnats-bugs@www.NetBSD.org>; Tue,  2 Aug 2016 15:11:51 +0000 (UTC)
Message-Id: <201608021511.u72FBbN5023754@andromeda.noi.kre.to>
Date: Tue, 2 Aug 2016 22:11:37 +0700 (ICT)
From: kre@munnari.OZ.AU
To: gnats-bugs@www.NetBSD.org
Subject: textproc/jo distfile does not match distinfo
X-Send-Pr-Version: 3.95

>Number:         51386
>Category:       pkg
>Synopsis:       textproc/jo distfile does not match distinfo
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 02 15:15:00 +0000 2016
>Closed-Date:    Tue Aug 02 22:53:06 +0000 2016
>Last-Modified:  Tue Aug 02 23:40:01 +0000 2016
>Originator:     Robert Elz
>Release:        pkgsrc current (as of 2016-08-02) - since it was imported
>Organization:
>Environment:
System: NetBSD andromeda.noi.kre.to 7.99.26 NetBSD 7.99.26 (VBOX64-1.1-20160128) #43: Thu Jan 28 16:09:08 ICT 2016 kre@onyx.coe.psu.ac.th:/usr/obj/current/kernels/amd64/VBOX64 amd64
Architecture: x86_64
Machine: amd64
>Description:
	The distinfo file for textproc/jo claims the distfile should
	be 112488 bytes, but the file fetched from the master sie
	(and the various mirrors/fallbacks pkgsrc uses) is just 30165
	bytes.   (Unlike my previous similar PR -- pkg/51375 -- for this one,
	the distfile does not appear to be truncated, it decompresses and
	unpacks, though whether all is there that should be there I
	have no idea.  The ungzip'd version of the file is of a similar
	size (though not the same as) what is currently expected for the
	gzip'd version.)

>How-To-Repeat:
	If you have a 112488 byte distfile, save it somewhere.

	cd ..../pkgsrc/textproc/jo
	make checksum

>Fix:
	Either update the distinfo file, or find the correct distfile
	somewhere, which ever is the correct solution.

>Release-Note:

>Audit-Trail:
From: Kamil Rytarowski <n54@gmx.com>
To: gnats-bugs@NetBSD.org, gnats-bugs@NetBSD.org, fred@statdns.com
Cc: 
Subject: Re: pkg/51386: textproc/jo distfile does not match distinfo
Date: Tue, 2 Aug 2016 20:16:12 +0200

 This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
 --bRNmhDHPBd5RdxSprMo9hAfvGf26GjVAI
 Content-Type: multipart/mixed; boundary="S6XoXOHbS4OoOVsCMOisMW5v1QGPvcQLn"
 From: Kamil Rytarowski <n54@gmx.com>
 To: gnats-bugs@NetBSD.org, gnats-bugs@NetBSD.org, fred@statdns.com
 Message-ID: <f44fedde-d7c2-430a-b361-64863b9866cf@gmx.com>
 Subject: Re: pkg/51386: textproc/jo distfile does not match distinfo
 References: <pr-pkg-51386@gnats.netbsd.org>
  <201608021511.u72FBbN5023754@andromeda.noi.kre.to>
  <20160802151500.CDCD17A274@mollari.NetBSD.org>
 In-Reply-To: <20160802151500.CDCD17A274@mollari.NetBSD.org>

 --S6XoXOHbS4OoOVsCMOisMW5v1QGPvcQLn
 Content-Type: text/plain; charset=windows-1252
 Content-Transfer-Encoding: quoted-printable

 Ping of the maintainer.

 On 02.08.2016 17:15, kre@munnari.OZ.AU wrote:
 >> Number:         51386
 >> Category:       pkg
 >> Synopsis:       textproc/jo distfile does not match distinfo
 >> Confidential:   no
 >> Severity:       non-critical
 >> Priority:       medium
 >> Responsible:    pkg-manager
 >> State:          open
 >> Class:          sw-bug
 >> Submitter-Id:   net
 >> Arrival-Date:   Tue Aug 02 15:15:00 +0000 2016
 >> Originator:     Robert Elz
 >> Release:        pkgsrc current (as of 2016-08-02) - since it was impor=
 ted
 >> Organization:
 >> Environment:
 > System: NetBSD andromeda.noi.kre.to 7.99.26 NetBSD 7.99.26 (VBOX64-1.1-=
 20160128) #43: Thu Jan 28 16:09:08 ICT 2016 kre@onyx.coe.psu.ac.th:/usr/o=
 bj/current/kernels/amd64/VBOX64 amd64
 > Architecture: x86_64
 > Machine: amd64
 >> Description:
 > 	The distinfo file for textproc/jo claims the distfile should
 > 	be 112488 bytes, but the file fetched from the master sie
 > 	(and the various mirrors/fallbacks pkgsrc uses) is just 30165
 > 	bytes.   (Unlike my previous similar PR -- pkg/51375 -- for this one,
 > 	the distfile does not appear to be truncated, it decompresses and
 > 	unpacks, though whether all is there that should be there I
 > 	have no idea.  The ungzip'd version of the file is of a similar
 > 	size (though not the same as) what is currently expected for the
 > 	gzip'd version.)
 >=20
 >> How-To-Repeat:
 > 	If you have a 112488 byte distfile, save it somewhere.
 >=20
 > 	cd ..../pkgsrc/textproc/jo
 > 	make checksum
 >=20
 >> Fix:
 > 	Either update the distinfo file, or find the correct distfile
 > 	somewhere, which ever is the correct solution.
 >=20


 --S6XoXOHbS4OoOVsCMOisMW5v1QGPvcQLn--

 --bRNmhDHPBd5RdxSprMo9hAfvGf26GjVAI
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: OpenPGP digital signature
 Content-Disposition: attachment; filename="signature.asc"

 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2

 iQIcBAEBCAAGBQJXoON5AAoJEEuzCOmwLnZslfEP/RVwsrnlzG7A+ayGyJAM92mn
 pa7qx2ynHcL2sCTfHL4Xr6HSE7oyLmRL5Uxho+sdDcd9xHXDw1z1U8FJvLJu/dk2
 iZ05cxNUkqzmBFjOlh1vD0SlqWLEOBqXuigltmSzVJY0d0lHawLS7+y4pIr9dxlf
 +kGhF2Rkz/OVFzLnDGKvefWR/FQPgL5LUkhMtcvSX8FOmuJUZHzQcBhNMbSlwKyT
 w1uZuORezpmeeHcPRZh1lbt6cX4+ixiUbIdqRUzX7SCQ3pgQCL7y70jFhYOCI1Kh
 pe/P1IE/QW0DO/kDi7lIwphMl6RbeK4tyS81ymHcysC4Iiq118Vx7nzOZWWn752I
 3/frSr11LmzWDEwT1uFhZTKxzXyTGZPLfF9ZcNTGH3vo+WaR4qTSyKEI7oDrVER4
 LES4d3Ml/0xH4zEjAerDtFjOVrnsa74ubei5b9vI6FlMYr/G5CoJ3LknWFGtQuon
 /mtDUG3uQauFUXwlKZMrULnDVVg+yrmWcA/hwe2oUUQTEgbS9y1kuUwj4i9fE9rP
 TWAcZaCwJQi834ECIROl9zhesRo/Wj7ATJO8zgO6+CSJovn+bYzixT07F8M5xdYo
 vZkegG2Cxb6DLuHdX0w0T8WhxC12xtJ1UAWdFCc7kl2CwHJ0dftsa3CN9Fq4CUZU
 bYSHgdJf2L6tE1RT8iwF
 =HkGl
 -----END PGP SIGNATURE-----

 --bRNmhDHPBd5RdxSprMo9hAfvGf26GjVAI--

From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: pkg/51386: textproc/jo distfile does not match distinfo
Date: Tue, 2 Aug 2016 22:10:35 +0200

 On Tue, Aug 02, 2016 at 03:15:00PM +0000, kre@munnari.OZ.AU wrote:
 > >Number:         51386
 > >Category:       pkg
 > >Synopsis:       textproc/jo distfile does not match distinfo

 I've just uploaded my (correct) copy to ftp.netbsd.org.

 Ok to close?
  Thomas

From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51386: textproc/jo distfile does not match distinfo
Date: Wed, 03 Aug 2016 05:04:18 +0700

     Date:        Tue,  2 Aug 2016 20:15:00 +0000 (UTC)
     From:        Thomas Klausner <wiz@NetBSD.org>
     Message-ID:  <20160802201500.C8C4C7A284@mollari.NetBSD.org>

   |  I've just uploaded my (correct) copy to ftp.netbsd.org.
   |  Ok to close?

 I just tried again...

 Trying 2001:470:a085:999::21:80 ...
 Requesting http://ftp.NetBSD.org/pub/pkgsrc/distfiles/jo-1.0.tar.gz
 100% |***********************************| 30165       33.66 KiB/s    00:00 ETA
 30165 bytes retrieved in 00:00 (33.66 KiB/s)
 checksum: Checksum SHA1 mismatch for jo-1.0.tar.gz

 which looks to be the same file that was there before.    This fetch was
 at about 22:00 (UTC).

 kre

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Tue, 02 Aug 2016 22:53:06 +0000
State-Changed-Why:
Fixed on second try. Thanks for the PR.


From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51386: textproc/jo distfile does not match distinfo
Date: Wed, 03 Aug 2016 06:00:54 +0700

 For what it is worth, now that the big file is on f.n.o, the difference
 between the two appears that the bigger one includes configure (170KB of it)
 and the smaller one doesn't (they both contain configure.ac).  That one
 file probably accounts for the entire size difference (I did not bother to
 diff the contents, just eyeballed tar t output...)

 Whether that configure is used, or gets overwritten by one of he auto* tools
 I have no idea.

 The mod dates on the files in the smaller version also appear to have all
 been updated to Mar 11 22:23 whereas on the larger file they are spread
 around various times between Mar 8 and Mar 11 (nothing later than Mar 11
 11:23).

 It might be worth someone seeing if the small distfile might not be a
 better choice (and now that the big one is available, that would mean
 using a DIST_SUBDIR).

 kre

From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51386: textproc/jo distfile does not match distinfo
Date: Wed, 03 Aug 2016 06:15:20 +0700

     Date:        Tue,  2 Aug 2016 23:05:00 +0000 (UTC)
     From:        Robert Elz <kre@munnari.OZ.AU>
     Message-ID:  <20160802230500.F071B7A283@mollari.NetBSD.org>

   | (nothing later than Mar 11 11:23).

 I meant 22:23 (typo...)   Also on looking again I see the big file also
 has aclocal.m4 and Makefile.in (and perhaps more like that) which the
 small one lacks.

 kre

From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/51386 CVS commit: pkgsrc/textproc/jo
Date: Tue, 2 Aug 2016 23:35:46 +0000

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Tue Aug  2 23:35:46 UTC 2016

 Modified Files:
 	pkgsrc/textproc/jo: Makefile

 Log Message:
 Use github framework properly so PR 51386 can be avoided in the future.


 To generate a diff of this commit:
 cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/jo/Makefile

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

From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: pkg/51386: textproc/jo distfile does not match distinfo
Date: Wed, 3 Aug 2016 01:38:25 +0200

 On Tue, Aug 02, 2016 at 11:05:00PM +0000, Robert Elz wrote:
 >  For what it is worth, now that the big file is on f.n.o, the difference
 >  between the two appears that the bigger one includes configure (170KB of it)
 >  and the smaller one doesn't (they both contain configure.ac).  That one
 >  file probably accounts for the entire size difference (I did not bother to
 >  diff the contents, just eyeballed tar t output...)

 github provides the contents of the git repository for every tag.
 This is the file you saw.

 When packaging releases, the auto* tools include generated files like
 configure scripts so that downstreams don't need to have auto*
 installed. Well-behaved upstreams provide these tarballs, and jo is
 one of these. However, the github infrastructure in pkgsrc was used
 incorrectly, so the tag-tarball was downloaded, not the release one.

 I've just fixed that.
 Now the correct tarball will be fetched from github as well.
  Thomas

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