Bug 60

Summary: db 4.2.52 cannot be downloaded
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Daniel Díaz <yosoy>
Component: meta-yoctoAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: poky.bs.watcher, poky.watcher
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Daniel Díaz 2008-05-04 00:10:37 UTC
This is with Pinky 3.1.

Following the Handbook, after downloading Pinky 3.1, issuing `bitbake
poky-image-sato` and waiting some 8 hours, the bit baking process fails with
db-native-4.2.52-r7:

NOTE: Task failed: Fetch failed: http://downloads.sleepycat.com/db-4.2.52.tar.gz
NOTE: package db-native-4.2.52-r7: task do_fetch: failed
ERROR: TaskFailed event exception, aborting


There is 404 in Sleepycat's downloads page, now that it's Oracle's.

To work around this problem I had to do the following:

$ wget http://distfiles.gentoo.org/distfiles/db-4.2.52.tar.gz
# cp -p db-4.2.52.tar.gz /var/www/localhost/htdocs/db-4.2.52.tar.gz
# md5sum db-4.2.52.tar.gz > /var/www/localhost/htdocs/db-4.2.52.tar.gz.md5
# echo '127.0.0.1 downloads.sleepycat.com' >> /etc/hosts
$ perl -i -p -e 's#8b5cff6eb83972afdd8e0b821703c33c#cbc77517c9278cdb47613ce8cb55779f#g' pinky-3.1/meta/conf/checksums.ini
$ perl -i -p -e 's#f4bddd8d1b4cde0daf5e13e3493ed62a25b736b0bf258e1d929e47bc6a82a28c#72f581d8b91da900434629886d1d1c6ea8b9d2a9329368c3b875e7cd556b6a0e#g' pinky-3.1/meta/conf/checksums.ini
$ bitbake poky-image-sato
Comment 1 Richard Purdie 2008-05-04 11:28:53 UTC
This has been fixed in svn in all the branches including pinky which have a correct URL for this file.