[MacPorts] #69941: Failed to locate 'tar' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it?

MacPorts noreply at macports.org
Wed May 8 16:02:08 UTC 2024


#69941: Failed to locate 'tar' in path:
'/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its
MacPorts configuration time location, did you move it?
------------------------+--------------------
  Reporter:  lm2lm2     |      Owner:  (none)
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:  duplicate  |   Keywords:
      Port:             |
------------------------+--------------------
Changes (by jmroot):

 * status:  new => closed
 * resolution:   => duplicate


Old description:

> Failed to locate 'tar' in path:
> '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its
> MacPorts configuration time location, did you move it?
>         while executing
> "error "$eMessage or at its MacPorts configuration time location, did you
> move it?""
>         ("macports_try ... error" body line 2)
>         invoked from within
> "macports_try -pass_signal {
>                         return [macports::binaryInPath $prog]
>                 } on error {eMessage} {
>                         error "$eMessage or at its M..."
>         (procedure "macports::findBinary" line 5)
>         invoked from within
> "macports::findBinary tar ${macports::autoconf::tar_path}"
>         invoked from within
> "set tarcmd [macports::findBinary tar ${macports::autoconf::tar_path}]"
>         (file "./src/images_to_archives.tcl" line 19)
> make: *** [install] Error 1
>

> device : mac powerpc
> osx : 10.4
> xcode : rel 4, most recent of this os
>
> saw ##26826
> but : Does "make" in fact exist in /usr/bin? If not, did you deselect (or
> forget to select) the "UNIX Development" or "Command-Line Development"
> option when installing Xcode? If so, or if unsure, use the Xcode
> installer again and select that option.
>
> => there is no such option at xcode's wizard installer. I dont find the
> "tar" executable...
>
> ty!

New description:

 {{{
 Failed to locate 'tar' in path:
 '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its
 MacPorts configuration time location, did you move it?
         while executing
 "error "$eMessage or at its MacPorts configuration time location, did you
 move it?""
         ("macports_try ... error" body line 2)
         invoked from within
 "macports_try -pass_signal {
                         return [macports::binaryInPath $prog]
                 } on error {eMessage} {
                         error "$eMessage or at its M..."
         (procedure "macports::findBinary" line 5)
         invoked from within
 "macports::findBinary tar ${macports::autoconf::tar_path}"
         invoked from within
 "set tarcmd [macports::findBinary tar ${macports::autoconf::tar_path}]"
         (file "./src/images_to_archives.tcl" line 19)
 make: *** [install] Error 1
 }}}

 device : mac powerpc
 osx : 10.4
 xcode : rel 4, most recent of this os

 saw ##26826
 but : Does "make" in fact exist in /usr/bin? If not, did you deselect (or
 forget to select) the "UNIX Development" or "Command-Line Development"
 option when installing Xcode? If so, or if unsure, use the Xcode installer
 again and select that option.

 => there is no such option at xcode's wizard installer. I dont find the
 "tar" executable...

 ty!

--

Comment:

 This is indeed the same as #26826. MacPorts doesn't work without
 /usr/bin/tar. If that doesn't exist, your Xcode Command Line Tools
 installation is incomplete.
 https://guide.macports.org/#installing.xcode.other

-- 
Ticket URL: <https://trac.macports.org/ticket/69941#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list