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

Makefile tries to write outside DESTDIR #658

Closed
comzeradd opened this issue Mar 21, 2012 · 2 comments
Closed

Makefile tries to write outside DESTDIR #658

comzeradd opened this issue Mar 21, 2012 · 2 comments

Comments

@comzeradd
Copy link
Contributor

On SparkleShare/Makefile.in line 789:

install-data-hook:
update-desktop-database $(datadir)/applications

It seems that this is trying to write outside the DESTDIR directly to /usr/share/applications/ causing the build (in my case the rpm build inside a chroot env) to fail. Commenting this line out resolves the problem.

On Linux systems there is no need for an application to run this command because the package does that (at least on rpm distros). One possible solution: only run update-desktop-database if $(datadir)/applications is writeable.

@bl8
Copy link
Contributor

bl8 commented Mar 21, 2012

A fix for a similar issue in Banshee, I guess it might help for this issue:
http://git.gnome.org/browse/banshee/commit?id=0c6a19c9ce75

@travisghansen
Copy link
Contributor

I ran into this the other day and like the solution mentioned by @bl8. Fix is in http://git.io/jXkEbA

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

3 participants