]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/Checksum_errors_on_the_pristine-tar_branch.mdwn
response
[ikiwiki.git] / doc / bugs / Checksum_errors_on_the_pristine-tar_branch.mdwn
1 I'm in the process of installing ikiwiki on my home page (hooray), and wants to have the newest stable version available. I suppose that's the one on the `pristine-tar` branch.
2
3 > You can check out the latest released version with:
4 >
5 >     git tag                    # outputs a list of tags
6 >     git checkout 3.20110124    # or use the latest one, if different
7 >
8 > If you're using git already, there's no need to use pristine-tar,
9 > unless you particularly want a tarball for some reason.
10 >
11 > Downloading the tarball from Debian is the other recommended way to
12 > [[download]] the source code. --[[smcv]]
13
14 >> Thanks for your responses, smcv. I'll use that method and install the newest version when I'm more familiar with the way ikiwiki works. For now I'm using version 3.20100122 installed with apt-get. Works great so far, but I'm looking forward to the new install. -- [[sunny256]] 2011-02-22 19:30+0100
15
16 But I'm unable to recreate the newest `.tar` file, in fact there's errors in all these `.tar.gz` files on that branch:
17
18 * `ikiwiki_2.20.tar.gz`
19 * `ikiwiki_2.30.tar.gz`
20 * `ikiwiki_2.31.1.tar.gz`
21 * `ikiwiki_2.46.tar.gz`
22 * `ikiwiki_2.47.tar.gz`
23 * `ikiwiki_2.48.tar.gz`
24 * `ikiwiki_2.49.tar.gz`
25 * `ikiwiki_2.50.tar.gz`
26 * `ikiwiki_2.51.tar.gz`
27 * `ikiwiki_2.62.1.tar.gz`
28 * `ikiwiki_2.62.tar.gz`
29 * `ikiwiki_3.20101129.tar.gz`
30 * `ikiwiki_3.20101201.tar.gz`
31 * `ikiwiki_3.20101231.tar.gz`
32 * `ikiwiki_3.20110105.tar.gz`
33 * `ikiwiki_3.20110122.tar.gz`
34 * `ikiwiki_3.20110123.tar.gz`
35 * `ikiwiki_3.20110124.tar.gz`
36
37 The operation fails on these files with a "Checksum validation failed" error from `xdelta`(1). The `pristine-tar`(1) version is 1.00, installed with `apt-get` on Ubuntu 10.04.2 LTS. Is this version too old, or are there some errors on this branch?
38
39 > I get similar errors on Debian unstable, but not on all of the same versions;
40 > for instance, my `ikiwiki_3.20110124.tar.gz` is OK. In some cases, xdelta
41 > complains, but the tarball is produced successfully. However, I do see actual
42 > failures for 2.62 and 2.62.1, for instance. --[[smcv]]
43
44 > Yes, on Debian unstable I got failures on only old ones, but not in
45 > contiguous blocks: --[[Joey]] 
46
47 <pre>
48 ikiwiki_2.20.tar.gz
49 ikiwiki_2.30.tar.gz
50 ikiwiki_2.31.1.tar.gz
51 ikiwiki_2.46.tar.gz
52 ikiwiki_2.47.tar.gz
53 ikiwiki_2.48.tar.gz
54 ikiwiki_2.49.tar.gz
55 ikiwiki_2.50.tar.gz
56 ikiwiki_2.51.tar.gz
57 ikiwiki_2.62.1.tar.gz
58 ikiwiki_2.62.tar.gz
59 </pre>
60
61 > Probably what would help debug this problem is if someone can
62 > reproduce with one or more of the other ones that do **not** fail
63 > for me, pass `-dk` to pristine-tar, and send me a copy of its temp directory
64 > (joey@kitenet.net), and the versions of pristine-tar, tar, gzip.
65 > Then I can compare the good and bad recreated
66 > tarballs and identify the difference. Or pass them to the tar developers,
67 > who have helped before.
68
69 > The only cause that I can think of is that perhaps tar's output
70 > has changed compared with the version used to create those. The
71 > only tar output change I know of involved filenames that were
72 > exactly 100 bytes long -- and pristine-tar 1.11 works around that
73 > when run with tar 1.25-2 on Debian. FWIW, I am only seeing
74 > this in ikiwiki's pristine-tar info, not other packages'. 
75 > (Checked all of debhelper's and alien's and etckeeper's 
76 > and pristine-tar's tarballs.) --[[Joey]]
77
78 A complete output of the "pristine-tar checkout" of all files is stored on <https://gist.github.com/836720> .
79
80 For now, I'll download the `.tar.gz` from <http://packages.debian.org/unstable/source/ikiwiki>, or maybe install `ikiwiki_3.20110124_all.deb`. Would you recommend using that `.deb` file on Ubuntu 10.04.2 LTS, or is it Debian-specific? -- [[sunny256]] 2011-02-21 08:42+0100
81
82 > The .deb from Debian unstable is likely to work on Ubuntu; I've
83 > generally been able to compile snapshots on Debian unstable and
84 > install them onto Debian lenny (older than that Ubuntu release)
85 > without modification. If in doubt, build it from source. --[[smcv]]