<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>13377</bug_id>
          
          <creation_ts>2019-06-04 23:47:17 +0000</creation_ts>
          <short_desc>gst-inspect on target is looking for a .so on host</short_desc>
          <delta_ts>2019-08-15 15:28:51 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>multimedia</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.8 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jaewon Lee">jaewon</reporter>
          <assigned_to name="Jaewon Lee">jaewon</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>84061</commentid>
    <comment_count>0</comment_count>
    <who name="Jaewon Lee">jaewon</who>
    <bug_when>2019-06-04 23:47:17 +0000</bug_when>
    <thetext>Add gstreamer1.0-python gstreamer1.0 to an image, on target run gst-inspect-1.0 and I see the following error 

** (gst-plugin-scanner:2343): CRITICAL **: 23:08:18.327: Couldn&apos;t g_module_open libpython. Reason: /WORKSPACE/build/tmp/work/aarch64/gstreamer1.0-python/1.14.4-r0/recipe-sysroot-native/usr/lib/libpython3.5m.so: cannot open shared object file: No such file or directory

the error was addressed in commit a2cf84affff8a78fdaa8fabcfa9b40be1936678e
this is in a comment:

+    # gstpythonplugin hardcodes the location of the libpython from the build
+    # workspace and then fails at runtime. We can override it using
+    # --with-libpython-dir=${libdir}, but it still fails because it looks for a
+    # symlinked library ending in .so instead of the actually library with
+    # LIBNAME.so.MAJOR.MINOR. Although we could patch the code to use the path
+    # we want, it will break again if the library version ever changes. We need
+    # to think about the best way of handling this and possibly consult
+    # upstream.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84063</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2019-06-05 11:07:57 +0000</bug_when>
    <thetext>As you&apos;ve found the fix, can you send the patch?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84109</commentid>
    <comment_count>2</comment_count>
    <who name="Jaewon Lee">jaewon</who>
    <bug_when>2019-06-07 22:17:55 +0000</bug_when>
    <thetext>Patch sent on mailing list

[OE-core][PATCH] gstreamer1.0-python_1.16.0.bb: Override libpython dir</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84114</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2019-06-08 07:26:23 +0000</bug_when>
    <thetext>Haven&apos;t seen that patch on the list yet...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84686</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2019-08-15 15:28:51 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=c07435a83a45332cfe2639f5f09bf21e5ead19b5</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>