<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 5/15/19 5:32 PM, Andreas Müller
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CALbNGRT7NFoRN8EXYDiQ64+0g-bB=jvd7HcfUCRn+_26iRQX4Q@mail.gmail.com">
<blockquote type="cite" style="color: #000000;">
<pre class="moz-quote-pre" wrap="">--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -90,7 +90,11 @@ oe_runconf () {
bbnote "Running $cfgscript ${CONFIGUREOPTS} ${EXTRA_OECONF} $@"
if ! ${CACHED_CONFIGUREVARS} $cfgscript ${CONFIGUREOPTS} ${EXTRA_OECONF} "$@"; then
bbnote "The following config.log files may provide further information."
- bbnote `find ${B} -ignore_readdir_race -type f -name config.log`
+ config_log="`find ${B} -ignore_readdir_race -type f -name config.log`"
+ bbnote "$config_log"
+ [ -e "$config_log" ] && cat "$config_log" | while read line; do
+ bbnote "$line"
+ done
bbfatal_log "configure failed"
fi
else
--
2.7.4
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">That output is useful only sometimes and extremly verbose. I'd suggest
to introduce a switch to enable/disable (even as newbie user I am able
to find config.log). How about making autobuilder's WORKDIR
accessible?
</pre>
</blockquote>
<p>The output only happens while do_configure failure, it does
nothing when build succeed,<br>
</p>
<p>while failure occurs, I believe related message is the more the
better.</p>
<p>The autobuilder is just an example, for community development, it
is hard to login</p>
<p>others build host to debug issue, and we have to take time to
reproduce it<br>
</p>
<p>if we could trace it with a simple glance from the log, why not<br>
</p>
<p><br>
</p>
<p>//Hongxu<br>
</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:CALbNGRT7NFoRN8EXYDiQ64+0g-bB=jvd7HcfUCRn+_26iRQX4Q@mail.gmail.com">
<pre class="moz-quote-pre" wrap="">
Andreas
</pre>
</blockquote>
<p><br>
</p>
</body>
</html>