/Tools/gtk/install-dependencies ... line 3 # This script needs to be run with root rights. if [ $UID -ne 0 ]; then sudo $0 exit 0 fi These code snippet will cause error while installing dependencies.
fix proposed at https://github.com/WebKit/webkit/pull/30
Created attachment 371812 [details] Patch
Tools/gtk/install-dependencies works fine for me w/o root privileges. Homebrew 2.1.4 macOS 10.14.4
Yeah that patch makes more sense. Brew should not run as root.
Comment on attachment 371812 [details] Patch Clearing flags on attachment: 371812 Committed r248584: <https://trac.webkit.org/changeset/248584>
All reviewed patches have been landed. Closing bug.
<rdar://problem/54235619>