symforce-org / symforce

Fast symbolic computation, code generation, and nonlinear optimization for robotics

Home Page:https://symforce.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error at third_party/skymarshal/cmake_install.cmake:46 (file): file INSTALL cannot set permissions on "/usr/include": Operation not permitted.

KOLANICH opened this issue · comments

Describe the bug

-- Install configuration: "Release"
-- Up-to-date: /usr/include
CMake Error at third_party/skymarshal/cmake_install.cmake:46 (file):
  file INSTALL cannot set permissions on "/usr/include": Operation not
  permitted.
Call Stack (most recent call first):
  cmake_install.cmake:47 (include)

I guess the destination dir was forgotten to set in

        # Install other libraries needed for cc_sym.so
        subprocess.run(
            ["cmake", "--build", ".", "--target", "install"],
            cwd=build_dir,
            check=True,
        )

To Reproduce
Steps to reproduce the behavior, e.g.:

  1. python3 -m build -nwx .

Expected behavior
Should build.

Environment (please complete the following information):

  • OS and version: Debian sid
  • Python version 3.11
  • SymForce Version c3d2f3c