Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ports/179676: deskutils/org-mode.el: checksum mismatch

0 views
Skip to first unread message

John Marino

unread,
Jun 18, 2013, 4:29:28 AM6/18/13
to

>Number: 179676
>Category: ports
>Synopsis: deskutils/org-mode.el: checksum mismatch
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Jun 18 08:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: John Marino
>Release:
>Organization:
>Environment:
>Description:
Maybe the distfile was rerolled?

===> Fetching all distfiles required by org-mode.el-emacs24-7.8.11_3 for building
=> SHA256 Checksum mismatch for org-7.8.11.tar.gz.
===> Refetch for 1 more times files: org-7.8.11.tar.gz
===> org-mode.el-emacs24-7.8.11_3 depends on file: /usr/local/sbin/pkg - found
=> org-7.8.11.tar.gz doesn't seem to exist in /usr/distfiles/.
=> Attempting to fetch http://orgmode.org/org-7.8.11.tar.gz
===> Fetching all distfiles required by org-mode.el-emacs24-7.8.11_3 for building
===> org-mode.el-emacs24-7.8.11_3 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by org-mode.el-emacs24-7.8.11_3 for building
=> SHA256 Checksum mismatch for org-7.8.11.tar.gz.
===> Giving up on fetching files: org-7.8.11.tar.gz
>How-To-Repeat:

>Fix:
check and regenerate distinfo, bump rev

>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-p...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "freebsd-ports-b...@freebsd.org"

ed...@freebsd.org

unread,
Jun 18, 2013, 4:30:08 AM6/18/13
to
Synopsis: deskutils/org-mode.el: checksum mismatch

State-Changed-From-To: open->feedback
State-Changed-By: edwin
State-Changed-When: Tue Jun 18 08:30:07 UTC 2013
State-Changed-Why:
Awaiting maintainers feedback (via the GNATS Auto Assign Tool)

http://www.freebsd.org/cgi/query-pr.cgi?pr=179676

Edwin Groothuis

unread,
Jun 18, 2013, 4:40:00 AM6/18/13
to
The following reply was made to PR ports/179676; it has been noted by GNATS.

From: Edwin Groothuis <ed...@FreeBSD.org>
To: jh...@symmetricom.com
Cc: bug-fo...@FreeBSD.org
Subject: Re: ports/179676: deskutils/org-mode.el: checksum mismatch
Date: Tue, 18 Jun 2013 08:30:07 UT

Maintainer of deskutils/org-mode.el,

Please note that PR ports/179676 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/179676

--
Edwin Groothuis via the GNATS Auto Assign Tool
ed...@FreeBSD.org

John Hein

unread,
Jun 18, 2013, 9:30:00 AM6/18/13
to
The following reply was made to PR ports/179676; it has been noted by GNATS.

From: John Hein <jh...@symmetricom.com>
To: <bug-fo...@FreeBSD.org>
Cc: <jh...@symmetricom.com>
Subject: Re: ports/179676: deskutils/org-mode.el: checksum mismatch
Date: Tue, 18 Jun 2013 07:27:21 -0600

