<div dir="ltr">I don&#39;t remember the details, but IIRC it was libdrm or something like that for some MACHINE which was providing older version of libdrm with MACHINE_ARCH with better support for that MACHINE.<div><br></div><div>So this controversial patch was implemented for opkg to support that use-case and the default behavior was changed ignoring complains from me and Koen that this behavior is wrong.</div><div><br></div><div>I&#39;ve tried to find some e-mail threads about it, part of that discussion is in:</div><div><a href="https://patchwork.openembedded.org/patch/37461/">https://patchwork.openembedded.org/patch/37461/</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 13, 2017 at 11:34 AM, AndrĂ© Draszik <span dir="ltr">&lt;<a href="mailto:git@andred.net" target="_blank">git@andred.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Only during do_rootfs indeed (I don&#39;t ever do upgrades on the target using<br>
opkg).<br>
<br>
Is there a reason to still specify prefer-arch-to-version? I&#39;d actually<br>
expect the exact opposite compared to the original commit message&#39;s<br>
statement, unless the version numbers are identical.<br>
<br>
Also, I would argue that the defaults during do_rootfs and when using opkg<br>
on the target should be the same...<br>
<br>
Cheers,<br>
Andre&#39;<br>
<br>
<br>
On Mon, 2017-11-13 at 11:12 +0100, Martin Jansa wrote:<br>
&gt; Is this during do_rootfs or are you seeing this issue when upgrading on<br>
&gt; the<br>
&gt; target as well?<br>
&gt;<br>
&gt; I haven&#39;t found the bug for this but IIRC it&#39;s because do_rootfs is using<br>
&gt; --prefer-arch-to-version parameter.<br>
&gt; meta/classes/package_ipk.<wbr>bbclass:OPKG_ARGS += &quot;--force_postinstall<br>
&gt; --prefer-arch-to-version&quot;<br>
&gt; which causes this undesired behavior.<br>
&gt;<br>
&gt; On Mon, Nov 13, 2017 at 9:54 AM, AndrĂ© Draszik &lt;<a href="mailto:git@andred.net">git@andred.net</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; Hi,<br>
&gt; &gt;<br>
&gt; &gt; On Mon, 2017-11-13 at 13:26 +0800, Chen Qi wrote:<br>
&gt; &gt; &gt; autoconf-archive is a set of common m4 macros, it should be allarch,<br>
&gt; &gt; &gt; just like it is on other distros.<br>
&gt; &gt;<br>
&gt; &gt; I have found previously that when changing a recipe to produce more<br>
&gt; &gt; generic<br>
&gt; &gt; output, like in this case, and the old binary package is still in<br>
&gt; &gt; deploy/,<br>
&gt; &gt; then the package manager would always pick the more specific version,<br>
&gt; &gt; even<br>
&gt; &gt; if a more recent (by package version) exists in deploy. In my case I was<br>
&gt; &gt; moving from PACKAGE_ARCH=${MACHINE_ARCH} to<br>
&gt; &gt; PACKAGE_ARCH=${TUNE_PKGARCH},<br>
&gt; &gt; but I guess it&#39;ll be the same here.<br>
&gt; &gt;<br>
&gt; &gt; What is the correct way to deal with that other that cleansstate?<br>
&gt; &gt;<br>
&gt; &gt; Cheers,<br>
&gt; &gt; Andre&#39;<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; ______________________________<wbr>_________________<br>
&gt; &gt; Openembedded-core mailing list<br>
&gt; &gt; <a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
&gt; &gt; <a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
&gt; &gt;<br>
</blockquote></div><br></div>