<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">On 05/04/2015 02:19 PM, Denys
Dmytriyenko wrote:<br>
</div>
<blockquote cite="mid:20150504191916.GC5885@denix.org" type="cite">
<pre wrap="">On Mon, May 04, 2015 at 02:50:17PM -0400, Denys Dmytriyenko wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On Fri, May 01, 2015 at 05:13:05PM -0500, Alejandro del Castillo wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
On 05/01/2015 11:06 AM, Denys Dmytriyenko wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
Has anyone ever seen this message during <image>.do_rootfs task?
Collected errors:
* opkg_install_pkg: Package <package> md5sum mismatch. Either the opkg or the package index are corrupt. Try 'opkg update'.
* opkg_install_cmd: Cannot install package <package>.
We started seeing it on random packages inside the <image> few weeks ago on
different machines. At the time we had switched to bitbake 1.26. But even
trying different bitbake versions still occasionally caused the same error, so
the culprit is still unknwon. Using oe-core/daisy for now.
Any comments or suggestions to where start looking would be appreciated!
Thanks.
</pre>
</blockquote>
</blockquote>
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">The error is saying that there is a mismatch between the registered package
mds5sum and the actual md5sum of the package. On your log.do_rootfs log file
you should find the opkg-cl command being called, which has an opkg.conf
file as parameter. Inside the conf file, you will see the paths to the local
repos being used to build your image. Can you confirm that the registered
md5sum for one of the problematic packages on the Package file on the repo
doesn't match the actual package md5sum?
</pre>
</blockquote>
<pre wrap="">
Yes, md5sum of the package doesn't match the one recorded in the Packages file
of the local feed.
BTW, this seems to only happen to arch-less packages from the "all" feed,
mainly packagegroups...
</pre>
</blockquote>
<pre wrap="">
And then I realized that the failing packagegroup shouldn't really be
arch-less! Apparently, I misplaced PACKAGE_ARCH = "${MACHINE_ARCH}" before
inheriting packagegroup class. Oops!
</pre>
</blockquote>
For Dizzy and Fido, I think the order changed (you need to place
PACKAGE_ARCH before inherit packagegroup). The good news is that if
you upgrade, there is a check that breaks the build if the bad
ordering is detected (
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<span style="color: rgb(0, 0, 0); font-family: monospace; font-size:
12px; font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal; orphans:
auto; text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 1; word-spacing: 0px;
-webkit-text-stroke-width: 0px; display: inline !important; float:
none; background-color: rgb(255, 255, 255);">30aaada4b79fc1acad5fdaba98071b63c52b9e05).
<br>
</span>
</body>
</html>