You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue impacts the OpenWRT imagebuilder, and impacts any device that requires mtools (because they use a FAT filesystem) as part of the image build process, eg: brcm2708/Raspberry Pi.
The following environments appear to use mtools:
arc770
archs38
at91
brcm2708
mvemu
mxs
omap
sunxi
======Software versions of OpenWrt/LEDE release, packages, etc.======
I used openwrt-imagebuilder-18.06.1-brcm2708-bcm2708.Linux-x86_64 (Raspberry Pi 1B).
Build environment is Fedora 28 (amd64).
======Steps to reproduce======
make image (no modifications made to the environment)
micolous:
======Device problem occurs on======
This issue impacts the OpenWRT imagebuilder, and impacts any device that requires mtools (because they use a FAT filesystem) as part of the image build process, eg: brcm2708/Raspberry Pi.
The following environments appear to use mtools:
======Software versions of OpenWrt/LEDE release, packages, etc.======
I used openwrt-imagebuilder-18.06.1-brcm2708-bcm2708.Linux-x86_64 (Raspberry Pi 1B).
Build environment is Fedora 28 (amd64).
======Steps to reproduce======
======Actual behaviour======
mkfs.fat 4.1 (2017-01-24) .mcopy.bin: loadlocale.c:129: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed. make[3]: *** [Makefile:87: /mnt/raid1/dev/openwrt-imagebuilder-18.06.1-brcm2708-bcm2708.Linux-x86_64/build_dir/target-arm_arm1176jzf-s+vfp_musl_eabi/linux-brcm2708_bcm2708/tmp/openwrt-18.06.1-brcm2708-bcm2708-rpi-squashfs-factory.img.gz] Aborted (core dumped) make[2]: *** [Makefile:165: build_image] Error 2 make[1]: *** [Makefile:116: _call_image] Error 2 make: *** [Makefile:193: image] Error 2
Then, after applying a workaround to mcopy:
.mmd.bin: loadlocale.c:129: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed. make[3]: *** [Makefile:87: /mnt/raid1/dev/openwrt-imagebuilder-18.06.1-brcm2708-bcm2708.Linux-x86_64/build_dir/target-arm_arm1176jzf-s+vfp_musl_eabi/linux-brcm2708_bcm2708/tmp/openwrt-18.06.1-brcm2708-bcm2708-rpi-squashfs-factory.img.gz] Aborted (core dumped) make[2]: *** [Makefile:165: build_image] Error 2 make[1]: *** [Makefile:116: _call_image] Error 2 make: *** [Makefile:193: image] Error 2
======Workaround======
After applying the work-around, the build process completes successfully, and all files appear correctly in the FAT partition.
======Other notes======
I attempted resetting the locale to C:
This had no effect.
The text was updated successfully, but these errors were encountered: