<?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>2829</bug_id>
          
          <creation_ts>2012-07-25 04:52:32 +0000</creation_ts>
          <short_desc>mtools: fail to run because no codepage 850 installed</short_desc>
          <delta_ts>2012-11-13 02:36:05 +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>devtools / tool chain</component>
          <version>1.3.2</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</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.3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Xin Ouyang">xin.ouyang</reporter>
          <assigned_to name="Xin Ouyang">xin.ouyang</assigned_to>
          <cc>marc.ferland</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>song.liu</cc>
    
    <cc>xin.ouyang</cc>
    
    <cc>yi.zhao</cc>
    
    <cc>zhenfeng.zhao</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>23469</commentid>
    <comment_count>0</comment_count>
    <who name="Xin Ouyang">xin.ouyang</who>
    <bug_when>2012-07-25 04:52:32 +0000</bug_when>
    <thetext>mtools commands use cp850 as the &quot;mtools_default_codepage&quot;, they would use cp850 to do covert works. Because mtools has no RDEPENDS for glibc-gconv-ibm850, many commands would run to fail.

Test steps:

root@qemux86-64:~# dd if=/dev/zero of=floppy.img bs=1024 count=1440
1440+0 records in
1440+0 records out
1474560 bytes (1.5 MB) copied, 0.470088 s, 3.1 MB/s

root@qemux86-64:~# losetup  /dev/loop0 floppy.img

root@qemux86-64:~# mkdosfs /dev/loop0
mkdosfs 2.11 (12 Mar 2005)

root@qemux86-64:~# mcopy -i /dev/loop0 test.log ::
Error converting to codepage 850 Invalid argument 
Cannot initialize &apos;::&apos;
Bad target ::

So, I will add glibc-gconv-ibm850 to RDEPENDS, and add other DOS/FAT codepages related packages to RRECOMMENDS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25706</commentid>
    <comment_count>1</comment_count>
    <who name="Marc Ferland">marc.ferland</who>
    <bug_when>2012-09-25 15:47:01 +0000</bug_when>
    <thetext>I experienced a similar issue when running &apos;syslinux --install /dev/sdX1&apos; from an initramfs system. Adding eglibc-gconv-ibm850 to RDEPENDS fixed it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27136</commentid>
    <comment_count>2</comment_count>
    <who name="Xin Ouyang">xin.ouyang</who>
    <bug_when>2012-11-01 06:59:09 +0000</bug_when>
    <thetext>Fixed.
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-devtools/mtools?id=268ea5544d204ca35d7709104382bad16705434b</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27377</commentid>
    <comment_count>3</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2012-11-13 02:36:05 +0000</bug_when>
    <thetext>Verified with 1.3 danny branch.
gitinfo: 27af23e65f63b41962a7cfddba9e9372d5212396</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>