moss-d-legacy icon indicating copy to clipboard operation
moss-d-legacy copied to clipboard

mmfile.d:147 fails: Could not map file into memmory (Invalid argument)

Open baryluk opened this issue 2 years ago • 3 comments

Using ISO in qemu.

moss 0.1-2

When trying to install python:

image

I tried installing moss-dbginfo for better stack trace, but it didn't help (and `moss-dbginfo is at different version). I could not find debug package for other dependencies like phobos easily either).

baryluk avatar Dec 25 '22 22:12 baryluk

Similar issue with zsh 5.9-1 package.

And ldc 1.30.0-1

And ruby 3.1.3-1 (initially it started install, but then got stuck. ctrl-c, and retry now leads to same issue as above)

python, ldc, ruby all have libffi in common, so maybe it is related

baryluk avatar Dec 26 '22 02:12 baryluk

Here's a solid repro (courtesy @joebonrichie )

Test plan for borky

12345678$ moss remote add protosnek https://dev.serpentos.com/protosnek/x86_64/stone.index -D rootfs/
$ moss remote add volatile https://dev.serpentos.com/volatile/x86_64/stone.index -D rootfs/ -p 10
$ moss it bash dash coreutils systemd grep nss ~/sos/snekpit/main/base/moss/moss-0.1-4-1-x86_64.stone -D rootfs/
$ sudo systemd-nspawn -D rootfs/ -b
$ sudo systemd-nspawn -D rootfs/
# moss it python
# which python3
# moss it python

ermo avatar Jan 07 '23 14:01 ermo

Lack of networking is the root cause - we need to add proper error handling.

ikeycode avatar Apr 23 '23 20:04 ikeycode