[MacPorts] #43210: Missing error messages
#43210: Missing error messages --------------------------+-------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.2.99 Keywords: | Port: --------------------------+-------------------------------- I know there was some cleanup of error messages in MacPorts base recently, removing messages that were not thought to be useful, however I am now experiencing error conditions with no error messages at all: {{{ $ sudo port -u upgrade php55-odbc ---> Computing dependencies for php55-odbc Error: Follow http://guide.macports.org/#project.tickets to report a bug. }}} No indication of what the problem is. The problem is its dependency was not active: {{{ $ port deps php55-odbc Full Name: php55-odbc @5.5.11_0+universal+unixodbc Build Dependencies: autoconf Library Dependencies: php55, unixODBC $ port installed unixodbc The following ports are currently installed: unixODBC @2.3.1_0+universal }}} And can't be activated: {{{ $ sudo port activate unixodbc ---> Computing dependencies for unixODBC Warning: Failed to execute portfile from registry for unixODBC @2.3.1_0+universal ---> Activating unixODBC @2.3.1_0+universal Error: port activate failed: Image error: /opt/local/bin/isql is being used by the active virtuoso-7 port. Please deactivate this port first, or use 'port -f activate unixODBC' to force the activation. }}} After deactivating virtuoso-7 and activating unixODBC, php55-odbc can upgrade. Note: I also do not understand why it "Failed to execute portfile from registry". -- Ticket URL: <https://trac.macports.org/ticket/43210> MacPorts <http://www.macports.org/> Ports system for OS X
#43210: Missing error messages ---------------------------+-------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.2.99 Resolution: | Keywords: Port: | ---------------------------+-------------------------------- Comment (by ryandesign@…): Another instance: {{{ $ port -u upgrade subportof:php-http2 ---> Computing dependencies for php54-http2 Error: Follow http://guide.macports.org/#project.tickets to report a bug. $ }}} The reason was shown in the log: a conflicting port was installed: {{{ $ port log php54-http2 ---> Computing dependencies for php54-http2:info:main .:debug:main Checking for conflicts against php54-http2 DEBUG: Searching for dependency: php54-event DEBUG: Found Dependency: receipt exists for php54-event DEBUG: Searching for dependency: php54-http DEBUG: Didn't find receipt, going to depspec regex for: php54-http DEBUG: Can't install php54-http2 because conflicting ports are active: php54-event Error: Follow http://guide.macports.org/#project.tickets to report a bug. }}} -- Ticket URL: <https://trac.macports.org/ticket/43210#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#43210: Missing error messages ---------------------------+---------------------- Reporter: ryandesign@… | Owner: cal@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: base | Version: 2.2.99 Resolution: | Keywords: Port: | ---------------------------+---------------------- Changes (by cal@…): * cc: cal@… (removed) * status: new => assigned * owner: macports-tickets@… => cal@… Comment: I think it's actually a bug that MacPorts doesn't try to activate the missing dependency here. The previous error message wasn't giving useful information as to why the operation failed either. I agree this needs to be changed, though. -- Ticket URL: <https://trac.macports.org/ticket/43210#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts