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 <[email protected]> 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 > [email protected] > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users > >
_______________________________________________ Openembedded-users mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users
