[oe] Linux-libc-headers do_fetch Failed due to cheksum mismatch

Paul Menzel paulepanter at users.sourceforge.net
Sun Mar 6 15:20:25 UTC 2011


Dear Saleh,


Am Sonntag, den 06.03.2011, 19:49 +0500 schrieb saleh usman:

[…]

please do not insert empty lines at the beginning of messages.

> I am building console-image

What machine do you use?

> and having problem while fetching liunx-libc-headers. do_fetch task is
> failed due to checksum mismatch. Kindly guide me how to resolve this
> issue.console log follows
> 
> NOTE: Running task 16 of 4329 (ID: 678, virtual:native:/oe/openembedded/recipes/linux-libc-headers/linux-libc-headers_2.6.31.bb, do_fetch)
> NOTE: package linux-libc-headers-native-2.6.31-r6: task do_fetch: Started
> FATAL: linux-libc-headers-native-2.6.31: http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.31.tar.bz2 cannot check archive integrity
> ERROR: Error in executing python function in: /oe/openembedded/recipes/linux-libc-headers/linux-libc-headers_2.6.31.bb
> ERROR: Exception:<type 'exceptions.SystemExit'> Message:1
> ERROR: Printing the environment of the function
> ERROR: Function base_do_fetch failed
> ERROR: TaskFailed event exception, aborting
> ERROR: Build of virtual:native:/oe/openembedded/recipes/linux-libc-headers/linux-libc-headers_2.6.31.bb do_fetch failed
> NOTE: The checksums for '/oe/openembedded/sources/linux-2.6.31.tar.bz2' did not match.
> Expected MD5: '84c077a37684e4cbfa67b18154390d8a' and Got: '9244b699b966804dfc2e243c89b3ead4'
> Expected SHA256: '0acd83f7b85db7ee18c2b0b7505e1ba6fd722c36f49a8870a831c851660e3512' and Got: 'c522e06dc9639473f9962ed49b038ef5577e5d10cd2f4d9e4c62cdf3223de089'
> NOTE: Your checksums:
> SRC_URI[md5sum] = "9244b699b966804dfc2e243c89b3ead4"
> SRC_URI[sha256sum] = "c522e06dc9639473f9962ed49b038ef5577e5d10cd2f4d9e4c62cdf3223de089"
> 
> FATAL: linux-libc-headers-native-2.6.31: http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.31.tar.bz2 cannot check archive integrity

As you can see in the recipe [1] and read in the user manual each
downloaded file has a checksum to check the validity. The file you got
seems to be corrupt, since the checksums in the recipes [1] are also the
ones I got.

        $ wget http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.31.tar.bz2
        --2011-03-06 16:09:49--  http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.31.tar.bz2
        Auflösen des Hostnamen kernel.org... 130.239.17.4, 149.20.4.69, 149.20.20.133, ...
        Verbindungsaufbau zu kernel.org|130.239.17.4|:80... verbunden.
        HTTP-Anforderung gesendet, warte auf Antwort... 200 OK
        Länge: 61494822 (59M) [application/x-bzip2]
        In »linux-2.6.31.tar.bz2« speichern.
        
        100%[======================================>] 61.494.822  1,29M/s   in 46s     
        
        2011-03-06 16:10:35 (1,28 MB/s) - »linux-2.6.31.tar.bz2« gespeichert [61494822/61494822]
        
        $ md5sum linux-2.6.31.tar.bz2 
        84c077a37684e4cbfa67b18154390d8a  linux-2.6.31.tar.bz2
        $ sha256sum linux-2.6.31.tar.bz2 
        0acd83f7b85db7ee18c2b0b7505e1ba6fd722c36f49a8870a831c851660e3512  linux-2.6.31.tar.bz2

So something has gone wrong when the file was downloaded to your system.
I suggest to delete `linux-2.6.31.tar.bz2` from your download directory
and try again.


Thanks,

Paul


[1] http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/linux-libc-headers/linux-libc-headers_2.6.31.bb?id=9f1368c60dcef32eb965c0f9ecb81c4adc4f49c5#n27
[2] http://docs.openembedded.org/usermanual/usermanual.html#src_uri_variable
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110306/fe26d42a/attachment-0002.sig>


More information about the Openembedded-devel mailing list