GNOME Bugzilla – Bug 750367
make install needs superuser privileges
Last modified: 2015-06-03 21:53:51 UTC
The most common package manager on Mac OS these days is Homebrew which installs everything into /usr/local as a normal user. However, a recent change in the build process will attempt a chown root /usr/local/Cellar/gstreamer/HEAD/libexec/gstreamer-1.0/gst-ptp-helper during the make install phase which will fail if the process isn't owned by root already. It will also fail if the superuser isn't called "root" BTW. Yes, people do this. Using "sudo" and "0" instead of hoping for the best and "root" would be obvious solutions for some problems but they won't fix the Homebrew install. Here's a link to the Homebrew ticket: https://github.com/Homebrew/homebrew/issues/40353
This is no longer a problem, it will silently fail to install if it doesn't have the right permissions. It's the job of the packagers (i.e. homebrew in this case) to make it has the right permissions in the end. commit b76a7b4d5ccf9fdee17af015f9d50f8657f8b5c8 Author: Luis de Bethencourt <luis.bg@samsung.com> Date: Wed Jun 3 16:34:58 2015 +0100 ptp: ignore permission errors in Makefile To satisfy the buildslaves ignore permission errors in chown, chmod and setcap
You can also run configure with > --with-ptp-helper-permissions=none to disable this completely btw.