<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://ess-wiki.advantech.com.tw/wiki/index.php?action=history&amp;feed=atom&amp;title=X86%2FYocto_BSP%2FFAQ</id>
		<title>X86/Yocto BSP/FAQ - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://ess-wiki.advantech.com.tw/wiki/index.php?action=history&amp;feed=atom&amp;title=X86%2FYocto_BSP%2FFAQ"/>
		<link rel="alternate" type="text/html" href="https://ess-wiki.advantech.com.tw/wiki/index.php?title=X86/Yocto_BSP/FAQ&amp;action=history"/>
		<updated>2026-05-03T09:11:04Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.28.3</generator>

	<entry>
		<id>https://ess-wiki.advantech.com.tw/wiki/index.php?title=X86/Yocto_BSP/FAQ&amp;diff=20391&amp;oldid=prev</id>
		<title>Winston.huang: Created page with &quot;{{DISPLAYTITLE:x86 Yocto BSP FAQ}} &lt;div style=&quot;float:right;  position:fixed;  margin:0 1em 0 0;  top5100px;  right:10px;  max-height: 350px;  overflow: auto&quot;&gt;__TOC__&lt;/div&gt; ==...&quot;</title>
		<link rel="alternate" type="text/html" href="https://ess-wiki.advantech.com.tw/wiki/index.php?title=X86/Yocto_BSP/FAQ&amp;diff=20391&amp;oldid=prev"/>
				<updated>2021-05-27T02:34:53Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{DISPLAYTITLE:x86 Yocto BSP FAQ}} &amp;lt;div style=&amp;quot;float:right;  position:fixed;  margin:0 1em 0 0;  top5100px;  right:10px;  max-height: 350px;  overflow: auto&amp;quot;&amp;gt;__TOC__&amp;lt;/div&amp;gt; ==...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{DISPLAYTITLE:x86 Yocto BSP FAQ}}&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right;  position:fixed;  margin:0 1em 0 0;  top5100px;  right:10px;  max-height: 350px;  overflow: auto&amp;quot;&amp;gt;__TOC__&amp;lt;/div&amp;gt;&lt;br /&gt;
== &amp;lt;span style=&amp;quot;color:#0070c0&amp;quot;&amp;gt;bitbake failed&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== ninja: build stopped: subcommand failed ===&lt;br /&gt;
&lt;br /&gt;
==== Cause ====&lt;br /&gt;
&lt;br /&gt;
It usually happens on low performance host machine, and almost the qt* or clang* are the failed ones.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
*build the failed one individually&lt;br /&gt;
&lt;br /&gt;
:(It is recommended to use this way first.)&lt;br /&gt;
&lt;br /&gt;
:e.g.&lt;br /&gt;
::&amp;lt;code&amp;gt;$ bitbake -k clang&amp;lt;/code&amp;gt;&lt;br /&gt;
::or&lt;br /&gt;
::&amp;lt;code&amp;gt;$ bitbake -k qtwebkit&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*decrease number of threads used for the parallel build.&lt;br /&gt;
&lt;br /&gt;
:(The less number of threads will take more time to finish the whole building process.)&lt;br /&gt;
&lt;br /&gt;
:get original nummber of threads&lt;br /&gt;
::&amp;lt;code&amp;gt;$ grep &amp;quot;BB_NUMBER_THREADS&amp;quot; conf/local.conf | sed &amp;quot;s/.*\&amp;quot;\(.*\)\&amp;quot;$/\1/&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
:set new number of threads&lt;br /&gt;
::&amp;lt;code&amp;gt;$ sed -i &amp;quot;s/BB_NUMBER_THREADS.*/BB_NUMBER_THREADS = \&amp;quot;&amp;lt;span style=&amp;quot;color:#ff0000&amp;quot;&amp;gt;${THREADS}&amp;lt;/span&amp;gt;\&amp;quot;/&amp;quot; conf/local.conf&amp;lt;/code&amp;gt;&lt;br /&gt;
:(remember to replace the &amp;lt;span style=&amp;quot;color:#ff0000&amp;quot;&amp;gt;'''${THREADS}'''&amp;lt;/span&amp;gt; with the appropriate one)&lt;br /&gt;
&lt;br /&gt;
=== make error ===&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
*clean the failed one, then re-build it individually&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;$ bitbake -k ${failed_package} -c clean&amp;lt;/code&amp;gt;&lt;br /&gt;
:&amp;lt;code&amp;gt;$ bitbake -k ${failed_package}&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Winston.huang</name></author>	</entry>

	</feed>