Well, dryice@ updated it in ports/168944 (I never got any notice about that
from him or from gnats - I'm not sure how that came to pass).

I never saw or approved 168944. The 168944 changes seems mostly fine,
but I never got a 7.8.11 distfile, so I have no original to check
against.

That said, however, when I do a fresh 'make fetch' now, the tarball
looks fine to me...

% ls -al org-7.8.11.tar.gz
-rw-r--r-- 1 jhein jhein 3303681 May 25 2012 org-7.8.11.tar.gz
% sha256 org-7.8.11.tar.gz
SHA256 (org-7.8.11.tar.gz) = 2f6a69aaff5cd66162a9a1a6df900c6050434bced1bbc7eea715b5579a0487c1
% stat -x org-7.8.11.tar.gz
File: "org-7.8.11.tar.gz"
Size: 3303681 FileType: Regular File
Mode: (0644/-rw-r--r--) Uid: ( 600/ jhein) Gid: ( 600/ jhein)
Device: 255,84213786 Inode: 45941811 Links: 1
Access: Tue Jun 18 07:21:57 2013
Modify: Fri May 25 15:12:58 2012
Change: Tue Jun 18 07:19:43 2013


John Marino, maybe you have a partial tarball (from an interrupted
fetch, perhaps)? Try moving it away and running 'make fetch' again.

John Marino

unread,
Jun 18, 2013, 9:40:01 AM6/18/13
to
The following reply was made to PR ports/179676; it has been noted by GNATS.

From: John Marino <dr...@marino.st>
To: John Hein <jh...@symmetricom.com>
Cc: bug-fo...@FreeBSD.org, dry...@freebsd.org
Subject: Re: ports/179676: deskutils/org-mode.el: checksum mismatch
Date: Tue, 18 Jun 2013 15:38:56 +0200

On 6/18/2013 15:27, John Hein wrote:
> Well, dryice@ updated it in ports/168944 (I never got any notice about that
> from him or from gnats - I'm not sure how that came to pass).
>
> I never saw or approved 168944. The 168944 changes seems mostly fine,
> but I never got a 7.8.11 distfile, so I have no original to check
> against.
>
> That said, however, when I do a fresh 'make fetch' now, the tarball
> looks fine to me...
>
> John Marino, maybe you have a partial tarball (from an interrupted
> fetch, perhaps)? Try moving it away and running 'make fetch' again.


No, the dryice commit was in July-2012. org-mode.el fetched and built
fine as of two months ago.

'make fetch' is meaningless. You can fetch with a bad checksum. It's
'make checksum' that has to pass.

The fetch was not interrupted. There's no partial file.
"make checksum" continues to fail.

John, please retry but with "make checksum" instead of "make fetch".

Thanks,
John

Bryan Drewery

unread,
Jun 18, 2013, 10:20:01 AM6/18/13
to
The following reply was made to PR ports/179676; it has been noted by GNATS.

From: Bryan Drewery <bdre...@FreeBSD.org>
To: bug-fo...@FreeBSD.org, dr...@marino.st,
John Hein <jh...@symmetricom.com>
Cc:
Subject: Re: ports/179676: deskutils/org-mode.el: checksum mismatch
Date: Tue, 18 Jun 2013 09:12:57 -0500

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
------enig2VFBDKUEWENCXQGJUSTKP
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Looks fine to me as well.

> ~/freebsd/ports.clean/deskutils/org-mode.el $ make checksum
> =3D=3D=3D> org-mode.el-emacs24-7.8.11_3 depends on file:
> /usr/local/sbin/pkg - found
> =3D> org-7.8.11.tar.gz doesn't seem to exist in /tmp/distfiles/.
> =3D> Attempting to fetch http://orgmode.org/org-7.8.11.tar.gz
> org-7.8.11.tar.gz 100% of 3226 kB 1269 kBps=

> =3D=3D=3D> Fetching all distfiles required by org-mode.el-emacs24-7.8.1=
1_3
> for building
> =3D> SHA256 Checksum OK for org-7.8.11.tar.gz.


--=20
Regards,
Bryan Drewery



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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIbBAEBAgAGBQJRwGrtAAoJEG54KsA8mwz5Bw8P90Ay/CA0tX+b0bIBzjVG443f
He3yP618HymBbfu3YXZ0/Y/C3z7auclRb+lgIWZldH5vP/V23/T2k/I7RddhZIGD
Qcv4mioKzuO4xVll1EIbN4H/lrdxxhIQnMlgkJKBlF3JAq9USlirlpXSPxvK0TTt
KlmxHxgP5Xss3KljsJx8BPMmz2jDjxfjRCd2wfF3jUfKj0gtxhxta0P37mEkCsve
iGeFowhdZHa85GZ9mfO3K8KNanx2OmXn7+e4Gfkey7TEUtv9W129IqKw712KFiL9
53TkFDQq3DX7tXvAVGMn3VW7fbgk2uQ4D3pyRnjVGFGIjtwr6vE+V9xKz8xmbqKf
zI3XYhP4wKrTtFqIHILUtVyM8r2yUR2WGU7eXqgTU3wYzUqXtd8Cv9y9axY0beyU
LAIJ36LsCiqhxbtEZhFD21FpXPuOeEce8FlysD/u3DO+SjpM7cLmQR0nOCSzsAxK
8WCuR9hTHrlt6m8dJ3lJPNvc62RMj8kWJ8P4XrK4kkASNURiV6gGOl+1cug2uIDL
Gcj9H0UT3dpCsqfAdjB/ZdUIitvorO1FznzS+XxP2sstzrSon600PCBFcaSW/MyE
dbEIGtyxNd3VuhZzuacCjAmHefAiNYeUd96OEdQwh1G5k9ThytZNHwK7aq1wylSJ
+RzZi8lKi+hov+C8qBs=
=2Qcn
-----END PGP SIGNATURE-----

------enig2VFBDKUEWENCXQGJUSTKP--

John Hein

unread,
Jun 18, 2013, 10:20:02 AM6/18/13
to
The following reply was made to PR ports/179676; it has been noted by GNATS.

From: John Hein <jh...@symmetricom.com>
To: John Marino <dr...@marino.st>
Cc: <bug-fo...@FreeBSD.org>, <dry...@freebsd.org>
Subject: Re: ports/179676: deskutils/org-mode.el: checksum mismatch
Date: Tue, 18 Jun 2013 08:09:56 -0600

John Marino wrote at 15:38 +0200 on Jun 18, 2013:
> On 6/18/2013 15:27, John Hein wrote:
> > Well, dryice@ updated it in ports/168944 (I never got any notice about that
> > from him or from gnats - I'm not sure how that came to pass).
> >
> > I never saw or approved 168944. The 168944 changes seems mostly fine,
> > but I never got a 7.8.11 distfile, so I have no original to check
> > against.
> >
> > That said, however, when I do a fresh 'make fetch' now, the tarball
> > looks fine to me...
> >
> > John Marino, maybe you have a partial tarball (from an interrupted
> > fetch, perhaps)? Try moving it away and running 'make fetch' again.
>
> No, the dryice commit was in July-2012. org-mode.el fetched and built
> fine as of two months ago.

'No' to what? You don't have a partial tarball? Can you provide
ls(1) or stat(1) output? Manual sha256(1)?

I know when it was committed. I do understand you think an upstream
re-roll may have occurred. I am trying to check that for you and
have documented what I've found so far.


> 'make fetch' is meaningless. You can fetch with a bad checksum. It's
> 'make checksum' that has to pass.
>
> The fetch was not interrupted. There's no partial file.
> "make checksum" continues to fail.
>
> John, please retry but with "make checksum" instead of "make fetch".

I didn't say 'make fetch' ran the checksum. I said the tarball looked
fine to me and included the manual sha256(1) and ls(1) output to prove
it. But for your edification...

% make checksum
===> Fetching all distfiles required by org-mode.el-emacs24-7.8.11_3 for building
=> SHA256 Checksum OK for org-7.8.11.tar.gz.

Did you try to do what I asked - move away your tarball and re-run
'make fetch' (or 'make checksum' if you wish)? If so, is the
tarball still failing the checksum? Can you include your output
(which will show the fetch URL).


Do you have a record of your original fetch (i.e., the output of the
fetch showing success and where it came from)?

When I fetched, it came from http://orgmode.org/org-7.8.11.tar.gz

% curl http://orgmode.org/org-7.8.11.tar.gz | sha256
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3226k 100 3226k 0 0 126k 0 0:00:25 0:00:25 --:--:-- 142k
2f6a69aaff5cd66162a9a1a6df900c6050434bced1bbc7eea715b5579a0487c1

That matches the sha256 in distinfo.

If your tarball's size matches, but the sha256 doesn't, we can find out
where with a hex dump of the file. Post output of 'hd org-7.8.11.tar.gz'
somewhere or send in private mail, and I will check against mine.

John Marino

unread,
Jun 18, 2013, 10:50:00 AM6/18/13
to
The following reply was made to PR ports/179676; it has been noted by GNATS.

From: John Marino <dr...@marino.st>
To: John Hein <jh...@symmetricom.com>, bug-fo...@FreeBSD.org
Cc:
Subject: Re: ports/179676: deskutils/org-mode.el: checksum mismatch
Date: Tue, 18 Jun 2013 16:42:55 +0200

On 6/18/2013 16:09, John Hein wrote:
> Did you try to do what I asked - move away your tarball and re-run
> 'make fetch' (or 'make checksum' if you wish)? If so, is the
> tarball still failing the checksum? Can you include your output
> (which will show the fetch URL).

I checked and there was no tarball to move away --- so I thought.
I checked the distinfo name again and this time I found the file ,
deleted it, and yes this time "make checksum" passed.

Since I think this is strange, I grepped all the distinfo files in case
another port's tarball overwrote this one, but I didn't find anything
like that.

Sorry. I did actually try to delete it before.
This is the first case I've seen of a corrupt tarball. The server in
question is at a data center with a large pipe so I'm not sure how the
tarball got corrupted.

JOhn

John Hein

unread,
Jun 18, 2013, 11:40:02 AM6/18/13
to
The following reply was made to PR ports/179676; it has been noted by GNATS.

From: John Hein <jh...@symmetricom.com>
To: John Marino <dr...@marino.st>
Cc: <bug-fo...@FreeBSD.org>
Subject: Re: ports/179676: deskutils/org-mode.el: checksum mismatch
Date: Tue, 18 Jun 2013 09:38:33 -0600

John Marino wrote at 16:42 +0200 on Jun 18, 2013:
> On 6/18/2013 16:09, John Hein wrote:
> > Did you try to do what I asked - move away your tarball and re-run
> > 'make fetch' (or 'make checksum' if you wish)? If so, is the
> > tarball still failing the checksum? Can you include your output
> > (which will show the fetch URL).
>
> I checked and there was no tarball to move away --- so I thought.
> I checked the distinfo name again and this time I found the file ,
> deleted it, and yes this time "make checksum" passed.
>
> Since I think this is strange, I grepped all the distinfo files in case
> another port's tarball overwrote this one, but I didn't find anything
> like that.
>
> Sorry. I did actually try to delete it before.
> This is the first case I've seen of a corrupt tarball. The server in
> question is at a data center with a large pipe so I'm not sure how the
> tarball got corrupted.

Okay. It happens. Sometimes it's a network timeout that you
didn't notice. Could be a half dozen other reasons.
If you don't have a log of the original run, it may be hard
to tell what the cause was.

gnats bug-meisters, please close this PR.

John Marino

unread,
Jun 18, 2013, 11:50:01 AM6/18/13
to
The following reply was made to PR ports/179676; it has been noted by GNATS.

From: John Marino <dr...@marino.st>
To: John Hein <jh...@symmetricom.com>
Cc: bug-fo...@FreeBSD.org
Subject: Re: ports/179676: deskutils/org-mode.el: checksum mismatch
Date: Tue, 18 Jun 2013 17:42:33 +0200

On 6/18/2013 17:38, John Hein wrote:
> Okay. It happens. Sometimes it's a network timeout that you
> didn't notice. Could be a half dozen other reasons.
> If you don't have a log of the original run, it may be hard
> to tell what the cause was.

My assumption is that the log was the original one. However, thinking
about it, the server crashed twice and poudriere had to be restarted.
It's possible the server crashed during a fetch.

That's my best guess anyway.

yes the PR should be closed.

lin...@freebsd.org

unread,
Jun 18, 2013, 3:05:20 PM6/18/13
to
Synopsis: deskutils/org-mode.el: checksum mismatch

State-Changed-From-To: feedback->closed
State-Changed-By: linimon
State-Changed-When: Tue Jun 18 19:05:05 UTC 2013
State-Changed-Why:
Closed at submitter's request.

http://www.freebsd.org/cgi/query-pr.cgi?pr=179676
0 new messages