#18138 closed defect (invalid)
DBUS Conflict with KDE install
Reported by: | rmdegennaro@… | Owned by: | jonas@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | Cc: | rmdegennaro@… | |
Port: |
Description
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."
Change History (9)
comment:1 Changed 16 years ago by rmdegennaro@…
Cc: | rmdegennaro@… added |
---|
comment:2 Changed 16 years ago by kadorken@…
Replying to 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
comment:3 follow-up: 4 Changed 16 years ago by jonas@…
Owner: | changed from macports-tickets@… to jonas@… |
---|
Could you please add how you did the kde installation you're referring to?
comment:4 follow-up: 5 Changed 16 years ago by rmdegennaro@…
Replying to 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
comment:5 Changed 16 years ago by rmdegennaro@…
Replying to rmdegennaro@…:
Replying to 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.
$ 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
$ 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.
comment:6 follow-up: 7 Changed 16 years ago 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.
comment:7 Changed 16 years ago 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...
comment:8 Changed 16 years ago by jonas@…
Resolution: | → invalid |
---|---|
Status: | new → closed |
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.
Cc Me!