<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 2018年09月11日 18:39, Alexander Kanavin
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CANNYZj8SRYoj3QXZ7_bCLe6qrJq1TBq-WOsHMOLVLpveh151bA@mail.gmail.com">
      <pre wrap="">I'm afraid I have changed my mind, and I have to say no to this. It is
<b class="moz-txt-star"><span class="moz-txt-tag">*</span>not<span class="moz-txt-tag">*</span></b> a backport, it is a very large patch that nobody understands, it
will need to be rebased every time there is new openssh out, we cannot
rely on Fedora doing this, as they apply this patch on top of their
other patches. Meanwhile, upstream pull request has been stalled for a
very long time and just isn't going anywhere.

I would suggest you make openssh depend on libressl and find out why
it is working everywhere except arm64 - that's the only reason we
haven't done it yet.</pre>
    </blockquote>
    <br>
    Use openssh depends on libressl could not fix the issue, which also
    conflicts<br>
    with openssl in the meta-selinux example (they provides the same
    headers/libraries)<br>
    <br>
    The root cause is since rename libssl (1.0) -&gt; libssl10, and drop
    PRFERRED_VERSION,<br>
    there are multiple recipes provide ssl (openssl, openssl10,
    libressl) with different name<br>
    <br>
    BTW, even though openssh depends `openssl10',  the `openssl' is
    installed<br>
    to rootfs. It breaks DEPEND/RDEPENDS principle<br>
    <br>
    [local.conf]<br>
    IMAGE_INSTALL_append = " openssh"<br>
    [local.conf]<br>
    <br>
    $ bitbake core-image-minimal<br>
    <br>
    [log.do_rootfs]<br>
      Installing       : openssl-1.1.1~pre9-r0.core2_64<br>
    [log.do_rootfs]<br>
    <br>
    The recipe depends on openssl10, but openssl10 will not be
    installed.<br>
    <br>
    Here are my suggestions <br>
    <br>
    1: Replace dependence openssl10  -&gt; openssl, such as this fix,
    and drop recipe openssl10 finally;<br>
        1 (openssh) in oe-core, 3 (umip, ipsec-tools, mailx) in oe, 3
    (openssl-tpm-engine,<br>
        tpm-tools, trousers) in meta-secure-core<br>
    <br>
    Or 2: Unify openssl,openssl10 and libressl to provide one ssl,<br>
            we could add PROVIDER = 'virtual/ssl' to above recipe, any
    recipe<br>
            depends on `openssl' will be replced with `virtual/ssl', the
    recipe<br>
           depends on `openssl10' will not be changed.<br>
    <br>
           Set PREFERRED_PROVIDER_virtual//ssl = "openssl | openssl10 |
    libressl" in conf<br>
    <br>
    Or 3: Revert previously patch, rename recipe openssl10 -&gt; openssl
    1.0, and set<br>
          PREFERRED_VERSION<br>
    <br>
    <br>
    //Hongxu<br>
    <br>
    <blockquote type="cite"
cite="mid:CANNYZj8SRYoj3QXZ7_bCLe6qrJq1TBq-WOsHMOLVLpveh151bA@mail.gmail.com">
      <pre wrap="">

Alex</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>