[MacPorts] #26315: Uninstalled all macports and all installed ports - upon reinstalled, no ports/dependencies can be installed.
#26315: Uninstalled all macports and all installed ports - upon reinstalled, no ports/dependencies can be installed. -------------------------------------+-------------------------------------- Reporter: gallego.alexx@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: -------------------------------------+-------------------------------------- 1. This is what I did to uninstall all macports sudo port -f uninstall installed 2. Followed by this sudo rm -rf \ /opt/local \ /Applications/DarwinPorts \ /Applications/MacPorts \ /Library/LaunchDaemons/org.macports.* \ /Library/Receipts/DarwinPorts*.pkg \ /Library/Receipts/MacPorts*.pkg \ /Library/StartupItems/DarwinPortsStartup \ /Library/Tcl/darwinports1.0 \ /Library/Tcl/macports1.0 \ ~/.macports then I downloaded the new macports and I can't install anything. Here is the list of macports I had installed #!/bin/bash sudo port install \ metasploit3 \ aircrack-ng \ apache-ant \ autoconf \ automake \ bison \ boost \ git-core \ cairo \ bzip2 \ coreutils \ emacs \ emacs-app \ cedet-devel \ ecb \ auctex \ emacs-w3m \ php-mode.el \ python-mode.el \ slime \ python31 \ gnutar \ texlive \ wget \ gmake \ ruby \ openmotif \ libtool \ ocaml \ openssl \ perl5.8 The error on all of the ports is this.......... Error: The following dependencies failed to build: <packets name> Please let me know, specifically what output should I exactly add. I understand that to submit I think i have to use the -d flag. However, i chose to ignore this since its not for one specific port, but rather for all the ports. Thanks in advance -- Ticket URL: <http://trac.macports.org/ticket/26315> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26315: Uninstalled all macports and all installed ports - upon reinstalled, no ports/dependencies can be installed. -------------------------------------+-------------------------------------- Reporter: gallego.alexx@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: -------------------------------------+-------------------------------------- Comment(by dluke@…): Replying to [ticket:26315 gallego.alexx@…]:
Please let me know, specifically what output should I exactly add. I understand that to submit I think i have to use the -d flag.
However, i chose to ignore this since its not for one specific port, but rather for all the ports.
we still need to see the debug output to have any hope of knowing what is going on. -- Ticket URL: <http://trac.macports.org/ticket/26315#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26315: Uninstalled all macports and all installed ports - upon reinstalled, no ports/dependencies can be installed. -------------------------------------+-------------------------------------- Reporter: gallego.alexx@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: -------------------------------------+-------------------------------------- Comment(by gallego.alexx@…): Hello, thanks for the quick reply. Here is the debug output for say gperf. Port command started with PID 21610 DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gperf DEBUG: OS darwin/9.8.0 (Mac OS X 10.5) arch i386 DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre- existing procedure. Target override will not be provided DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: universal variant already exists, so not adding the default one DEBUG: Starting logging for gperf Computing dependencies for gperf DEBUG: Executing org.macports.main (gperf) DEBUG: Skipping completed org.macports.fetch (gperf) DEBUG: Skipping completed org.macports.checksum (gperf) Extracting gperf DEBUG: extract phase started at Wed Sep 1 12:41:49 EDT 2010 DEBUG: Executing org.macports.extract (gperf) Extracting gperf-3.0.4.tar.gz DEBUG: setting option extract.args to '/opt/local/var/macports/distfiles/gperf/gperf-3.0.4.tar.gz' DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gperf/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYM ENT_TARGET='10.5' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gperf/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/gperf/gperf-3.0.4.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -' sh: /usr/bin/gnutar: No such file or directory gzip: stdout: Broken pipe shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gperf/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/gperf/gperf-3.0.4.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - " returned error 127 Error: Target org.macports.extract returned: shell command failed DEBUG: Backtrace: shell command failed while executing "$procedure $targetname" Warning: the following items did not execute (for gperf): org.macports.activate org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install Log for gperf is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gperf/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> Executing: /opt/local/bin/port -d install gperf -- Ticket URL: <http://trac.macports.org/ticket/26315#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26315: Uninstalled all macports and all installed ports - upon reinstalled, no ports/dependencies can be installed. -------------------------------------+-------------------------------------- Reporter: gallego.alexx@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: -------------------------------------+-------------------------------------- Comment(by gallego.alexx@…): Here is w/ pretty formatting {{{ Port command started with PID 21610 DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gperf DEBUG: OS darwin/9.8.0 (Mac OS X 10.5) arch i386 DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre- existing procedure. Target override will not be provided DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: universal variant already exists, so not adding the default one DEBUG: Starting logging for gperf Computing dependencies for gperf DEBUG: Executing org.macports.main (gperf) DEBUG: Skipping completed org.macports.fetch (gperf) DEBUG: Skipping completed org.macports.checksum (gperf) Extracting gperf DEBUG: extract phase started at Wed Sep 1 12:41:49 EDT 2010 DEBUG: Executing org.macports.extract (gperf) Extracting gperf-3.0.4.tar.gz DEBUG: setting option extract.args to '/opt/local/var/macports/distfiles/gperf/gperf-3.0.4.tar.gz' DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gperf/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYM ENT_TARGET='10.5' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gperf/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/gperf/gperf-3.0.4.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -' sh: /usr/bin/gnutar: No such file or directory gzip: stdout: Broken pipe shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gperf/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/gperf/gperf-3.0.4.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - " returned error 127 Error: Target org.macports.extract returned: shell command failed DEBUG: Backtrace: shell command failed while executing "$procedure $targetname" Warning: the following items did not execute (for gperf): org.macports.activate org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install Log for gperf is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gperf/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> Executing: /opt/local/bin/port -d install gperf }}} -- Ticket URL: <http://trac.macports.org/ticket/26315#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26315: Uninstalled all macports and all installed ports - upon reinstalled, no ports/dependencies can be installed. --------------------------------------+------------------------------------- Reporter: gallego.alexx@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: invalid | Keywords: Port: | --------------------------------------+------------------------------------- Changes (by dluke@…): * status: new => closed * resolution: => invalid Comment: Replying to [comment:4 gallego.alexx@…]: {{{
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gperf/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/gperf/gperf-3.0.4.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -' sh: /usr/bin/gnutar: No such file or directory gzip: stdout: Broken pipe }}}
So there's the problem. You're missing /usr/bin/gnutar which should be installed as part of Mac OS X. You can probably restore it from your install DVD. -- Ticket URL: <http://trac.macports.org/ticket/26315#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26315: Uninstalled all macports and all installed ports - upon reinstalled, no ports/dependencies can be installed. --------------------------------------+------------------------------------- Reporter: gallego.alexx@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: | Keywords: Port: | --------------------------------------+------------------------------------- Changes (by gallego.alexx@…): * status: closed => reopened * resolution: invalid => Comment: hmm... weird. Look at this $ gnutar --version tar (GNU tar) 1.16.1 Copyright (C) 2006 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. -- Ticket URL: <http://trac.macports.org/ticket/26315#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26315: Uninstalled all macports and all installed ports - upon reinstalled, no ports/dependencies can be installed. --------------------------------------+------------------------------------- Reporter: gallego.alexx@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: invalid | Keywords: Port: | --------------------------------------+------------------------------------- Changes (by dluke@…): * status: reopened => closed * resolution: => invalid Comment: That's probably not /usr/bin/gnutar (run 'which gnutar' to see where it's coming from). On 10.5: % /usr/bin/gnutar --version tar (GNU tar) 1.15.1 on 10.6: % /usr/bin/gnutar --version tar (GNU tar) 1.17 Copyright (C) 2007 Free Software Foundation, Inc. License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Modified to support extended attributes. Written by John Gilmore and Jay Fenlason. -- Ticket URL: <http://trac.macports.org/ticket/26315#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26315: Uninstalled all macports and all installed ports - upon reinstalled, no ports/dependencies can be installed. --------------------------------------+------------------------------------- Reporter: gallego.alexx@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: invalid | Keywords: Port: | --------------------------------------+------------------------------------- Comment(by gallego.alexx@…): you are right. I downloaded the gnutar from the gnu site, and did a $./configure && make && make install for it. Should I copy it to /usr/bin ? -- Ticket URL: <http://trac.macports.org/ticket/26315#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26315: Uninstalled all macports and all installed ports - upon reinstalled, no ports/dependencies can be installed. --------------------------------------+------------------------------------- Reporter: gallego.alexx@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: invalid | Keywords: Port: | --------------------------------------+------------------------------------- Comment(by dluke@…): You might be able to get things working that way, but I would want to figure out why my OS-installed copy was gone and restore it (and anything else that is missing) from my OS install disk. -- Ticket URL: <http://trac.macports.org/ticket/26315#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26315: Uninstalled all macports and all installed ports - upon reinstalled, no ports/dependencies can be installed. --------------------------------------+------------------------------------- Reporter: gallego.alexx@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: invalid | Keywords: Port: | --------------------------------------+------------------------------------- Comment(by gallego.alexx@…): Thanks.... i've been tinkering with this for a couple days now. and did not think of the installed CD. :) -- Ticket URL: <http://trac.macports.org/ticket/26315#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts