<?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>10102</bug_id>
          
          <creation_ts>2016-08-09 10:59:56 +0000</creation_ts>
          <short_desc>gdk-pixbuf-native missing dependency on pcre needed by glib-2.0-native</short_desc>
          <delta_ts>2016-09-28 16:34:46 +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>graphics</component>
          <version>2.1</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.2 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Martin Jansa">Martin.Jansa</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>64987</commentid>
    <comment_count>0</comment_count>
    <who name="Martin Jansa">Martin.Jansa</who>
    <bug_when>2016-08-09 10:59:56 +0000</bug_when>
    <thetext>This is with Yocto 2.1 Krogoth.

Causing following ugly exception when postinst is executed in rootfs:

/home/jenkins/workspace/luneos-stable/webos-ports/tmp-glibc/sysroots/x86_64-linux/usr/lib/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
WARNING: exit code 1 from a shell command.
ERROR: Execution of event handler &apos;base_eventhandler&apos; failed
Traceback (most recent call last):
  File &quot;/home/jenkins/workspace/luneos-stable/webos-ports/openembedded-core/meta/classes/base.bbclass&quot;, line 259, in base_eventhandler(e=&lt;bb.runqueue.sceneQueueComplete object at 0x7f128d4686d0&gt;):
                 bb.debug(1, &quot;Executing SceneQueue Completion commands: %s&quot; % &quot;\n&quot;.join(cmds))
    &gt;            bb.build.exec_func(&quot;completion_function&quot;, e.data)
                 os.remove(completions)
  File &quot;/home/jenkins/workspace/luneos-stable/webos-ports/bitbake/lib/bb/build.py&quot;, line 234, in exec_func(func=&apos;completion_function&apos;, d=&lt;bb.data_smart.DataSmart object at 0x7f129aef2dd0&gt;, dirs=None, pythonexception=False):
             else:
    &gt;            exec_func_shell(func, d, runfile, cwd=adir)
     
  File &quot;/home/jenkins/workspace/luneos-stable/webos-ports/bitbake/lib/bb/build.py&quot;, line 382, in exec_func_shell(func=&apos;completion_function&apos;, d=&lt;bb.data_smart.DataSmart object at 0x7f129aef2dd0&gt;, runfile=&apos;/home/jenkins/workspace/luneos-stable/webos-ports/tmp-glibc/work/armv7a-neon-webos-linux-gnueabi/defaultpkgname/1.0-r0/temp/run.completion_function.17768&apos;, cwd=&apos;/home/jenkins/workspace/luneos-stable/webos-ports/tmp-glibc/work/armv7a-neon-webos-linux-gnueabi/defaultpkgname/1.0-r0/defaultpkgname-1.0&apos;):
                     logfn = d.getVar(&apos;BB_LOGFILE&apos;, True)
    &gt;                raise FuncFailed(func, logfn)
             finally:
FuncFailed: Function failed: completion_function

ERROR: An uncaught exception occured in runqueue, please see the failure below:
ERROR: Running idle function
Traceback (most recent call last):
  File &quot;/home/jenkins/workspace/luneos-stable/webos-ports/bitbake/lib/bb/event.py&quot;, line 110, in fire_class_handlers(event=&lt;bb.runqueue.sceneQueueComplete object at 0x7f128d4686d0&gt;, d=&lt;bb.data_smart.DataSmart object at 0x7f129aef2dd0&gt;):
                         continue
    &gt;            execute_handler(name, handler, event, d)
     
  File &quot;/home/jenkins/workspace/luneos-stable/webos-ports/bitbake/lib/bb/event.py&quot;, line 82, in execute_handler(name=&apos;base_eventhandler&apos;, handler=&lt;function base_eventhandler at 0x7f129b1412a8&gt;, event=&lt;bb.runqueue.sceneQueueComplete object at 0x7f128d4686d0&gt;, d=&lt;bb.data_smart.DataSmart object at 0x7f129aef2dd0&gt;):
         try:
    &gt;        ret = handler(event)
         except (bb.parse.SkipRecipe, bb.BBHandledException):
  File &quot;/home/jenkins/workspace/luneos-stable/webos-ports/openembedded-core/meta/classes/base.bbclass&quot;, line 259, in base_eventhandler(e=&lt;bb.runqueue.sceneQueueComplete object at 0x7f128d4686d0&gt;):
                 bb.debug(1, &quot;Executing SceneQueue Completion commands: %s&quot; % &quot;\n&quot;.join(cmds))
    &gt;            bb.build.exec_func(&quot;completion_function&quot;, e.data)
                 os.remove(completions)
  File &quot;/home/jenkins/workspace/luneos-stable/webos-ports/bitbake/lib/bb/build.py&quot;, line 234, in exec_func(func=&apos;completion_function&apos;, d=&lt;bb.data_smart.DataSmart object at 0x7f129aef2dd0&gt;, dirs=None, pythonexception=False):
             else:
    &gt;            exec_func_shell(func, d, runfile, cwd=adir)
     
  File &quot;/home/jenkins/workspace/luneos-stable/webos-ports/bitbake/lib/bb/build.py&quot;, line 382, in exec_func_shell(func=&apos;completion_function&apos;, d=&lt;bb.data_smart.DataSmart object at 0x7f129aef2dd0&gt;, runfile=&apos;/home/jenkins/workspace/luneos-stable/webos-ports/tmp-glibc/work/armv7a-neon-webos-linux-gnueabi/defaultpkgname/1.0-r0/temp/run.completion_function.17768&apos;, cwd=&apos;/home/jenkins/workspace/luneos-stable/webos-ports/tmp-glibc/work/armv7a-neon-webos-linux-gnueabi/defaultpkgname/1.0-r0/defaultpkgname-1.0&apos;):
                     logfn = d.getVar(&apos;BB_LOGFILE&apos;, True)
    &gt;                raise FuncFailed(func, logfn)
             finally:
