Compilation completes successfully but installation fails with the output below. I am authenticating using my sudo password.
Code: Select all
dsb@mpd:~/mpd-0.21.5$ ninja -C output/release ninja: Entering directory `output/release' [1/3] Generating GitVersion.cxx with a custom command. dsb@mpd:~/mpd-0.21.5$ dsb@mpd:~/mpd-0.21.5$ ninja -C output/release install ninja: Entering directory `output/release' [1/2] Installing files. Installation failed due to insufficient permissions. Attempting to use polkit to gain elevated privileges... ==== AUTHENTICATING FOR org.freedesktop.policykit.exec === Authentication is needed to run `/usr/bin/python3' as the super user Authenticating as: XXXXXXXXX,,, (XXXX) Password: polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie ==== AUTHENTICATION FAILED === Error executing command as another user: Not authorized This incident has been reported. FAILED: meson-install /home/dsb/.local/bin/meson install --no-rebuild ninja: build stopped: subcommand failed.
A web search suggests that the problem may be related to running the authentication command through ssh.
Any suggestions to solve this problem?
$ uname --kernel-name --kernel-release --machine
Linux 4.19.20-cubox armv7l
$ ninja --version