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

Add option to not run ldconfig (or don't run it at all?) #52

Closed
simonvanderveldt opened this issue Sep 17, 2017 · 1 comment
Closed

Comments

@simonvanderveldt
Copy link
Member

Currently wscript always calls ldconfig after building. See

pst.exec_command("ldconfig")

Gentoo uses a sandbox that doesn't allow writing to the root filesystem when building package. Since ldconfig tries to write to /etc/ld.so.cache this causes a sandbox violation and building/installing the package fails.

I wanted to discuss how to address this.
I don't know why the ldconfig option was added (there's no mention of the reason in the commit), but normally the package manager does these kinds of things. If it's not necessary maybe it can be removed?
If it is for some reason then it could become an option? Or it could become and option to disable it.

What would be the preferred way to address this?

@wrl
Copy link
Member

wrl commented Sep 17, 2017

fine with just removing it.

simonvanderveldt added a commit to simonvanderveldt/libmonome that referenced this issue Sep 18, 2017
@wrl wrl closed this as completed in #53 Sep 18, 2017
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