Skip to content

Can't build runtime/libc when parent path has a whitespace #987

Open

Description

@kmemarian

To reproduce:

mkdir "WHITE SPACE"
cd "WHITE SPACE"
git clone git@github.com:rems-project/cerberus.git
cd cerberus
make

This will fail when building in runtime/libc/dune.

The likely solution is to apply Filename.quote to filenames that cerberus passes as arguments to a command (i.e. clang in cpp). There is probably a similar issue when passing a bad filename to -I.

Activity

  1. self-assigned this
    on Nov 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions