[MacPorts] #30969: I can not install anything with macport
#30969: I can not install anything with macport -------------------------------------+-------------------------------------- Reporter: iodice.sara@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 2.0.1 Keywords: mac port, bzip2, opencv | Port: -------------------------------------+-------------------------------------- I have a mac book pro with mac OS X 10.6.7. I can not install anything with macport. For example, if I try to execute "sudo port install opencv", I have this error: ''---> Installing bzip2 @1.0.6_0 Error: Target org.macports.install returned: /usr/bin/tar: invalid option -- q Try `/usr/bin/tar --help' for more information. Error: Failed to install bzip2'' '''This is the log file:''' ''version:1 :debug:main changing euid/egid - current euid: 0 - current egid: 0 :debug:main egid changed to: 501 :debug:main euid changed to: 502 :debug:main Executing org.macports.main (bzip2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.archivefetch (bzip2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.fetch (bzip2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.checksum (bzip2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.extract (bzip2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.patch (bzip2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.configure (bzip2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.build (bzip2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.destroot (bzip2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:install install phase started at Thu Aug 25 15:08:06 CEST 2011 :notice:install ---> Installing bzip2 @1.0.6_0 :debug:install Can't run install on this port without elevated privileges. Escalating privileges back to root. :debug:install euid changed to: 0. egid changed to: 0. :debug:install Executing org.macports.install (bzip2) :error:install Target org.macports.install returned: /usr/bin/tar: invalid option -- q Try `/usr/bin/tar --help' for more information. :debug:install Backtrace: /usr/bin/tar: invalid option -- q Try `/usr/bin/tar --help' for more information. while executing "exec [findBinary tar ${portutil::autoconf::tar_path}] -xOj${qflag}f $location +CONTENTS" (procedure "extract_contents" line 6) invoked from within "extract_contents $location $portarchivetype" (procedure "portinstall::install_main" line 19) invoked from within "$procedure $targetname" :info:install Warning: the following items did not execute (for bzip2): org.macports.activate org.macports.install :error:install Failed to install bzip2 :notice:install Log for bzip2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/main.log '' == Please, help me ... == Thanks -- Ticket URL: <https://trac.macports.org/ticket/30969> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30969: I can not install anything with macport -----------------------------------+---------------------------------------- Reporter: iodice.sara@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: -----------------------------------+---------------------------------------- Changes (by cal@…): * priority: High => Normal * keywords: mac port, bzip2, opencv => Old description:
I have a mac book pro with mac OS X 10.6.7. I can not install anything with macport.
For example, if I try to execute "sudo port install opencv", I have this error:
''---> Installing bzip2 @1.0.6_0 Error: Target org.macports.install returned: /usr/bin/tar: invalid option -- q Try `/usr/bin/tar --help' for more information. Error: Failed to install bzip2''
'''This is the log file:'''
''version:1 :debug:main changing euid/egid - current euid: 0 - current egid: 0 :debug:main egid changed to: 501 :debug:main euid changed to: 502 :debug:main Executing org.macports.main (bzip2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.archivefetch (bzip2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.fetch (bzip2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.checksum (bzip2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.extract (bzip2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.patch (bzip2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.configure (bzip2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.build (bzip2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.destroot (bzip2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:install install phase started at Thu Aug 25 15:08:06 CEST 2011 :notice:install ---> Installing bzip2 @1.0.6_0 :debug:install Can't run install on this port without elevated privileges. Escalating privileges back to root. :debug:install euid changed to: 0. egid changed to: 0. :debug:install Executing org.macports.install (bzip2) :error:install Target org.macports.install returned: /usr/bin/tar: invalid option -- q Try `/usr/bin/tar --help' for more information. :debug:install Backtrace: /usr/bin/tar: invalid option -- q Try `/usr/bin/tar --help' for more information. while executing "exec [findBinary tar ${portutil::autoconf::tar_path}] -xOj${qflag}f $location +CONTENTS" (procedure "extract_contents" line 6) invoked from within "extract_contents $location $portarchivetype" (procedure "portinstall::install_main" line 19) invoked from within "$procedure $targetname" :info:install Warning: the following items did not execute (for bzip2): org.macports.activate org.macports.install :error:install Failed to install bzip2 :notice:install Log for bzip2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/main.log ''
== Please, help me ... == Thanks
New description: I have a mac book pro with mac OS X 10.6.7. I can not install anything with macport. For example, if I try to execute "sudo port install opencv", I have this error: {{{ ---> Installing bzip2 @1.0.6_0 Error: Target org.macports.install returned: /usr/bin/tar: invalid option -- q Try `/usr/bin/tar --help' for more information. Error: Failed to install bzip2 }}} '''This is the log file:''' {{{ version:1 :debug:main changing euid/egid - current euid: 0 - current egid: 0 :debug:main egid changed to: 501 :debug:main euid changed to: 502 :debug:main Executing org.macports.main (bzip2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.archivefetch (bzip2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.fetch (bzip2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.checksum (bzip2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.extract (bzip2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.patch (bzip2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.configure (bzip2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.build (bzip2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.destroot (bzip2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:install install phase started at Thu Aug 25 15:08:06 CEST 2011 :notice:install ---> Installing bzip2 @1.0.6_0 :debug:install Can't run install on this port without elevated privileges. Escalating privileges back to root. :debug:install euid changed to: 0. egid changed to: 0. :debug:install Executing org.macports.install (bzip2) :error:install Target org.macports.install returned: /usr/bin/tar: invalid option -- q Try `/usr/bin/tar --help' for more information. :debug:install Backtrace: /usr/bin/tar: invalid option -- q Try `/usr/bin/tar --help' for more information. while executing "exec [findBinary tar ${portutil::autoconf::tar_path}] -xOj${qflag}f $location +CONTENTS" (procedure "extract_contents" line 6) invoked from within "extract_contents $location $portarchivetype" (procedure "portinstall::install_main" line 19) invoked from within "$procedure $targetname" :info:install Warning: the following items did not execute (for bzip2): org.macports.activate org.macports.install :error:install Failed to install bzip2 :notice:install Log for bzip2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/main.log }}} == Please, help me ... == Thanks -- Comment: Setting priority is for developers only. Please do not modify the priority field. Apparently your /usr/bin/tar is a GNU tar, not a BSD one. Please restore the tar binary shipped with OS X. -- Ticket URL: <https://trac.macports.org/ticket/30969#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30969: I can not install anything with macport ------------------------------------+--------------------------------------- Reporter: iodice.sara@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Resolution: invalid | Keywords: Port: | ------------------------------------+--------------------------------------- Changes (by macsforever2000@…): * status: new => closed * resolution: => invalid Comment: This is a setup problem on your end. Trac is for bug reports only. Please use the [http://lists.macosforge.org/mailman/listinfo.cgi/macports-users macports-users mailing list] for more help. -- Ticket URL: <https://trac.macports.org/ticket/30969#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30969: I can not install anything with macport ------------------------------------+--------------------------------------- Reporter: iodice.sara@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Resolution: | Keywords: Port: | ------------------------------------+--------------------------------------- Changes (by iodice.sara@…): * status: closed => reopened * resolution: invalid => Comment: Replying to [comment:1 cal@…]:
Setting priority is for developers only. Please do not modify the priority field.
Apparently your /usr/bin/tar is a GNU tar, not a BSD one. Please restore the tar binary shipped with OS X.
How can I do this? Thanks -- Ticket URL: <https://trac.macports.org/ticket/30969#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30969: I can not install anything with macport ------------------------------------+--------------------------------------- Reporter: iodice.sara@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Resolution: invalid | Keywords: Port: | ------------------------------------+--------------------------------------- Changes (by jmr@…): * status: reopened => closed * resolution: => invalid Comment: The bug tracker is not an appropriate place for asking support questions, as mentioned in comment:2. -- Ticket URL: <https://trac.macports.org/ticket/30969#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30969: I can not install anything with macport ------------------------------------+--------------------------------------- Reporter: iodice.sara@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Resolution: invalid | Keywords: Port: | ------------------------------------+--------------------------------------- Comment(by audio_andy@…): Replying to [comment:1 cal@…]:
Setting priority is for developers only. Please do not modify the priority field.
Apparently your /usr/bin/tar is a GNU tar, not a BSD one. Please restore the tar binary shipped with OS X.
Hi, i just had a similar fail. but i did'n know that i can restore the binary shipped on my OS X, so my question is. how should i replace it? thank you -- Ticket URL: <https://trac.macports.org/ticket/30969#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts