Opened 7 years ago

Closed 2 years ago

#39657 closed defect (worksforme)

aircrack-ng @1.1: build failure "ld: malformed archive TOC entry"

Reported by: trac.macports@… Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: brn93@…
Port: aircrack-ng

Description (last modified by larryv (Lawrence Velázquez))

sudo port -v selfupdate
sudo port upgrade outdated
sudo port install aircrack-ng

--->  Verifying checksum(s) for aircrack-ng
--->  Extracting aircrack-ng
--->  Configuring aircrack-ng
--->  Building aircrack-ng
Error: org.macports.build for port aircrack-ng returned: command execution failed
Please see the log file for port aircrack-ng for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_aircrack-ng/aircrack-ng/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port aircrack-ng failed

complete log: http://pastebin.com/qrpm2kxY

Attachments (1)

main.log (24.9 KB) - added by larryv (Lawrence Velázquez) 7 years ago.
main.log from pastebin link

Download all attachments as: .zip

Change History (5)

comment:1 Changed 7 years ago by cooljeanius (Eric Gallager)

relevant part of log:

:info:build /usr/bin/clang -arch x86_64 -g -W -Wall  -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -Iinclude airodump-ng.o common.o crypto.o uniqueiv.o osdep/common.o -o airodump-ng -Losdep -losdep   -lssl -lcrypto  -lpthread
:info:build ld: malformed archive TOC entry for _wi_write, offset 60000 is beyond end of file 16384
:info:build  for architecture x86_64
:info:build ranlib libosdep.a  
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build gmake[1]: *** [airodump-ng] Error 1
:info:build gmake[1]: *** Waiting for unfinished jobs....

what's the output of ld -v and /usr/bin/clang -v for you?

Changed 7 years ago by larryv (Lawrence Velázquez)

Attachment: main.log added

main.log from pastebin link

comment:2 Changed 7 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Keywords: aircrack removed
Port: aircrack-ng added
Summary: aircrack-ng @1.1 install failureaircrack-ng @1.1: build failure "ld: malformed archive TOC entry"

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

Owner: changed from macports-tickets@… to ryandesign
Status: newassigned

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

Resolution: worksforme
Status: assignedclosed

I can't explain this, and I'm going to close it since it was filed over 5 years ago on a much older version of aircrack-ng. Version 1.3 builds fine for us on OS X 10.8 and later.

Note: See TracTickets for help on using tickets.