Opened 4 years ago

Closed 4 years ago

#60025 closed defect (fixed)

aircrack-ng @1.6 fails to build on mavericks

Reported by: tehcog (tehcog) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: aircrack-ng

Description

Jan 28 17:34:08 xxXXXxx === Upgrade Outdated Ports (port -p upgrade --enforce-variants outdated)
Jan 28 17:34:12 xxXXXxx --->  Computing dependencies for aircrack-ng
Jan 28 17:34:12 xxXXXxx --->  Fetching archive for aircrack-ng
Jan 28 17:34:15 xxXXXxx --->  Attempting to fetch aircrack-ng-1.6_0.darwin_13.x86_64.tbz2 from https://packages.macports.org/aircrack-ng
Jan 28 17:34:16 xxXXXxx --->  Attempting to fetch aircrack-ng-1.6_0.darwin_13.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/aircrack-ng
Jan 28 17:34:17 xxXXXxx --->  Attempting to fetch aircrack-ng-1.6_0.darwin_13.x86_64.tbz2 from http://aus.us.packages.macports.org/macports/packages/aircrack-ng
Jan 28 17:34:17 xxXXXxx --->  Verifying checksums for aircrack-ng
Jan 28 17:34:18 xxXXXxx --->  Extracting aircrack-ng
Jan 28 17:34:18 xxXXXxx --->  Applying patches to aircrack-ng
Jan 28 17:34:18 xxXXXxx --->  Configuring aircrack-ng
Jan 28 17:34:41 xxXXXxx --->  Building aircrack-ng
Jan 28 17:34:42 xxXXXxx Error: Failed to build aircrack-ng: command execution failed
Jan 28 17:34:42 xxXXXxx Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_aircrack-ng/aircrack-ng/main.log for details.

please see attached main.log file

Attachments (1)

aircrack-ng_main.log (73.1 KB) - added by tehcog (tehcog) 4 years ago.
main.log

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by tehcog (tehcog)

Attachment: aircrack-ng_main.log added

main.log

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign removed
Owner: set to ryandesign
Status: newaccepted

The error in the log is:

:info:build lib/osdep/network.c:338:3: warning: implicit declaration of function 'clock_gettime' is invalid in C99 [-Wimplicit-function-declaration]
:info:build                 clock_gettime(CLOCK_REALTIME, ts);
:info:build                 ^
:info:build lib/osdep/network.c:338:17: error: use of undeclared identifier 'CLOCK_REALTIME'
:info:build                 clock_gettime(CLOCK_REALTIME, ts);
:info:build                               ^
:info:build 1 warning and 1 error generated.

So we just need to use the legacysupport portgroup on El Capitan and earlier.

comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In 5987c4bc96171c70487432a2ea719cc2516c1578/macports-ports (master):

aircrack-ng: Use legacysupport for clock_gettime

Closes: #60025

Note: See TracTickets for help on using tickets.