<?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>847</bug_id>
          
          <creation_ts>2011-03-10 18:38:28 +0000</creation_ts>
          <short_desc>LSB 4.1: absent locale packages in lsb image</short_desc>
          <delta_ts>2011-05-13 18:50:41 +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>1.0</version>
          <rep_platform>mpc8315e-rdb</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</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Xiaofeng Yan">Xiaofeng.yan</reporter>
          <assigned_to name="Xiaofeng Yan">Xiaofeng.yan</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.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>12472</commentid>
    <comment_count>0</comment_count>
    <who name="Xiaofeng Yan">Xiaofeng.yan</who>
    <bug_when>2011-03-10 18:38:28 +0000</bug_when>
    <thetext>Desktop:

/tests/functions/GdkProperties/GdkProperties 21 	failed 	
Message from the test:

test case: /opt/lsb/test/desktop/gtkvts/tet_tmp_dir/08681aa/tests/functions/GdkProperties/GdkProperties, TP number: 21 
GdkProperties.c, line 879: 
gdk_utf8_to_compound_text: conversion failed!

Desktop-t2c:

/glib-t2c/tests/glib_character_set_conversion/glib_character_set_conversion	
Message from the test:

Target interface(s):
 g_get_charset
--------
FAILED CHECK in glib_character_set_conversion.c, line 12401 
 comment: Unable to change the locale 
Error: Test purpose error.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12473</commentid>
    <comment_count>1</comment_count>
    <who name="Xiaofeng Yan">Xiaofeng.yan</who>
    <bug_when>2011-03-10 18:56:44 +0000</bug_when>
    <thetext>Add eglibc-binary-*, eglibc-charmps-*, eglibc-gconv-*, eglibc-localedata-* to task-poky-lsb.bb.

Owing to there are thousands of packages related to locale, So we can add four variables to instead of above packages.


yan@usp-ub1004-x86:/buildarea2/yxf/poky_work/poky/meta/recipes-core/eglibc$ diff -Nur eglibc-package.inc eglibc-package.inc.new
--- eglibc-package.inc	2011-03-02 17:22:43.793361064 +0800
+++ eglibc-package.inc.new	2011-03-04 13:14:25.480863298 +0800
@@ -44,6 +44,27 @@
 		    eglibc-gconv-* eglibc-charmap-* eglibc-localedata-* eglibc-binary-localedata-* \
 		    locale-base-*${PKGSUFFIX}&quot;
 
+# Create a eglibc-binarys
+ALLOW_EMPTY_${PN}-binarys = &quot;1&quot;
+PACKAGES += &quot;${PN}-binarys&quot;
+#RRECOMMENDS_${PN}-binarys =  &quot;${@&quot; &quot;.join([p for p in d.getVar(&apos;PACKAGES&apos;, True).split() if p.find(&quot;eglibc-binary&quot;) != -1 and p != &quot;localedef&quot;])}&quot;
+RRECOMMENDS_${PN}-binarys =  &quot;${@&quot; &quot;.join([p for p in d.getVar(&apos;PACKAGES&apos;, True).split() if p.find(&quot;eglibc-binary&quot;) != -1])}&quot;
+
+# Create a eglibc-charmaps package 
+ALLOW_EMPTY_${PN}-charmaps = &quot;1&quot;
+PACKAGES += &quot;${PN}-charmaps&quot;
+RRECOMMENDS_${PN}-charmaps =  &quot;${@&quot; &quot;.join([p for p in d.getVar(&apos;PACKAGES&apos;, True).split() if p.find(&quot;eglibc-charmap&quot;) != -1])}&quot;
+
+# Create a eglibc-gconvs package 
+ALLOW_EMPTY_${PN}-gconvs = &quot;1&quot;
+PACKAGES += &quot;${PN}-gconvs&quot;
+RRECOMMENDS_${PN}-gconvs =  &quot;${@&quot; &quot;.join([p for p in d.getVar(&apos;PACKAGES&apos;, True).split() if p.find(&quot;eglibc-gconv&quot;) != -1])}&quot;
+
+# Create a eglibc-localedatas package 
+ALLOW_EMPTY_${PN}-localedatas = &quot;1&quot;
+PACKAGES += &quot;${PN}-localesdatas&quot;
+RRECOMMENDS_${PN}-localesdatas =  &quot;${@&quot; &quot;.join([p for p in d.getVar(&apos;PACKAGES&apos;, True).split() if p.find(&quot;eglibc-localedata&quot;) != -1])}&quot;
+
 RPROVIDES_eglibc = &quot;glibc&quot;
 RPROVIDES_eglibc-utils = &quot;glibc-utils&quot;
 RPROVIDES_eglibc-pic = &quot;glibc-pic&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12912</commentid>
    <comment_count>2</comment_count>
    <who name="Mei Lei">lei.mei</who>
    <bug_when>2011-03-22 18:22:30 +0000</bug_when>
    <thetext>I think the patch you write below can resolve this bug, but it seems you havn&apos;t sent it out yet, do you have a plan to send it out recently?
(In reply to comment #1)
&gt; Add eglibc-binary-*, eglibc-charmps-*, eglibc-gconv-*, eglibc-localedata-* to
&gt; task-poky-lsb.bb.
&gt; Owing to there are thousands of packages related to locale, So we can add four
&gt; variables to instead of above packages.
&gt; yan@usp-ub1004-x86:/buildarea2/yxf/poky_work/poky/meta/recipes-core/eglibc$
&gt; diff -Nur eglibc-package.inc eglibc-package.inc.new
&gt; --- eglibc-package.inc    2011-03-02 17:22:43.793361064 +0800
&gt; +++ eglibc-package.inc.new    2011-03-04 13:14:25.480863298 +0800
&gt; @@ -44,6 +44,27 @@
&gt;              eglibc-gconv-* eglibc-charmap-* eglibc-localedata-*
&gt; eglibc-binary-localedata-* \
&gt;              locale-base-*${PKGSUFFIX}&quot;
&gt; +# Create a eglibc-binarys
&gt; +ALLOW_EMPTY_${PN}-binarys = &quot;1&quot;
&gt; +PACKAGES += &quot;${PN}-binarys&quot;
&gt; +#RRECOMMENDS_${PN}-binarys =  &quot;${@&quot; &quot;.join([p for p in d.getVar(&apos;PACKAGES&apos;,
&gt; True).split() if p.find(&quot;eglibc-binary&quot;) != -1 and p != &quot;localedef&quot;])}&quot;
&gt; +RRECOMMENDS_${PN}-binarys =  &quot;${@&quot; &quot;.join([p for p in d.getVar(&apos;PACKAGES&apos;,
&gt; True).split() if p.find(&quot;eglibc-binary&quot;) != -1])}&quot;
&gt; +
&gt; +# Create a eglibc-charmaps package 
&gt; +ALLOW_EMPTY_${PN}-charmaps = &quot;1&quot;
&gt; +PACKAGES += &quot;${PN}-charmaps&quot;
&gt; +RRECOMMENDS_${PN}-charmaps =  &quot;${@&quot; &quot;.join([p for p in d.getVar(&apos;PACKAGES&apos;,
&gt; True).split() if p.find(&quot;eglibc-charmap&quot;) != -1])}&quot;
&gt; +
&gt; +# Create a eglibc-gconvs package 
&gt; +ALLOW_EMPTY_${PN}-gconvs = &quot;1&quot;
&gt; +PACKAGES += &quot;${PN}-gconvs&quot;
&gt; +RRECOMMENDS_${PN}-gconvs =  &quot;${@&quot; &quot;.join([p for p in d.getVar(&apos;PACKAGES&apos;,
&gt; True).split() if p.find(&quot;eglibc-gconv&quot;) != -1])}&quot;
&gt; +
&gt; +# Create a eglibc-localedatas package 
&gt; +ALLOW_EMPTY_${PN}-localedatas = &quot;1&quot;
&gt; +PACKAGES += &quot;${PN}-localesdatas&quot;
&gt; +RRECOMMENDS_${PN}-localesdatas =  &quot;${@&quot; &quot;.join([p for p in
&gt; d.getVar(&apos;PACKAGES&apos;, True).split() if p.find(&quot;eglibc-localedata&quot;) != -1])}&quot;
&gt; +
&gt;  RPROVIDES_eglibc = &quot;glibc&quot;
&gt;  RPROVIDES_eglibc-utils = &quot;glibc-utils&quot;
&gt;  RPROVIDES_eglibc-pic = &quot;glibc-pic&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12913</commentid>
    <comment_count>3</comment_count>
    <who name="Xiaofeng Yan">Xiaofeng.yan</who>
    <bug_when>2011-03-22 18:56:31 +0000</bug_when>
    <thetext>I have pushed it to branch poky-contribute, Saul could merge it to poky in yocto 1.1

