[MacPorts] #25800: cannot deactivate any port
#25800: cannot deactivate any port --------------------------------+------------------------------------------- Reporter: thabangh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: --------------------------------+------------------------------------------- I am running MacPorts under Snow Leopard, and something seems to be messed up in such a way that various ports cannot be deactivated. Here is an example: bash-3.2$ sudo port deactivate freetype @2.3.12_0+macosx ---> Deactivating freetype @2.3.12_0+macosx This command hangs forever. Nothing appears in the log file. The only way to stop it is with a "sudo kill <pid>" command. Is there any way to get more verbose output from the port command, so that I can find out what's going wrong? Can I deactivate the port manually? The same thing happens with other "deactivate" commands. I think the problem might have arisen because I issued the command "sudo port upgrade outdated" and then lost internet connectivity while the command was still executing. -- Ticket URL: <http://trac.macports.org/ticket/25800> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25800: cannot deactivate any port --------------------------------+------------------------------------------- Reporter: thabangh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: --------------------------------+------------------------------------------- Comment(by thabangh@…): Here is some more insight, perhaps, into this problem. The following command generates an explicit error and the attached log file. bash-3.2$ sudo port install gconf ---> Computing dependencies for gconf ---> Building gconf Error: Target org.macports.build returned: shell command failed Log for gconf is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gconf/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> -- Ticket URL: <http://trac.macports.org/ticket/25800#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25800: cannot deactivate any port --------------------------------+------------------------------------------- Reporter: thabangh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.1 Keywords: | Port: --------------------------------+------------------------------------------- Changes (by jmr@…): * component: ports => base Old description:
I am running MacPorts under Snow Leopard, and something seems to be messed up in such a way that various ports cannot be deactivated. Here is an example:
bash-3.2$ sudo port deactivate freetype @2.3.12_0+macosx ---> Deactivating freetype @2.3.12_0+macosx
This command hangs forever. Nothing appears in the log file. The only way to stop it is with a "sudo kill <pid>" command. Is there any way to get more verbose output from the port command, so that I can find out what's going wrong? Can I deactivate the port manually?
The same thing happens with other "deactivate" commands. I think the problem might have arisen because I issued the command "sudo port upgrade outdated" and then lost internet connectivity while the command was still executing.
New description: I am running MacPorts under Snow Leopard, and something seems to be messed up in such a way that various ports cannot be deactivated. Here is an example: {{{ bash-3.2$ sudo port deactivate freetype @2.3.12_0+macosx ---> Deactivating freetype @2.3.12_0+macosx }}} This command hangs forever. Nothing appears in the log file. The only way to stop it is with a "sudo kill <pid>" command. Is there any way to get more verbose output from the port command, so that I can find out what's going wrong? Can I deactivate the port manually? The same thing happens with other "deactivate" commands. I think the problem might have arisen because I issued the command "sudo port upgrade outdated" and then lost internet connectivity while the command was still executing. -- Comment: Please remember WikiFormatting for your preformatted text. The gconf build failure seems unrelated and should go in a separate ticket. Please attach debug output, i.e. the result of `sudo port -d deactivate freetype`. -- Ticket URL: <http://trac.macports.org/ticket/25800#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25800: cannot deactivate any port --------------------------------+------------------------------------------- Reporter: thabangh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.1 Keywords: | Port: --------------------------------+------------------------------------------- Comment(by thabangh@…): As requested, I re-ran the command with the "-d" option, but got no output either on the command line or in the log file. {{{ bash-3.2$ sudo port -d deactivate freetype ---> Deactivating freetype }}} -- Ticket URL: <http://trac.macports.org/ticket/25800#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25800: cannot deactivate any port --------------------------------+------------------------------------------- Reporter: thabangh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.1 Keywords: | Port: --------------------------------+------------------------------------------- Comment(by ryandesign@…): Replying to [comment:2 jmr@…]:
The gconf build failure seems unrelated and should go in a separate ticket.
This has now been filed as #25818. -- Ticket URL: <http://trac.macports.org/ticket/25800#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25800: cannot deactivate any port --------------------------------+------------------------------------------- Reporter: thabangh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.1 Keywords: | Port: --------------------------------+------------------------------------------- Comment(by ryandesign@…): Replying to [comment:3 thabangh@…]:
As requested, I re-ran the command with the "-d" option, but got no output either on the command line or in the log file.
Really? In debug mode, there should have been about a dozen additional lines before "---> Deactivating freetype" was printed, and likely more after. Try again? Note the "-d" has no effect unless it goes immediately after the word "port", before the word "deactivate". -- Ticket URL: <http://trac.macports.org/ticket/25800#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25800: cannot deactivate any port --------------------------------+------------------------------------------- Reporter: thabangh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.1 Keywords: | Port: --------------------------------+------------------------------------------- Comment(by thabangh@…): Honest! I cut and pasted the command line and the output in my previous entry. I just tried it again. I don't get anything different when I do "sudo port deactivate freetype" versus "sudo port -d deactivate freetype". Is there anything else I should try? -- Ticket URL: <http://trac.macports.org/ticket/25800#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25800: cannot deactivate any port --------------------------------+------------------------------------------- Reporter: thabangh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.1 Keywords: | Port: --------------------------------+------------------------------------------- Comment(by macsforever2000@…): Replying to [comment:6 thabangh@…]:
Is there anything else I should try?
Just curious, what is the output of the following? {{{ port version }}} -- Ticket URL: <http://trac.macports.org/ticket/25800#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25800: cannot deactivate any port --------------------------------+------------------------------------------- Reporter: thabangh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.1 Keywords: | Port: --------------------------------+------------------------------------------- Comment(by jmr@…): Do you perhaps have another port process running? Check with {{{ ps -A | grep tclsh }}} -- Ticket URL: <http://trac.macports.org/ticket/25800#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25800: cannot deactivate any port --------------------------------+------------------------------------------- Reporter: thabangh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.1 Keywords: | Port: --------------------------------+------------------------------------------- Comment(by thabangh@…): The output of "port version" is "Version: 1.9.1." The output of "ps -A | grep tclsh" is {{{ 27349 ?? 0:26.15 /usr/bin/tclsh /opt/local/bin/port upgrade gnucash 50814 ?? 0:15.09 /usr/bin/tclsh /opt/local/bin/port upgrade outdated 54345 ?? 0:07.12 /usr/bin/tclsh /opt/local/bin/port upgrade outdated 54663 ?? 0:07.21 /usr/bin/tclsh /opt/local/bin/port upgrade outdated 57307 ttys003 0:00.00 grep tclsh }}} So this seems like a problem, eh? I killed all those processes, and now I can successfully deactivate freetype. Thanks. -- Ticket URL: <http://trac.macports.org/ticket/25800#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25800: cannot deactivate any port ---------------------------------+------------------------------------------ Reporter: thabangh@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 1.9.1 Resolution: worksforme | Keywords: Port: | ---------------------------------+------------------------------------------ Changes (by jmr@…): * status: new => closed * resolution: => worksforme -- Ticket URL: <http://trac.macports.org/ticket/25800#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts