<?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>2359</bug_id>
          
          <creation_ts>2012-04-23 03:34:17 +0000</creation_ts>
          <short_desc>miss perl in distribution of x86 &amp; x86-64 sato</short_desc>
          <delta_ts>2012-04-25 18:35:20 +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>1.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86_64</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="kyle">sivan.wang</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>jiajun.xu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</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>20805</commentid>
    <comment_count>0</comment_count>
    <who name="kyle">sivan.wang</who>
    <bug_when>2012-04-23 03:34:17 +0000</bug_when>
    <thetext>Build the core-image-sato on opensuse12.1 , the release version is  Yocto 1.2 M4 RC4 . and there is missing the package perl in the distribution test x86 &amp; x86-64 .</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20814</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-04-23 10:31:24 +0000</bug_when>
    <thetext>Could you please explain this issue further, there is insufficient context here for me to understand what the problem is. What error messages were you seeing? What test was failing?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20830</commentid>
    <comment_count>2</comment_count>
    <who name="kyle">sivan.wang</who>
    <bug_when>2012-04-24 02:14:16 +0000</bug_when>
    <thetext>testcase ：TC-2445
Steps:
1. Check if perl is installed in image and could run with &quot;perl -v&quot;
2. Prepare a perl program like followig test.pl
3. Run &quot;perl test.pl&quot;
########
$a = 9.01e+21 + 0.01 - 9.01e+21;
print (&quot;the value of a is &quot;, $a, &quot;\n&quot;);
$a = 9.01e+21 - 9.01e+21 + 0.01;
print (&quot;the value of a is &quot;, $a, &quot;\n&quot;);
########

there is no command named &quot;perl&quot; 
so maybe we miss the packages &quot;perl&quot; when we build the core-image-sato for x86 &amp; x86-64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20842</commentid>
    <comment_count>3</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-04-24 16:58:59 +0000</bug_when>
    <thetext>When did this test case get added/created it seems to be a new testcase.  

Perl has not been part of the Sato image, it is part of the Sato-SDK image as the SDK contains the tools.  My original understanding is that Sato is primarily a graphical based demo, not a full</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20855</commentid>
    <comment_count>4</comment_count>
    <who name="kyle">sivan.wang</who>
    <bug_when>2012-04-25 01:43:06 +0000</bug_when>
    <thetext>But I have do the same test in Yocto 1.2M4 RC3 , this testcase was passed . So I think there maybe some problem about this. pls confirmed.
(In reply to comment #3)
&gt; When did this test case get added/created it seems to be a new testcase.  
&gt; Perl has not been part of the Sato image, it is part of the Sato-SDK image as
&gt; the SDK contains the tools.  My original understanding is that Sato is
&gt; primarily a graphical based demo, not a full</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20867</commentid>
    <comment_count>5</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2012-04-25 16:17:04 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; When did this test case get added/created it seems to be a new testcase.  
&gt; Perl has not been part of the Sato image, it is part of the Sato-SDK image as
&gt; the SDK contains the tools.  My original understanding is that Sato is
&gt; primarily a graphical based demo, not a full

It&apos;s my fault to include an old test case into M4. We used to test perl for both sato and sato-sdk image. And we also reported one bug, bug 1172, that sato image has no perl, which is identified as WONTFIX. From that time, -tools is removed from -sato image and will be only available in -sdk image.
I will update the test plan and remove the perl case for sato image.

BTW, I think kyle&apos;s finding is correct. We used to find perl in sato image with RC3. But with latest denzil, it does not exist in sato image. There must be something wrong in RC3 and previous RC builds. I have a quick check but does not get any idea until now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20868</commentid>
    <comment_count>6</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-04-25 18:35:20 +0000</bug_when>
    <thetext>I think I found the root cause of this, eglibc has a utility called mtrace which is a perl based tool, it&apos;s installed in eglibc-utils.  Prior to 1.2M4 RC3 and a patch for FC17 (git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=denzil&amp;id=71b8383a6b2cc4c48424b5e3bd872de787b378b8), Perl was infact included because we had the dependency.

With the above change, the runtime checker does not find the perl dependency I guess, which means we no longer have perl installed, but still really need it. 

The boarder question here is: Does eglibc-utils belong in the sato image itself?

And why is the perl dependency getting lost?

I will open af different bug to address this, but close this one.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>