Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: update-locale: Error: invalid locale settings: LANG=en_US.UTF-8 #448

Closed
pikriawan opened this issue Sep 14, 2024 · 2 comments
Closed

Comments

@pikriawan
Copy link

pikriawan commented Sep 14, 2024

Problem description

Generating locales (this might take a while)...
en_US.UTF-8...E2024-09-14T11:32:01.377376:blink/memorymalloc.c:974:28327 mmap(virt=40143b1000, size=4096, flags=0x1, fd=4, offset=0xfd47000) crisis: ENOMEM
unrecoverable mmap() crisis: see log for further details
done
Generation complete.
*** update-locale: Error: invalid locale settings: LANG=en_US.UTF-8

What steps will reproduce the bug?

Install a distribution with proot-distro with blink as emulator

export PROOT_DISTRO_X64_EMULATOR=BLINK
DISTRO_ARCH=x86_64 proot-distro install debian

What is the expected behavior?

No response

@Biswa96
Copy link
Member

Biswa96 commented Sep 14, 2024

ENOMEM error means that there is not enough space or memory to be allocated.

@sylirre
Copy link
Member

sylirre commented Sep 29, 2024

Not necessary related to the lack of memory.

Actually this is a known issue of blink on Android: jart/blink#165

Use of QEMU user-mode is preferred. The last test I did shows that QEMU has higher performance than blink: termux/termux-packages#18573 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants