Am Mittwoch, Februar 27, 2019 19:50 CET, Stuart Henderson 
<s...@spacehopper.org> schrieb:

> this update fails on i386:
>
> /usr/bin/libtool --tag=disable-static  --tag=CC   --mode=link cc -pthread   
> -Wall -Wno-unused-command-line-argument -O3 -std=gnu99 -fno-strict-aliasing 
> -Wpointer-arith -Wstrict-overflow=2 -Wstrict-prototypes -fvisibility=hidden 
> -fstack-protector-strong -Wno-array-bounds -O2 -pipe -release 1.3.0 
> -no-undefined  -o libaircrack-crypto.la -rpath /usr/local/lib 
> libaircrack_crypto_la-memory.lo libaircrack_crypto_la-sha1-git.lo 
> libaircrack_crypto_la-wpapsk.lo libaircrack_crypto_la-crypto_engine.lo 
> sha1-sse2.lo -lpthread -lcrypto -lz -lm
> libtool: link: cc -shared -fPIC -DPIC -o .libs/libaircrack-crypto-1.3.0.so 
> -pthread -Wall -Wno-unused-command-line-argument -O3 -std=gnu99 
> -fno-strict-aliasing -Wpointer-arith -Wstrict-overflow=2 -Wstrict-prototypes 
> -fvisibility=hidden -fstack-protector-strong -Wno-array-bounds -O2 -pipe 
> .libs/libaircrack_crypto_la-memory.o .libs/libaircrack_crypto_la-sha1-git.o 
> .libs/libaircrack_crypto_la-wpapsk.o 
> .libs/libaircrack_crypto_la-crypto_engine.o .libs/sha1-sse2.o -L.libs 
> -lpthread -lcrypto -lz -lm -Wl,-soname,libaircrack-crypto-1.3.0.so
> ld: error: undefined symbol: __i686.get_pc_thunk.bx
> >>> referenced by sha1-sse2.S
> >>>               .libs/sha1-sse2.o:(.text+0x1)
>
> ld: error: undefined symbol: __i686.get_pc_thunk.bx
> >>> referenced by sha1-sse2.S
> >>>               .libs/sha1-sse2.o:(.text+0x4D)
>
> ld: error: undefined symbol: __i686.get_pc_thunk.bx
> >>> referenced by sha1-sse2.S
> >>>               .libs/sha1-sse2.o:(.text+0x185)
> cc: error: linker command failed with exit code 1 (use -v to see invocation)
> Error while executing cc -shared -fPIC -DPIC -o 
> .libs/libaircrack-crypto-1.3.0.so -pthread -Wall 
> -Wno-unused-command-line-argument -O3 -std=gnu99 -fno-strict-aliasing 
> -Wpointer-arith -Wstrict-overflow=2 -Wstrict-prototypes -fvisibility=hidden 
> -fstack-protector-strong -Wno-array-bounds -O2 -pipe 
> .libs/libaircrack_crypto_la-memory.o .libs/libaircrack_crypto_la-sha1-git.o 
> .libs/libaircrack_crypto_la-wpapsk.o 
> .libs/libaircrack_crypto_la-crypto_engine.o .libs/sha1-sse2.o -L.libs 
> -lpthread -lcrypto -lz -lm -Wl,-soname,libaircrack-crypto-1.3.0.so
>
> Full log below.

seems the linker. The snapshot I made the port on was from Mid/End of January.
Updated to a recent snapshot, and ran into the same issue.
Following patch lets me build it, basically USE_LLD=No
The USE_LIBTOOL line accidently snucked in when I updated it.
I bumpred revision, since removal of the USE_LIBTOOL for other
platforms than i386.

My limited research so far says, that the linker error has something to do with
PIC code, so no idea if there is a better fix for the problem, as this is also 
not
really my expert area ;)

anyone with a better idea how to work around the problem, and use lld?

cheers,
Sebastian


? fix-for-i386.diff
Index: Makefile
===================================================================
RCS file: /cvs/ports/security/aircrack-ng/Makefile,v
retrieving revision 1.22
diff -u -p -u -r1.22 Makefile
--- Makefile    23 Feb 2019 22:23:25 -0000      1.22
+++ Makefile    28 Feb 2019 21:30:09 -0000
@@ -2,6 +2,7 @@

 COMMENT=               802.11 WEP and WPA-PSK keys cracking program
 DISTNAME=              aircrack-ng-1.5.2
+REVISION=              0
 CATEGORIES=            security

 HOMEPAGE=              https://www.aircrack-ng.org/
@@ -27,7 +28,9 @@ LIB_DEPENDS=          databases/sqlite3 \
 RUN_DEPENDS+=          net/arp-scan,-mac>=20190128

 USE_GMAKE=             Yes
-USE_LIBTOOL=           Yes
+.if ${MACHINE_ARCH} == "i386"
+USE_LLD=               No
+.endif
 LIBTOOL_FLAGS=         --tag=disable-static
 AUTOCONF_VERSION=      2.69
 AUTOMAKE_VERSION=      1.16




