[MacPorts] #18138: DBUS Conflict with KDE install
#18138: DBUS Conflict with KDE install -----------------------------------+---------------------------------------- Reporter: rmdegennaro@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: -----------------------------------+---------------------------------------- I've successfully installed things like mc, but installing GIMP produced an error (below) with dbus. It is probably that I installed KDE for Mac, which installed dbus. I suppose I could install KDE via macports, but it would be nice if macports could skip already installed packages. This could be a defect or enhancement, depending on one's point of view.... Error from terminal: "Error: Target org.macports.activate returned: Image error: /Library/LaunchAgents/org.freedesktop.dbus-session.plist already exists and does not belong to a registered port. Unable to activate port dbus." -- Ticket URL: <http://trac.macports.org/ticket/18138> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18138: DBUS Conflict with KDE install -----------------------------------+---------------------------------------- Reporter: rmdegennaro@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: -----------------------------------+---------------------------------------- Comment(by kadorken@…): Replying to [ticket:18138 rmdegennaro@…]:
"Error: Target org.macports.activate returned: Image error: /Library/LaunchAgents/org.freedesktop.dbus-session.plist already exists and does not belong to a registered port. Unable to activate port dbus."
I received a similar problem after removing all of MacPorts and doing a reinstall of GNUCASH. After following the instructions at http://guide.macports.org/#installing.macports.uninstalling to remove everything after my failed attempt to build gnucash for 'quartz', a subsequent 'sudo port install gnucash' failed with: ---> Activating dbus @1.2.12_4 Error: Target org.macports.activate returned: Image error: /Library/LaunchAgents/org.freedesktop.dbus-session.plist already exists and does not belong to a registered port. Unable to activate port dbus. Error: The following dependencies failed to build: gconf dbus dbus-glib orbit2 libidl goffice bzip2 libart_lgpl libgsf gnome-vfs desktop-file- utils popt gnome-mime-data libbonobo guile16 libgnomeprintui gnome-icon- theme hicolor-icon-theme icon-naming-utils p5-xml-simple p5-xml- namespacesupport p5-xml-sax libgnomecanvas libgnomeprint bison libgnomecups libgnomeui gnome-keyring libbonoboui libgnome esound audiofile libgtkhtml3 enchant libsoup lzmautils p5-finance-quote p5-crypt- ssleay p5-datemanip p5-html-tableextract p5-libwww-perl p5-compress-zlib p5-compress-raw-zlib p5-io-compress-base p5-io-compress-zlib p5-html- parser p5-html-tagset p5-uri slib slib-guile16 Error: Status 1 encountered during processing. The RM instructions for MACPORTS missed the file /Library/LaunchAgents/org.freedesktop.dbus-session.plist when I removed everything and restarted a new install of gnucash. Removing the file and restarting the install, everything was okay Perhaps the instructions for removing macports should be amended to include /Library/LaunchAgents/org.macports.* and the install of dbus for macports should use the Launch agent name /org.macports.freedesktop.dbus-session.plist -- Ticket URL: <http://trac.macports.org/ticket/18138#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18138: DBUS Conflict with KDE install -----------------------------------+---------------------------------------- Reporter: rmdegennaro@… | Owner: jonas@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: -----------------------------------+---------------------------------------- Changes (by jonas@…): * owner: macports-tickets@… => jonas@… Comment: Could you please add ''how'' you did the kde installation you're referring to? -- Ticket URL: <http://trac.macports.org/ticket/18138#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18138: DBUS Conflict with KDE install -----------------------------------+---------------------------------------- Reporter: rmdegennaro@… | Owner: jonas@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: -----------------------------------+---------------------------------------- Comment(by rmdegennaro@…): Replying to [comment:3 jonas@…]:
Could you please add ''how'' you did the kde installation you're referring to?
Originally, I downloaded an "everything.dmg" from the KDE site. The "About" from a bunch of apps say "Using KDE 4.00.80 (KDE 4.0.80 >= (KDE 4.1 Beta1)". Funny though, because I just started downloading KDE 4.1.2 before I checked email. I will finish the update to KDE 4.1.2, retry GIMP, and report back in a bit. -Rio -- Ticket URL: <http://trac.macports.org/ticket/18138#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18138: DBUS Conflict with KDE install -----------------------------------+---------------------------------------- Reporter: rmdegennaro@… | Owner: jonas@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: -----------------------------------+---------------------------------------- Comment(by rmdegennaro@…): Replying to [comment:4 rmdegennaro@…]:
Replying to [comment:3 jonas@…]:
Could you please add ''how'' you did the kde installation you're referring to?
Okay, I did a few things. First I downloaded the packages from http://mac.kde.org/ and installed them in the order they specified. Then I made sure port itself was updated and synced. Then I updated outdated packages. That gave errors on db46 (see below). After that I tried to GIMP as well, but got essentially (I think) the same error about dbus (also pasted in below).
Let me know if there is anything else I can do to help. I don't mind uninstalling KDE, I mostly wanted to see how far things were coming along. I also can do stuff in a VM, so don't really need GIMP. ---- upgrade outdated error ----- $ sudo port upgrade outdated [snipped out messages for successful packages] ---> Activating db46 @4.6.21_3 Error: Target org.macports.activate returned: Image error: /opt/local/bin/db46_archive already exists and does not belong to a registered port. Unable to activate port db46. Error: The following dependencies failed to build: xorg-libxcb xorg-xcb- proto python26 db46 readline sqlite3 xorg-xcb-util ---> Activating db46 @4.6.21_3 Error: Target org.macports.activate returned: Image error: /opt/local/bin/db46_archive already exists and does not belong to a registered port. Unable to activate port db46. Error: The following dependencies failed to build: xorg-xcb-proto python26 db46 readline sqlite3 ---> Activating db46 @4.6.21_3 Error: Target org.macports.activate returned: Image error: /opt/local/bin/db46_archive already exists and does not belong to a registered port. Unable to activate port db46. Error: The following dependencies failed to build: python26 db46 readline sqlite3 ---> Activating db46 @4.6.21_3 Error: Target org.macports.activate returned: Image error: /opt/local/bin/db46_archive already exists and does not belong to a registered port. Unable to activate port db46. Error: The following dependencies failed to build: db46 readline sqlite3 ---> Activating readline @5.2.012_1 Error: Target org.macports.activate returned: Image error: /opt/local/include/readline/chardefs.h already exists and does not belong to a registered port. Unable to activate port readline. Error: The following dependencies failed to build: readline ---> Activating readline @5.2.012_1 Error: Activating readline @5.2.012_1 failed: Image error: /opt/local/include/readline/chardefs.h already exists and does not belong to a registered port. Unable to activate port readline. ---> Activating db46 @4.6.21_3 Error: Activating db46 @4.6.21_3 failed: Image error: /opt/local/bin/db46_archive already exists and does not belong to a registered port. Unable to activate port db46. ---> Activating db46 @4.6.21_3 Error: Target org.macports.activate returned: Image error: /opt/local/bin/db46_archive already exists and does not belong to a registered port. Unable to activate port db46. Error: The following dependencies failed to build: xorg-libxcb xorg-xcb- proto python26 db46 readline sqlite3 ---> Activating db46 @4.6.21_3 Error: Target org.macports.activate returned: Image error: /opt/local/bin/db46_archive already exists and does not belong to a registered port. Unable to activate port db46. Error: The following dependencies failed to build: xorg-libs xorg-libxcb xorg-xcb-proto python26 db46 readline sqlite3 xorg-xcb-util Error: Unable to upgrade port: 1 ---- install gimp error ----- $ sudo port install gimp ---> Activating dbus @1.2.12_4 Error: Target org.macports.activate returned: Image error: /Library/LaunchAgents/org.freedesktop.dbus-session.plist already exists and does not belong to a registered port. Unable to activate port dbus. Error: The following dependencies failed to build: gimp-app gimp2 gegl librsvg libgsf dbus dbus-glib gnome-vfs desktop-file-utils popt gconf orbit2 libidl gnome-mime-data libbonobo libspiro lua readline openexr ilmbase w3m boehmgc libexif libgnomeui gnome-icon-theme hicolor-icon-theme icon-naming-utils p5-xml-simple p5-xml-namespacesupport p5-xml-sax gnome- keyring libgcrypt libgpg-error libtasn1 libbonoboui libglade2 libgnome esound audiofile libgnomecanvas libmng lcms libwmf poppler openjpeg poppler-data py25-gtk py25-cairo py25-numpy fftw-3 py25-nose py25-setuptools py25-zlib py25-gobject gimp-jp2 gimp-lqr-plugin liblqr gtk-nodoka-engine coreutils gutenprint icns-gimp macclipboard-gimp macfile-gimp ufraw exiv2 gtkimageview xsane sane-backends libusb Error: Status 1 encountered during processing. -- Ticket URL: <http://trac.macports.org/ticket/18138#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18138: DBUS Conflict with KDE install -----------------------------------+---------------------------------------- Reporter: rmdegennaro@… | Owner: jonas@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: -----------------------------------+---------------------------------------- Comment(by blb@…): Note that the DMG installs for KDE install all there stuff into /opt/local unfortunately, so running into {{{ ---> Activating db46 @4.6.21_3 Error: Target org.macports.activate returned: Image error: /opt/local/bin/db46_archive already exists and does not belong to a registered port. Unable to activate port db46. }}} and similar errors will most likely occur frequently. -- Ticket URL: <http://trac.macports.org/ticket/18138#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18138: DBUS Conflict with KDE install -----------------------------------+---------------------------------------- Reporter: rmdegennaro@… | Owner: jonas@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: -----------------------------------+---------------------------------------- Comment(by rmdegennaro@…): Ah, so its like I'm trying to install a Ubuntu DEB on a Gentoo machine. Well, sorta in reverse, so it's a bit of a bad analogy. Different assumptions by distros basically, so its not something that I should be doing. Makes sense in the Linux world, but a bit different philosophy then in Windows or Mac world. Should I not even try to KDE from mac.kde.org then? And (if/when I have time) to try it from macports? That seems to make sense. If I am right, let me know and I can adjust... -- Ticket URL: <http://trac.macports.org/ticket/18138#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18138: DBUS Conflict with KDE install ------------------------------------+--------------------------------------- Reporter: rmdegennaro@… | Owner: jonas@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: invalid | Keywords: Port: | ------------------------------------+--------------------------------------- Changes (by jonas@…): * status: new => closed * resolution: => invalid Comment: It should be save to install kde-4.1.2 from mac.kde.org as these packages were created using macports. Binaries prior to that are sort of home-brew (maybe also a bit fink mixed in) and therefore lead to these conflicts. -- Ticket URL: <http://trac.macports.org/ticket/18138#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts