<?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>4530</bug_id>
          
          <creation_ts>2013-05-22 13:40:46 +0000</creation_ts>
          <short_desc>gconv data needs virtual providers</short_desc>
          <delta_ts>2025-02-06 16:15:10 +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.4</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>5.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>bernhard.guillon</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>tim.orling</cc>
    
    <cc>wen.yan.tan</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>33206</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-05-22 13:40:46 +0000</bug_when>
    <thetext>libc-package.bbclass packages the gconv locale conversion functions into $BPN-gconv-$encoding, but if a package[1] or image[2] needs a specific encoding available it means specifying the libc being used (e.g. eglibc-gconv-iso8859-1).  There should be virtual packages provided by everything that packages these functions, so the dependency can be on for example virtual/gconf-iso-8859-1.

[1] e.g. guile requires iso-8859-1
[2] &quot;my image is using utf-8 locales&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42399</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2014-04-08 16:14:52 +0000</bug_when>
    <thetext>I guess step one is determining what the names are for uclibc images.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75196</commentid>
    <comment_count>2</comment_count>
    <who name="Stephen K Jolley">sjolley.yp.pm</who>
    <bug_when>2017-07-20 15:28:03 +0000</bug_when>
    <thetext>Still vaild</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93331</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2022-05-26 15:26:32 +0000</bug_when>
    <thetext>Fixing this would clean up a lot of recipes in core. We&apos;d want a runtime provides namespace and could then likely use RRECOMMENDS. Moving to 4.99 to highlight it would be good cleanup</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96614</commentid>
    <comment_count>4</comment_count>
    <who name="mr-nice">bernhard.guillon</who>
    <bug_when>2023-10-04 20:27:08 +0000</bug_when>
    <thetext>Hi all,
can you please provide more information about this bug? I grepd the core layer and at least found glibc-charmap-iso-8859-1 for some dependency chains. In special interest for me would be recipes which would benefit from this cleanup.

Greets,
mr-nice</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96615</commentid>
    <comment_count>5</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2023-10-04 20:50:52 +0000</bug_when>
    <thetext>poky/meta$ grep libc-glibc.*gconv -R
recipes-multimedia/gstreamer/gstreamer1.0_1.22.5.bb:RDEPENDS:${PN}-ptest:append:libc-glibc = &quot; glibc-gconv-iso8859-5&quot;
recipes-support/apr/apr-util_1.6.3.bb:RDEPENDS:${PN}-ptest:append:libc-glibc = &quot; glibc-gconv-iso8859-1 glibc-gconv-iso8859-2 glibc-gconv-utf-7&quot;
recipes-devtools/valgrind/valgrind_3.21.0.bb:RDEPENDS:${PN}-ptest:append:libc-glibc = &quot; glibc-utils glibc-gconv-utf-32&quot;
recipes-devtools/mtools/mtools_4.0.43.bb:RDEPENDS:${PN}:libc-glibc = &quot;glibc-gconv-ibm850&quot;
recipes-connectivity/bluez5/bluez5.inc:RDEPENDS:${PN}-ptest:append:libc-glibc = &quot; glibc-gconv-utf-16&quot;
recipes-core/libxml/libxml2_2.11.5.bb:RDEPENDS:${PN}-ptest:append:libc-glibc = &quot; glibc-gconv-ebcdic-us \

which shows a few recipes with glibc specific overrides and gconv dependencies in OE-Core</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96616</commentid>
    <comment_count>6</comment_count>
    <who name="mr-nice">bernhard.guillon</who>
    <bug_when>2023-10-04 21:10:42 +0000</bug_when>
    <thetext>Hey RP,
thanks for taking the time to clarify the scope of the bug! I will take a closer look at it.
Greets,
mr-nice</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98972</commentid>
    <comment_count>7</comment_count>
    <who name="Wen Yan Tan">wen.yan.tan</who>
    <bug_when>2024-05-07 06:54:04 +0000</bug_when>
    <thetext>Hi all,

Is this still valid? Can you please provide more information about the objective? For those affected recipes in meta, we want to use virtual providers as well as using RRECOMMENDS?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>