<div dir="ltr">On 31 January 2018 at 07:48, Hongxu Jia <span dir="ltr">&lt;<a href="mailto:hongxu.jia@windriver.com" target="_blank">hongxu.jia@windriver.com</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">1. Disable test at build time to workaround corss-compile<br></blockquote><div><br></div><div>Looks like more tests need to be disabled:</div><div><br></div><div>| Making all in tests</div><div>| make[4]: Entering directory &#39;/data/poky-tmp/master/work/corei7-64-poky-linux/gpgme/1.10.0-r0/build/lang/python/tests&#39;</div><div>| echo no-force-v3-sigs &gt; ./gpg.conf</div><div>| echo pinentry-program /data/poky-tmp/master/work/corei7-64-poky-linux/gpgme/1.10.0-r0/build/../gpgme-1.10.0/tests/gpg/pinentry &gt;gpg-agent.conf</div><div>| gpgconf --kill all</div><div>| echo ignore-invalid-option agent-program &gt;&gt; ./gpg.conf</div><div>| /bin/bash: gpgconf: command not found</div><div>| Makefile:611: recipe for target &#39;private-keys-v1.d/gpg-sample.stamp&#39; failed</div><div>| make[4]: [private-keys-v1.d/gpg-sample.stamp] Error 127 (ignored)</div><div>| /data/poky-tmp/master/hosttools/mkdir -p ./private-keys-v1.d</div><div>| echo &quot;agent-program `which gpg-agent`|--debug-quick-random&quot; &gt;&gt; ./gpg.conf</div><div>| for k in ../../../../gpgme-1.10.0/tests/gpg/13CD0F3BDF24BE53FE192D62F18737256FF6E4FD ../../../../gpgme-1.10.0/tests/gpg/76F7E2B35832976B50A27A282D9B87E44577EB66 ../../../../gpgme-1.10.0/tests/gpg/A0747D5F9425E6664F4FFBEED20FBCA79FDED2BD ../../../../gpgme-1.10.0/tests/gpg/13CBE3758AFE42B5E5E2AE4CED27AFA455E3F87F ../../../../gpgme-1.10.0/tests/gpg/7A030357C0F253A5BBCD282FFC4E521B37558F5C; do \</div><div>|           cp $k private-keys-v1.d/${k#../../../../gpgme-1.10.0/tests/gpg/}.key; \</div><div>|         done</div><div>| echo x &gt; ./private-keys-v1.d/gpg-sample.stamp</div><div>| gpg --batch --no-permission-warning \</div><div>|                --import ../../../../gpgme-1.10.0/tests/gpg/pubdemo.asc</div><div>| gpg: keybox &#39;/data/poky-tmp/master/work/corei7-64-poky-linux/gpgme/1.10.0-r0/build/lang/python/tests/pubring.kbx&#39; created</div><div>| gpg: /data/poky-tmp/master/work/corei7-64-poky-linux/gpgme/1.10.0-r0/build/lang/python/tests/trustdb.gpg: trustdb created</div><div>| gpg: key 2D727CC768697734: public key &quot;Alfa Test (demo key) &lt;<a href="mailto:alfa@example.net">alfa@example.net</a>&gt;&quot; imported</div><div>| gpg: failed to start agent &#39;|--debug-quick-random&#39;: No such file or directory</div><div>| gpg: can&#39;t connect to the agent: No such file or directory</div><div>| gpg: key FE180B1DA9E3B0B2: public key &quot;Bob (demo key)&quot; imported</div><div>| gpg: failed to start agent &#39;|--debug-quick-random&#39;: No such file or directory</div><div>| gpg: can&#39;t connect to the agent: No such file or directory</div><div>| gpg: key 413F4AF31AFDAB6C: public key &quot;Charlie Test (demo key) &lt;<a href="mailto:charlie@example.net">charlie@example.net</a>&gt;&quot; imported</div><div>| gpg: failed to start agent &#39;|--debug-quick-random&#39;: No such file or directory</div><div>| gpg: can&#39;t connect to the agent: No such file or directory</div><div>| gpg: key EBA9F240EB9DC9E6: public key &quot;Delta Test (demo key) &lt;<a href="mailto:delta@example.net">delta@example.net</a>&gt;&quot; imported</div><div>| gpg: failed to start agent &#39;|--debug-quick-random&#39;: No such file or directory</div><div>| gpg: can&#39;t connect to the agent: No such file or directory</div><div>| gpg: key 318C1FAEFAEF6D1B: public key &quot;Echelon (demo key)&quot; imported</div><div>| gpg: failed to start agent &#39;|--debug-quick-random&#39;: No such file or directory</div><div>| gpg: can&#39;t connect to the agent: No such file or directory</div><div>| gpg: key D4BF57F37372E243: public key &quot;Foxtrot Test (demo key) &lt;<a href="mailto:foxtrot@example.net">foxtrot@example.net</a>&gt;&quot; imported</div><div>| gpg: failed to start agent &#39;|--debug-quick-random&#39;: No such file or directory</div><div>| gpg: can&#39;t connect to the agent: No such file or directory</div><div>| gpg: key 168410A48FC282E6: public key &quot;Golf Test (demo key) &lt;<a href="mailto:golf@example.net">golf@example.net</a>&gt;&quot; imported</div><div>| gpg: failed to start agent &#39;|--debug-quick-random&#39;: No such file or directory</div><div>| gpg: can&#39;t connect to the agent: No such file or directory</div><div>| gpg: key 13DB965534C6E3F1: public key &quot;Hotel Test (demo key) &lt;<a href="mailto:hotel@example.net">hotel@example.net</a>&gt;&quot; imported</div><div>| gpg: failed to start agent &#39;|--debug-quick-random&#39;: No such file or directory</div><div>| gpg: can&#39;t connect to the agent: No such file or directory</div><div>| gpg: key 1FE8FC6F04259677: public key &quot;India Test (demo key) &lt;<a href="mailto:india@example.net">india@example.net</a>&gt;&quot; imported</div><div>| gpg: failed to start agent &#39;|--debug-quick-random&#39;: No such file or directory</div><div>| gpg: can&#39;t connect to the agent: No such file or directory</div><div>| gpg: key 0C820C71D2699313: public key &quot;Juliet Test (demo key) &lt;<a href="mailto:juliet@example.net">juliet@example.net</a>&gt;&quot; imported</div><div>| gpg: failed to start agent &#39;|--debug-quick-random&#39;: No such file or directory</div><div>| gpg: can&#39;t connect to the agent: No such file or directory</div><div>| gpg: key AD1B0FAD43C2D0C7: public key &quot;Kilo Test (demo key) &lt;<a href="mailto:kilo@example.net">kilo@example.net</a>&gt;&quot; imported</div><div>| gpg: failed to start agent &#39;|--debug-quick-random&#39;: No such file or directory</div><div>| gpg: can&#39;t connect to the agent: No such file or directory</div><div>| gpg: key 37CAB51FB79103F8: public key &quot;Lima Test (demo key) &lt;<a href="mailto:lima@example.net">lima@example.net</a>&gt;&quot; imported</div><div>| gpg: failed to start agent &#39;|--debug-quick-random&#39;: No such file or directory</div><div>| gpg: can&#39;t connect to the agent: No such file or directory</div><div>| gpg: key BE794852BE5CF886: public key &quot;Mallory (demo key)&quot; imported</div><div>| gpg: failed to start agent &#39;|--debug-quick-random&#39;: No such file or directory</div><div>| gpg: can&#39;t connect to the agent: No such file or directory</div><div>| gpg: key 25B00FD430CEC684: public key &quot;November Test (demo key) &lt;<a href="mailto:november@example.net">november@example.net</a>&gt;&quot; imported</div><div>| gpg: failed to start agent &#39;|--debug-quick-random&#39;: No such file or directory</div><div>| gpg: can&#39;t connect to the agent: No such file or directory</div><div>| gpg: key 5F6356BA6D9732AC: public key &quot;Oscar Test (demo key) &lt;<a href="mailto:oscar@example.net">oscar@example.net</a>&gt;&quot; imported</div><div>| gpg: failed to start agent &#39;|--debug-quick-random&#39;: No such file or directory</div><div>| gpg: can&#39;t connect to the agent: No such file or directory</div><div>| gpg: key 5D15E01D3FF13206: public key &quot;Papa test (demo key) &lt;<a href="mailto:papa@example.net">papa@example.net</a>&gt;&quot; imported</div><div>| gpg: failed to start agent &#39;|--debug-quick-random&#39;: No such file or directory</div><div>| gpg: can&#39;t connect to the agent: No such file or directory</div><div>| gpg: key 1C67EC133C661C84: public key &quot;Quebec Test (demo key) &lt;<a href="mailto:quebec@example.net">quebec@example.net</a>&gt;&quot; imported</div><div>| gpg: failed to start agent &#39;|--debug-quick-random&#39;: No such file or directory</div><div>| gpg: can&#39;t connect to the agent: No such file or directory</div><div>| gpg: key 3BDBEDB1777FBED3: public key &quot;Romeo Test (demo key) &lt;<a href="mailto:romeo@example.net">romeo@example.net</a>&gt;&quot; imported</div><div>| gpg: failed to start agent &#39;|--debug-quick-random&#39;: No such file or directory</div><div>| gpg: can&#39;t connect to the agent: No such file or directory</div><div>| gpg: key A5E67F7FA3AE3EA1: public key &quot;Sierra Test (demo key) &lt;<a href="mailto:sierra@example.net">sierra@example.net</a>&gt;&quot; imported</div><div>| gpg: failed to start agent &#39;|--debug-quick-random&#39;: No such file or directory</div><div>| gpg: can&#39;t connect to the agent: No such file or directory</div><div>| gpg: key 58CB9A4C85A81F38: public key &quot;Tango Test (demo key) &lt;<a href="mailto:tango@example.net">tango@example.net</a>&gt;&quot; imported</div><div>| gpg: failed to start agent &#39;|--debug-quick-random&#39;: No such file or directory</div><div>| gpg: can&#39;t connect to the agent: No such file or directory</div><div>| gpg: key A94C0F75653244D6: public key &quot;Uniform Test (demo key) &lt;<a href="mailto:uniform@example.net">uniform@example.net</a>&gt;&quot; imported</div><div>| gpg: failed to start agent &#39;|--debug-quick-random&#39;: No such file or directory</div><div>| gpg: can&#39;t connect to the agent: No such file or directory</div><div>| gpg: key 47AF4B6961F04784: public key &quot;Victor Test (demo key) &lt;<a href="mailto:victor@example.org">victor@example.org</a>&gt;&quot; imported</div><div>| gpg: failed to start agent &#39;|--debug-quick-random&#39;: No such file or directory</div><div>| gpg: can&#39;t connect to the agent: No such file or directory</div><div>| gpg: key DEF0F7B8EC67DBDE: public key &quot;Whisky Test (demo key) &lt;<a href="mailto:whisky@example.net">whisky@example.net</a>&gt;&quot; imported</div><div>| gpg: failed to start agent &#39;|--debug-quick-random&#39;: No such file or directory</div><div>| gpg: can&#39;t connect to the agent: No such file or directory</div><div>| gpg: key 8979A6C5567FB34A: public key &quot;XRay Test (demo key) &lt;<a href="mailto:xray@example.net">xray@example.net</a>&gt;&quot; imported</div><div>| gpg: failed to start agent &#39;|--debug-quick-random&#39;: No such file or directory</div><div>| gpg: can&#39;t connect to the agent: No such file or directory</div><div>| gpg: key 9EEF34CD4B11B25F: public key &quot;Yankee Test (demo key) &lt;<a href="mailto:yankee@example.net">yankee@example.net</a>&gt;&quot; imported</div><div>| gpg: failed to start agent &#39;|--debug-quick-random&#39;: No such file or directory</div><div>| gpg: can&#39;t connect to the agent: No such file or directory</div><div>| gpg: key 6BC4778054ACD246: public key &quot;Zulu Test (demo key) &lt;<a href="mailto:zulu@example.net">zulu@example.net</a>&gt;&quot; imported</div><div>| gpg: failed to start agent &#39;|--debug-quick-random&#39;: No such file or directory</div><div>| gpg: can&#39;t connect to the agent: No such file or directory</div><div>| gpg: Total number processed: 26</div><div>| gpg:               imported: 26</div><div>| Makefile:620: recipe for target &#39;pubring-stamp&#39; failed</div><div><br></div><div>Ross </div></div></div></div>