Skip to content

clang failed: error executing command (from target //voxeloo/common:knn) during './b data-snapshot run' #86

@linever

Description

@linever

[Optional] Relevant system information

  • Operating system (destop-Ubuntu 20.04 / wsl-Ubuntu 20.04)
  • llvm-16 / llvm-14
  • gcc-9
  • bazel-6.4.0

What you did

ollowing the https://docs.biomes.gg/docs/basics/running-locally. All is ok, until:

Running `pip install ./voxeloo`...

Processing ./voxeloo
Building wheels for collected packages: voxeloo
  Building wheel for voxeloo (setup.py) ... /sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-3.6 10error
  ERROR: Command errored out with exit status 1:
   command: /mnt/f/Users/linever/Desktop/codes/.venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-5yj0_5ex/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-5yj0_5ex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-quc8rfkc
       cwd: /tmp/pip-req-build-5yj0_5ex/
  Complete output (242 lines):
  running bdist_wheel
  running build
  running build_ext
  WARNING: Running Bazel server needs to be killed, because the startup options are different.
  Loading:
  Loading:
  Loading:
  Loading: 0 packages loaded
  Analyzing: target //voxeloo/py_ext:py_ext.so (1 packages loaded, 0 targets configured)
  Analyzing: target //voxeloo/py_ext:py_ext.so (97 packages loaded, 1307 targets configured)
  INFO: Analyzed target //voxeloo/py_ext:py_ext.so (100 packages loaded, 4486 targets configured).
  INFO: Found 1 target...
  [0 / 124] [Prepa] Writing script voxeloo/py_ext/py_ext.so.cppmap
  [96 / 161] Executing genrule @local_config_python//:python_include; 0s local ... (31 actions, 16 running)
  [110 / 161] Compiling OpenSimplexNoise/OpenSimplexNoise.cpp; 1s linux-sandbox ... (20 actions, 17 running)
  [126 / 161] Compiling lib/compress/zstd_opt.c; 2s linux-sandbox ... (9 actions, 4 running)
  [127 / 161] Compiling lib/compress/zstd_opt.c; 3s linux-sandbox ... (33 actions, 16 running)
  [133 / 161] Compiling lib/compress/zstd_opt.c; 4s linux-sandbox ... (27 actions, 16 running)
  ERROR: /mnt/f/Users/linever/Desktop/codes/test2/biomes-game/voxeloo/common/BUILD.bazel:66:11: Compiling voxeloo/common/boxifier.cpp failed: (Exit 1): clang failed: error executing command (from target //voxeloo/common:boxifier) /usr/lib/llvm-14/bin/clang -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 ... (remaining 60 arguments skipped)

Additional information

I have try ubuntu 20.04 of destop and wsl in windows 11 of another destop. The above faulty always exits.

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