<?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>165</bug_id>
          
          <creation_ts>2010-07-29 19:03:03 +0000</creation_ts>
          <short_desc>enchant lacks DEPENDS of glib-2.0</short_desc>
          <delta_ts>2010-12-21 06:07:11 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>0.9</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</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>0.9 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dexuan Cui">dexuan.cui</reporter>
          <assigned_to name="Dongxiao Xu">dongxiao.xu</assigned_to>
          <cc>dexuan.cui</cc>
    
    <cc>dongxiao.xu</cc>
    
    <cc>edwin.zhai</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>nitin.a.kamble</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          <cf_verified>Program Management</cf_verified>
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>9170</commentid>
    <comment_count>0</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2010-07-29 19:03:03 +0000</bug_when>
    <thetext>When I did &quot;bitbake poky-image-sato&quot;, I got the build failure:

ERROR: Task 4298 (/osel/dcui/09/poky-contrib.git/meta-moblin/packages/enchant/enchant_1.3.0.bb, do_compile) failed with 256
...
linux/osel/dcui/09/poky-contrib.git/build/tmp/sysroots/i686-linux/usr/lib/glib-2.0/include -DENCHANT_GLOBAL_MODULE_DIR=\&quot;/usr/lib/enchant\&quot; -DENCHANT_GLOBAL_ORDERING=\&quot;/usr/share/enchant\&quot; -D_ENCHANT_BUILD=1 -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -MT pwl.lo -MD -MP -MF .deps/pwl.Tpo -c pwl.c  -fPIC -DPIC -o .libs/pwl.o
| enchant.c:35:18: error: glib.h: No such file or directory
| enchant.c:36:21: error: gmodule.h: No such file or directory
| enchant.c:64: error: expected specifier-qualifier-list before &apos;GSList&apos;
| enchant.c:73: error: expected specifier-qualifier-list before &apos;GHashTable&apos;
| enchant.c: In function &apos;enchant_get_module_dir&apos;:
...

I did a &quot;bitbake glib-2.0; bitbake enchant -c clean; bitbake enchant; bitbake poky-image-sato&quot; to work around the issue.
Adding glib-2.0 into the DEPENDS of enchant can also work.

The basic analysis:
Edwin updated webkit-svn and added DEPENDS on enchant so enchant is now built.
Previously enchant was not included in sato at all so we couldn&apos;t meet with the build failure.

I think we should add glib-2.0 into the DEPENDS of enchant and update the enchant the package to the latest version. Dongxiao may follow this up. :-)

BTW: to reproduce the issue, do
1) bitbake -c clean glib-2.0
2) bitbake -c clean enchant
3) bitbake enchant</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9191</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2010-07-29 22:54:30 +0000</bug_when>
    <thetext>Enchant should be moved to meta directory also since there is a dependency there.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9226</commentid>
    <comment_count>2</comment_count>
    <who name="Dongxiao Xu">dongxiao.xu</who>
    <bug_when>2010-08-03 07:03:31 +0000</bug_when>
    <thetext>I will upgrade enchant and add the dependency to fix the problem</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9248</commentid>
    <comment_count>3</comment_count>
    <who name="Dongxiao Xu">dongxiao.xu</who>
    <bug_when>2010-08-04 18:53:20 +0000</bug_when>
    <thetext>Nitin has fixed this issue in commit 4460087b838dd2e882e4b354049464394df04a7e, so mark this bug as fixed.

Thanks,
Dongxiao</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>