After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 640885 - Permission problems building bad
Permission problems building bad
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal blocker
: 0.10.22
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 647238 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-01-29 08:08 UTC by Christian Fredrik Kalager Schaller
Modified: 2011-04-15 08:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Fredrik Kalager Schaller 2011-01-29 08:08:06 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'
Comment 1 Christian Fredrik Kalager Schaller 2011-04-14 22:17:07 UTC
*** Bug 647238 has been marked as a duplicate of this bug. ***
Comment 2 Tim-Philipp Müller 2011-04-14 22:40:21 UTC
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.)
Comment 3 Sebastian Dröge (slomo) 2011-04-15 08:47:42 UTC
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.