[MacPorts] #48098: Error: Processing of port gphoto2 failed
#48098: Error: Processing of port gphoto2 failed ---------------------+-------------------------------- Reporter: frydy@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: ---------------------+-------------------------------- I have been trying to install and use gphoto2 and after downloading and installing MacPorts as instructed i run an update and get this "The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated". Then when I try to install gphoto2 I get the "Error: Processing of port gphoto2 failed" and when I try to uninstall Macports with "$ sudo port -fp uninstall installed" I get "-bash: $: command not found". Below is what I am seeing in terminal. PLEASE HELP Last login: Thu Jun 18 14:01:54 on ttys002 You have mail. home-iMac:~ MyHiouse$ sudo port -v selfupdate Password: ---> Updating MacPorts base sources using rsync receiving file list ... done sent 36 bytes received 69 bytes 210.00 bytes/sec total size is 27013120 speedup is 257267.81 receiving file list ... done sent 36 bytes received 76 bytes 224.00 bytes/sec total size is 512 speedup is 4.57 MacPorts base version 2.3.3 installed, MacPorts base version 2.3.3 downloaded. ---> Updating the ports tree Synchronizing local ports tree from rsync://rsync.macports.org/release/tarballs/ports.tar receiving file list ... done sent 36 bytes received 70 bytes 70.67 bytes/sec total size is 62013440 speedup is 585032.45 receiving file list ... done sent 36 bytes received 77 bytes 226.00 bytes/sec total size is 512 speedup is 4.53 Creating port index in /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports Total number of ports parsed: 0 Ports successfully parsed: 0 Ports failed: 0 Up-to-date ports skipped: 23331 ---> MacPorts base is already the latest version The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated home-iMac:~ MyHiouse$ sudo port install gphoto2 ---> Computing dependencies for gphoto2 ---> Dependencies to be installed: libgphoto2 dbus gd2 fontconfig freetype bzip2 libpng zlib libvpx yasm tiff xz xpm xorg-libXext xorg- libX11 xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb python27 db48 db_select libedit openssl python2_select python_select sqlite3 xorg-libpthread-stubs xorg-xcb-proto libxml2 xorg-xextproto xorg- libXt xorg-libsm xorg-libice libtool libusb-compat libusb autoconf automake popt readline ---> Activating dbus @1.8.16_0 Error: org.macports.activate for port dbus 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. Use 'port -f activate dbus' to force the activation. Error: Failed to install dbus Please see the log file for port dbus for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_dbus/dbus/main.log Error: The following dependencies were not installed: libgphoto2 dbus gd2 fontconfig freetype bzip2 libpng zlib libvpx yasm tiff xz xpm xorg-libXext xorg-libX11 xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb python27 db48 db_select libedit openssl python2_select python_select sqlite3 xorg-libpthread-stubs xorg-xcb-proto libxml2 xorg-xextproto xorg- libXt xorg-libsm xorg-libice libtool libusb-compat libusb autoconf automake popt readline To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port gphoto2 failed home-iMac:~ MyHiouse$ $ sudo port -fp uninstall installed -bash: $: command not found home-iMac:~ MyHiouse$ port -f activate dbus Error: Insufficient privileges to write to MacPorts install prefix. home-iMac:~ MyHiouse$ -- Ticket URL: <https://trac.macports.org/ticket/48098> MacPorts <https://www.macports.org/> Ports system for OS X
#48098: dbus @1.8.16_0: activation fails because startupitem exists already ----------------------+-------------------------------- Reporter: frydy@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: | ----------------------+-------------------------------- Old description:
I have been trying to install and use gphoto2 and after downloading and installing MacPorts as instructed i run an update and get this "The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated". Then when I try to install gphoto2 I get the "Error: Processing of port gphoto2 failed" and when I try to uninstall Macports with "$ sudo port -fp uninstall installed" I get "-bash: $: command not found". Below is what I am seeing in terminal.
PLEASE HELP
Last login: Thu Jun 18 14:01:54 on ttys002 You have mail. home-iMac:~ MyHiouse$ sudo port -v selfupdate Password: ---> Updating MacPorts base sources using rsync receiving file list ... done
sent 36 bytes received 69 bytes 210.00 bytes/sec total size is 27013120 speedup is 257267.81 receiving file list ... done
sent 36 bytes received 76 bytes 224.00 bytes/sec total size is 512 speedup is 4.57 MacPorts base version 2.3.3 installed, MacPorts base version 2.3.3 downloaded. ---> Updating the ports tree Synchronizing local ports tree from rsync://rsync.macports.org/release/tarballs/ports.tar receiving file list ... done
sent 36 bytes received 70 bytes 70.67 bytes/sec total size is 62013440 speedup is 585032.45 receiving file list ... done
sent 36 bytes received 77 bytes 226.00 bytes/sec total size is 512 speedup is 4.53 Creating port index in /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports
Total number of ports parsed: 0 Ports successfully parsed: 0 Ports failed: 0 Up-to-date ports skipped: 23331
---> MacPorts base is already the latest version
The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated home-iMac:~ MyHiouse$ sudo port install gphoto2 ---> Computing dependencies for gphoto2 ---> Dependencies to be installed: libgphoto2 dbus gd2 fontconfig freetype bzip2 libpng zlib libvpx yasm tiff xz xpm xorg-libXext xorg- libX11 xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb python27 db48 db_select libedit openssl python2_select python_select sqlite3 xorg-libpthread-stubs xorg-xcb-proto libxml2 xorg-xextproto xorg- libXt xorg-libsm xorg-libice libtool libusb-compat libusb autoconf automake popt readline ---> Activating dbus @1.8.16_0 Error: org.macports.activate for port dbus 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. Use 'port -f activate dbus' to force the activation. Error: Failed to install dbus Please see the log file for port dbus for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_dbus/dbus/main.log Error: The following dependencies were not installed: libgphoto2 dbus gd2 fontconfig freetype bzip2 libpng zlib libvpx yasm tiff xz xpm xorg- libXext xorg-libX11 xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb python27 db48 db_select libedit openssl python2_select python_select sqlite3 xorg-libpthread-stubs xorg-xcb-proto libxml2 xorg- xextproto xorg-libXt xorg-libsm xorg-libice libtool libusb-compat libusb autoconf automake popt readline To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port gphoto2 failed home-iMac:~ MyHiouse$ $ sudo port -fp uninstall installed -bash: $: command not found home-iMac:~ MyHiouse$ port -f activate dbus Error: Insufficient privileges to write to MacPorts install prefix. home-iMac:~ MyHiouse$
New description: I have been trying to install and use gphoto2 and after downloading and installing MacPorts as instructed i run an update and get this "The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated".\\ Then when I try to install gphoto2 I get the "Error: Processing of port gphoto2 failed" and when I try to uninstall Macports with "$ sudo port -fp uninstall installed" I get "-bash: $: command not found". Below is what I am seeing in terminal. PLEASE HELP {{{ Last login: Thu Jun 18 14:01:54 on ttys002 You have mail. home-iMac:~ MyHiouse$ sudo port -v selfupdate Password: ---> Updating MacPorts base sources using rsync receiving file list ... done sent 36 bytes received 69 bytes 210.00 bytes/sec total size is 27013120 speedup is 257267.81 receiving file list ... done sent 36 bytes received 76 bytes 224.00 bytes/sec total size is 512 speedup is 4.57 MacPorts base version 2.3.3 installed, MacPorts base version 2.3.3 downloaded. ---> Updating the ports tree Synchronizing local ports tree from rsync://rsync.macports.org/release/tarballs/ports.tar receiving file list ... done sent 36 bytes received 70 bytes 70.67 bytes/sec total size is 62013440 speedup is 585032.45 receiving file list ... done sent 36 bytes received 77 bytes 226.00 bytes/sec total size is 512 speedup is 4.53 Creating port index in /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports Total number of ports parsed: 0 Ports successfully parsed: 0 Ports failed: 0 Up-to-date ports skipped: 23331 ---> MacPorts base is already the latest version The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated home-iMac:~ MyHiouse$ sudo port install gphoto2 ---> Computing dependencies for gphoto2 ---> Dependencies to be installed: libgphoto2 dbus gd2 fontconfig freetype bzip2 libpng zlib libvpx yasm tiff xz xpm xorg-libXext xorg- libX11 xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb python27 db48 db_select libedit openssl python2_select python_select sqlite3 xorg-libpthread-stubs xorg-xcb-proto libxml2 xorg-xextproto xorg- libXt xorg-libsm xorg-libice libtool libusb-compat libusb autoconf automake popt readline ---> Activating dbus @1.8.16_0 Error: org.macports.activate for port dbus 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. Use 'port -f activate dbus' to force the activation. Error: Failed to install dbus Please see the log file for port dbus for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_dbus/dbus/main.log Error: The following dependencies were not installed: libgphoto2 dbus gd2 fontconfig freetype bzip2 libpng zlib libvpx yasm tiff xz xpm xorg-libXext xorg-libX11 xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb python27 db48 db_select libedit openssl python2_select python_select sqlite3 xorg-libpthread-stubs xorg-xcb-proto libxml2 xorg-xextproto xorg- libXt xorg-libsm xorg-libice libtool libusb-compat libusb autoconf automake popt readline To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port gphoto2 failed home-iMac:~ MyHiouse$ $ sudo port -fp uninstall installed -bash: $: command not found home-iMac:~ MyHiouse$ port -f activate dbus Error: Insufficient privileges to write to MacPorts install prefix. home-iMac:~ MyHiouse$ }}} -- Comment (by larryv@…): Replying to [ticket:48098 frydy@…]:
{{{ home-iMac:~ MyHiouse$ sudo port -v selfupdate Password: ---> Updating MacPorts base sources using rsync receiving file list ... done
sent 36 bytes received 69 bytes 210.00 bytes/sec total size is 27013120 speedup is 257267.81 receiving file list ... done
sent 36 bytes received 76 bytes 224.00 bytes/sec total size is 512 speedup is 4.57 MacPorts base version 2.3.3 installed, MacPorts base version 2.3.3 downloaded. ---> Updating the ports tree Synchronizing local ports tree from rsync://rsync.macports.org/release/tarballs/ports.tar receiving file list ... done
sent 36 bytes received 70 bytes 70.67 bytes/sec total size is 62013440 speedup is 585032.45 receiving file list ... done
sent 36 bytes received 77 bytes 226.00 bytes/sec total size is 512 speedup is 4.53 Creating port index in /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports
Total number of ports parsed: 0 Ports successfully parsed: 0 Ports failed: 0 Up-to-date ports skipped: 23331
---> MacPorts base is already the latest version
The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated }}}
Okay, this is all fine.
{{{ home-iMac:~ MyHiouse$ sudo port install gphoto2 ---> Computing dependencies for gphoto2 ---> Dependencies to be installed: libgphoto2 dbus gd2 fontconfig freetype bzip2 libpng zlib libvpx yasm tiff xz xpm xorg-libXext xorg- libX11 xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb python27 db48 db_select libedit openssl python2_select python_select sqlite3 xorg-libpthread-stubs xorg-xcb-proto libxml2 xorg-xextproto xorg- libXt xorg-libsm xorg-libice libtool libusb-compat libusb autoconf automake popt readline ---> Activating dbus @1.8.16_0 Error: org.macports.activate for port dbus 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. Use 'port -f activate dbus' to force the activation. Error: Failed to install dbus }}}
This is the actual problem. While trying to create the files belonging to the `dbus` port, MacPorts found that one of them already existed. Did you previously remove `dbus` without using `port uninstall`?
{{{ home-iMac:~ MyHiouse$ $ sudo port -fp uninstall installed -bash: $: command not found }}}
You accidentally pasted the dollar sign from the Guide.
{{{ home-iMac:~ MyHiouse$ port -f activate dbus Error: Insufficient privileges to write to MacPorts install prefix. }}}
You need superuser privileges to activate ports, but you forgot to use `sudo`. -- Ticket URL: <https://trac.macports.org/ticket/48098#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#48098: dbus @1.8.16_0: activation fails because startupitem exists already ----------------------+-------------------------------- Reporter: frydy@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: | ----------------------+-------------------------------- Comment (by frydy@…): O.k thank you for the response I replied from my email by mistake and will try this again. I will try running uninstall without the $ sign but could you explain how I might fix the bus problem. Don Replying to [comment:1 larryv@…]:
Replying to [ticket:48098 frydy@…]:
{{{ home-iMac:~ MyHiouse$ sudo port -v selfupdate Password: ---> Updating MacPorts base sources using rsync receiving file list ... done
sent 36 bytes received 69 bytes 210.00 bytes/sec total size is 27013120 speedup is 257267.81 receiving file list ... done
sent 36 bytes received 76 bytes 224.00 bytes/sec total size is 512 speedup is 4.57 MacPorts base version 2.3.3 installed, MacPorts base version 2.3.3 downloaded. ---> Updating the ports tree Synchronizing local ports tree from rsync://rsync.macports.org/release/tarballs/ports.tar receiving file list ... done
sent 36 bytes received 70 bytes 70.67 bytes/sec total size is 62013440 speedup is 585032.45 receiving file list ... done
sent 36 bytes received 77 bytes 226.00 bytes/sec total size is 512 speedup is 4.53 Creating port index in /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports
Total number of ports parsed: 0 Ports successfully parsed: 0 Ports failed: 0 Up-to-date ports skipped: 23331
---> MacPorts base is already the latest version
The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated }}}
Okay, this is all fine.
{{{ home-iMac:~ MyHiouse$ sudo port install gphoto2 ---> Computing dependencies for gphoto2 ---> Dependencies to be installed: libgphoto2 dbus gd2 fontconfig freetype bzip2 libpng zlib libvpx yasm tiff xz xpm xorg-libXext xorg- libX11 xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb python27 db48 db_select libedit openssl python2_select python_select sqlite3 xorg-libpthread-stubs xorg-xcb-proto libxml2 xorg-xextproto xorg- libXt xorg-libsm xorg-libice libtool libusb-compat libusb autoconf automake popt readline ---> Activating dbus @1.8.16_0 Error: org.macports.activate for port dbus 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. Use 'port -f activate dbus' to force the activation. Error: Failed to install dbus }}}
This is the actual problem. While trying to create the files belonging to the `dbus` port, MacPorts found that one of them already existed. Did you previously remove `dbus` without using `port uninstall`?
{{{ home-iMac:~ MyHiouse$ $ sudo port -fp uninstall installed -bash: $: command not found }}}
You accidentally pasted the dollar sign from the Guide.
{{{ home-iMac:~ MyHiouse$ port -f activate dbus Error: Insufficient privileges to write to MacPorts install prefix. }}}
You need superuser privileges to activate ports, but you forgot to use `sudo`.
-- Ticket URL: <https://trac.macports.org/ticket/48098#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#48098: dbus @1.8.16_0: activation fails because startupitem exists already ----------------------+------------------------ Reporter: frydy@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: | ----------------------+------------------------ Changes (by mk@…): * owner: macports-tickets@… => mcalhoun@… * cc: mk@…, rjvbertin@…, pixilla@… (added) * version: 2.3.3 => -- Ticket URL: <https://trac.macports.org/ticket/48098#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#48098: dbus @1.8.16_0: activation fails because startupitem exists already ----------------------+------------------------ Reporter: frydy@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: | ----------------------+------------------------ Changes (by mcalhoun@…): * status: new => assigned Comment: It seems that most of the problem was solved some time ago.[[BR]] Is there any reason to keep this ticket open? -- Ticket URL: <https://trac.macports.org/ticket/48098#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#48098: dbus @1.8.16_0: activation fails because startupitem exists already ----------------------+------------------------ Reporter: frydy@… | Owner: mcalhoun@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: invalid | Keywords: Port: | ----------------------+------------------------ Changes (by mcalhoun@…): * status: assigned => closed * resolution: => invalid -- Ticket URL: <https://trac.macports.org/ticket/48098#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts