[MacPorts] #54334: MacPorts 2.4.1 claims Xcode command line tools are not installed, but they are

MacPorts noreply at macports.org
Sun Jun 18 00:24:24 UTC 2017


#54334: MacPorts 2.4.1 claims Xcode command line tools are not installed, but they
are
--------------------------+-------------------
  Reporter:  chrisscooke  |      Owner:
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.4.1
Resolution:               |   Keywords:
      Port:  dsniff       |
--------------------------+-------------------
Changes (by ryandesign):

 * keywords:  port, xcode command line tools =>


Old description:

> Trying to install "dsniff" claims that Xcode command line tools are not
> installed.
>
> Christopher-Cookes-MacBook-Air:~ chriscooke$ sudo port install dsniff
> Warning: The Xcode Command Line Tools don't appear to be installed; most
> ports will likely fail to build.
> Warning: Install them by running `xcode-select --install'.
> --->  Computing dependencies for dsniff
> --->  Configuring dsniff
> Error: Failed to configure dsniff, consult
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_dsniff/dsniff/work/dsniff-2.4/config.log
> Error: Failed to configure dsniff: configure failure: command execution
> failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_dsniff/dsniff/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets to report a
> bug.
> Error: Processing of port dsniff failed
>
> But the command line tools are installed:
>
> Christopher-Cookes-MacBook-Air:~ chriscooke$ xcode-select -p
> /Applications/Xcode.app/Contents/Developer
>
> I have Xcode 8.3.2.
>
> Also, I cannot fill in the maintainer in the CC because the port info
> command claims this port doesn't exist, even though trying to install the
> port seems to try to install the port (as seen above):
>
> Christopher-Cookes-MacBook-Air:~ chriscooke$ port info --maintainer
> dnsiff
> Error: Port dnsiff not found

New description:

 Trying to install "dsniff" claims that Xcode command line tools are not
 installed.

 {{{
 Christopher-Cookes-MacBook-Air:~ chriscooke$ sudo port install dsniff
 Warning: The Xcode Command Line Tools don't appear to be installed; most
 ports will likely fail to build.
 Warning: Install them by running `xcode-select --install'.
 --->  Computing dependencies for dsniff
 --->  Configuring dsniff
 Error: Failed to configure dsniff, consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_dsniff/dsniff/work/dsniff-2.4/config.log
 Error: Failed to configure dsniff: configure failure: command execution
 failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_dsniff/dsniff/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port dsniff failed
 }}}

 But the command line tools are installed:

 {{{
 Christopher-Cookes-MacBook-Air:~ chriscooke$ xcode-select -p
 /Applications/Xcode.app/Contents/Developer
 }}}

 I have Xcode 8.3.2.

 Also, I cannot fill in the maintainer in the CC because the port info
 command claims this port doesn't exist, even though trying to install the
 port seems to try to install the port (as seen above):

 {{{
 Christopher-Cookes-MacBook-Air:~ chriscooke$ port info --maintainer dnsiff
 Error: Port dnsiff not found
 }}}

--

Comment:

 Running `xcode-select -p` does not prove that the command line tools are
 installed. Please (re)install the command line tools.

 The port name is "dsniff" not "dnsiff".

 Once you've installed the command line tools, clean dsniff and try again.
 If it fails, attach the main.log file.

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


More information about the macports-tickets mailing list