FuncFailed: Function failed: completion_function

Command exited with non-zero status 1


OE qemux86@luneos ~/workspace/luneos-stable/webos-ports $ ldd /home/jenkins/workspace/luneos-stable/webos-ports/tmp-glibc/sysroots/x86_64-linux/usr/lib/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders.real
        linux-vdso.so.1 =&gt;  (0x00007ffea99fa000)
        libgmodule-2.0.so.0 =&gt; /home/jenkins/workspace/luneos-stable/webos-ports/tmp-glibc/sysroots/x86_64-linux/usr/lib/gdk-pixbuf-2.0/../libgmodule-2.0.so.0 (0x00007f1d8db26000)
        libgobject-2.0.so.0 =&gt; /home/jenkins/workspace/luneos-stable/webos-ports/tmp-glibc/sysroots/x86_64-linux/usr/lib/gdk-pixbuf-2.0/../libgobject-2.0.so.0 (0x00007f1d8d8d5000)
        libglib-2.0.so.0 =&gt; /home/jenkins/workspace/luneos-stable/webos-ports/tmp-glibc/sysroots/x86_64-linux/usr/lib/gdk-pixbuf-2.0/../libglib-2.0.so.0 (0x00007f1d8d5c9000)
        libpthread.so.0 =&gt; /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1d8d3ab000)
        libc.so.6 =&gt; /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1d8cfe6000)
        libdl.so.2 =&gt; /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1d8cde2000)
        libffi.so.6 =&gt; /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f1d8cbda000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f1d8dd2a000)
        libpcre.so.1 =&gt; not found</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64988</commentid>
    <comment_count>1</comment_count>
    <who name="Martin Jansa">Martin.Jansa</who>
    <bug_when>2016-08-09 11:48:50 +0000</bug_when>
    <thetext>Possibly caused by sstate optimalization discussed here:
http://lists.openembedded.org/pipermail/openembedded-core/2016-July/124435.html
?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64989</commentid>
    <comment_count>2</comment_count>
    <who name="Martin Jansa">Martin.Jansa</who>
    <bug_when>2016-08-09 11:55:22 +0000</bug_when>
    <thetext>There is dependency only from glib-2.0-native.do_configure, but that&apos;s probably skipped and gdk-pixbuf-native from sstate doesn&apos;t work because libpcre-native.do_populate_sysroot wasn&apos;t executed.

OE qemux86@luneos ~/workspace/luneos-stable/webos-ports $ grep &quot; -&gt; \&quot;libpcre-native&quot; task-depends.dot 
&quot;libpcre-native.do_install&quot; -&gt; &quot;libpcre-native.do_compile&quot;
&quot;rpm-native.do_configure&quot; -&gt; &quot;libpcre-native.do_populate_sysroot&quot;
&quot;libpcre-native.do_unpack&quot; -&gt; &quot;libpcre-native.do_fetch&quot;
&quot;libpcre-native.do_build&quot; -&gt; &quot;libpcre-native.do_populate_lic&quot;
&quot;libpcre-native.do_build&quot; -&gt; &quot;libpcre-native.do_populate_sysroot&quot;
&quot;libpcre-native.do_configure&quot; -&gt; &quot;libpcre-native.do_patch&quot;
&quot;libpcre-native.do_populate_sysroot&quot; -&gt; &quot;libpcre-native.do_install&quot;
&quot;luneos-dev-image.do_rootfs&quot; -&gt; &quot;libpcre-native.do_populate_lic&quot;
&quot;libpcre-native.do_compile&quot; -&gt; &quot;libpcre-native.do_configure&quot;
&quot;libpcre-native.do_populate_lic&quot; -&gt; &quot;libpcre-native.do_patch&quot;
&quot;luneos-dev-emulator-appliance.do_rm_work_all&quot; -&gt; &quot;libpcre-native.do_rm_work&quot;
&quot;libpcre-native.do_rm_work&quot; -&gt; &quot;libpcre-native.do_build&quot;
&quot;glib-2.0-native.do_configure&quot; -&gt; &quot;libpcre-native.do_populate_sysroot&quot;
&quot;libpcre-native.do_patch&quot; -&gt; &quot;libpcre-native.do_unpack&quot;
&quot;luneos-dev-image.do_image&quot; -&gt; &quot;libpcre-native.do_populate_lic&quot;
&quot;luneos-dev-image.do_build&quot; -&gt; &quot;libpcre-native.do_build&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65456</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-08-23 15:38:36 +0000</bug_when>
    <thetext>I&apos;ve never seen this in master, have you?  Is this specific to the krogoth release?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66444</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-09-21 21:47:25 +0000</bug_when>
    <thetext>Is this regularly reproducing? We did recently hit a similar libpcre-native failure with rpm-native. This turned out to be a bitbake bug when there were problems with the sstate feed (rpm-native was valid and llibpcre-native wasn&apos;t).

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=d3e6e1054c148983370febdab362628d9854bc24 was the fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66694</commentid>
    <comment_count>5</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-09-28 16:34:46 +0000</bug_when>
    <thetext>We this this was resolved in the commit that Richard mentioned, so I&apos;m marking this as resolved.

Martin, if you can still replicate with that fix applied, please re-open.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>