Skip to content

Hugo having issues in the sandbox #27

@ryanrf-ac

Description

@ryanrf-ac

I realize this sounds a bit like the first issue on this repo, but I'm a bit unclear why execution_requirements = {'no-sandbox'} was removed. @gertvdijk could you please elaborate?

I'm hitting this issue, where Hugo is complaining about symlinks. I realize this is Bazel creating symlinks in an attempt to sandbox the inputs, but I'm not clear on how to resolve it. When I added execution_requirements = {'no-sandbox'} bazel was able to build my site successfully.

I should add that I'm using Bazel 0.26, so perhaps @gertvdijk's fix was related to a later version. I also realize that the .bazelversion in this project has 1.1.0, so maybe this is a bit of a shot in the dark for me. I'm also using Hugo 0.73.0.
The specific error I'm getting is

Error: add site dependencies: load resources: loading templates: symlinks not allowed in this filesystem

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions