Skip to content

Symlink tests/mesonTest/subprojects/CLI11 causes directory cycle #696

@boris-kolpackov

Description

@boris-kolpackov

The tests/mesonTest/subprojects/CLI11 symlink points to its parent directory (../../.. to be precise) which causes a directory cycle that in turn can cause traversal issues for various tools. In case of build2 you get a warning, which is annoying:

warning: directory cycle caused by symlink build/.bpkg/tmp/78c1e67e6423/upstream/tests/mesonTest/subprojects/CLI11/
  info: symlink target build/.bpkg/tmp/78c1e67e6423/upstream/

Also note that directory symlinks on Windows are tricky (if at all available): https://build2.org/article/symlinks.xhtml#windows

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