How to setup Overo build environment on Mac OS X 10.5.5

Andrew MacIsaac macisaac.andrew at gmail.com
Fri Dec 12 07:02:33 UTC 2008


Hi,

The md5 utility on OS X does not produce the same output as the linux md5sum
program.  For example, in linux the output of 'md5sum temp.txt' might looks
this:

a0fbea97ae866e2120e39a11c23bf67a  temp.txt

whereas on OS X the output of 'md5 temp.txt' looks like this:

MD5 (temp.txt) = a0fbea97ae866e2120e39a11c23bf67a

Presumably bitbake is only looking at the first field (up to the first
space) and so is getting the wrong value.

Andrew


On Thu, Dec 11, 2008 at 9:29 PM, Elvis Dowson <elvis.dowson at mac.com> wrote:

> Hi Malcolm,                        I hope that you are doing fine!
>
> I got wget working, but now there is a new error relating to the
> computation of the md5 sum.
>
> On the Mac the binary is called md5. On linux it is called md5sum. What I
> did is create a symbolic link to md5 and called it md5sum.
>
> Here is the output of which command:
>
> elvis-dowsons-macbook-pro:overo-oe elvis$ which md5
> /sbin/md5
>
> elvis-dowsons-macbook-pro:overo-oe elvis$ which md5sum
> /usr/local/bin/md5sum
>
> Now when I run the bitbake omap3-console-image command, it progresses, but
> gives the following error.
>
> For some reason it is not computing the actual md5 sum, but rather
> returning MD5 instead. This effectively stops the build from progressing
> because it thinks that the checksum of the downloaded files is bad.
>
> NOTE: package quilt-native-0.46-r2: task do_fetch: started
> NOTE: The MD5Sums did not match. Wanted: '4508546d1ed0257ef7c128b6121b7208'
> and Got: 'MD5'
>
> Is there some way to debug why?
>
> Best regards,
>
> Elvis
>
>
> On Dec 5, 2008, at 9:34 PM, Elvis Dowson wrote:
>
> Hi Malcom,                         Modifying the local.conf file to
> include the following command worked
>
> FETCHCOMMAND_wget = "/usr/bin/env /usr/local/bin/wget -t 5 --passive-ftp -P
> ${DL_DIR} ${URI}"
>
> Now it downloaded the required packages. However, md5sum is now giving some
> errors.
>
> sh: md5sum: command not found
> NOTE: The MD5Sums did not match. Wanted: '988aa098326d5f2b5b5aa4b3efe8d528'
> and Got: ' '
>
> On Mac OS X, you can use the command md5 instead of md5sum.
>
> So what I did was create a new symbolic link in /sbin called md5sum
>
> So, when I type which md5sum I get the /sbin/md5sum
>
> What should I do, to make sure it points to md5sum symbolic link?
>
> Best regards,
>
> Elvis
>
>
>
> _______________________________________________
> Openembedded-users mailing list
> Openembedded-users at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-users/attachments/20081211/12f17340/attachment-0002.html>


More information about the Openembedded-users mailing list