Gentoo Archives: gentoo-user

From: Dan Farrell <dan@×××××××××.cx>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] -x11-proto/xineramaproto Digest verification failed
Date: Sun, 09 Sep 2007 02:23:19
Message-Id: 20070908210756.707630e6@pascal.spore.ath.cx
In Reply to: Re: [gentoo-user] -x11-proto/xineramaproto Digest verification failed by Herbert Laubner
1 On Sat, 8 Sep 2007 19:11:11 +0200
2 Herbert Laubner <laubner@×××.net> wrote:
3
4 > See message below:
5 >
6 > Herbert Laubner <laubner@×××.net> posted
7 > 44213F29-50C9-4EFF-8914-8444389095DA@×××.net, excerpted below, on
8 > Sat, 08
9 > Sep 2007 10:14:01 +0200:
10 >
11 >
12 > > I am installing xorg-x11 on an amd64 machine.
13 > >
14 > > On xextproto-7.0.2 the digest verification failed. Is there a change
15 > > giong on or is there a bugy file on the server?
16 > >
17 >
18 > The digest on the ebuild itself or a different file? If it's the
19 > ebuild or something in the synced tree, try resyncing, and if that
20 > doesn't work,
21 > you can wait a day and try again, or verify against the file at
22 > http://viewcvs.gentoo.org and redigest if you trust the results.
23 > (Note that the viewcvs version won't exactly match either, or didn't
24 > last I had
25 > to use it, as its source tracking lines are slightly different. You
26 > can verify the actual code, however, line by line or by downloading
27 > and with a diff.) If the viewcvs version is the same but for the
28 > source tracking lines, check for a bug and file one if there's none
29 > filed. There's a known issue in instances when an ebuild was in the
30 > tree (likely never unmasked), removed, and then later added again at
31 > the same version, where
32 > the system gets mixed up and the digest doesn't match. The size is
33 > off by a specific small amount, 4 or 6 bytes, IIRC. That's the most
34 > common reason for a no-match not attributable to a bad sync, and one
35 > the Gentoo maintainer is often not aware of until he gets a bug about
36 > it.
37 >
38 > If it's something in distfiles (basically, if it's one of the
39 > tarballs), delete it from your distfiles cache and try again. It may
40 > have been a problem in the download. If that doesn't fix it, check
41 > bugs and file one
42 > if necessary.
43 >
44 > FWIW, my last sync was a couple days ago (well, three, Sept. 5, early
45 > morning US), but updated as of then, xextproto-7.0.2.ebuild has a
46 > ctime of Feb 6, an mtime of Feb 4, so it has been around for awhile.
47 > The Manifest file likewise, so no distfile changes since then,
48 > either. I did
49 > a total rebuild (emerge -e world) back in May (wow, has it been /that/
50 > long since gcc 4.2? seems so!), so that's when I last emerged it.
51 > The tar.bz2 distfile should be 68323 bytes, the ebuild 444.
52 >
53 > Hmmm! "Houston. We have a problem!"
54 >
55 > I just synced to double-check, and while the version remained the same
56 > and neither the ebuild nor the changelog changed, the Manifest did.
57 > When
58 > I looked at it above, it wasn't yet signed. It looks like they gpg-
59 > signed it (a part of the security they are gradually implementing in
60 > the tree), but when they did, something happened to the
61 > distfile/tarball size. Above, it was 68323, now it says 68342, yet
62 > the version number is the same! That should NOT happen!
63 >
64 > The previous one should I believe be the correct one. If you get
65 > 68323 bytes and an md5sum of 242388ab65dde3a3dd313eeee265e429,
66 > it /should/ be reasonably safe (but still it's your decision whether
67 > the risk is worth it) to go ahead and redigest and merge it, as
68 > that's probably the real one -- it agrees with what I have here.
69 >
70 > Looks like there's already a bug on it (from last year):
71 > http://bugs.gentoo.org/show_bug.cgi?id=150225
72 >
73 > Seems upstream (xorg) silently changed the tarball without changing
74 > the version number... back in 2006. Maybe they pulled the same trick
75 > once again (I see a passel of X updates waiting... on ~amd64,
76 > probably not so many for stable... just checked, xorg 7.3 released on
77 > the sixth, must be that). If so, it may be a bit before all sources
78 > locations have the correct file, since the version didn't change, so
79 > even deleting the tarball and redownloading might not get you the new
80 > one for a few days.
81 >
82 > FWIW, deleting and redownloading, I get the 68323 byte version, same
83 > as before. Maybe it's time for a new bug? Double-checking, yes,
84 > it's time for a new bug, as downloading manually directly from (as
85 > gotten from the ebuild, followed to the eclass):
86 >
87 > http://xorg.freedesktop.org/releases/individual/proto/
88 >
89 > results in a file exactly 68323 bytes long, the old size. Thus, the
90 > Manifest file seems to be wrong.
91 >
92 > OK, bug filed (with you credited as bringing it to my attention):
93 >
94 > http://bugs.gentoo.org/show_bug.cgi?id=191676
95 >
96
97 Problem solved now, anyway.
98 --
99 gentoo-user@g.o mailing list