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

cmake install trying to create symlink and failing during packaging process #1214

Open
demizer opened this issue Oct 4, 2022 · 1 comment

Comments

@demizer
Copy link
Contributor

demizer commented Oct 4, 2022

Packaging with cmake --install in Arch Linux (PKGBUILD), the following error output is shown in the package log:

CMake Error: failed to create symbolic link '/usr/bin/jakt': Permission denied

Arch creates a fakeroot during packaging process, so it appears this cmake rule is trying to overwrite the system path.

@ADKaster
Copy link
Member

That's strange. Is there something about the way the symlink is created via an install(CODE) that makes it incompatible with the arch fakeroot?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants