GNOME Bugzilla – Bug 640885
Permission problems building bad
Last modified: 2011-04-15 08:47:42 UTC
When building an RPM I get the following, seems something tries to manipulate a system file while building. test -z "/usr/share/glib-2.0/schemas" || /bin/mkdir -p "/usr/share/glib-2.0/schemas" /usr/bin/install -c -m 644 org.freedesktop.gstreamer-0.10.default-elements.gschema.xml '/usr/share/glib-2.0/schemas' /usr/bin/install: cannot remove `/usr/share/glib-2.0/schemas/org.freedesktop.gstreamer-0.10.default-elements.gschema.xml': Permission denied make[3]: *** [install-gsettings-schemas] Error 1 make[3]: Leaving directory `/home/cschalle/RPMS/BUILD/gst-plugins-bad-0.10.21.1/ext/gsettings'
*** Bug 647238 has been marked as a duplicate of this bug. ***
Should look at that before the releases, marking as blocker. I think I disagree with getting "the schema directory" via pkg-config and then installing things into that, I think we should be installing into our own prefix no matter what, schemas included. (Just assuming this is what's happening here though.)
This should be fixed with this commit: commit f364279fb51a4580b91a9cf4bde165dd21028d2b Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Fri Apr 15 10:41:55 2011 +0200 m4: Update gsettings m4 macros I can install, as normal user, with a different DESTDIR and different prefix and everything is copied where it should be. Please reopen if this still is a problem for the RPM build.