<?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>1979</bug_id>
          
          <creation_ts>2012-02-10 04:38:17 +0000</creation_ts>
          <short_desc>size of unsigned int is wrong in ix86-common site file.</short_desc>
          <delta_ts>2012-03-08 19:04:06 +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>core</component>
          <version>1.1.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>1.1.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Immanuel">josh</reporter>
          <assigned_to name="Nitin Kamble">nitin.a.kamble</assigned_to>
          <cc>josh</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>18585</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Immanuel">josh</who>
    <bug_when>2012-02-10 04:38:17 +0000</bug_when>
    <thetext>The size of unsigned int is defined as 1 byte in ix86-common site file. This causes the guile-native package to fail while checking for the unsigned int size in configure script.

I&apos;ve already reported this in the mailing list at 

https://lists.yoctoproject.org/pipermail/yocto/2012-January/006707.html

For sake of keeping track. I am filing this bug.

I&apos;ve attached the patch which solves the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18586</commentid>
    <comment_count>1</comment_count>
      <attachid>331</attachid>
    <who name="Joshua Immanuel">josh</who>
    <bug_when>2012-02-10 04:40:10 +0000</bug_when>
    <thetext>Created attachment 331
patch fixing the issue</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18595</commentid>
    <comment_count>2</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2012-02-10 14:54:32 +0000</bug_when>
    <thetext>Following commit has fixed the issue in the master. which branch are you on?
Nitin


commit 80038a035241b9a1da32d4448fa34afcb697bad6
Author: Nitin A Kamble &lt;nitin.a.kamble@intel.com&gt;
Date:   Wed Jan 18 10:52:15 2012 -0800

    site/ix86-common: fix an error
    
    Fixed this line
    ac_cv_sizeof_unsigned_char=${ac_cv_sizeof_unsigned_int=1}
    
    as this line
    ac_cv_sizeof_unsigned_char=${ac_cv_sizeof_unsigned_char=1}
    
    This issue was causing guile recipe to compile-fail for x86 target.
    
    (From OE-Core rev: d71df3cc2ff2504d61078c578c0e73bbf53b6651)
    
    Signed-off-by: Nitin A Kamble &lt;nitin.a.kamble@intel.com&gt;
    Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;

diff --git a/meta/site/ix86-common b/meta/site/ix86-common
index 512c9a0..e2796eb 100644
--- a/meta/site/ix86-common
+++ b/meta/site/ix86-common
@@ -1,6 +1,6 @@
 # general
 ac_cv_sizeof_char=${ac_cv_sizeof_char=1}
-ac_cv_sizeof_unsigned_char=${ac_cv_sizeof_unsigned_int=1}
+ac_cv_sizeof_unsigned_char=${ac_cv_sizeof_unsigned_char=1}
 ac_cv_sizeof_char_p=${ac_cv_sizeof_char_p=4}
 ac_cv_sizeof_unsigned_char_p=${ac_cv_sizeof_unsigned_char_p=4}
 ac_cv_sizeof_int=${ac_cv_sizeof_int=4}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18598</commentid>
    <comment_count>3</comment_count>
    <who name="Joshua Immanuel">josh</who>
    <bug_when>2012-02-12 21:17:59 +0000</bug_when>
    <thetext>Sorry for the delay in responding

I am in edison branch and my current head is adcf8bf7b52460b94998438e8c2bf854cdec0a80</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18601</commentid>
    <comment_count>4</comment_count>
    <who name="Joshua Immanuel">josh</who>
    <bug_when>2012-02-12 22:36:12 +0000</bug_when>
    <thetext>Pulling from master into edison branch does not yield a clean merge. Many merge conflicts occur :(

So, cloning a master branch separately.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18607</commentid>
    <comment_count>5</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2012-02-13 08:57:32 +0000</bug_when>
    <thetext>Joshua,
If you are on edison branch, you can port the commit to edison, and send a commit pull request. &quot;git cherry-pick &quot; is your friend for this.

Nitin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18610</commentid>
    <comment_count>6</comment_count>
    <who name="Joshua Immanuel">josh</who>
    <bug_when>2012-02-13 21:37:47 +0000</bug_when>
    <thetext>Hello Nitin,

Thanks for the info. Will do a cherry-pick into my cloned edison branch.

I came across few more bugs in edison branch but those are irrelevant to the master branch (due to change of versions in the recipe). Should I file a separate bug report for the record sake?

Joshua</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18611</commentid>
    <comment_count>7</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2012-02-13 21:56:44 +0000</bug_when>
    <thetext>Joshua,
  If those bugs bothers you, and you would like them to be fixed instead of going to master branch, then please file bug reports for them.

Thanks,
Nitin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18612</commentid>
    <comment_count>8</comment_count>
    <who name="Joshua Immanuel">josh</who>
    <bug_when>2012-02-13 22:00:01 +0000</bug_when>
    <thetext>Hello Nitin,

Ok. I&apos;ll file the bugs with relevant patches for them today.

Regards
Joshua</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18708</commentid>
    <comment_count>9</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2012-02-22 14:42:36 +0000</bug_when>
    <thetext>Moving this to target 1.1.2, we should aim to merge the fix into the Edison branch ASAP.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18914</commentid>
    <comment_count>10</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-03-08 19:04:06 +0000</bug_when>
    <thetext>Fixed for 1.1.1 with http://git.yoctoproject.org/cgit.cgi/poky/commit/?h=edison&amp;id=a684aa1df423aad81444bc84d9cd798690a6989f</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>331</attachid>
            <date>2012-02-10 04:40:10 +0000</date>
            <delta_ts>2012-02-10 04:40:10 +0000</delta_ts>
            <desc>patch fixing the issue</desc>
            <filename>ix86-common.patch</filename>
            <type>text/plain</type>
            <size>483</size>
            <attacher name="Joshua Immanuel">josh</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL21ldGEvc2l0ZS9peDg2LWNvbW1vbiBiL21ldGEvc2l0ZS9peDg2LWNvbW1v
bgppbmRleCA1MTJjOWEwLi5lMjc5NmViIDEwMDY0NAotLS0gYS9tZXRhL3NpdGUvaXg4Ni1jb21t
b24KKysrIGIvbWV0YS9zaXRlL2l4ODYtY29tbW9uCkBAIC0xLDYgKzEsNiBAQAogIyBnZW5lcmFs
CiBhY19jdl9zaXplb2ZfY2hhcj0ke2FjX2N2X3NpemVvZl9jaGFyPTF9Ci1hY19jdl9zaXplb2Zf
dW5zaWduZWRfY2hhcj0ke2FjX2N2X3NpemVvZl91bnNpZ25lZF9pbnQ9MX0KK2FjX2N2X3NpemVv
Zl91bnNpZ25lZF9jaGFyPSR7YWNfY3Zfc2l6ZW9mX3Vuc2lnbmVkX2NoYXI9MX0KIGFjX2N2X3Np
emVvZl9jaGFyX3A9JHthY19jdl9zaXplb2ZfY2hhcl9wPTR9CiBhY19jdl9zaXplb2ZfdW5zaWdu
ZWRfY2hhcl9wPSR7YWNfY3Zfc2l6ZW9mX3Vuc2lnbmVkX2NoYXJfcD00fQogYWNfY3Zfc2l6ZW9m
X2ludD0ke2FjX2N2X3NpemVvZl9pbnQ9NH0K
</data>

          </attachment>
      

    </bug>

</bugzilla>