[MacPorts] #30071: dbus cannot install without root privileges
#30071: dbus cannot install without root privileges -----------------------------------+---------------------------------------- Reporter: etlverified@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: -----------------------------------+---------------------------------------- I have installed macports without root privileges by configuring it with "--with-no-root-privileges --with-install-user=$USER". This is an important use case; a number of developers at my company use macports this way (no root access). I've found that a large number of useful packages depend on dbus (e.g. qt4-mac), which fails to install without root privileges: ---> Activating dbus @1.4.12_0 Error: Target org.macports.activate returned: error copying "/Users/etl/macports/var/macports/software/dbus/1.4.12_0/Library/LaunchAgents/org.freedesktop .dbus-session.plist" to "/Library/LaunchAgents/org.freedesktop.dbus- session.plist": permission denied Error: Failed to install dbus Could you please make the dbus port somehow install when macports is not configured for root access? Something like qt4-mac is just a library; it shouldn't need administrator privileges to be installed. Similarly, pretty much every app from the GNOME desktop depends on dbus. -- Ticket URL: <https://trac.macports.org/ticket/30071> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30071: dbus cannot install without root privileges -----------------------------------+---------------------------------------- Reporter: etlverified@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: dbus -----------------------------------+---------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => mcalhoun@… * port: => dbus Old description:
I have installed macports without root privileges by configuring it with "--with-no-root-privileges --with-install-user=$USER". This is an important use case; a number of developers at my company use macports this way (no root access).
I've found that a large number of useful packages depend on dbus (e.g. qt4-mac), which fails to install without root privileges:
---> Activating dbus @1.4.12_0 Error: Target org.macports.activate returned: error copying "/Users/etl/macports/var/macports/software/dbus/1.4.12_0/Library/LaunchAgents/org.freedesktop .dbus-session.plist" to "/Library/LaunchAgents/org.freedesktop.dbus- session.plist": permission denied Error: Failed to install dbus
Could you please make the dbus port somehow install when macports is not configured for root access? Something like qt4-mac is just a library; it shouldn't need administrator privileges to be installed. Similarly, pretty much every app from the GNOME desktop depends on dbus.
New description: I have installed macports without root privileges by configuring it with "--with-no-root-privileges --with-install-user=$USER". This is an important use case; a number of developers at my company use macports this way (no root access). I've found that a large number of useful packages depend on dbus (e.g. qt4-mac), which fails to install without root privileges: {{{ ---> Activating dbus @1.4.12_0 Error: Target org.macports.activate returned: error copying "/Users/etl/macports/var/macports/software/dbus/1.4.12_0/Library/LaunchAgents/org.freedesktop .dbus-session.plist" to "/Library/LaunchAgents/org.freedesktop.dbus- session.plist": permission denied Error: Failed to install dbus }}} Could you please make the dbus port somehow install when macports is not configured for root access? Something like qt4-mac is just a library; it shouldn't need administrator privileges to be installed. Similarly, pretty much every app from the GNOME desktop depends on dbus. -- -- Ticket URL: <https://trac.macports.org/ticket/30071#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30071: dbus cannot install without root privileges -----------------------------------+---------------------------------------- Reporter: etlverified@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: dbus -----------------------------------+---------------------------------------- Comment(by macsforever2000@…): Did you try the no_root variant? -- Ticket URL: <https://trac.macports.org/ticket/30071#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30071: dbus cannot install without root privileges -----------------------------------+---------------------------------------- Reporter: etlverified@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: dbus -----------------------------------+---------------------------------------- Comment(by etlverified@…): The no_root variant worked! Boy, I feel stupid :( I always encountered dbus as a dependency of other ports, so I never thought to look at its variants. Once I installed dbus explicitly using the no_root variant, I am able to install dependent packages without problem. Perhaps it would be nice if the no_root variant was the default variant if macports is built with "--with-no-root-privileges". That way installing any packages that depend on it would be transparent. dbus should at least have an error message pointing to the no_root variant if installation is attempted without administrator privileges. Thanks! -- Ticket URL: <https://trac.macports.org/ticket/30071#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30071: dbus cannot install without root privileges ------------------------------------+--------------------------------------- Reporter: etlverified@… | Owner: mcalhoun@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: duplicate | Keywords: Port: dbus | ------------------------------------+--------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => duplicate Comment: Duplicate of #26742; please search before filing new tickets. -- Ticket URL: <https://trac.macports.org/ticket/30071#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts