Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
KOLANICH opened this issue May 22, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@KOLANICH
Copy link

KOLANICH commented May 22, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant