<br><br><div class="gmail_quote">On Wed, Jun 19, 2013 at 11:02 AM, Richard Purdie <span dir="ltr">&lt;<a href="mailto:richard.purdie@linuxfoundation.org" target="_blank">richard.purdie@linuxfoundation.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Wed, 2013-06-19 at 10:50 -0400, Joe MacDonald wrote:<br>
&gt; Adding the oe-core list back to the cc list since I accidentally<br>
&gt; dropped the list on my first response.<br>
&gt;<br>
&gt; On Wed, Jun 19, 2013 at 10:37 AM, Richard Purdie<br>
&gt; &lt;<a href="mailto:richard.purdie@linuxfoundation.org">richard.purdie@linuxfoundation.org</a>&gt; wrote:<br>
&gt;         On Wed, 2013-06-19 at 10:15 -0400, Joe MacDonald wrote:<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;<br>
&gt;         &gt; On Wed, Jun 19, 2013 at 10:10 AM, Richard Purdie<br>
&gt;         &gt; &lt;<a href="mailto:richard.purdie@linuxfoundation.org">richard.purdie@linuxfoundation.org</a>&gt; wrote:<br>
&gt;         &gt;         On Wed, 2013-06-19 at 09:56 -0400, <a href="mailto:joe@deserted.net">joe@deserted.net</a><br>
&gt;         wrote:<br>
&gt;         &gt;         &gt; From: Joe MacDonald &lt;<a href="mailto:joe@deserted.net">joe@deserted.net</a>&gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt; Building bdwgc-native on systems with older<br>
&gt;         versions of<br>
&gt;         &gt;         autoconf (earlier<br>
&gt;         &gt;         &gt; than 2.69) is known to have issues:<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;       <a href="https://github.com/ivmai/bdwgc/issues/16" target="_blank">https://github.com/ivmai/bdwgc/issues/16</a><br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt; An option is to simply mask the errors with<br>
&gt;         &gt;         m4_pattern_allow(...) for each<br>
&gt;         &gt;         &gt; of the macros, but rerunning autoreconf produces a<br>
&gt;         &gt;         functional configure<br>
&gt;         &gt;         &gt; script that builds a functional native version of<br>
&gt;         bdwgc.<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt; Signed-off-by: Joe MacDonald &lt;<a href="mailto:joe@deserted.net">joe@deserted.net</a>&gt;<br>
&gt;         &gt;         &gt; ---<br>
&gt;         &gt;         &gt;  meta/recipes-support/bdwgc/<a href="http://bdwgc_7.2d.bb" target="_blank">bdwgc_7.2d.bb</a> | 9<br>
&gt;         +++++++++<br>
&gt;         &gt;         &gt;  1 file changed, 9 insertions(+)<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt; I tripped over this yesterday on one of my older<br>
&gt;         builders.<br>
&gt;         &gt;          It happens to still<br>
&gt;         &gt;         &gt; be Ubuntu 12.04.2.  I don&#39;t know if it&#39;s unique to<br>
&gt;         my<br>
&gt;         &gt;         configuration, but after<br>
&gt;         &gt;         &gt; doing some digging around on the web I can&#39;t see<br>
&gt;         any obvious<br>
&gt;         &gt;         indications that<br>
&gt;         &gt;         &gt; I&#39;m missing any autotools package and the general<br>
&gt;         consensus<br>
&gt;         &gt;         seems to be that<br>
&gt;         &gt;         &gt; autoreconf is the best option when the failures<br>
&gt;         are<br>
&gt;         &gt;         relatively beign as they<br>
&gt;         &gt;         &gt; are here.<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt; -J.<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt; diff --git<br>
&gt;         a/meta/recipes-support/bdwgc/<a href="http://bdwgc_7.2d.bb" target="_blank">bdwgc_7.2d.bb</a><br>
&gt;         &gt;         b/meta/recipes-support/bdwgc/<a href="http://bdwgc_7.2d.bb" target="_blank">bdwgc_7.2d.bb</a><br>
&gt;         &gt;         &gt; index 46e5257..d8e2de5 100644<br>
&gt;         &gt;         &gt; --- a/meta/recipes-support/bdwgc/<a href="http://bdwgc_7.2d.bb" target="_blank">bdwgc_7.2d.bb</a><br>
&gt;         &gt;         &gt; +++ b/meta/recipes-support/bdwgc/<a href="http://bdwgc_7.2d.bb" target="_blank">bdwgc_7.2d.bb</a><br>
&gt;         &gt;         &gt; @@ -36,3 +36,12 @@ ARM_INSTRUCTION_SET = &quot;arm&quot;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;  inherit autotools<br>
&gt;         &gt;         &gt;  BBCLASSEXTEND = &quot;native nativesdk&quot;<br>
&gt;         &gt;         &gt; +<br>
&gt;         &gt;         &gt; +do_configure_prepend() {<br>
&gt;         &gt;         &gt; +     # Without this, on older installations of<br>
&gt;         autoconf<br>
&gt;         &gt;         errors crop up during configure:<br>
&gt;         &gt;         &gt; +     # | <a href="http://configure.ac:70" target="_blank">configure.ac:70</a>: error: possibly<br>
&gt;         undefined macro:<br>
&gt;         &gt;         AC_MSG_ERROR<br>
&gt;         &gt;         &gt; +     # |       If this token and others are<br>
&gt;         legitimate,<br>
&gt;         &gt;         please use m4_pattern_allow.<br>
&gt;         &gt;         &gt; +     # |       See the Autoconf documentation.<br>
&gt;         &gt;         &gt; +     # | <a href="http://configure.ac:358" target="_blank">configure.ac:358</a>: error: possibly<br>
&gt;         undefined macro:<br>
&gt;         &gt;         AS_IF<br>
&gt;         &gt;         &gt; +     ( cd ${S}; autoreconf -i )<br>
&gt;         &gt;         &gt; +}<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;         This is timely since we&#39;re seeing this issue on some<br>
&gt;         of the<br>
&gt;         &gt;         autobuilders. We should be autoreconfing by default<br>
&gt;         though,<br>
&gt;         &gt;         any idea why<br>
&gt;         &gt;         it doesn&#39;t in this case?<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt; No, I didn&#39;t actually dig into that, I didn&#39;t realize it<br>
&gt;         should be<br>
&gt;         &gt; autoreconfing.  Is it explciit in the do_configure step, or<br>
&gt;         implicit?<br>
&gt;         &gt;  Maybe it&#39;s a timestamp issue or something?  The only<br>
&gt;         machine I&#39;ve got<br>
&gt;         &gt; left that has this problem is pretty fast, so maybe on a<br>
&gt;         slower (or<br>
&gt;         &gt; more heavily loaded) machine an implicit rule will fire<br>
&gt;         where a beefy,<br>
&gt;         &gt; unloaded one won&#39;t?  Just a wild guess.<br>
&gt;<br>
&gt;<br>
&gt;         Reading the link you supplied further, it could be a missing<br>
&gt;         pkgconfig<br>
&gt;         dependency?<br>
&gt;<br>
&gt;<br>
&gt; I thought so at first, but I couldn&#39;t find anything absent on my<br>
&gt; builder that looked even remotely pkgconfig-related.  Then I started<br>
&gt; digging into the autotools stuff, since the warning is clearly about<br>
&gt; expanding autoconf macros and that&#39;s when I finally started paying<br>
&gt; attention to the version numbers on the failing host versus the<br>
&gt; builders I use that weren&#39;t complaining.<br>
&gt;<br>
&gt;<br>
&gt; It could still be that there&#39;s something missing, but when I noticed<br>
&gt; the comment just below the &quot;closed&quot; bar in the issue I linked:<br>
&gt;<br>
&gt;<br>
&gt;  ivmai commented10 months ago<br>
&gt; I have tested the git sources from bdwgc and they only configure<br>
&gt; properly with autoconf &gt;= 2.69. [...]<br>
&gt; It seemed like I&#39;d found at least confirmation that what I was seeing<br>
&gt; was expected.<br>
&gt;<br>
&gt;<br>
&gt; I have no idea why the autotools.bbclass&#39; autoreconf wouldn&#39;t do it,<br>
&gt; though.  I&#39;ll go have a quick look to see if the tree is different<br>
&gt; because I also passed it -i when I did the autoreconf.<br>
&gt;<br>
<br>
</div></div>I have a reproducer:<br>
<br>
bitbake bdwgc-native pkgconfig-native -c clean; bitbake bdwgc-native<br>
<br>
Pretty sure its a missing pkgconfig dependency.<br></blockquote><div><br></div><div>Confirmed on the failing machine here too.  You&#39;ve got this, then?  Or do you want me to send a new patch? </div></div><div><br></div>
-- <br>Joe MacDonald<br>:wq