Skip to contentSkip to conversation

New: Mtools: Error converting to codepage 850

Buildroot bugzilla at busybox.net 1 participant 3 messages Jun 8, 2020 – Jun 21, 2020

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=12986

Bug ID: 12986
Summary: Mtools: Error converting to codepage 850
Product: buildroot
Version: 2020.05
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: melanie at trash-mail.com
CC: buildroot at uclibc.org
Target Milestone: ---

The 'BR2_PACKAGE_MTOOLS' program builds fine but on the target system some of the mtools-commands (i.e. mdir) fails to execute with the following message:

Error converting to codepage 850 Invalid argument

As described in the mtools-manual [1], codepage 850 is used by default. I've solved the problem by adding 'BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY=y' to my buildroot-configuration.

From my point of view, the config option 'BR2_PACKAGE_MTOOLS' should automatically select 'BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY' to make sure that the required gconv libraries are available on the target system.

[1]
https://www.gnu.org/software/mtools/manual/mtools.html#miscellaneous-variables

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 12986] Mtools: Error converting to codepage 850

https://bugs.busybox.net/show_bug.cgi?id=12986

--- Comment #1 from Fabrice Fontaine <[email protected]> --- Hi,

Thanks for the bug report, I sent the following patch:
https://patchwork.ozlabs.org/project/buildroot/patch/20200611062826.643125-1-fontaine.fabrice at gmail.com/

Best Regards,

Fabrice

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 12986] Mtools: Error converting to codepage 850

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=12986

Yann E. MORIN <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
                 CC|                            |yann.morin.1998 at free.fr

--- Comment #2 from Yann E. MORIN <[email protected]> --- Melanie, All,

Thanks for the report. This is now supposedly fixed with the patch from Fabrice, applied as commit ac4a61e0ea.

Regards,
Yann E. MORIN.

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.