<div dir="ltr"><div dir="ltr">On Sun, 15 Dec 2019 at 18:52, Carlos Rafael Giani &lt;<a href="mailto:crg7475@mailbox.org">crg7475@mailbox.org</a>&gt; wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <p>Is this related to an issue I mentioned in my RFC?</p>
    <p>&gt; <a href="http://gstreamer1.0-python_1.16.1.bb" target="_blank">gstreamer1.0-python_1.16.1.bb</a> currently has a problem in
      that the gst-python code tries to load /usr/lib/<a href="http://libpython3.7m.so" target="_blank">libpython3.7m.so</a>.
      But, in a regular installation, only /usr/lib/libpython3.7m.so.1.0
      would be availale. It is possible to adjust the libpython path
      &amp; name during the build. But - what would it be adjusted to?
      How would the recipe know that &quot;/usr/lib/libpython3.7m.so.1.0&quot; is
      the correct choice? Or perhaps would it make sense to add the
      /usr/lib/<a href="http://libpython3.7m.so" target="_blank">libpython3.7m.so</a> symlink to the regular (as in: non-dev)
      Python package?</p>
    </div></blockquote><div><br></div><div>The way I read the code [1], it only tries to do this if it&#39;s not explicitly linked with libpython, and at least on my host, it is:</div><div><br></div><div>ak@linux-f9zs:~/development/poky&gt; ldd /usr/lib64/gstreamer-1.0/<a href="http://libgstpython.cpython-37m-x86_64-linux-gnu.so">libgstpython.cpython-37m-x86_64-linux-gnu.so</a><br>        linux-vdso.so.1 (0x00007fffe931a000)<br>        libpython3.7m.so.1.0 =&gt; /usr/lib64/libpython3.7m.so.1.0 (0x00007fbb718e7000)<br>        libgstreamer-1.0.so.0 =&gt; /usr/lib64/libgstreamer-1.0.so.0 (0x00007fbb717a3000)<br>        libgobject-2.0.so.0 =&gt; /usr/lib64/libgobject-2.0.so.0 (0x00007fbb71747000)</div><div>...</div><div><br></div><div>The use case is rather marginal I&#39;d say: writing gstreamer plugins in python. The *other* thing gst-python does, accessing gstreamer API from python scripts, is not affected.<br></div><div></div><div><br></div><div>[1] <a href="https://gitlab.freedesktop.org/gstreamer/gst-python/blob/1.16.2/plugin/gstpythonplugin.c#L227">https://gitlab.freedesktop.org/gstreamer/gst-python/blob/1.16.2/plugin/gstpythonplugin.c#L227</a></div><div><br></div><div>Alex<br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
    <div>On 15.12.19 18:32, Khem Raj wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div><br>
      </div>
      <div><br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">On Sun, Dec 15, 2019 at 9:12
            AM Alexander Kanavin &lt;<a href="mailto:alex.kanavin@gmail.com" target="_blank">alex.kanavin@gmail.com</a>&gt;
            wrote:<br>
          </div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
            <div dir="ltr">
              <div dir="ltr">On Sun, 15 Dec 2019 at 18:06, Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;
                wrote:<br>
              </div>
              <div class="gmail_quote">
                <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                  <div dir="ltr">
                    <div>This is expected; the patch should be merged
                      together with 3.8 upgrade.</div>
                  </div>
                  <div>
                    <div class="gmail_quote">
                      <div dir="auto"><br>
                      </div>
                      <div dir="auto">I don’t think this patch is right
                        though since this patch is creating py3.8
                        dependency if you want to upstream something
                        that should work with all py3 I think <br>
                      </div>
                    </div>
                  </div>
                </blockquote>
                <div><br>
                </div>
                <div>It&#39;s being discussed in the upstream submission
                  ticket, and will be resolved; we can take the
                  3.8-specific fix meanwhile.</div>
              </div>
            </div>
          </blockquote>
          <div dir="auto"><br>
          </div>
          <div dir="auto">For better processing this series should be in
            three parts </div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">1 Python 3.8 updates</div>
          <div dir="auto">2 gettext updates</div>
          <div dir="auto">3 rest of them</div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">I have filtered it into roughly these and
            currently staged in yoe/mut just the third part which i
            think can be applied with out much problem</div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">For 1 and 2 there are breakages for many
            packages</div>
          <div dir="auto">And it would be better to identify them and
            let community know of and seek help</div>
          <div dir="auto"><br>
          </div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
            <div dir="ltr">
              <div class="gmail_quote">
                <div><br>
                </div>
                <div>Alex<br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
    </blockquote>
  </div>

-- <br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</blockquote></div></div>