Skip to content

[BUG] 在 WSL 下缺少 bwrap 导致评测显示程序无法运行 #272

@MKurisuqwq

Description

@MKurisuqwq

Describe the bug
描述一下这个 Bug
在 WSL 下缺少 bwrap 导致评测显示程序无法运行

Environment:
环境:

  • Version: LemonLime 0.3.6.1 自编译
  • OS: Ubuntu 24.04.3 LTS on Windows 10 x86_64
  • Kernel: 6.6.87.2-microsoft-standard-WSL2
  • Windows 11 版本: 26100.6899

To Reproduce
如何复现

  1. 按照 https://github.com/Project-LemonLime/Project_LemonLime/blob/master/BUILD.md 自编译 LemonLime
  2. 随便导入一个比赛
  3. 所有评测结果显示程序无法运行
    推测 WSL2 的 Kernel 自带的运行库不全, 按照 https://blog.csdn.net/olivetchan/article/details/142738107 处理之后仍然无法运行, 排查后发现 WSL2 提供的 Kernel 根本不包含 bubblewrap, 导致无法创建子进程.

解决方案

自己安一个 bubblewrap:

$ sudo apt install bubblewrap

期望实现的内容

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS: LinuxLinux 系统相关的问题整叉劈了 | Bug有一些不该发生的东西发生了

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions