Skip to contentSkip to conversation

fakeroot 1.15.1 in 2011.03-maintenance

DISCUSSION Andreas Oberritter 3 participants 4 messages Dec 9, 2011 – Dec 14, 2011

lore
Share & tools
lore
#0 lore raw

Hi Tom, all,

one week ago, the fakeroot recipe was moved to 1.15.1 [1] in order to fix a download problem, even though previous attempts were rejected [2,3]. Well, now I get the following error:

ERROR: The checksums for "[...]/fakeroot_1.15.1.orig.tar.bz2" did not match.
MD5: expected "248c408b1e06e776c5739871b49bd968", got "0f6101a5c35693fa9ec7f7949156c2ad"
SHA256: expected "45fbb9ad611f33224cc09954963dde563cc80fe58c76feb25b6e98550b81729a", got "24eda7c94fa8cf1f924cedf26deabcb8de5c0bdc01f1ac075f03dc12898d6923"

--2011-12-09 22:00:36-- http://snapshot.debian.net/archive/pool/f/fakeroot/fakeroot_1.15.1.orig.tar.bz2
Resolving snapshot.debian.net... 193.62.202.30, 2001:630:206:4000:1a1a:0:c13e:ca1e Connecting to snapshot.debian.net|193.62.202.30|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://snapshot.debian.org/ [following]
--2011-12-09 22:00:36-- http://snapshot.debian.org/
Resolving snapshot.debian.org... 193.62.202.30, 2001:630:206:4000:1a1a:0:c13e:ca1e Reusing existing connection to snapshot.debian.net:80.
HTTP request sent, awaiting response... 200 OK
Length: 14143 (14K) [text/html]
Saving to: `[...]/fakeroot_1.15.1.orig.tar.bz2'

      0K .......... ...                                        100%  119K=0.1s
 2011-12-09 22:00:36 (119 KB/s) - `[...]/fakeroot_1.15.1.orig.tar.bz2' saved [14143/14143]

ERROR: The checksums for "[...]/fakeroot_1.15.1.orig.tar.bz2" did not match.
MD5: expected "248c408b1e06e776c5739871b49bd968", got "0f6101a5c35693fa9ec7f7949156c2ad"
SHA256: expected "45fbb9ad611f33224cc09954963dde563cc80fe58c76feb25b6e98550b81729a", got "24eda7c94fa8cf1f924cedf26deabcb8de5c0bdc01f1ac075f03dc12898d6923"

That's because Debian redirects to a HTML page instead of returning an error, which makes it impossible to use a mirror. I'd submit a patch, but I'd like to ask first, what's the preferred solution (e.g. go back to previous version, update to new version, fix SRC_URI). The SRC_URI could have been fixed for 1.14.5, too. I wonder why this didn't happen instead.

Regards,
Andreas

[1] http://cgit.openembedded.org/openembedded/commit/?h=2011.03-maintenance&id=672af8093cf33d8b90e9186986ba5c95fc7a0a0a
[2] http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-June/033373.html
[3] http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-July/034188.html

#1 lore raw
Quoted 4 lines · Andreas Oberritter

one week ago, the fakeroot recipe was moved to 1.15.1 [1] in order to fix a download problem, even though previous attempts were rejected [2,3]. Well, now I get the following error:

we should stash the tar file on sources.openembedded.org and be done with it.

#2 lore raw
Quoted 7 lines · Khem Raj
Quoted 4 lines · Andreas Oberritter

one week ago, the fakeroot recipe was moved to 1.15.1 [1] in order to fix a download problem, even though previous attempts were rejected [2,3]. Well, now I get the following error:

we should stash the tar file on sources.openembedded.org and be done with it.

Please do so, if you have the necessary access rights. Btw, ltrace fails for the same reason.

FWIW, I "fixed" the fakeroot issue using

MIRRORS_prepend() {
${DEBIAN_MIRROR} http://snapshot.debian.org/archive/debian/20110301T040946Z/pool
${DEBIAN_MIRROR} http://snapshot.debian.org/archive/debian/20110901T033808Z/pool
}

I'd recommend removing
${DEBIAN_MIRROR}/main http://snapshot.debian.net/archive/pool
from mirrors.bbclass, as it results in broken downloads.

Regards,
Andreas

#3 lore raw
In reply to Andreas Oberritter
Quoted 5 lines · Andreas Oberritter

Hi Tom, all,

one week ago, the fakeroot recipe was moved to 1.15.1 [1] in order to fix a download problem, even though previous attempts were rejected [2,3]. Well, now I get the following error:

[snip]

Quoted 6 lines

That's because Debian redirects to a HTML page instead of returning an error, which makes it impossible to use a mirror. I'd submit a patch, but I'd like to ask first, what's the preferred solution (e.g. go back to previous version, update to new version, fix SRC_URI). The SRC_URI could have been fixed for 1.14.5, too. I wonder why this didn't happen instead.

Arrg, you're right and I made a mistake. The reason we didn't use the snapshot mirror like you suggest is that I at least was unaware that you could. To fix this problem I've reverted the change that introduced 1.15.1, added PE = 1 to the recipe (so that anyone that did somehow get 1.15.1 built will go and be back to 1.14.5) and changed the URI based on what you provided in a follow-up so that it fetches again, for all. Sorry for the inconvenience.

Signature · 1 line
Tom