>
>
> >>> Building on localhost under security/aircrack-ng
>        BDEPENDS = 
> [devel/autoconf/2.69;devel/shtool;devel/metaauto;devel/pcre;devel/pkgconf;devel/gmake;devel/automake/1.16;databases/sqlite3;devel/libtool]
>        DIST = [security/aircrack-ng:aircrack-ng-1.5.2.tar.gz]
>        FULLPKGNAME = aircrack-ng-1.5.2
>        RDEPENDS = [net/arp-scan,-mac;databases/sqlite3;devel/pcre]
> (Junk lock obtained for localhost at 1551287252)
> >>> Running depends in security/aircrack-ng at 1551287252
>    last junk was in devel/p5-MooseX-Log-Log4perl
> /usr/sbin/pkg_add -aI -Drepair autoconf-2.69p2 automake-1.16.1 gmake-4.2.1p0 
> libtool-2.4.2p0 metaauto-1.0p3 pcre-8.41p2 pkgconf-1.4.2 shtool-2.0.8 
> sqlite3-3.26.0
> was: /usr/sbin/pkg_add -aI -Drepair autoconf-2.69p2 automake-1.16.1 
> gmake-4.2.1p0 libtool-2.4.2p0 metaauto-1.0p3 pcre-8.41p2 pkgconf-1.4.2 
> shtool-2.0.8 sqlite3-3.26.0
> /usr/sbin/pkg_add -aI -Drepair autoconf-2.69p2 automake-1.16.1 gmake-4.2.1p0 
> libtool-2.4.2p0 metaauto-1.0p3 pcre-8.41p2 pkgconf-1.4.2 shtool-2.0.8 
> sqlite3-3.26.0
> >>> Running show-prepare-results in security/aircrack-ng at 1551287257
> ===> security/aircrack-ng
> ===> aircrack-ng-1.5.2 depends on: metaauto-* -> metaauto-1.0p3
> ===> aircrack-ng-1.5.2 depends on: autoconf-2.69 -> autoconf-2.69p2
> ===> aircrack-ng-1.5.2 depends on: automake->=1.16,<1.17 -> automake-1.16.1
> ===> aircrack-ng-1.5.2 depends on: libtool-* -> libtool-2.4.2p0
> ===> aircrack-ng-1.5.2 depends on: shtool-* -> shtool-2.0.8
> ===> aircrack-ng-1.5.2 depends on: pkgconf-* -> pkgconf-1.4.2
> ===> aircrack-ng-1.5.2 depends on: gmake-* -> gmake-4.2.1p0
> ===> aircrack-ng-1.5.2 depends on: sqlite3-* -> sqlite3-3.26.0
> ===> aircrack-ng-1.5.2 depends on: pcre-* -> pcre-8.41p2
> ===>  Verifying specs:  c pthread crypto z pcre c++ c++abi pthread m sqlite3
> ===>  found c.95.0 pthread.26.1 crypto.45.3 z.5.0 pcre.3.0 c++.2.1 c++abi.0.1 
> m.10.1 sqlite3.37.4
> autoconf-2.69p2
> automake-1.16.1
> gmake-4.2.1p0
> libtool-2.4.2p0
> metaauto-1.0p3
> pcre-8.41p2
> pkgconf-1.4.2
> shtool-2.0.8
> sqlite3-3.26.0
> (Junk lock released for localhost at 1551287258)
> distfiles size=7138360
> >>> Running extract in security/aircrack-ng at 1551287258
> ===> security/aircrack-ng
> ===>  Checking files for aircrack-ng-1.5.2
> `/mnt/distfiles/aircrack-ng-1.5.2.tar.gz' is up to date.
> ===>  Extracting for aircrack-ng-1.5.2
> >>> Running patch in security/aircrack-ng at 1551287260
> ===> security/aircrack-ng
> ===>  Patching for aircrack-ng-1.5.2
> ===>   Applying OpenBSD patch patch-src_Makefile_am
> Hmm...  Looks like a unified diff to me...
> The text leading up to this was:
> --------------------------
> |$OpenBSD: patch-src_Makefile_am,v 1.1 2019/02/23 22:23:25 sebastia Exp $
> |
> |our base libtool fails finding libaircrack-util
> |
> |
> |Index: src/Makefile.am
> |--- src/Makefile.am.orig
> |+++ src/Makefile.am
> --------------------------
> Patching file src/Makefile.am using Plan A...
> Hunk #1 succeeded at 205.
> done
> ===>   Applying OpenBSD patch patch-src_airodump-ng_h
> Hmm...  Looks like a unified diff to me...
> The text leading up to this was:
> --------------------------
> |$OpenBSD: patch-src_airodump-ng_h,v 1.2 2019/02/23 22:23:25 sebastia Exp $
> |
> |use the mac-vendors OUI file
> |
> |Index: src/airodump-ng.h
> |--- src/airodump-ng.h.orig
> |+++ src/airodump-ng.h
> --------------------------
> Patching file src/airodump-ng.h using Plan A...
> Hunk #1 succeeded at 124.
> done
> ===>  Compiler link: clang -> /usr/bin/clang
> ===>  Compiler link: clang++ -> /usr/bin/clang++
> ===>  Compiler link: cc -> /usr/bin/cc
> ===>  Compiler link: c++ -> /usr/bin/c++
> >>> Running configure in security/aircrack-ng at 1551287261
> ===> security/aircrack-ng
> ===>  Generating configure for aircrack-ng-1.5.2
> cd /usr/obj/ports/aircrack-ng-1.5.2/aircrack-ng-1.5.2 &&  
> PATH=/usr/obj/ports/aircrack-ng-1.5.2/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin
>  AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.16 autoreconf -i
> libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'.
> libtoolize: copying file `./ltmain.sh'
> libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `build/m4/stubs'.
> libtoolize: copying file `build/m4/stubs/libtool.m4'
> libtoolize: copying file `build/m4/stubs/ltoptions.m4'
> libtoolize: copying file `build/m4/stubs/ltsugar.m4'
> libtoolize: copying file `build/m4/stubs/ltversion.m4'
> libtoolize: copying file `build/m4/stubs/lt~obsolete.m4'
> configure.ac:70: installing './compile'
> configure.ac:51: installing './config.guess'
> configure.ac:51: installing './config.sub'
> configure.ac:60: installing './install-sh'
> configure.ac:60: installing './missing'
> src/Makefile.am: installing './depcomp'
> parallel-tests: installing './test-driver'
> ===>  Configuring for aircrack-ng-1.5.2
> Using /usr/obj/ports/aircrack-ng-1.5.2/config.site (generated)
> /usr/bin/perl /usr/ports/infrastructure/bin/pkg_subst -DARCH=i386 
> -DBASE_PKGPATH=security/aircrack-ng -DFLAVOR_EXT= 
> -DFULLPKGNAME=aircrack-ng-1.5.2 -DHOMEPAGE=https://www.aircrack-ng.org/ 
> -DLOCALBASE=/usr/local -DLOCALSTATEDIR=/var -DMACHINE_ARCH=i386 
> -DMAINTAINER=Benoit\ Lecocq\ \<ben...@openbsd.org\> -DPREFIX=/usr/local 
> -DRCDIR=/etc/rc.d -DSYSCONFDIR=/etc -DTRUEPREFIX=/usr/local 
> -DX11BASE=/usr/X11R6 -DPKGSTEM=aircrack-ng -i -B 
> /usr/obj/ports/aircrack-ng-1.5.2 
> /usr/obj/ports/aircrack-ng-1.5.2/aircrack-ng-1.5.2/src/airodump-ng.h
> configure: WARNING: unrecognized options: --disable-gtk-doc
> configure: loading site script /usr/obj/ports/aircrack-ng-1.5.2/config.site
> checking build system type... i386-unknown-openbsd6.4
> checking host system type... i386-unknown-openbsd6.4
> checking target system type... i386-unknown-openbsd6.4
> checking for a BSD-compatible install... 
> /usr/obj/ports/aircrack-ng-1.5.2/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... mkdir -p
> checking for gawk... (cached) awk
> checking whether gmake sets $(MAKE)... yes
> checking whether gmake supports nested variables... yes
> checking whether to enable maintainer-specific portions of Makefiles... yes
> checking whether gmake supports nested variables... (cached) yes
> checking whether gmake supports the include directive... yes (GNU style)
> checking for gcc... cc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... (cached) o
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether cc accepts -g... (cached) yes
> checking for cc option to accept ISO C89... none needed
> checking whether cc understands -c and -o together... yes
> checking dependency style of cc... gcc3
> checking whether we are using the GNU C++ compiler... (cached) yes
> checking whether c++ accepts -g... (cached) yes
> checking dependency style of c++... gcc3
> checking dependency style of cc... gcc3
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking how to print strings... print -r
> checking for a sed that does not truncate output... (cached) /usr/bin/sed
> checking for grep that handles long lines and -e... (cached) /usr/bin/grep
> checking for egrep... (cached) /usr/bin/egrep
> checking for fgrep... (cached) /usr/bin/fgrep
> checking for ld used by cc... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
> checking the name lister (/usr/bin/nm -B) interface... BSD nm
> checking whether ln -s works... yes
> checking the maximum length of command line arguments... (cached) 131072
> checking whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... no
> checking how to convert i386-unknown-openbsd6.4 file names to 
> i386-unknown-openbsd6.4 format... func_convert_file_noop
> checking how to convert i386-unknown-openbsd6.4 file names to toolchain 
> format... func_convert_file_noop
> checking for /usr/bin/ld option to reload object files... -r
> checking for objdump... objdump
> checking how to recognize dependent libraries... match_pattern 
> /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$
> checking for dlltool... no
> checking how to associate runtime and link libraries... print -r --
> checking for ar... (cached) ar
> checking for archiver @FILE support... @
> checking for strip... (cached) strip
> checking for ranlib... (cached) ranlib
> checking command to parse /usr/bin/nm -B output from cc object... ok
> checking for sysroot... no
> checking for mt... mt
> checking if mt is a manifest tool... no
> checking how to run the C preprocessor... cc -E
> checking for ANSI C header files... (cached) yes
> checking for sys/types.h... (cached) yes
> checking for sys/stat.h... (cached) yes
> checking for stdlib.h... (cached) yes
> checking for string.h... (cached) yes
> checking for memory.h... (cached) yes
> checking for strings.h... (cached) yes
> checking for inttypes.h... (cached) yes
> checking for stdint.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking for dlfcn.h... (cached) yes
> checking for objdir... .libs
> checking if cc supports -fno-rtti -fno-exceptions... yes
> checking for cc option to produce PIC... -fPIC -DPIC
> checking if cc PIC flag -fPIC -DPIC works... yes
> checking if cc static flag -static works... yes
> checking if cc supports -c -o file.o... yes
> checking if cc supports -c -o file.o... (cached) yes
> checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
> checking whether -lc should be explicitly linked in... yes
> checking dynamic linker characteristics... openbsd6.4 ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... no
> checking how to run the C++ preprocessor... c++ -E
> checking for ld used by c++... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
> checking for c++ option to produce PIC... -fPIC -DPIC
> checking if c++ PIC flag -fPIC -DPIC works... yes
> checking if c++ static flag -static works... yes
> checking if c++ supports -c -o file.o... yes
> checking if c++ supports -c -o file.o... (cached) yes
> checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
> checking dynamic linker characteristics... openbsd6.4 ld.so
> checking how to hardcode library paths into programs... immediate
> checking Default static library search path...                
> /usr/lib/clang/7.0.1 /usr/bin/../lib /usr/lib           
> /opt/lib/i386-unknown-openbsd6.4                /opt/lib                
> /usr/local/lib/i386-unknown-openbsd6.4          /usr/local/lib          
> /usr/lib/i386-unknown-openbsd6.4                /usr/lib                /lib  
>           /opt/lib/i386-unknown-openbsd6.4                /opt/lib
> checking for OPENSSL_init in -lcrypto... yes
> checking for openssl/crypto.h... (cached) yes
> checking whether gcrypt is enabled...
> checking for OpenSSL or libgcrypt... OpenSSL
> checking openssl/cmac.h usability... yes
> checking openssl/cmac.h presence... yes
> checking for openssl/cmac.h... yes
> checking for python... no
> checking for python3... python3
> checking for greadlink... no
> checking for readlink... readlink
> checking for HWLOC... no
> checking pcap header directories... /usr/local/include
> checking pcap.h usability... yes
> checking pcap.h presence... yes
> checking for pcap.h... yes
> checking for pcap_open_live in -lpcap... yes
> checking for PCRE... yes
> checking for rfkill... no
> checking for SQLite3 header... found; /usr/local/include/sqlite3.h
> checking sqlite3.h usability... yes
> checking sqlite3.h presence... yes
> checking for sqlite3.h... yes
> checking for sqlite3_open in -lsqlite3... yes
> checking for SQLite3 library version >= 3.0.0... yes
> checking for ZLIB... yes
> checking for CMOCKA... no
> checking for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... no
> checking whether to add -D_FORTIFY_SOURCE=2 to CPPFLAGS... yes
> checking whether cc is Clang... yes
> checking whether Clang needs flag to prevent "argument unused" warning when 
> linking with -pthread... no
> checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
> checking whether more special flags are required for pthreads... no
> checking for PTHREAD_PRIO_INHERIT... yes
> checking for pthread_create in -lpthread... (cached) yes
> checking for pthread_setaffinity_np... no
> checking for library containing gethostbyname... none required
> checking for library containing socket... none required
> checking for dlopen in -ldl... no
> checking for sin in -lm... (cached) yes
> checking for posix_memalign... yes
> checking whether to build with code coverage support... no
> checking for valgrind... no
> checking for C compiler vendor... clang
> checking for C compiler version... 7.0.1
> checking CFLAGS for maximum warnings... -Wall
> checking CXXFLAGS for maximum warnings... -Wall
> checking whether C compiler accepts -O3... yes
> checking whether C compiler accepts -std=gnu99... yes
> checking whether C compiler accepts -fno-strict-aliasing... yes
> checking whether C compiler accepts -Wpointer-arith... yes
> checking whether C compiler accepts -Wstrict-overflow=2... yes
> checking whether C compiler accepts -fvisibility=hidden... yes
> checking whether C compiler accepts -fstack-protector-strong... yes
> checking whether C compiler accepts -Wno-array-bounds... yes
> checking for C++ compiler vendor... clang
> checking for C++ compiler version... 7.0.1
> checking CFLAGS for maximum warnings... (cached) -Wall
> checking CXXFLAGS for maximum warnings... (cached) -Wall
> checking whether C++ compiler accepts -O3... yes
> checking whether C++ compiler accepts -fvisibility=hidden... yes
> checking whether C++ compiler accepts -fstack-protector-strong... yes
> checking whether C++ compiler accepts -Wno-array-bounds... yes
> checking for C compiler vendor... (cached) clang
> checking for C compiler version... (cached) 7.0.1
> checking whether C compiler accepts -mavx2... yes
> checking whether C compiler accepts -mavx... yes
> checking whether C compiler accepts -msse2... yes
> checking whether C compiler accepts -mmmx... yes
> checking for C++ compiler vendor... (cached) clang
> checking for C++ compiler version... (cached) 7.0.1
> checking whether C++ compiler accepts -mavx2... yes
> checking whether C++ compiler accepts -mavx... yes
> checking whether C++ compiler accepts -msse2... yes
> checking whether C++ compiler accepts -mmmx... yes
> checking for malloc in -lduma... no
> checking for C compiler vendor... (cached) clang
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating manpages/Makefile
> config.status: creating scripts/Makefile
> config.status: creating scripts/airdrop-ng/Makefile
> config.status: creating scripts/airdrop-ng/doc/Makefile
> config.status: creating scripts/airgraph-ng/Makefile
> config.status: creating scripts/airgraph-ng/man/Makefile
> config.status: creating scripts/versuck-ng/Makefile
> config.status: creating src/Makefile
> config.status: creating src/aircrack-crypto/Makefile
> config.status: creating src/aircrack-util/Makefile
> config.status: creating src/include/Makefile
> config.status: creating src/aircrack-osdep/Makefile
> config.status: creating src/aircrack-osdep/radiotap/Makefile
> config.status: creating test/Makefile
> config.status: creating test/test-env.sh
> config.status: creating test/cryptounittest/Makefile
> config.status: creating test/unit/Makefile
> config.status: executing depfiles commands
> config.status: executing libtool commands
> configure: WARNING: unrecognized options: --disable-gtk-doc
>
> aircrack-ng 1.5.2
>
>   Build Environment:
>     Build Machine:               i386-unknown-openbsd6.4
>     Host Machine:                i386-unknown-openbsd6.4
>     Target Machine:              i386-unknown-openbsd6.4
>
>     Install Prefix:              /usr/local
>
>   Compiler Environment:
>     C Compiler:                  cc
>     C++ Compiler:                c++
>     Python:                      python3
>
>     CFLAGS:                      -O2 -pipe
>     CXXFLAGS:                    -O2 -pipe
>     CPPFLAGS:                     -D_FILE_OFFSET_BITS=64 
> -D_LARGEFILE64_SOURCE -D_FORTIFY_SOURCE=2
>     LDFLAGS:
>     LIBS:                         -lm
>
>     Optimized CFLAGS:              -Wall -Wno-unused-command-line-argument 
> -O3 -std=gnu99 -fno-strict-aliasing -Wpointer-arith -Wstrict-overflow=2 
> -Wstrict-prototypes -fvisibility=hidden -fstack-protector-strong 
> -Wno-array-bounds
>     Optimized CXXFLAGS:            -Wall -Wno-unused-command-line-argument 
> -O3 -fvisibility=hidden -fstack-protector-strong -Wno-array-bounds
>     Optimized CPPFLAGS:           -Wno-unused-command-line-argument
>     Optimized LIBS:
>
>   Target Environment:
>     OS:                          openbsd
>     ASAN:                        no
>     CPU L1 cache-line size:      64
>
>   Crypto Libraries:
>     Crypto Engine:               openssl
>     Gcrypt:
>     OpenSSL:                     -lcrypto
>
>   Required Libraries:
>     Ethtool:                     not required
>     Libnl:                       not required
>
>   Optional Libraries:
>     Airpcap:                     no
>     Cmocka:                      no
>     DUMA:                        no
>     Hwloc:                       no
>     Jemalloc:                    no
>     Pcap:                        yes
>     Pcre:                        yes
>     Sqlite:                      yes
>     Tcmalloc:                    no
>     Zlib:                        yes
>
>   Features:
>     CMAC Support:                yes
>     Experimental Extra Scripts:  no
>     Experimental Features:       no
>
> >>> Running build in security/aircrack-ng at 1551287308
> ===> security/aircrack-ng
> ===>  Building for aircrack-ng-1.5.2
> Making all in manpages
> gmake[1]: Entering directory 
> '/usr/obj/ports/aircrack-ng-1.5.2/aircrack-ng-1.5.2/manpages'
> gmake[1]: Nothing to be done for 'all'.
> gmake[1]: Leaving directory 
> '/usr/obj/ports/aircrack-ng-1.5.2/aircrack-ng-1.5.2/manpages'
> Making all in scripts
> gmake[1]: Entering directory 
> '/usr/obj/ports/aircrack-ng-1.5.2/aircrack-ng-1.5.2/scripts'
> gmake[2]: Entering directory 
> '/usr/obj/ports/aircrack-ng-1.5.2/aircrack-ng-1.5.2/scripts'
> gmake[2]: Nothing to be done for 'all-am'.
> gmake[2]: Leaving directory 
> '/usr/obj/ports/aircrack-ng-1.5.2/aircrack-ng-1.5.2/scripts'
> gmake[1]: Leaving directory 
> '/usr/obj/ports/aircrack-ng-1.5.2/aircrack-ng-1.5.2/scripts'
> Making all in src
> gmake[1]: Entering directory 
> '/usr/obj/ports/aircrack-ng-1.5.2/aircrack-ng-1.5.2/src'
> Making all in aircrack-crypto
> gmake[2]: Entering directory 
> '/usr/obj/ports/aircrack-ng-1.5.2/aircrack-ng-1.5.2/src/aircrack-crypto'
> /usr/bin/libtool --tag=disable-static  --tag=CC   --mode=compile cc 
> -DPACKAGE_NAME=\"aircrack-ng\" -DPACKAGE_TARNAME=\"aircrack-ng\" 
> -DPACKAGE_VERSION=\"1.5.2\" -DPACKAGE_STRING=\"aircrack-ng\ 1.5.2\" 
> -DPACKAGE_BUGREPORT=\"https://forum.aircrack-ng.org\"; -DPACKAGE_URL=\"\" 
> -DPACKAGE=\"aircrack-ng\" -DVERSION=\"1.5.2\" -DSTDC_HEADERS=1 
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
> -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" 
> -D_REVISION=\"1.5.2\" -DHAVE_OPENSSL_CRYPTO_H=1 -DHAVE_OPENSSL_CMAC_H=1 
> -DHAVE_OPENSSL_CMAC_H=1 -DHAVE_PCAP_H=1 -DHAVE_PCAP=1 -DHAVE_PCRE=1 
> -DHAVE_SQLITE3_H=1 -DHAVE_SQLITE3=1 -DHAVE_SQLITE=1 -DHAVE_ZLIB=1 
> -DHAVE_PTHREAD_PRIO_INHERIT=1 -D_REENTRANT=1 -DHAVE_POSIX_MEMALIGN=1 
> -DCACHELINE_SIZE=64 -DCACHELINE_SIZE=64 -I.  -I../.. -I../../src/include 
> -I../../src   -Wno-unused-command-line-argument  -D_FILE_OFFSET_BITS=64 
> -D_LARGEFILE64_SOURCE -D_FORTIFY_SOURCE=2 -pthread   -Wall 
> -Wno-unused-command-line-argument -O3 -std=gnu99 -fno-strict-aliasing 
> -Wpointer-arith -Wstrict-overflow=2 -Wstrict-prototypes -fvisibility=hidden 
> -fstack-protector-strong -Wno-array-bounds -O2 -pipe -MT 
> libaircrack_crypto_la-memory.lo -MD -MP -MF 
> .deps/libaircrack_crypto_la-memory.Tpo -c -o libaircrack_crypto_la-memory.lo 
> `test -f 'memory.c' || echo './'`memory.c
> cc -DPACKAGE_NAME="aircrack-ng" -DPACKAGE_TARNAME="aircrack-ng" 
> -DPACKAGE_VERSION="1.5.2" -DPACKAGE_STRING="aircrack-ng 1.5.2" 
> -DPACKAGE_BUGREPORT="https://forum.aircrack-ng.org"; -DPACKAGE_URL="" 
> -DPACKAGE="aircrack-ng" -DVERSION="1.5.2" -DSTDC_HEADERS=1 
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
> -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -D_REVISION="1.5.2" 
> -DHAVE_OPENSSL_CRYPTO_H=1 -DHAVE_OPENSSL_CMAC_H=1 -DHAVE_OPENSSL_CMAC_H=1 
> -DHAVE_PCAP_H=1 -DHAVE_PCAP=1 -DHAVE_PCRE=1 -DHAVE_SQLITE3_H=1 
> -DHAVE_SQLITE3=1 -DHAVE_SQLITE=1 -DHAVE_ZLIB=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 
> -D_REENTRANT=1 -DHAVE_POSIX_MEMALIGN=1 -DCACHELINE_SIZE=64 
> -DCACHELINE_SIZE=64 -I. -I../.. -I../../src/include -I../../src 
> -Wno-unused-command-line-argument -D_FILE_OFFSET_BITS=64 
> -D_LARGEFILE64_SOURCE -D_FORTIFY_SOURCE=2 -pthread -Wall 
> -Wno-unused-command-line-argument -O3 -std=gnu99 -fno-strict-aliasing 
> -Wpointer-arith -Wstrict-overflow=2 -Wstrict-prototypes -fvisibility=hidden 
> -fstack-protector-strong -Wno-array-bounds -O2 -pipe -MT 
> libaircrack_crypto_la-memory.lo -MD -MP -MF 
> .deps/libaircrack_crypto_la-memory.Tpo -c memory.c -fPIC -DPIC -o 
> .libs/libaircrack_crypto_la-memory.o
> mv -f .deps/libaircrack_crypto_la-memory.Tpo 
> .deps/libaircrack_crypto_la-memory.Plo
> /usr/bin/libtool --tag=disable-static  --tag=CC   --mode=compile cc 
> -DPACKAGE_NAME=\"aircrack-ng\" -DPACKAGE_TARNAME=\"aircrack-ng\" 
> -DPACKAGE_VERSION=\"1.5.2\" -DPACKAGE_STRING=\"aircrack-ng\ 1.5.2\" 
> -DPACKAGE_BUGREPORT=\"https://forum.aircrack-ng.org\"; -DPACKAGE_URL=\"\" 
> -DPACKAGE=\"aircrack-ng\" -DVERSION=\"1.5.2\" -DSTDC_HEADERS=1 
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
> -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" 
> -D_REVISION=\"1.5.2\" -DHAVE_OPENSSL_CRYPTO_H=1 -DHAVE_OPENSSL_CMAC_H=1 
> -DHAVE_OPENSSL_CMAC_H=1 -DHAVE_PCAP_H=1 -DHAVE_PCAP=1 -DHAVE_PCRE=1 
> -DHAVE_SQLITE3_H=1 -DHAVE_SQLITE3=1 -DHAVE_SQLITE=1 -DHAVE_ZLIB=1 
> -DHAVE_PTHREAD_PRIO_INHERIT=1 -D_REENTRANT=1 -DHAVE_POSIX_MEMALIGN=1 
> -DCACHELINE_SIZE=64 -DCACHELINE_SIZE=64 -I.  -I../.. -I../../src/include 
> -I../../src   -Wno-unused-command-line-argument  -D_FILE_OFFSET_BITS=64 
> -D_LARGEFILE64_SOURCE -D_FORTIFY_SOURCE=2 -pthread   -Wall 
> -Wno-unused-command-line-argument -O3 -std=gnu99 -fno-strict-aliasing 
> -Wpointer-arith -Wstrict-overflow=2 -Wstrict-prototypes -fvisibility=hidden 
> -fstack-protector-strong -Wno-array-bounds -O2 -pipe -MT 
> libaircrack_crypto_la-sha1-git.lo -MD -MP -MF 
> .deps/libaircrack_crypto_la-sha1-git.Tpo -c -o 
> libaircrack_crypto_la-sha1-git.lo `test -f 'sha1-git.c' || echo 
> './'`sha1-git.c
> cc -DPACKAGE_NAME="aircrack-ng" -DPACKAGE_TARNAME="aircrack-ng" 
> -DPACKAGE_VERSION="1.5.2" -DPACKAGE_STRING="aircrack-ng 1.5.2" 
> -DPACKAGE_BUGREPORT="https://forum.aircrack-ng.org"; -DPACKAGE_URL="" 
> -DPACKAGE="aircrack-ng" -DVERSION="1.5.2" -DSTDC_HEADERS=1 
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
> -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -D_REVISION="1.5.2" 
> -DHAVE_OPENSSL_CRYPTO_H=1 -DHAVE_OPENSSL_CMAC_H=1 -DHAVE_OPENSSL_CMAC_H=1 
> -DHAVE_PCAP_H=1 -DHAVE_PCAP=1 -DHAVE_PCRE=1 -DHAVE_SQLITE3_H=1 
> -DHAVE_SQLITE3=1 -DHAVE_SQLITE=1 -DHAVE_ZLIB=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 
> -D_REENTRANT=1 -DHAVE_POSIX_MEMALIGN=1 -DCACHELINE_SIZE=64 
> -DCACHELINE_SIZE=64 -I. -I../.. -I../../src/include -I../../src 
> -Wno-unused-command-line-argument -D_FILE_OFFSET_BITS=64 
> -D_LARGEFILE64_SOURCE -D_FORTIFY_SOURCE=2 -pthread -Wall 
> -Wno-unused-command-line-argument -O3 -std=gnu99 -fno-strict-aliasing 
> -Wpointer-arith -Wstrict-overflow=2 -Wstrict-prototypes -fvisibility=hidden 
> -fstack-protector-strong -Wno-array-bounds -O2 -pipe -MT 
> libaircrack_crypto_la-sha1-git.lo -MD -MP -MF 
> .deps/libaircrack_crypto_la-sha1-git.Tpo -c sha1-git.c -fPIC -DPIC -o 
> .libs/libaircrack_crypto_la-sha1-git.o
> mv -f .deps/libaircrack_crypto_la-sha1-git.Tpo 
> .deps/libaircrack_crypto_la-sha1-git.Plo
> /usr/bin/libtool --tag=disable-static  --tag=CC   --mode=compile cc 
> -DPACKAGE_NAME=\"aircrack-ng\" -DPACKAGE_TARNAME=\"aircrack-ng\" 
> -DPACKAGE_VERSION=\"1.5.2\" -DPACKAGE_STRING=\"aircrack-ng\ 1.5.2\" 
> -DPACKAGE_BUGREPORT=\"https://forum.aircrack-ng.org\"; -DPACKAGE_URL=\"\" 
> -DPACKAGE=\"aircrack-ng\" -DVERSION=\"1.5.2\" -DSTDC_HEADERS=1 
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
> -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" 
> -D_REVISION=\"1.5.2\" -DHAVE_OPENSSL_CRYPTO_H=1 -DHAVE_OPENSSL_CMAC_H=1 
> -DHAVE_OPENSSL_CMAC_H=1 -DHAVE_PCAP_H=1 -DHAVE_PCAP=1 -DHAVE_PCRE=1 
> -DHAVE_SQLITE3_H=1 -DHAVE_SQLITE3=1 -DHAVE_SQLITE=1 -DHAVE_ZLIB=1 
> -DHAVE_PTHREAD_PRIO_INHERIT=1 -D_REENTRANT=1 -DHAVE_POSIX_MEMALIGN=1 
> -DCACHELINE_SIZE=64 -DCACHELINE_SIZE=64 -I.  -I../.. -I../../src/include 
> -I../../src   -Wno-unused-command-line-argument  -D_FILE_OFFSET_BITS=64 
> -D_LARGEFILE64_SOURCE -D_FORTIFY_SOURCE=2 -pthread   -Wall 
> -Wno-unused-command-line-argument -O3 -std=gnu99 -fno-strict-aliasing 
> -Wpointer-arith -Wstrict-overflow=2 -Wstrict-prototypes -fvisibility=hidden 
> -fstack-protector-strong -Wno-array-bounds -O2 -pipe -MT 
> libaircrack_crypto_la-wpapsk.lo -MD -MP -MF 
> .deps/libaircrack_crypto_la-wpapsk.Tpo -c -o libaircrack_crypto_la-wpapsk.lo 
> `test -f 'wpapsk.c' || echo './'`wpapsk.c
> cc -DPACKAGE_NAME="aircrack-ng" -DPACKAGE_TARNAME="aircrack-ng" 
> -DPACKAGE_VERSION="1.5.2" -DPACKAGE_STRING="aircrack-ng 1.5.2" 
> -DPACKAGE_BUGREPORT="https://forum.aircrack-ng.org"; -DPACKAGE_URL="" 
> -DPACKAGE="aircrack-ng" -DVERSION="1.5.2" -DSTDC_HEADERS=1 
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
> -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -D_REVISION="1.5.2" 
> -DHAVE_OPENSSL_CRYPTO_H=1 -DHAVE_OPENSSL_CMAC_H=1 -DHAVE_OPENSSL_CMAC_H=1 
> -DHAVE_PCAP_H=1 -DHAVE_PCAP=1 -DHAVE_PCRE=1 -DHAVE_SQLITE3_H=1 
> -DHAVE_SQLITE3=1 -DHAVE_SQLITE=1 -DHAVE_ZLIB=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 
> -D_REENTRANT=1 -DHAVE_POSIX_MEMALIGN=1 -DCACHELINE_SIZE=64 
> -DCACHELINE_SIZE=64 -I. -I../.. -I../../src/include -I../../src 
> -Wno-unused-command-line-argument -D_FILE_OFFSET_BITS=64 
> -D_LARGEFILE64_SOURCE -D_FORTIFY_SOURCE=2 -pthread -Wall 
> -Wno-unused-command-line-argument -O3 -std=gnu99 -fno-strict-aliasing 
> -Wpointer-arith -Wstrict-overflow=2 -Wstrict-prototypes -fvisibility=hidden 
> -fstack-protector-strong -Wno-array-bounds -O2 -pipe -MT 
> libaircrack_crypto_la-wpapsk.lo -MD -MP -MF 
> .deps/libaircrack_crypto_la-wpapsk.Tpo -c wpapsk.c -fPIC -DPIC -o 
> .libs/libaircrack_crypto_la-wpapsk.o
> mv -f .deps/libaircrack_crypto_la-wpapsk.Tpo 
> .deps/libaircrack_crypto_la-wpapsk.Plo
> /usr/bin/libtool --tag=disable-static  --tag=CC   --mode=compile cc 
> -DPACKAGE_NAME=\"aircrack-ng\" -DPACKAGE_TARNAME=\"aircrack-ng\" 
> -DPACKAGE_VERSION=\"1.5.2\" -DPACKAGE_STRING=\"aircrack-ng\ 1.5.2\" 
> -DPACKAGE_BUGREPORT=\"https://forum.aircrack-ng.org\"; -DPACKAGE_URL=\"\" 
> -DPACKAGE=\"aircrack-ng\" -DVERSION=\"1.5.2\" -DSTDC_HEADERS=1 
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
> -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" 
> -D_REVISION=\"1.5.2\" -DHAVE_OPENSSL_CRYPTO_H=1 -DHAVE_OPENSSL_CMAC_H=1 
> -DHAVE_OPENSSL_CMAC_H=1 -DHAVE_PCAP_H=1 -DHAVE_PCAP=1 -DHAVE_PCRE=1 
> -DHAVE_SQLITE3_H=1 -DHAVE_SQLITE3=1 -DHAVE_SQLITE=1 -DHAVE_ZLIB=1 
> -DHAVE_PTHREAD_PRIO_INHERIT=1 -D_REENTRANT=1 -DHAVE_POSIX_MEMALIGN=1 
> -DCACHELINE_SIZE=64 -DCACHELINE_SIZE=64 -I.  -I../.. -I../../src/include 
> -I../../src   -Wno-unused-command-line-argument  -D_FILE_OFFSET_BITS=64 
> -D_LARGEFILE64_SOURCE -D_FORTIFY_SOURCE=2 -pthread   -Wall 
> -Wno-unused-command-line-argument -O3 -std=gnu99 -fno-strict-aliasing 
> -Wpointer-arith -Wstrict-overflow=2 -Wstrict-prototypes -fvisibility=hidden 
> -fstack-protector-strong -Wno-array-bounds -O2 -pipe -MT 
> libaircrack_crypto_la-crypto_engine.lo -MD -MP -MF 
> .deps/libaircrack_crypto_la-crypto_engine.Tpo -c -o 
> libaircrack_crypto_la-crypto_engine.lo `test -f 'crypto_engine.c' || echo 
> './'`crypto_engine.c
> cc -DPACKAGE_NAME="aircrack-ng" -DPACKAGE_TARNAME="aircrack-ng" 
> -DPACKAGE_VERSION="1.5.2" -DPACKAGE_STRING="aircrack-ng 1.5.2" 
> -DPACKAGE_BUGREPORT="https://forum.aircrack-ng.org"; -DPACKAGE_URL="" 
> -DPACKAGE="aircrack-ng" -DVERSION="1.5.2" -DSTDC_HEADERS=1 
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
> -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -D_REVISION="1.5.2" 
> -DHAVE_OPENSSL_CRYPTO_H=1 -DHAVE_OPENSSL_CMAC_H=1 -DHAVE_OPENSSL_CMAC_H=1 
> -DHAVE_PCAP_H=1 -DHAVE_PCAP=1 -DHAVE_PCRE=1 -DHAVE_SQLITE3_H=1 
> -DHAVE_SQLITE3=1 -DHAVE_SQLITE=1 -DHAVE_ZLIB=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 
> -D_REENTRANT=1 -DHAVE_POSIX_MEMALIGN=1 -DCACHELINE_SIZE=64 
> -DCACHELINE_SIZE=64 -I. -I../.. -I../../src/include -I../../src 
> -Wno-unused-command-line-argument -D_FILE_OFFSET_BITS=64 
> -D_LARGEFILE64_SOURCE -D_FORTIFY_SOURCE=2 -pthread -Wall 
> -Wno-unused-command-line-argument -O3 -std=gnu99 -fno-strict-aliasing 
> -Wpointer-arith -Wstrict-overflow=2 -Wstrict-prototypes -fvisibility=hidden 
> -fstack-protector-strong -Wno-array-bounds -O2 -pipe -MT 
> libaircrack_crypto_la-crypto_engine.lo -MD -MP -MF 
> .deps/libaircrack_crypto_la-crypto_engine.Tpo -c crypto_engine.c -fPIC -DPIC 
> -o .libs/libaircrack_crypto_la-crypto_engine.o
> mv -f .deps/libaircrack_crypto_la-crypto_engine.Tpo 
> .deps/libaircrack_crypto_la-crypto_engine.Plo
> /usr/bin/libtool --tag=disable-static  --tag=CC   --mode=compile cc 
> -DPACKAGE_NAME=\"aircrack-ng\" -DPACKAGE_TARNAME=\"aircrack-ng\" 
> -DPACKAGE_VERSION=\"1.5.2\" -DPACKAGE_STRING=\"aircrack-ng\ 1.5.2\" 
> -DPACKAGE_BUGREPORT=\"https://forum.aircrack-ng.org\"; -DPACKAGE_URL=\"\" 
> -DPACKAGE=\"aircrack-ng\" -DVERSION=\"1.5.2\" -DSTDC_HEADERS=1 
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
> -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" 
> -D_REVISION=\"1.5.2\" -DHAVE_OPENSSL_CRYPTO_H=1 -DHAVE_OPENSSL_CMAC_H=1 
> -DHAVE_OPENSSL_CMAC_H=1 -DHAVE_PCAP_H=1 -DHAVE_PCAP=1 -DHAVE_PCRE=1 
> -DHAVE_SQLITE3_H=1 -DHAVE_SQLITE3=1 -DHAVE_SQLITE=1 -DHAVE_ZLIB=1 
> -DHAVE_PTHREAD_PRIO_INHERIT=1 -D_REENTRANT=1 -DHAVE_POSIX_MEMALIGN=1 
> -DCACHELINE_SIZE=64 -DCACHELINE_SIZE=64 -I.  -I../.. -I../../src/include 
> -I../../src   -Wno-unused-command-line-argument  -D_FILE_OFFSET_BITS=64 
> -D_LARGEFILE64_SOURCE -D_FORTIFY_SOURCE=2  -O2 -pipe -MT sha1-sse2.lo -MD -MP 
> -MF .deps/sha1-sse2.Tpo -c -o sha1-sse2.lo sha1-sse2.S
> cc -DPACKAGE_NAME="aircrack-ng" -DPACKAGE_TARNAME="aircrack-ng" 
> -DPACKAGE_VERSION="1.5.2" -DPACKAGE_STRING="aircrack-ng 1.5.2" 
> -DPACKAGE_BUGREPORT="https://forum.aircrack-ng.org"; -DPACKAGE_URL="" 
> -DPACKAGE="aircrack-ng" -DVERSION="1.5.2" -DSTDC_HEADERS=1 
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
> -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -D_REVISION="1.5.2" 
> -DHAVE_OPENSSL_CRYPTO_H=1 -DHAVE_OPENSSL_CMAC_H=1 -DHAVE_OPENSSL_CMAC_H=1 
> -DHAVE_PCAP_H=1 -DHAVE_PCAP=1 -DHAVE_PCRE=1 -DHAVE_SQLITE3_H=1 
> -DHAVE_SQLITE3=1 -DHAVE_SQLITE=1 -DHAVE_ZLIB=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 
> -D_REENTRANT=1 -DHAVE_POSIX_MEMALIGN=1 -DCACHELINE_SIZE=64 
> -DCACHELINE_SIZE=64 -I. -I../.. -I../../src/include -I../../src 
> -Wno-unused-command-line-argument -D_FILE_OFFSET_BITS=64 
> -D_LARGEFILE64_SOURCE -D_FORTIFY_SOURCE=2 -O2 -pipe -MT sha1-sse2.lo -MD -MP 
> -MF .deps/sha1-sse2.Tpo -c sha1-sse2.S -fPIC -DPIC -o .libs/sha1-sse2.o
> mv -f .deps/sha1-sse2.Tpo .deps/sha1-sse2.Plo
> /usr/bin/libtool --tag=disable-static  --tag=CC   --mode=link cc -pthread   
> -Wall -Wno-unused-command-line-argument -O3 -std=gnu99 -fno-strict-aliasing 
> -Wpointer-arith -Wstrict-overflow=2 -Wstrict-prototypes -fvisibility=hidden 
> -fstack-protector-strong -Wno-array-bounds -O2 -pipe -release 1.3.0 
> -no-undefined  -o libaircrack-crypto.la -rpath /usr/local/lib 
> libaircrack_crypto_la-memory.lo libaircrack_crypto_la-sha1-git.lo 
> libaircrack_crypto_la-wpapsk.lo libaircrack_crypto_la-crypto_engine.lo 
> sha1-sse2.lo -lpthread -lcrypto -lz -lm
> libtool: link: cc -shared -fPIC -DPIC -o .libs/libaircrack-crypto-1.3.0.so 
> -pthread -Wall -Wno-unused-command-line-argument -O3 -std=gnu99 
> -fno-strict-aliasing -Wpointer-arith -Wstrict-overflow=2 -Wstrict-prototypes 
> -fvisibility=hidden -fstack-protector-strong -Wno-array-bounds -O2 -pipe 
> .libs/libaircrack_crypto_la-memory.o .libs/libaircrack_crypto_la-sha1-git.o 
> .libs/libaircrack_crypto_la-wpapsk.o 
> .libs/libaircrack_crypto_la-crypto_engine.o .libs/sha1-sse2.o -L.libs 
> -lpthread -lcrypto -lz -lm -Wl,-soname,libaircrack-crypto-1.3.0.so
> ld: error: undefined symbol: __i686.get_pc_thunk.bx
> >>> referenced by sha1-sse2.S
> >>>               .libs/sha1-sse2.o:(.text+0x1)
>
> ld: error: undefined symbol: __i686.get_pc_thunk.bx
> >>> referenced by sha1-sse2.S
> >>>               .libs/sha1-sse2.o:(.text+0x4D)
>
> ld: error: undefined symbol: __i686.get_pc_thunk.bx
> >>> referenced by sha1-sse2.S
> >>>               .libs/sha1-sse2.o:(.text+0x185)
> cc: error: linker command failed with exit code 1 (use -v to see invocation)
> Error while executing cc -shared -fPIC -DPIC -o 
> .libs/libaircrack-crypto-1.3.0.so -pthread -Wall 
> -Wno-unused-command-line-argument -O3 -std=gnu99 -fno-strict-aliasing 
> -Wpointer-arith -Wstrict-overflow=2 -Wstrict-prototypes -fvisibility=hidden 
> -fstack-protector-strong -Wno-array-bounds -O2 -pipe 
> .libs/libaircrack_crypto_la-memory.o .libs/libaircrack_crypto_la-sha1-git.o 
> .libs/libaircrack_crypto_la-wpapsk.o 
> .libs/libaircrack_crypto_la-crypto_engine.o .libs/sha1-sse2.o -L.libs 
> -lpthread -lcrypto -lz -lm -Wl,-soname,libaircrack-crypto-1.3.0.so
> gmake[2]: *** [Makefile:916: libaircrack-crypto.la] Error 2
> gmake[2]: Leaving directory 
> '/usr/obj/ports/aircrack-ng-1.5.2/aircrack-ng-1.5.2/src/aircrack-crypto'
> gmake[1]: *** [Makefile:1975: all-recursive] Error 1
> gmake[1]: Leaving directory 
> '/usr/obj/ports/aircrack-ng-1.5.2/aircrack-ng-1.5.2/src'
> gmake: *** [Makefile:582: all-recursive] Error 1
> *** Error 2 in security/aircrack-ng 
> (/usr/ports/infrastructure/mk/bsd.port.mk:2801 
> '/usr/obj/ports/aircrack-ng-1.5.2/.build_done')
> *** Error 1 in security/aircrack-ng 
> (/usr/ports/infrastructure/mk/bsd.port.mk:2467 'build')
> ===> Exiting security/aircrack-ng with an error
> *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:137 'build')
> Error: job failed with 256 on localhost at 1551287311
>
>
>
? fix-for-i386.diff
Index: Makefile
===================================================================
RCS file: /cvs/ports/security/aircrack-ng/Makefile,v
retrieving revision 1.22
diff -u -p -u -r1.22 Makefile
--- Makefile	23 Feb 2019 22:23:25 -0000	1.22
+++ Makefile	28 Feb 2019 21:30:09 -0000
@@ -2,6 +2,7 @@
 
 COMMENT=		802.11 WEP and WPA-PSK keys cracking program
 DISTNAME=		aircrack-ng-1.5.2
+REVISION=		0
 CATEGORIES=		security
 
 HOMEPAGE=		https://www.aircrack-ng.org/
@@ -27,7 +28,9 @@ LIB_DEPENDS=		databases/sqlite3 \
 RUN_DEPENDS+=		net/arp-scan,-mac>=20190128
 
 USE_GMAKE=		Yes
-USE_LIBTOOL=		Yes
+.if ${MACHINE_ARCH} == "i386"
+USE_LLD=		No
+.endif
 LIBTOOL_FLAGS=		--tag=disable-static
 AUTOCONF_VERSION=	2.69
 AUTOMAKE_VERSION=	1.16

Reply via email to