[MacPorts] #56009: aircrack-ng @1.2-rc4: error: unknown type name 'time_t' (was: Failed to build aircrack-ng: command execution failed)

MacPorts noreply at macports.org
Sun Mar 11 11:54:58 UTC 2018


#56009: aircrack-ng @1.2-rc4: error: unknown type name 'time_t'
--------------------------+------------------------
  Reporter:  Stefanofr84  |      Owner:  ryandesign
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.4.2
Resolution:               |   Keywords:
      Port:  aircrack-ng  |
--------------------------+------------------------
Changes (by ryandesign):

 * status:  new => assigned
 * owner:   => ryandesign
 * keywords:  aircrack-ng =>
 * port:   => aircrack-ng


Old description:

> Fail to build aircrack-ng through macports
>
> command executed: sudo port install aircrack-ng
>
> Issue:
> --->  Computing dependencies for aircrack-ng
> --->  Building aircrack-ng
> Error: Failed to build aircrack-ng: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_security_aircrack-ng/aircrack-
> ng/main.log for details.
> Error: Follow https://guide.macports.org/#project.tickets to report a
> bug.
> Error: Processing of port aircrack-ng failed

New description:

 Fail to build aircrack-ng through macports

 command executed: `sudo port install aircrack-ng`

 Issue:
 {{{
 --->  Computing dependencies for aircrack-ng
 --->  Building aircrack-ng
 Error: Failed to build aircrack-ng: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_security_aircrack-ng/aircrack-
 ng/main.log for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port aircrack-ng failed
 }}}

--

Comment:

 That's strange:

 {{{
 :info:build In file included from memory.c:63:
 :info:build ./common.h:86:15: error: unknown type name 'time_t'; did you
 mean 'size_t'?
 :info:build void calctime(time_t t, float calc);
 :info:build               ^~~~~~
 :info:build               size_t
 }}}

 `time_t` is defined in time.h, which is `#include`d in common.h.

 The port builds for me on Sierra. I haven't tested on High Sierra yet.

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


More information about the macports-tickets mailing list