execve("/usr/bin/mkfs.erofs", ["mkfs.erofs", "foo.erofs.img", "foo"], 0x7ffd4e2e1d20 /* 49 vars */) = 0
brk(NULL)                               = 0x5a8b85317000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=143655, ...}) = 0
mmap(NULL, 143655, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7293c7817000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/libuuid.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=30808, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7293c7815000
mmap(NULL, 32832, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7293c780c000
mmap(0x7293c780e000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7293c780e000
mmap(0x7293c7812000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7293c7812000
mmap(0x7293c7813000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7293c7813000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/liblz4.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=145280, ...}) = 0
mmap(NULL, 147472, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7293c77e7000
mmap(0x7293c77ea000, 118784, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7293c77ea000
mmap(0x7293c7807000, 12288, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x20000) = 0x7293c7807000
mmap(0x7293c780a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7293c780a000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/liblzma.so.5", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=206872, ...}) = 0
mmap(NULL, 204816, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7293c77b4000
mmap(0x7293c77b7000, 139264, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7293c77b7000
mmap(0x7293c77d9000, 49152, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0x7293c77d9000
mmap(0x7293c77e5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x31000) = 0x7293c77e5000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=100296, ...}) = 0
mmap(NULL, 102416, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7293c779a000
mmap(0x7293c779d000, 57344, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7293c779d000
mmap(0x7293c77ab000, 28672, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11000) = 0x7293c77ab000
mmap(0x7293c77b2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7293c77b2000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220^\2\0\0\0\0\0"..., 832) = 832
pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
fstat(3, {st_mode=S_IFREG|0755, st_size=1948952, ...}) = 0
pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
mmap(NULL, 1973104, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7293c75b8000
mmap(0x7293c75dc000, 1421312, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x24000) = 0x7293c75dc000
mmap(0x7293c7737000, 348160, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17f000) = 0x7293c7737000
mmap(0x7293c778c000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1d3000) = 0x7293c778c000
mmap(0x7293c7792000, 31600, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7293c7792000
close(3)                                = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7293c75b6000
arch_prctl(ARCH_SET_FS, 0x7293c75b7440) = 0
set_tid_address(0x7293c75b7710)         = 29056
set_robust_list(0x7293c75b7720, 24)     = 0
rseq(0x7293c75b7d60, 0x20, 0, 0x53053053) = 0
mprotect(0x7293c778c000, 16384, PROT_READ) = 0
mprotect(0x7293c77b2000, 4096, PROT_READ) = 0
mprotect(0x7293c77e5000, 4096, PROT_READ) = 0
mprotect(0x7293c780a000, 4096, PROT_READ) = 0
mprotect(0x7293c7813000, 4096, PROT_READ) = 0
mprotect(0x5a8b8316a000, 4096, PROT_READ) = 0
mprotect(0x7293c786e000, 8192, PROT_READ) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
munmap(0x7293c7817000, 143655)          = 0
getrandom("\x78\x04\xd6\xf8\xe2\xaf\xae\xe0\xe6\xca\xe9\xd1\xb1\x45\x9a\x00", 16, GRND_NONBLOCK) = 16
getpid()                                = 29056
getuid()                                = 1000
getpid()                                = 29056
getppid()                               = 29053
gettid()                                = 29056
getrandom("\xee\xf6\x7d\x1f\x6d\x95\xb2\x8d", 8, GRND_NONBLOCK) = 8
brk(NULL)                               = 0x5a8b85317000
brk(0x5a8b85338000)                     = 0x5a8b85338000
getcwd("/home/gdonval/Documents/Work/RVMI/CustomOS/plop", 1024) = 48
readlink("/home/gdonval/Documents/Work/RVMI/CustomOS/plop/foo", 0x7ffee3478000, 1023) = -1 EINVAL (Invalid argument)
newfstatat(AT_FDCWD, "/home/gdonval/Documents/Work/RVMI/CustomOS/plop/foo", {st_mode=S_IFDIR|0755, st_size=6, ...}, AT_SYMLINK_NOFOLLOW) = 0
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0x3), ...}) = 0
write(1, "mkfs.erofs 1.7.1\n", 17)      = 17
openat(AT_FDCWD, "foo.erofs.img", O_RDWR|O_CREAT, 0644) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
openat(AT_FDCWD, "/home/gdonval/Documents/Work/RVMI/CustomOS/plop/foo", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
fstat(4, {st_mode=S_IFDIR|0755, st_size=6, ...}) = 0
getdents64(4, 0x5a8b85317800 /* 3 entries */, 32768) = 72
newfstatat(AT_FDCWD, "/home/gdonval/Documents/Work/RVMI/CustomOS/plop/foo/bar", {st_mode=S_IFREG|0644, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0
llistxattr("/home/gdonval/Documents/Work/RVMI/CustomOS/plop/foo/bar", NULL, 0) = 18
llistxattr("/home/gdonval/Documents/Work/RVMI/CustomOS/plop/foo/bar", "btrfs.compression\0", 18) = 18
lgetxattr("/home/gdonval/Documents/Work/RVMI/CustomOS/plop/foo/bar", "btrfs.compression", NULL, 0) = 4
lgetxattr("/home/gdonval/Documents/Work/RVMI/CustomOS/plop/foo/bar", "btrfs.compression", "zstd", 4) = 4
close(4)                                = 0
write(2, "<E> erofs: failed to build share"..., 71<E> erofs: failed to build shared xattrs: [Error 61] No data available
) = 71
close(3)                                = 0
write(2, "<E> erofs: \tCould not format the"..., 72<E> erofs: 	Could not format the device : [Error 61] No data available

) = 72
exit_group(1)                           = ?
+++ exited with 1 +++
