<?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>349</bug_id>
          
          <creation_ts>2010-09-21 01:01:00 +0000</creation_ts>
          <short_desc>[QT] fotowall warns iconv failure in QIconvCodec</short_desc>
          <delta_ts>2013-06-21 09:21:59 +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>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>Low</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>1.5 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Qing He">qing.he</reporter>
          <assigned_to name="Jonathan Liu">net147</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>jiajun.xu</cc>
    
    <cc>ke.yu</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>net147</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_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>9929</commentid>
    <comment_count>0</comment_count>
    <who name="Qing He">qing.he</who>
    <bug_when>2010-09-21 01:01:00 +0000</bug_when>
    <thetext>see also bug 280, bug 347, bug 347

this bug addresses the warning part of iconv failures.
Since it appears to be just warning, don&apos;t block bug 280

######
root@qemux86-64:~# DISPLAY=:0.0 fotowall
QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv failed for
BOM: Bad file descriptor
QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open
failed
QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed
Illegal instruction
######</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15536</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2011-08-17 16:43:02 +0000</bug_when>
    <thetext>Honestly I have looked at this and the message itself doesn&apos;t really mean anything based on all of the searching I have done. If we are getting actual i18n failures that is a different story. My opinion is that we should mark this as WONTFIX.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18965</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-03-12 12:28:31 +0000</bug_when>
    <thetext>Resolving as WONTFIX as above. If we get actual i18n issues with Qt then we can reopen or file a new bug as appropriate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33964</commentid>
    <comment_count>3</comment_count>
    <who name="Jonathan Liu">net147</who>
    <bug_when>2013-06-19 06:48:53 +0000</bug_when>
    <thetext>Installing eglibc-gconv-utf-16 makes the warning disappear.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33965</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-06-19 08:00:58 +0000</bug_when>
    <thetext>Based on that should we add am RDEPENDS to fotowall?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33967</commentid>
    <comment_count>5</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-06-19 08:15:14 +0000</bug_when>
    <thetext>If this dependency is independent of locale and is added conditional on using (e)glibc, then yes; I&apos;d use RRECOMMENDS though since it&apos;s not a hard dependency.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33968</commentid>
    <comment_count>6</comment_count>
    <who name="Jonathan Liu">net147</who>
    <bug_when>2013-06-19 08:21:27 +0000</bug_when>
    <thetext>This happens for every Qt application. For example, it happens for this minimal Qt application:
#include &lt;QCoreApplication&gt;

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);
    return 0;
}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33969</commentid>
    <comment_count>7</comment_count>
    <who name="Jonathan Liu">net147</who>
    <bug_when>2013-06-19 08:38:50 +0000</bug_when>
    <thetext>Qt&apos;s QString class stores strings internally using UTF-16 encoding. This affects conversions between the system&apos;s local 8-bit representation and QString&apos;s UTF-16 encoding.

The example, the following functions would be affected:
QString::fromLocal8Bit(...)
QString::toLocal8Bit(...)

It would use Latin-1 encoding instead of the system&apos;s encoding for conversion.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33970</commentid>
    <comment_count>8</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-06-19 09:02:49 +0000</bug_when>
    <thetext>Right, this makes sense. In which case I guess the easiest thing would be to add the dependency to the qtcore package itself in qt4.inc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34038</commentid>
    <comment_count>9</comment_count>
    <who name="Jonathan Liu">net147</who>
    <bug_when>2013-06-21 09:21:59 +0000</bug_when>
    <thetext>Fixed by http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=ed4a919cae7b1e03d0cb83636ce88f50a3ca1d16</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>