(In reply to comment #2)
&gt; I think the patch you write below can resolve this bug, but it seems you havn&apos;t
&gt; sent it out yet, do you have a plan to send it out recently?
&gt; (In reply to comment #1)
&gt; &gt; Add eglibc-binary-*, eglibc-charmps-*, eglibc-gconv-*, eglibc-localedata-* to
&gt; &gt; task-poky-lsb.bb.
&gt; &gt; Owing to there are thousands of packages related to locale, So we can add four
&gt; &gt; variables to instead of above packages.
&gt; &gt; yan@usp-ub1004-x86:/buildarea2/yxf/poky_work/poky/meta/recipes-core/eglibc$
&gt; &gt; diff -Nur eglibc-package.inc eglibc-package.inc.new
&gt; &gt; --- eglibc-package.inc    2011-03-02 17:22:43.793361064 +0800
&gt; &gt; +++ eglibc-package.inc.new    2011-03-04 13:14:25.480863298 +0800
&gt; &gt; @@ -44,6 +44,27 @@
&gt; &gt;              eglibc-gconv-* eglibc-charmap-* eglibc-localedata-*
&gt; &gt; eglibc-binary-localedata-* \
&gt; &gt;              locale-base-*${PKGSUFFIX}&quot;
&gt; &gt; +# Create a eglibc-binarys
&gt; &gt; +ALLOW_EMPTY_${PN}-binarys = &quot;1&quot;
&gt; &gt; +PACKAGES += &quot;${PN}-binarys&quot;
&gt; &gt; +#RRECOMMENDS_${PN}-binarys =  &quot;${@&quot; &quot;.join([p for p in d.getVar(&apos;PACKAGES&apos;,
&gt; &gt; True).split() if p.find(&quot;eglibc-binary&quot;) != -1 and p != &quot;localedef&quot;])}&quot;
&gt; &gt; +RRECOMMENDS_${PN}-binarys =  &quot;${@&quot; &quot;.join([p for p in d.getVar(&apos;PACKAGES&apos;,
&gt; &gt; True).split() if p.find(&quot;eglibc-binary&quot;) != -1])}&quot;
&gt; &gt; +
&gt; &gt; +# Create a eglibc-charmaps package 
&gt; &gt; +ALLOW_EMPTY_${PN}-charmaps = &quot;1&quot;
&gt; &gt; +PACKAGES += &quot;${PN}-charmaps&quot;
&gt; &gt; +RRECOMMENDS_${PN}-charmaps =  &quot;${@&quot; &quot;.join([p for p in d.getVar(&apos;PACKAGES&apos;,
&gt; &gt; True).split() if p.find(&quot;eglibc-charmap&quot;) != -1])}&quot;
&gt; &gt; +
&gt; &gt; +# Create a eglibc-gconvs package 
&gt; &gt; +ALLOW_EMPTY_${PN}-gconvs = &quot;1&quot;
&gt; &gt; +PACKAGES += &quot;${PN}-gconvs&quot;
&gt; &gt; +RRECOMMENDS_${PN}-gconvs =  &quot;${@&quot; &quot;.join([p for p in d.getVar(&apos;PACKAGES&apos;,
&gt; &gt; True).split() if p.find(&quot;eglibc-gconv&quot;) != -1])}&quot;
&gt; &gt; +
&gt; &gt; +# Create a eglibc-localedatas package 
&gt; &gt; +ALLOW_EMPTY_${PN}-localedatas = &quot;1&quot;
&gt; &gt; +PACKAGES += &quot;${PN}-localesdatas&quot;
&gt; &gt; +RRECOMMENDS_${PN}-localesdatas =  &quot;${@&quot; &quot;.join([p for p in
&gt; &gt; d.getVar(&apos;PACKAGES&apos;, True).split() if p.find(&quot;eglibc-localedata&quot;) != -1])}&quot;
&gt; &gt; +
&gt; &gt;  RPROVIDES_eglibc = &quot;glibc&quot;
&gt; &gt;  RPROVIDES_eglibc-utils = &quot;glibc-utils&quot;
&gt; &gt;  RPROVIDES_eglibc-pic = &quot;glibc-pic&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13834</commentid>
    <comment_count>4</comment_count>
    <who name="Xiaofeng Yan">Xiaofeng.yan</who>
    <bug_when>2011-05-13 18:50:41 +0000</bug_when>
    <thetext>locale have been merged. It can pass lsb test by test verification</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>