Re: UPDATE: security/aircrack-ng to 1.5.2

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: UPDATE: security/aircrack-ng to 1.5.2

Benoit Lecocq-4


On 2/1/19 11:16 PM, Sebastian Reitenbach wrote:

> Am Dienstag, Januar 29, 2019 16:29 CET, "Sebastian Reitenbach" <[hidden email]> schrieb:
>
>> Hi,
>>
>> I think I addressed all the comments/concerns:
>>   * homepage and mastersite HTTPS
>>   * run autoreconfig in do-gen: stage
>>   * fix to use base libtool (had to patch Makefile.am to explicitly add library our base libtool did
>>      not find)
>>   * don't install airtun-ng manpage
>>   * added LIBTOOL_FLAGS to disable static libs
>>   * the libaircrack-crypto* libraries are loaded via dlopen, however there seem to be some
>>      of them arch-dependent I only tested building on amd64 and i386, so didn't spotted it
>>   * Added PFRAG.ARCH for x86, ppc and arm
>>   * added RUN_DEPENDS to mac-vendors package, and point airodump-ng to that OUI file,
>>     therefore the README is obsolete, so deleted it
>>   * I haven't seen anything to put the crypto libraries into a subdirectory
>>
>> In src/aircrack-util/crypto_engine_loader.c there is this:
>>          if (simd_features & SIMD_SUPPORTS_AVX512F)
>>          {
>>                  strncat(buffer, "-x86-avx512", buffer_remaining);
>>          }
>>          else if (simd_features & SIMD_SUPPORTS_AVX2)
>>          {
>>                  strncat(buffer, "-x86-avx2", buffer_remaining);
>>          }
>>          else if (simd_features & SIMD_SUPPORTS_AVX)
>>          {
>>                  strncat(buffer, "-x86-avx", buffer_remaining);
>>          }
>>          else if (simd_features & SIMD_SUPPORTS_SSE2)
>>          {
>>                  strncat(buffer, "-x86-sse2", buffer_remaining);
>>          }
>>          else if (simd_features & SIMD_SUPPORTS_ASIMD)
>>          {
>>                  strncat(buffer, "-arm-neon", buffer_remaining);
>>          }
>>          else if (simd_features & SIMD_SUPPORTS_NEON)
>>          {
>>                  strncat(buffer, "-arm-neon", buffer_remaining);
>>          }
>>          else if (simd_features & SIMD_SUPPORTS_POWER8)
>>          {
>>                  strncat(buffer, "-ppc-power8", buffer_remaining);
>>          }
>>          else if (simd_features & SIMD_SUPPORTS_ALTIVEC)
>>          {
>>                  strncat(buffer, "-ppc-altivec", buffer_remaining);
>>          }
>>
>> So I guess the arm crypto libs only built on arm, and ppc-* libs only build
>> on macppc. Don't know if the arm- one would also be created on aarch64?I don't have a working macppc anymore, and don't have any arm type
>> device around to test there, so tests on other platforms and with otherdevices (I only tested with rum(4)) welcome.
>>
>> updated version attached.
>
> in the meantime also tested with athn on i386, working as well as the rum.

tested on amd64, ok benoit@

>
>>
>> cheers,
>> Sebastian
>

Reply | Threaded
Open this post in threaded view
|

Re: UPDATE: security/aircrack-ng to 1.5.2

Stuart Henderson
this update fails on i386:

/usr/bin/libtool --tag=3Ddisable-static  --tag=3DCC   --mode=3Dlink cc -pth=
read   -Wall -Wno-unused-command-line-argument -O3 -std=3Dgnu99 -fno-strict=
-aliasing -Wpointer-arith -Wstrict-overflow=3D2 -Wstrict-prototypes -fvisib=
ility=3Dhidden -fstack-protector-strong -Wno-array-bounds -O2 -pipe -releas=
e 1.3.0 -no-undefined  -o libaircrack-crypto.la -rpath /usr/local/lib libai=
rcrack_crypto_la-memory.lo libaircrack_crypto_la-sha1-git.lo libaircrack_cr=
ypto_la-wpapsk.lo libaircrack_crypto_la-crypto_engine.lo sha1-sse2.lo -lpth=
read -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=3Dgnu99 -fno-stri=
ct-aliasing -Wpointer-arith -Wstrict-overflow=3D2 -Wstrict-prototypes -fvis=
ibility=3Dhidden -fstack-protector-strong -Wno-array-bounds -O2 -pipe .libs=
/libaircrack_crypto_la-memory.o .libs/libaircrack_crypto_la-sha1-git.o .lib=
s/libaircrack_crypto_la-wpapsk.o .libs/libaircrack_crypto_la-crypto_engine.=
o .libs/sha1-sse2.o -L.libs -lpthread -lcrypto -lz -lm -Wl,-soname,libaircr=
ack-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=3Dgnu99 -f=
no-strict-aliasing -Wpointer-arith -Wstrict-overflow=3D2 -Wstrict-prototype=
s -fvisibility=3Dhidden -fstack-protector-strong -Wno-array-bounds -O2 -pip=
e .libs/libaircrack_crypto_la-memory.o .libs/libaircrack_crypto_la-sha1-git=
=2Eo .libs/libaircrack_crypto_la-wpapsk.o .libs/libaircrack_crypto_la-crypt=
o_engine.o .libs/sha1-sse2.o -L.libs -lpthread -lcrypto -lz -lm -Wl,-soname=
,libaircrack-crypto-1.3.0.so

Full log below.


>>> Building on localhost under security/aircrack-ng
         BDEPENDS =3D [devel/autoconf/2.69;devel/shtool;devel/metaauto;devel/pcre;=
devel/pkgconf;devel/gmake;devel/automake/1.16;databases/sqlite3;devel/libto=
ol]
         DIST =3D [security/aircrack-ng:aircrack-ng-1.5.2.tar.gz]
         FULLPKGNAME =3D aircrack-ng-1.5.2
         RDEPENDS =3D [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.1p=
0 libtool-2.4.2p0 metaauto-1.0p3 pcre-8.41p2 pkgconf-1.4.2 shtool-2.0.8 sql=
ite3-3.26.0
was: /usr/sbin/pkg_add -aI -Drepair autoconf-2.69p2 automake-1.16.1 gmake-4=
=2E2.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.1p=
0 libtool-2.4.2p0 metaauto-1.0p3 pcre-8.41p2 pkgconf-1.4.2 shtool-2.0.8 sql=
ite3-3.26.0
>>> Running show-prepare-results in security/aircrack-ng at 1551287257
=3D=3D=3D> security/aircrack-ng
=3D=3D=3D> aircrack-ng-1.5.2 depends on: metaauto-* -> metaauto-1.0p3
=3D=3D=3D> aircrack-ng-1.5.2 depends on: autoconf-2.69 -> autoconf-2.69p2
=3D=3D=3D> aircrack-ng-1.5.2 depends on: automake->=3D1.16,<1.17 -> automak=
e-1.16.1
=3D=3D=3D> aircrack-ng-1.5.2 depends on: libtool-* -> libtool-2.4.2p0
=3D=3D=3D> aircrack-ng-1.5.2 depends on: shtool-* -> shtool-2.0.8
=3D=3D=3D> aircrack-ng-1.5.2 depends on: pkgconf-* -> pkgconf-1.4.2
=3D=3D=3D> aircrack-ng-1.5.2 depends on: gmake-* -> gmake-4.2.1p0
=3D=3D=3D> aircrack-ng-1.5.2 depends on: sqlite3-* -> sqlite3-3.26.0
=3D=3D=3D> aircrack-ng-1.5.2 depends on: pcre-* -> pcre-8.41p2
=3D=3D=3D>  Verifying specs:  c pthread crypto z pcre c++ c++abi pthread m =
sqlite3
=3D=3D=3D>  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=3D7138360
>>> Running extract in security/aircrack-ng at 1551287258
=3D=3D=3D> security/aircrack-ng
=3D=3D=3D>  Checking files for aircrack-ng-1.5.2
`/mnt/distfiles/aircrack-ng-1.5.2.tar.gz' is up to date.
=3D=3D=3D>  Extracting for aircrack-ng-1.5.2
>>> Running patch in security/aircrack-ng at 1551287260
=3D=3D=3D> security/aircrack-ng
=3D=3D=3D>  Patching for aircrack-ng-1.5.2
=3D=3D=3D>   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
=3D=3D=3D>   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
=3D=3D=3D>  Compiler link: clang -> /usr/bin/clang
=3D=3D=3D>  Compiler link: clang++ -> /usr/bin/clang++
=3D=3D=3D>  Compiler link: cc -> /usr/bin/cc
=3D=3D=3D>  Compiler link: c++ -> /usr/bin/c++
>>> Running configure in security/aircrack-ng at 1551287261
=3D=3D=3D> security/aircrack-ng
=3D=3D=3D>  Generating configure for aircrack-ng-1.5.2
cd /usr/obj/ports/aircrack-ng-1.5.2/aircrack-ng-1.5.2 &&  PATH=3D/usr/obj/p=
orts/aircrack-ng-1.5.2/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/us=
r/X11R6/bin AUTOCONF_VERSION=3D2.69 AUTOMAKE_VERSION=3D1.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'
=3D=3D=3D>  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=3Di386 -DBASE_=
PKGPATH=3Dsecurity/aircrack-ng -DFLAVOR_EXT=3D -DFULLPKGNAME=3Daircrack-ng-=
1.5.2 -DHOMEPAGE=3Dhttps://www.aircrack-ng.org/ -DLOCALBASE=3D/usr/local -D=
LOCALSTATEDIR=3D/var -DMACHINE_ARCH=3Di386 -DMAINTAINER=3DBenoit\ Lecocq\ \=
<[hidden email]\> -DPREFIX=3D/usr/local -DRCDIR=3D/etc/rc.d -DSYSCONFDI=
R=3D/etc -DTRUEPREFIX=3D/usr/local -DX11BASE=3D/usr/X11R6 -DPKGSTEM=3Daircr=
ack-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/b=
in/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...=20
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 "+=3D"... 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 for=
mat... 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... y=
es
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/l=
ocal/lib/i386-unknown-openbsd6.4 /usr/local/lib /usr/lib/i386-unknown-o=
penbsd6.4 /usr/lib /lib /opt/lib/i386-unknown-openbsd6.4 /opt/lib =
=09
checking for OPENSSL_init in -lcrypto... yes
checking for openssl/crypto.h... (cached) yes
checking whether gcrypt is enabled...=20
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 >=3D 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=3D2 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=3Dgnu99... 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=3D2... yes
checking whether C compiler accepts -fvisibility=3Dhidden... 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=3Dhidden... 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=3D64 -D_LARGEFILE64_S=
OURCE -D_FORTIFY_SOURCE=3D2
    LDFLAGS:                    =20
    LIBS:                         -lm

    Optimized CFLAGS:              -Wall -Wno-unused-command-line-argument =
-O3 -std=3Dgnu99 -fno-strict-aliasing -Wpointer-arith -Wstrict-overflow=3D2=
 -Wstrict-prototypes -fvisibility=3Dhidden -fstack-protector-strong -Wno-ar=
ray-bounds
    Optimized CXXFLAGS:            -Wall -Wno-unused-command-line-argument =
-O3 -fvisibility=3Dhidden -fstack-protector-strong -Wno-array-bounds
    Optimized CPPFLAGS:           -Wno-unused-command-line-argument
    Optimized LIBS:             =20

  Target Environment:
    OS:                          openbsd
    ASAN:                        no
    CPU L1 cache-line size:      64

  Crypto Libraries:
    Crypto Engine:               openssl
    Gcrypt:                     =20
    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
=3D=3D=3D> security/aircrack-ng
=3D=3D=3D>  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=
=2E5.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=
=2E5.2/scripts'
gmake[1]: Leaving directory '/usr/obj/ports/aircrack-ng-1.5.2/aircrack-ng-1=
=2E5.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=3Ddisable-static  --tag=3DCC   --mode=3Dcompile cc -=
DPACKAGE_NAME=3D\"aircrack-ng\" -DPACKAGE_TARNAME=3D\"aircrack-ng\" -DPACKA=
GE_VERSION=3D\"1.5.2\" -DPACKAGE_STRING=3D\"aircrack-ng\ 1.5.2\" -DPACKAGE_=
BUGREPORT=3D\"https://forum.aircrack-ng.org\" -DPACKAGE_URL=3D\"\" -DPACKAG=
E=3D\"aircrack-ng\" -DVERSION=3D\"1.5.2\" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYP=
ES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHA=
VE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=
=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -DLT_OBJDIR=3D\".libs/\" -D_REV=
ISION=3D\"1.5.2\" -DHAVE_OPENSSL_CRYPTO_H=3D1 -DHAVE_OPENSSL_CMAC_H=3D1 -DH=
AVE_OPENSSL_CMAC_H=3D1 -DHAVE_PCAP_H=3D1 -DHAVE_PCAP=3D1 -DHAVE_PCRE=3D1 -D=
HAVE_SQLITE3_H=3D1 -DHAVE_SQLITE3=3D1 -DHAVE_SQLITE=3D1 -DHAVE_ZLIB=3D1 -DH=
AVE_PTHREAD_PRIO_INHERIT=3D1 -D_REENTRANT=3D1 -DHAVE_POSIX_MEMALIGN=3D1 -DC=
ACHELINE_SIZE=3D64 -DCACHELINE_SIZE=3D64 -I.  -I../.. -I../../src/include -=
I../../src   -Wno-unused-command-line-argument  -D_FILE_OFFSET_BITS=3D64 -D=
_LARGEFILE64_SOURCE -D_FORTIFY_SOURCE=3D2 -pthread   -Wall -Wno-unused-comm=
and-line-argument -O3 -std=3Dgnu99 -fno-strict-aliasing -Wpointer-arith -Ws=
trict-overflow=3D2 -Wstrict-prototypes -fvisibility=3Dhidden -fstack-protec=
tor-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=3D"aircrack-ng" -DPACKAGE_TARNAME=3D"aircrack-ng" -DPACKA=
GE_VERSION=3D"1.5.2" -DPACKAGE_STRING=3D"aircrack-ng 1.5.2" -DPACKAGE_BUGRE=
PORT=3D"https://forum.aircrack-ng.org" -DPACKAGE_URL=3D"" -DPACKAGE=3D"airc=
rack-ng" -DVERSION=3D"1.5.2" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHA=
VE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=
=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_=
UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -DLT_OBJDIR=3D".libs/" -D_REVISION=3D"1.5.2=
" -DHAVE_OPENSSL_CRYPTO_H=3D1 -DHAVE_OPENSSL_CMAC_H=3D1 -DHAVE_OPENSSL_CMAC=
_H=3D1 -DHAVE_PCAP_H=3D1 -DHAVE_PCAP=3D1 -DHAVE_PCRE=3D1 -DHAVE_SQLITE3_H=
=3D1 -DHAVE_SQLITE3=3D1 -DHAVE_SQLITE=3D1 -DHAVE_ZLIB=3D1 -DHAVE_PTHREAD_PR=
IO_INHERIT=3D1 -D_REENTRANT=3D1 -DHAVE_POSIX_MEMALIGN=3D1 -DCACHELINE_SIZE=
=3D64 -DCACHELINE_SIZE=3D64 -I. -I../.. -I../../src/include -I../../src -Wn=
o-unused-command-line-argument -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE64_SOUR=
CE -D_FORTIFY_SOURCE=3D2 -pthread -Wall -Wno-unused-command-line-argument -=
O3 -std=3Dgnu99 -fno-strict-aliasing -Wpointer-arith -Wstrict-overflow=3D2 =
-Wstrict-prototypes -fvisibility=3Dhidden -fstack-protector-strong -Wno-arr=
ay-bounds -O2 -pipe -MT libaircrack_crypto_la-memory.lo -MD -MP -MF .deps/l=
ibaircrack_crypto_la-memory.Tpo -c memory.c -fPIC -DPIC -o .libs/libaircrac=
k_crypto_la-memory.o
mv -f .deps/libaircrack_crypto_la-memory.Tpo .deps/libaircrack_crypto_la-me=
mory.Plo
/usr/bin/libtool --tag=3Ddisable-static  --tag=3DCC   --mode=3Dcompile cc -=
DPACKAGE_NAME=3D\"aircrack-ng\" -DPACKAGE_TARNAME=3D\"aircrack-ng\" -DPACKA=
GE_VERSION=3D\"1.5.2\" -DPACKAGE_STRING=3D\"aircrack-ng\ 1.5.2\" -DPACKAGE_=
BUGREPORT=3D\"https://forum.aircrack-ng.org\" -DPACKAGE_URL=3D\"\" -DPACKAG=
E=3D\"aircrack-ng\" -DVERSION=3D\"1.5.2\" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYP=
ES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHA=
VE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=
=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -DLT_OBJDIR=3D\".libs/\" -D_REV=
ISION=3D\"1.5.2\" -DHAVE_OPENSSL_CRYPTO_H=3D1 -DHAVE_OPENSSL_CMAC_H=3D1 -DH=
AVE_OPENSSL_CMAC_H=3D1 -DHAVE_PCAP_H=3D1 -DHAVE_PCAP=3D1 -DHAVE_PCRE=3D1 -D=
HAVE_SQLITE3_H=3D1 -DHAVE_SQLITE3=3D1 -DHAVE_SQLITE=3D1 -DHAVE_ZLIB=3D1 -DH=
AVE_PTHREAD_PRIO_INHERIT=3D1 -D_REENTRANT=3D1 -DHAVE_POSIX_MEMALIGN=3D1 -DC=
ACHELINE_SIZE=3D64 -DCACHELINE_SIZE=3D64 -I.  -I../.. -I../../src/include -=
I../../src   -Wno-unused-command-line-argument  -D_FILE_OFFSET_BITS=3D64 -D=
_LARGEFILE64_SOURCE -D_FORTIFY_SOURCE=3D2 -pthread   -Wall -Wno-unused-comm=
and-line-argument -O3 -std=3Dgnu99 -fno-strict-aliasing -Wpointer-arith -Ws=
trict-overflow=3D2 -Wstrict-prototypes -fvisibility=3Dhidden -fstack-protec=
tor-strong -Wno-array-bounds -O2 -pipe -MT libaircrack_crypto_la-sha1-git.l=
o -MD -MP -MF .deps/libaircrack_crypto_la-sha1-git.Tpo -c -o libaircrack_cr=
ypto_la-sha1-git.lo `test -f 'sha1-git.c' || echo './'`sha1-git.c
cc -DPACKAGE_NAME=3D"aircrack-ng" -DPACKAGE_TARNAME=3D"aircrack-ng" -DPACKA=
GE_VERSION=3D"1.5.2" -DPACKAGE_STRING=3D"aircrack-ng 1.5.2" -DPACKAGE_BUGRE=
PORT=3D"https://forum.aircrack-ng.org" -DPACKAGE_URL=3D"" -DPACKAGE=3D"airc=
rack-ng" -DVERSION=3D"1.5.2" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHA=
VE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=
=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_=
UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -DLT_OBJDIR=3D".libs/" -D_REVISION=3D"1.5.2=
" -DHAVE_OPENSSL_CRYPTO_H=3D1 -DHAVE_OPENSSL_CMAC_H=3D1 -DHAVE_OPENSSL_CMAC=
_H=3D1 -DHAVE_PCAP_H=3D1 -DHAVE_PCAP=3D1 -DHAVE_PCRE=3D1 -DHAVE_SQLITE3_H=
=3D1 -DHAVE_SQLITE3=3D1 -DHAVE_SQLITE=3D1 -DHAVE_ZLIB=3D1 -DHAVE_PTHREAD_PR=
IO_INHERIT=3D1 -D_REENTRANT=3D1 -DHAVE_POSIX_MEMALIGN=3D1 -DCACHELINE_SIZE=
=3D64 -DCACHELINE_SIZE=3D64 -I. -I../.. -I../../src/include -I../../src -Wn=
o-unused-command-line-argument -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE64_SOUR=
CE -D_FORTIFY_SOURCE=3D2 -pthread -Wall -Wno-unused-command-line-argument -=
O3 -std=3Dgnu99 -fno-strict-aliasing -Wpointer-arith -Wstrict-overflow=3D2 =
-Wstrict-prototypes -fvisibility=3Dhidden -fstack-protector-strong -Wno-arr=
ay-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/liba=
ircrack_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=3Ddisable-static  --tag=3DCC   --mode=3Dcompile cc -=
DPACKAGE_NAME=3D\"aircrack-ng\" -DPACKAGE_TARNAME=3D\"aircrack-ng\" -DPACKA=
GE_VERSION=3D\"1.5.2\" -DPACKAGE_STRING=3D\"aircrack-ng\ 1.5.2\" -DPACKAGE_=
BUGREPORT=3D\"https://forum.aircrack-ng.org\" -DPACKAGE_URL=3D\"\" -DPACKAG=
E=3D\"aircrack-ng\" -DVERSION=3D\"1.5.2\" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYP=
ES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHA=
VE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=
=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -DLT_OBJDIR=3D\".libs/\" -D_REV=
ISION=3D\"1.5.2\" -DHAVE_OPENSSL_CRYPTO_H=3D1 -DHAVE_OPENSSL_CMAC_H=3D1 -DH=
AVE_OPENSSL_CMAC_H=3D1 -DHAVE_PCAP_H=3D1 -DHAVE_PCAP=3D1 -DHAVE_PCRE=3D1 -D=
HAVE_SQLITE3_H=3D1 -DHAVE_SQLITE3=3D1 -DHAVE_SQLITE=3D1 -DHAVE_ZLIB=3D1 -DH=
AVE_PTHREAD_PRIO_INHERIT=3D1 -D_REENTRANT=3D1 -DHAVE_POSIX_MEMALIGN=3D1 -DC=
ACHELINE_SIZE=3D64 -DCACHELINE_SIZE=3D64 -I.  -I../.. -I../../src/include -=
I../../src   -Wno-unused-command-line-argument  -D_FILE_OFFSET_BITS=3D64 -D=
_LARGEFILE64_SOURCE -D_FORTIFY_SOURCE=3D2 -pthread   -Wall -Wno-unused-comm=
and-line-argument -O3 -std=3Dgnu99 -fno-strict-aliasing -Wpointer-arith -Ws=
trict-overflow=3D2 -Wstrict-prototypes -fvisibility=3Dhidden -fstack-protec=
tor-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=3D"aircrack-ng" -DPACKAGE_TARNAME=3D"aircrack-ng" -DPACKA=
GE_VERSION=3D"1.5.2" -DPACKAGE_STRING=3D"aircrack-ng 1.5.2" -DPACKAGE_BUGRE=
PORT=3D"https://forum.aircrack-ng.org" -DPACKAGE_URL=3D"" -DPACKAGE=3D"airc=
rack-ng" -DVERSION=3D"1.5.2" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHA=
VE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=
=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_=
UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -DLT_OBJDIR=3D".libs/" -D_REVISION=3D"1.5.2=
" -DHAVE_OPENSSL_CRYPTO_H=3D1 -DHAVE_OPENSSL_CMAC_H=3D1 -DHAVE_OPENSSL_CMAC=
_H=3D1 -DHAVE_PCAP_H=3D1 -DHAVE_PCAP=3D1 -DHAVE_PCRE=3D1 -DHAVE_SQLITE3_H=
=3D1 -DHAVE_SQLITE3=3D1 -DHAVE_SQLITE=3D1 -DHAVE_ZLIB=3D1 -DHAVE_PTHREAD_PR=
IO_INHERIT=3D1 -D_REENTRANT=3D1 -DHAVE_POSIX_MEMALIGN=3D1 -DCACHELINE_SIZE=
=3D64 -DCACHELINE_SIZE=3D64 -I. -I../.. -I../../src/include -I../../src -Wn=
o-unused-command-line-argument -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE64_SOUR=
CE -D_FORTIFY_SOURCE=3D2 -pthread -Wall -Wno-unused-command-line-argument -=
O3 -std=3Dgnu99 -fno-strict-aliasing -Wpointer-arith -Wstrict-overflow=3D2 =
-Wstrict-prototypes -fvisibility=3Dhidden -fstack-protector-strong -Wno-arr=
ay-bounds -O2 -pipe -MT libaircrack_crypto_la-wpapsk.lo -MD -MP -MF .deps/l=
ibaircrack_crypto_la-wpapsk.Tpo -c wpapsk.c -fPIC -DPIC -o .libs/libaircrac=
k_crypto_la-wpapsk.o
mv -f .deps/libaircrack_crypto_la-wpapsk.Tpo .deps/libaircrack_crypto_la-wp=
apsk.Plo
/usr/bin/libtool --tag=3Ddisable-static  --tag=3DCC   --mode=3Dcompile cc -=
DPACKAGE_NAME=3D\"aircrack-ng\" -DPACKAGE_TARNAME=3D\"aircrack-ng\" -DPACKA=
GE_VERSION=3D\"1.5.2\" -DPACKAGE_STRING=3D\"aircrack-ng\ 1.5.2\" -DPACKAGE_=
BUGREPORT=3D\"https://forum.aircrack-ng.org\" -DPACKAGE_URL=3D\"\" -DPACKAG=
E=3D\"aircrack-ng\" -DVERSION=3D\"1.5.2\" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYP=
ES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHA=
VE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=
=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -DLT_OBJDIR=3D\".libs/\" -D_REV=
ISION=3D\"1.5.2\" -DHAVE_OPENSSL_CRYPTO_H=3D1 -DHAVE_OPENSSL_CMAC_H=3D1 -DH=
AVE_OPENSSL_CMAC_H=3D1 -DHAVE_PCAP_H=3D1 -DHAVE_PCAP=3D1 -DHAVE_PCRE=3D1 -D=
HAVE_SQLITE3_H=3D1 -DHAVE_SQLITE3=3D1 -DHAVE_SQLITE=3D1 -DHAVE_ZLIB=3D1 -DH=
AVE_PTHREAD_PRIO_INHERIT=3D1 -D_REENTRANT=3D1 -DHAVE_POSIX_MEMALIGN=3D1 -DC=
ACHELINE_SIZE=3D64 -DCACHELINE_SIZE=3D64 -I.  -I../.. -I../../src/include -=
I../../src   -Wno-unused-command-line-argument  -D_FILE_OFFSET_BITS=3D64 -D=
_LARGEFILE64_SOURCE -D_FORTIFY_SOURCE=3D2 -pthread   -Wall -Wno-unused-comm=
and-line-argument -O3 -std=3Dgnu99 -fno-strict-aliasing -Wpointer-arith -Ws=
trict-overflow=3D2 -Wstrict-prototypes -fvisibility=3Dhidden -fstack-protec=
tor-strong -Wno-array-bounds -O2 -pipe -MT libaircrack_crypto_la-crypto_eng=
ine.lo -MD -MP -MF .deps/libaircrack_crypto_la-crypto_engine.Tpo -c -o liba=
ircrack_crypto_la-crypto_engine.lo `test -f 'crypto_engine.c' || echo './'`=
crypto_engine.c
cc -DPACKAGE_NAME=3D"aircrack-ng" -DPACKAGE_TARNAME=3D"aircrack-ng" -DPACKA=
GE_VERSION=3D"1.5.2" -DPACKAGE_STRING=3D"aircrack-ng 1.5.2" -DPACKAGE_BUGRE=
PORT=3D"https://forum.aircrack-ng.org" -DPACKAGE_URL=3D"" -DPACKAGE=3D"airc=
rack-ng" -DVERSION=3D"1.5.2" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHA=
VE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=
=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_=
UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -DLT_OBJDIR=3D".libs/" -D_REVISION=3D"1.5.2=
" -DHAVE_OPENSSL_CRYPTO_H=3D1 -DHAVE_OPENSSL_CMAC_H=3D1 -DHAVE_OPENSSL_CMAC=
_H=3D1 -DHAVE_PCAP_H=3D1 -DHAVE_PCAP=3D1 -DHAVE_PCRE=3D1 -DHAVE_SQLITE3_H=
=3D1 -DHAVE_SQLITE3=3D1 -DHAVE_SQLITE=3D1 -DHAVE_ZLIB=3D1 -DHAVE_PTHREAD_PR=
IO_INHERIT=3D1 -D_REENTRANT=3D1 -DHAVE_POSIX_MEMALIGN=3D1 -DCACHELINE_SIZE=
=3D64 -DCACHELINE_SIZE=3D64 -I. -I../.. -I../../src/include -I../../src -Wn=
o-unused-command-line-argument -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE64_SOUR=
CE -D_FORTIFY_SOURCE=3D2 -pthread -Wall -Wno-unused-command-line-argument -=
O3 -std=3Dgnu99 -fno-strict-aliasing -Wpointer-arith -Wstrict-overflow=3D2 =
-Wstrict-prototypes -fvisibility=3Dhidden -fstack-protector-strong -Wno-arr=
ay-bounds -O2 -pipe -MT libaircrack_crypto_la-crypto_engine.lo -MD -MP -MF =
=2Edeps/libaircrack_crypto_la-crypto_engine.Tpo -c crypto_engine.c -fPIC -D=
PIC -o .libs/libaircrack_crypto_la-crypto_engine.o
mv -f .deps/libaircrack_crypto_la-crypto_engine.Tpo .deps/libaircrack_crypt=
o_la-crypto_engine.Plo
/usr/bin/libtool --tag=3Ddisable-static  --tag=3DCC   --mode=3Dcompile cc -=
DPACKAGE_NAME=3D\"aircrack-ng\" -DPACKAGE_TARNAME=3D\"aircrack-ng\" -DPACKA=
GE_VERSION=3D\"1.5.2\" -DPACKAGE_STRING=3D\"aircrack-ng\ 1.5.2\" -DPACKAGE_=
BUGREPORT=3D\"https://forum.aircrack-ng.org\" -DPACKAGE_URL=3D\"\" -DPACKAG=
E=3D\"aircrack-ng\" -DVERSION=3D\"1.5.2\" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYP=
ES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHA=
VE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=
=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -DLT_OBJDIR=3D\".libs/\" -D_REV=
ISION=3D\"1.5.2\" -DHAVE_OPENSSL_CRYPTO_H=3D1 -DHAVE_OPENSSL_CMAC_H=3D1 -DH=
AVE_OPENSSL_CMAC_H=3D1 -DHAVE_PCAP_H=3D1 -DHAVE_PCAP=3D1 -DHAVE_PCRE=3D1 -D=
HAVE_SQLITE3_H=3D1 -DHAVE_SQLITE3=3D1 -DHAVE_SQLITE=3D1 -DHAVE_ZLIB=3D1 -DH=
AVE_PTHREAD_PRIO_INHERIT=3D1 -D_REENTRANT=3D1 -DHAVE_POSIX_MEMALIGN=3D1 -DC=
ACHELINE_SIZE=3D64 -DCACHELINE_SIZE=3D64 -I.  -I../.. -I../../src/include -=
I../../src   -Wno-unused-command-line-argument  -D_FILE_OFFSET_BITS=3D64 -D=
_LARGEFILE64_SOURCE -D_FORTIFY_SOURCE=3D2  -O2 -pipe -MT sha1-sse2.lo -MD -=
MP -MF .deps/sha1-sse2.Tpo -c -o sha1-sse2.lo sha1-sse2.S
cc -DPACKAGE_NAME=3D"aircrack-ng" -DPACKAGE_TARNAME=3D"aircrack-ng" -DPACKA=
GE_VERSION=3D"1.5.2" -DPACKAGE_STRING=3D"aircrack-ng 1.5.2" -DPACKAGE_BUGRE=
PORT=3D"https://forum.aircrack-ng.org" -DPACKAGE_URL=3D"" -DPACKAGE=3D"airc=
rack-ng" -DVERSION=3D"1.5.2" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHA=
VE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=
=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_=
UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -DLT_OBJDIR=3D".libs/" -D_REVISION=3D"1.5.2=
" -DHAVE_OPENSSL_CRYPTO_H=3D1 -DHAVE_OPENSSL_CMAC_H=3D1 -DHAVE_OPENSSL_CMAC=
_H=3D1 -DHAVE_PCAP_H=3D1 -DHAVE_PCAP=3D1 -DHAVE_PCRE=3D1 -DHAVE_SQLITE3_H=
=3D1 -DHAVE_SQLITE3=3D1 -DHAVE_SQLITE=3D1 -DHAVE_ZLIB=3D1 -DHAVE_PTHREAD_PR=
IO_INHERIT=3D1 -D_REENTRANT=3D1 -DHAVE_POSIX_MEMALIGN=3D1 -DCACHELINE_SIZE=
=3D64 -DCACHELINE_SIZE=3D64 -I. -I../.. -I../../src/include -I../../src -Wn=
o-unused-command-line-argument -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE64_SOUR=
CE -D_FORTIFY_SOURCE=3D2 -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=3Ddisable-static  --tag=3DCC   --mode=3Dlink cc -pth=
read   -Wall -Wno-unused-command-line-argument -O3 -std=3Dgnu99 -fno-strict=
-aliasing -Wpointer-arith -Wstrict-overflow=3D2 -Wstrict-prototypes -fvisib=
ility=3Dhidden -fstack-protector-strong -Wno-array-bounds -O2 -pipe -releas=
e 1.3.0 -no-undefined  -o libaircrack-crypto.la -rpath /usr/local/lib libai=
rcrack_crypto_la-memory.lo libaircrack_crypto_la-sha1-git.lo libaircrack_cr=
ypto_la-wpapsk.lo libaircrack_crypto_la-crypto_engine.lo sha1-sse2.lo -lpth=
read -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=3Dgnu99 -fno-stri=
ct-aliasing -Wpointer-arith -Wstrict-overflow=3D2 -Wstrict-prototypes -fvis=
ibility=3Dhidden -fstack-protector-strong -Wno-array-bounds -O2 -pipe .libs=
/libaircrack_crypto_la-memory.o .libs/libaircrack_crypto_la-sha1-git.o .lib=
s/libaircrack_crypto_la-wpapsk.o .libs/libaircrack_crypto_la-crypto_engine.=
o .libs/sha1-sse2.o -L.libs -lpthread -lcrypto -lz -lm -Wl,-soname,libaircr=
ack-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=3Dgnu99 -f=
no-strict-aliasing -Wpointer-arith -Wstrict-overflow=3D2 -Wstrict-prototype=
s -fvisibility=3Dhidden -fstack-protector-strong -Wno-array-bounds -O2 -pip=
e .libs/libaircrack_crypto_la-memory.o .libs/libaircrack_crypto_la-sha1-git=
=2Eo .libs/libaircrack_crypto_la-wpapsk.o .libs/libaircrack_crypto_la-crypt=
o_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=
=2E5.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=
=2E5.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')
=3D=3D=3D> 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


Reply | Threaded
Open this post in threaded view
|

Re: UPDATE: security/aircrack-ng to 1.5.2

Sebastian Reitenbach
Am Mittwoch, Februar 27, 2019 19:50 CET, Stuart Henderson <[hidden email]> 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\ \<[hidden email]\> -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 (781 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: UPDATE: security/aircrack-ng to 1.5.2 fix linking on i386, use ld.bfd

Sebastian Reitenbach
anyone?

Am Samstag, März 02, 2019 19:07 CET, "Sebastian Reitenbach" <[hidden email]> schrieb:

> Am Mittwoch, Februar 27, 2019 19:50 CET, Stuart Henderson <[hidden email]> 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\ \<[hidden email]\> -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
> >
> >
> >


Reply | Threaded
Open this post in threaded view
|

Re: UPDATE: security/aircrack-ng to 1.5.2 fix linking on i386, use ld.bfd

Stuart Henderson
In the absence of a better idea, if it runs OK with this, then go ahead.
Please add a comment to the Makefile next to USE_LLD like this so people
can see the error without finding an i386 and building:

# ld: error: undefined symbol: __i686.get_pc_thunk.bx


On 2019/03/08 19:49, Sebastian Reitenbach wrote:
> anyone?
>=20
> Am Samstag, M=E4rz 02, 2019 19:07 CET, "Sebastian Reitenbach" <sebastia@l=
00-bugdead-prods.de> schrieb:
>=20
> > Am Mittwoch, Februar 27, 2019 19:50 CET, Stuart Henderson <stu@spacehop=
per.org> schrieb:
> >
> > > this update fails on i386:
> > >
> > > /usr/bin/libtool --tag=3Ddisable-static  --tag=3DCC   --mode=3Dlink c=
c -pthread   -Wall -Wno-unused-command-line-argument -O3 -std=3Dgnu99 -fno-=
strict-aliasing -Wpointer-arith -Wstrict-overflow=3D2 -Wstrict-prototypes -=
fvisibility=3Dhidden -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 libaircr=
ack_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=
=2E0.so -pthread -Wall -Wno-unused-command-line-argument -O3 -std=3Dgnu99 -=
fno-strict-aliasing -Wpointer-arith -Wstrict-overflow=3D2 -Wstrict-prototyp=
es -fvisibility=3Dhidden -fstack-protector-strong -Wno-array-bounds -O2 -pi=
pe .libs/libaircrack_crypto_la-memory.o .libs/libaircrack_crypto_la-sha1-gi=
t.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 invo=
cation)
> > > Error while executing cc -shared -fPIC -DPIC -o .libs/libaircrack-cry=
pto-1.3.0.so -pthread -Wall -Wno-unused-command-line-argument -O3 -std=3Dgn=
u99 -fno-strict-aliasing -Wpointer-arith -Wstrict-overflow=3D2 -Wstrict-pro=
totypes -fvisibility=3Dhidden -fstack-protector-strong -Wno-array-bounds -O=
2 -pipe .libs/libaircrack_crypto_la-memory.o .libs/libaircrack_crypto_la-sh=
a1-git.o .libs/libaircrack_crypto_la-wpapsk.o .libs/libaircrack_crypto_la-c=
rypto_engine.o .libs/sha1-sse2.o -L.libs -lpthread -lcrypto -lz -lm -Wl,-so=
name,libaircrack-crypto-1.3.0.so
> > >
> > > Full log below.
> >
> > seems the linker. The snapshot I made the port on was from Mid/End of J=
anuary.
> > Updated to a recent snapshot, and ran into the same issue.
> > Following patch lets me build it, basically USE_LLD=3DNo
> > 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
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

> > 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=3D 802.11 WEP and WPA-PSK keys cracking program
> >  DISTNAME=3D aircrack-ng-1.5.2
> > +REVISION=3D 0
> >  CATEGORIES=3D security
> >
> >  HOMEPAGE=3D https://www.aircrack-ng.org/
> > @@ -27,7 +28,9 @@ LIB_DEPENDS=3D databases/sqlite3 \
> >  RUN_DEPENDS+=3D net/arp-scan,-mac>=3D20190128
> >
> >  USE_GMAKE=3D Yes
> > -USE_LIBTOOL=3D Yes
> > +.if ${MACHINE_ARCH} =3D=3D "i386"
> > +USE_LLD=3D No
> > +.endif
> >  LIBTOOL_FLAGS=3D --tag=3Ddisable-static
> >  AUTOCONF_VERSION=3D 2.69
> >  AUTOMAKE_VERSION=3D 1.16
> >
> >
> >
> >
> > >
> > >
> > > >>> Building on localhost under security/aircrack-ng
> > > BDEPENDS =3D [devel/autoconf/2.69;devel/shtool;devel/metaauto;devel=
/pcre;devel/pkgconf;devel/gmake;devel/automake/1.16;databases/sqlite3;devel=
/libtool]
> > > DIST =3D [security/aircrack-ng:aircrack-ng-1.5.2.tar.gz]
> > > FULLPKGNAME =3D aircrack-ng-1.5.2
> > > RDEPENDS =3D [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=
=2E8 sqlite3-3.26.0
> > > was: /usr/sbin/pkg_add -aI -Drepair autoconf-2.69p2 automake-1.16.1 g=
make-4.2.1p0 libtool-2.4.2p0 metaauto-1.0p3 pcre-8.41p2 pkgconf-1.4.2 shtoo=
l-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=
=2E8 sqlite3-3.26.0
> > > >>> Running show-prepare-results in security/aircrack-ng at 1551287257
> > > =3D=3D=3D> security/aircrack-ng
> > > =3D=3D=3D> aircrack-ng-1.5.2 depends on: metaauto-* -> metaauto-1.0p3
> > > =3D=3D=3D> aircrack-ng-1.5.2 depends on: autoconf-2.69 -> autoconf-2.=
69p2
> > > =3D=3D=3D> aircrack-ng-1.5.2 depends on: automake->=3D1.16,<1.17 -> a=
utomake-1.16.1
> > > =3D=3D=3D> aircrack-ng-1.5.2 depends on: libtool-* -> libtool-2.4.2p0
> > > =3D=3D=3D> aircrack-ng-1.5.2 depends on: shtool-* -> shtool-2.0.8
> > > =3D=3D=3D> aircrack-ng-1.5.2 depends on: pkgconf-* -> pkgconf-1.4.2
> > > =3D=3D=3D> aircrack-ng-1.5.2 depends on: gmake-* -> gmake-4.2.1p0
> > > =3D=3D=3D> aircrack-ng-1.5.2 depends on: sqlite3-* -> sqlite3-3.26.0
> > > =3D=3D=3D> aircrack-ng-1.5.2 depends on: pcre-* -> pcre-8.41p2
> > > =3D=3D=3D>  Verifying specs:  c pthread crypto z pcre c++ c++abi pthr=
ead m sqlite3
> > > =3D=3D=3D>  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=3D7138360
> > > >>> Running extract in security/aircrack-ng at 1551287258
> > > =3D=3D=3D> security/aircrack-ng
> > > =3D=3D=3D>  Checking files for aircrack-ng-1.5.2
> > > `/mnt/distfiles/aircrack-ng-1.5.2.tar.gz' is up to date.
> > > =3D=3D=3D>  Extracting for aircrack-ng-1.5.2
> > > >>> Running patch in security/aircrack-ng at 1551287260
> > > =3D=3D=3D> security/aircrack-ng
> > > =3D=3D=3D>  Patching for aircrack-ng-1.5.2
> > > =3D=3D=3D>   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 E=
xp $

> > > |
> > > |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
> > > =3D=3D=3D>   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
> > > =3D=3D=3D>  Compiler link: clang -> /usr/bin/clang
> > > =3D=3D=3D>  Compiler link: clang++ -> /usr/bin/clang++
> > > =3D=3D=3D>  Compiler link: cc -> /usr/bin/cc
> > > =3D=3D=3D>  Compiler link: c++ -> /usr/bin/c++
> > > >>> Running configure in security/aircrack-ng at 1551287261
> > > =3D=3D=3D> security/aircrack-ng
> > > =3D=3D=3D>  Generating configure for aircrack-ng-1.5.2
> > > cd /usr/obj/ports/aircrack-ng-1.5.2/aircrack-ng-1.5.2 &&  PATH=3D/usr=
/obj/ports/aircrack-ng-1.5.2/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/b=
in:/usr/X11R6/bin AUTOCONF_VERSION=3D2.69 AUTOMAKE_VERSION=3D1.16 autorecon=
f -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'
> > > =3D=3D=3D>  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=3Di386 -=
DBASE_PKGPATH=3Dsecurity/aircrack-ng -DFLAVOR_EXT=3D -DFULLPKGNAME=3Daircra=
ck-ng-1.5.2 -DHOMEPAGE=3Dhttps://www.aircrack-ng.org/ -DLOCALBASE=3D/usr/lo=
cal -DLOCALSTATEDIR=3D/var -DMACHINE_ARCH=3Di386 -DMAINTAINER=3DBenoit\ Lec=
ocq\ \<[hidden email]\> -DPREFIX=3D/usr/local -DRCDIR=3D/etc/rc.d -DSYS=
CONFDIR=3D/etc -DTRUEPREFIX=3D/usr/local -DX11BASE=3D/usr/X11R6 -DPKGSTEM=
=3Daircrack-ng -i -B /usr/obj/ports/aircrack-ng-1.5.2 /usr/obj/ports/aircra=
ck-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/confi=
g.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=
=2E5.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.=
=2E. yes
> > > checking whether gmake supports nested variables... (cached) yes
> > > checking whether gmake supports the include directive... yes (GNU sty=
le)

> > > 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) 131=
072
> > > checking whether the shell understands some XSI constructs... yes
> > > checking whether the shell understands "+=3D"... no
> > > checking how to convert i386-unknown-openbsd6.4 file names to i386-un=
known-openbsd6.4 format... func_convert_file_noop
> > > checking how to convert i386-unknown-openbsd6.4 file names to toolcha=
in 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 librarie=
s... 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 librari=
es... 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 librari=
es... 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-unk=
nown-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 >=3D 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=3D2 to CPPFLAGS... yes
> > > checking whether cc is Clang... yes
> > > checking whether Clang needs flag to prevent "argument unused" warnin=
g 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=3Dgnu99... 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=3D2... yes
> > > checking whether C compiler accepts -fvisibility=3Dhidden... 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=3Dhidden... 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=3D64 -D_LARGEFI=
LE64_SOURCE -D_FORTIFY_SOURCE=3D2
> > >     LDFLAGS:
> > >     LIBS:                         -lm
> > >
> > >     Optimized CFLAGS:              -Wall -Wno-unused-command-line-arg=
ument -O3 -std=3Dgnu99 -fno-strict-aliasing -Wpointer-arith -Wstrict-overfl=
ow=3D2 -Wstrict-prototypes -fvisibility=3Dhidden -fstack-protector-strong -=
Wno-array-bounds
> > >     Optimized CXXFLAGS:            -Wall -Wno-unused-command-line-arg=
ument -O3 -fvisibility=3Dhidden -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
> > > =3D=3D=3D> security/aircrack-ng
> > > =3D=3D=3D>  Building for aircrack-ng-1.5.2
> > > Making all in manpages
> > > gmake[1]: Entering directory '/usr/obj/ports/aircrack-ng-1.5.2/aircra=
ck-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/aircrac=
k-ng-1.5.2/manpages'
> > > Making all in scripts
> > > gmake[1]: Entering directory '/usr/obj/ports/aircrack-ng-1.5.2/aircra=
ck-ng-1.5.2/scripts'
> > > gmake[2]: Entering directory '/usr/obj/ports/aircrack-ng-1.5.2/aircra=
ck-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/aircrac=
k-ng-1.5.2/scripts'
> > > gmake[1]: Leaving directory '/usr/obj/ports/aircrack-ng-1.5.2/aircrac=
k-ng-1.5.2/scripts'
> > > Making all in src
> > > gmake[1]: Entering directory '/usr/obj/ports/aircrack-ng-1.5.2/aircra=
ck-ng-1.5.2/src'
> > > Making all in aircrack-crypto
> > > gmake[2]: Entering directory '/usr/obj/ports/aircrack-ng-1.5.2/aircra=
ck-ng-1.5.2/src/aircrack-crypto'
> > > /usr/bin/libtool --tag=3Ddisable-static  --tag=3DCC   --mode=3Dcompil=
e cc -DPACKAGE_NAME=3D\"aircrack-ng\" -DPACKAGE_TARNAME=3D\"aircrack-ng\" -=
DPACKAGE_VERSION=3D\"1.5.2\" -DPACKAGE_STRING=3D\"aircrack-ng\ 1.5.2\" -DPA=
CKAGE_BUGREPORT=3D\"https://forum.aircrack-ng.org\" -DPACKAGE_URL=3D\"\" -D=
PACKAGE=3D\"aircrack-ng\" -DVERSION=3D\"1.5.2\" -DSTDC_HEADERS=3D1 -DHAVE_S=
YS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D=
1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STD=
INT_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -DLT_OBJDIR=3D\".libs/\" -=
D_REVISION=3D\"1.5.2\" -DHAVE_OPENSSL_CRYPTO_H=3D1 -DHAVE_OPENSSL_CMAC_H=3D=
1 -DHAVE_OPENSSL_CMAC_H=3D1 -DHAVE_PCAP_H=3D1 -DHAVE_PCAP=3D1 -DHAVE_PCRE=
=3D1 -DHAVE_SQLITE3_H=3D1 -DHAVE_SQLITE3=3D1 -DHAVE_SQLITE=3D1 -DHAVE_ZLIB=
=3D1 -DHAVE_PTHREAD_PRIO_INHERIT=3D1 -D_REENTRANT=3D1 -DHAVE_POSIX_MEMALIGN=
=3D1 -DCACHELINE_SIZE=3D64 -DCACHELINE_SIZE=3D64 -I.  -I../.. -I../../src/i=
nclude -I../../src   -Wno-unused-command-line-argument  -D_FILE_OFFSET_BITS=
=3D64 -D_LARGEFILE64_SOURCE -D_FORTIFY_SOURCE=3D2 -pthread   -Wall -Wno-unu=
sed-command-line-argument -O3 -std=3Dgnu99 -fno-strict-aliasing -Wpointer-a=
rith -Wstrict-overflow=3D2 -Wstrict-prototypes -fvisibility=3Dhidden -fstac=
k-protector-strong -Wno-array-bounds -O2 -pipe -MT libaircrack_crypto_la-me=
mory.lo -MD -MP -MF .deps/libaircrack_crypto_la-memory.Tpo -c -o libaircrac=
k_crypto_la-memory.lo `test -f 'memory.c' || echo './'`memory.c
> > > cc -DPACKAGE_NAME=3D"aircrack-ng" -DPACKAGE_TARNAME=3D"aircrack-ng" -=
DPACKAGE_VERSION=3D"1.5.2" -DPACKAGE_STRING=3D"aircrack-ng 1.5.2" -DPACKAGE=
_BUGREPORT=3D"https://forum.aircrack-ng.org" -DPACKAGE_URL=3D"" -DPACKAGE=
=3D"aircrack-ng" -DVERSION=3D"1.5.2" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=
=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_M=
EMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 =
-DHAVE_UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -DLT_OBJDIR=3D".libs/" -D_REVISION=
=3D"1.5.2" -DHAVE_OPENSSL_CRYPTO_H=3D1 -DHAVE_OPENSSL_CMAC_H=3D1 -DHAVE_OPE=
NSSL_CMAC_H=3D1 -DHAVE_PCAP_H=3D1 -DHAVE_PCAP=3D1 -DHAVE_PCRE=3D1 -DHAVE_SQ=
LITE3_H=3D1 -DHAVE_SQLITE3=3D1 -DHAVE_SQLITE=3D1 -DHAVE_ZLIB=3D1 -DHAVE_PTH=
READ_PRIO_INHERIT=3D1 -D_REENTRANT=3D1 -DHAVE_POSIX_MEMALIGN=3D1 -DCACHELIN=
E_SIZE=3D64 -DCACHELINE_SIZE=3D64 -I. -I../.. -I../../src/include -I../../s=
rc -Wno-unused-command-line-argument -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE6=
4_SOURCE -D_FORTIFY_SOURCE=3D2 -pthread -Wall -Wno-unused-command-line-argu=
ment -O3 -std=3Dgnu99 -fno-strict-aliasing -Wpointer-arith -Wstrict-overflo=
w=3D2 -Wstrict-prototypes -fvisibility=3Dhidden -fstack-protector-strong -W=
no-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/liba=
ircrack_crypto_la-memory.o
> > > mv -f .deps/libaircrack_crypto_la-memory.Tpo .deps/libaircrack_crypto=
_la-memory.Plo
> > > /usr/bin/libtool --tag=3Ddisable-static  --tag=3DCC   --mode=3Dcompil=
e cc -DPACKAGE_NAME=3D\"aircrack-ng\" -DPACKAGE_TARNAME=3D\"aircrack-ng\" -=
DPACKAGE_VERSION=3D\"1.5.2\" -DPACKAGE_STRING=3D\"aircrack-ng\ 1.5.2\" -DPA=
CKAGE_BUGREPORT=3D\"https://forum.aircrack-ng.org\" -DPACKAGE_URL=3D\"\" -D=
PACKAGE=3D\"aircrack-ng\" -DVERSION=3D\"1.5.2\" -DSTDC_HEADERS=3D1 -DHAVE_S=
YS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D=
1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STD=
INT_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -DLT_OBJDIR=3D\".libs/\" -=
D_REVISION=3D\"1.5.2\" -DHAVE_OPENSSL_CRYPTO_H=3D1 -DHAVE_OPENSSL_CMAC_H=3D=
1 -DHAVE_OPENSSL_CMAC_H=3D1 -DHAVE_PCAP_H=3D1 -DHAVE_PCAP=3D1 -DHAVE_PCRE=
=3D1 -DHAVE_SQLITE3_H=3D1 -DHAVE_SQLITE3=3D1 -DHAVE_SQLITE=3D1 -DHAVE_ZLIB=
=3D1 -DHAVE_PTHREAD_PRIO_INHERIT=3D1 -D_REENTRANT=3D1 -DHAVE_POSIX_MEMALIGN=
=3D1 -DCACHELINE_SIZE=3D64 -DCACHELINE_SIZE=3D64 -I.  -I../.. -I../../src/i=
nclude -I../../src   -Wno-unused-command-line-argument  -D_FILE_OFFSET_BITS=
=3D64 -D_LARGEFILE64_SOURCE -D_FORTIFY_SOURCE=3D2 -pthread   -Wall -Wno-unu=
sed-command-line-argument -O3 -std=3Dgnu99 -fno-strict-aliasing -Wpointer-a=
rith -Wstrict-overflow=3D2 -Wstrict-prototypes -fvisibility=3Dhidden -fstac=
k-protector-strong -Wno-array-bounds -O2 -pipe -MT libaircrack_crypto_la-sh=
a1-git.lo -MD -MP -MF .deps/libaircrack_crypto_la-sha1-git.Tpo -c -o libair=
crack_crypto_la-sha1-git.lo `test -f 'sha1-git.c' || echo './'`sha1-git.c
> > > cc -DPACKAGE_NAME=3D"aircrack-ng" -DPACKAGE_TARNAME=3D"aircrack-ng" -=
DPACKAGE_VERSION=3D"1.5.2" -DPACKAGE_STRING=3D"aircrack-ng 1.5.2" -DPACKAGE=
_BUGREPORT=3D"https://forum.aircrack-ng.org" -DPACKAGE_URL=3D"" -DPACKAGE=
=3D"aircrack-ng" -DVERSION=3D"1.5.2" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=
=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_M=
EMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 =
-DHAVE_UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -DLT_OBJDIR=3D".libs/" -D_REVISION=
=3D"1.5.2" -DHAVE_OPENSSL_CRYPTO_H=3D1 -DHAVE_OPENSSL_CMAC_H=3D1 -DHAVE_OPE=
NSSL_CMAC_H=3D1 -DHAVE_PCAP_H=3D1 -DHAVE_PCAP=3D1 -DHAVE_PCRE=3D1 -DHAVE_SQ=
LITE3_H=3D1 -DHAVE_SQLITE3=3D1 -DHAVE_SQLITE=3D1 -DHAVE_ZLIB=3D1 -DHAVE_PTH=
READ_PRIO_INHERIT=3D1 -D_REENTRANT=3D1 -DHAVE_POSIX_MEMALIGN=3D1 -DCACHELIN=
E_SIZE=3D64 -DCACHELINE_SIZE=3D64 -I. -I../.. -I../../src/include -I../../s=
rc -Wno-unused-command-line-argument -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE6=
4_SOURCE -D_FORTIFY_SOURCE=3D2 -pthread -Wall -Wno-unused-command-line-argu=
ment -O3 -std=3Dgnu99 -fno-strict-aliasing -Wpointer-arith -Wstrict-overflo=
w=3D2 -Wstrict-prototypes -fvisibility=3Dhidden -fstack-protector-strong -W=
no-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 .lib=
s/libaircrack_crypto_la-sha1-git.o
> > > mv -f .deps/libaircrack_crypto_la-sha1-git.Tpo .deps/libaircrack_cryp=
to_la-sha1-git.Plo
> > > /usr/bin/libtool --tag=3Ddisable-static  --tag=3DCC   --mode=3Dcompil=
e cc -DPACKAGE_NAME=3D\"aircrack-ng\" -DPACKAGE_TARNAME=3D\"aircrack-ng\" -=
DPACKAGE_VERSION=3D\"1.5.2\" -DPACKAGE_STRING=3D\"aircrack-ng\ 1.5.2\" -DPA=
CKAGE_BUGREPORT=3D\"https://forum.aircrack-ng.org\" -DPACKAGE_URL=3D\"\" -D=
PACKAGE=3D\"aircrack-ng\" -DVERSION=3D\"1.5.2\" -DSTDC_HEADERS=3D1 -DHAVE_S=
YS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D=
1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STD=
INT_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -DLT_OBJDIR=3D\".libs/\" -=
D_REVISION=3D\"1.5.2\" -DHAVE_OPENSSL_CRYPTO_H=3D1 -DHAVE_OPENSSL_CMAC_H=3D=
1 -DHAVE_OPENSSL_CMAC_H=3D1 -DHAVE_PCAP_H=3D1 -DHAVE_PCAP=3D1 -DHAVE_PCRE=
=3D1 -DHAVE_SQLITE3_H=3D1 -DHAVE_SQLITE3=3D1 -DHAVE_SQLITE=3D1 -DHAVE_ZLIB=
=3D1 -DHAVE_PTHREAD_PRIO_INHERIT=3D1 -D_REENTRANT=3D1 -DHAVE_POSIX_MEMALIGN=
=3D1 -DCACHELINE_SIZE=3D64 -DCACHELINE_SIZE=3D64 -I.  -I../.. -I../../src/i=
nclude -I../../src   -Wno-unused-command-line-argument  -D_FILE_OFFSET_BITS=
=3D64 -D_LARGEFILE64_SOURCE -D_FORTIFY_SOURCE=3D2 -pthread   -Wall -Wno-unu=
sed-command-line-argument -O3 -std=3Dgnu99 -fno-strict-aliasing -Wpointer-a=
rith -Wstrict-overflow=3D2 -Wstrict-prototypes -fvisibility=3Dhidden -fstac=
k-protector-strong -Wno-array-bounds -O2 -pipe -MT libaircrack_crypto_la-wp=
apsk.lo -MD -MP -MF .deps/libaircrack_crypto_la-wpapsk.Tpo -c -o libaircrac=
k_crypto_la-wpapsk.lo `test -f 'wpapsk.c' || echo './'`wpapsk.c
> > > cc -DPACKAGE_NAME=3D"aircrack-ng" -DPACKAGE_TARNAME=3D"aircrack-ng" -=
DPACKAGE_VERSION=3D"1.5.2" -DPACKAGE_STRING=3D"aircrack-ng 1.5.2" -DPACKAGE=
_BUGREPORT=3D"https://forum.aircrack-ng.org" -DPACKAGE_URL=3D"" -DPACKAGE=
=3D"aircrack-ng" -DVERSION=3D"1.5.2" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=
=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_M=
EMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 =
-DHAVE_UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -DLT_OBJDIR=3D".libs/" -D_REVISION=
=3D"1.5.2" -DHAVE_OPENSSL_CRYPTO_H=3D1 -DHAVE_OPENSSL_CMAC_H=3D1 -DHAVE_OPE=
NSSL_CMAC_H=3D1 -DHAVE_PCAP_H=3D1 -DHAVE_PCAP=3D1 -DHAVE_PCRE=3D1 -DHAVE_SQ=
LITE3_H=3D1 -DHAVE_SQLITE3=3D1 -DHAVE_SQLITE=3D1 -DHAVE_ZLIB=3D1 -DHAVE_PTH=
READ_PRIO_INHERIT=3D1 -D_REENTRANT=3D1 -DHAVE_POSIX_MEMALIGN=3D1 -DCACHELIN=
E_SIZE=3D64 -DCACHELINE_SIZE=3D64 -I. -I../.. -I../../src/include -I../../s=
rc -Wno-unused-command-line-argument -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE6=
4_SOURCE -D_FORTIFY_SOURCE=3D2 -pthread -Wall -Wno-unused-command-line-argu=
ment -O3 -std=3Dgnu99 -fno-strict-aliasing -Wpointer-arith -Wstrict-overflo=
w=3D2 -Wstrict-prototypes -fvisibility=3Dhidden -fstack-protector-strong -W=
no-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/liba=
ircrack_crypto_la-wpapsk.o
> > > mv -f .deps/libaircrack_crypto_la-wpapsk.Tpo .deps/libaircrack_crypto=
_la-wpapsk.Plo
> > > /usr/bin/libtool --tag=3Ddisable-static  --tag=3DCC   --mode=3Dcompil=
e cc -DPACKAGE_NAME=3D\"aircrack-ng\" -DPACKAGE_TARNAME=3D\"aircrack-ng\" -=
DPACKAGE_VERSION=3D\"1.5.2\" -DPACKAGE_STRING=3D\"aircrack-ng\ 1.5.2\" -DPA=
CKAGE_BUGREPORT=3D\"https://forum.aircrack-ng.org\" -DPACKAGE_URL=3D\"\" -D=
PACKAGE=3D\"aircrack-ng\" -DVERSION=3D\"1.5.2\" -DSTDC_HEADERS=3D1 -DHAVE_S=
YS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D=
1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STD=
INT_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -DLT_OBJDIR=3D\".libs/\" -=
D_REVISION=3D\"1.5.2\" -DHAVE_OPENSSL_CRYPTO_H=3D1 -DHAVE_OPENSSL_CMAC_H=3D=
1 -DHAVE_OPENSSL_CMAC_H=3D1 -DHAVE_PCAP_H=3D1 -DHAVE_PCAP=3D1 -DHAVE_PCRE=
=3D1 -DHAVE_SQLITE3_H=3D1 -DHAVE_SQLITE3=3D1 -DHAVE_SQLITE=3D1 -DHAVE_ZLIB=
=3D1 -DHAVE_PTHREAD_PRIO_INHERIT=3D1 -D_REENTRANT=3D1 -DHAVE_POSIX_MEMALIGN=
=3D1 -DCACHELINE_SIZE=3D64 -DCACHELINE_SIZE=3D64 -I.  -I../.. -I../../src/i=
nclude -I../../src   -Wno-unused-command-line-argument  -D_FILE_OFFSET_BITS=
=3D64 -D_LARGEFILE64_SOURCE -D_FORTIFY_SOURCE=3D2 -pthread   -Wall -Wno-unu=
sed-command-line-argument -O3 -std=3Dgnu99 -fno-strict-aliasing -Wpointer-a=
rith -Wstrict-overflow=3D2 -Wstrict-prototypes -fvisibility=3Dhidden -fstac=
k-protector-strong -Wno-array-bounds -O2 -pipe -MT libaircrack_crypto_la-cr=
ypto_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' || ec=
ho './'`crypto_engine.c
> > > cc -DPACKAGE_NAME=3D"aircrack-ng" -DPACKAGE_TARNAME=3D"aircrack-ng" -=
DPACKAGE_VERSION=3D"1.5.2" -DPACKAGE_STRING=3D"aircrack-ng 1.5.2" -DPACKAGE=
_BUGREPORT=3D"https://forum.aircrack-ng.org" -DPACKAGE_URL=3D"" -DPACKAGE=
=3D"aircrack-ng" -DVERSION=3D"1.5.2" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=
=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_M=
EMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 =
-DHAVE_UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -DLT_OBJDIR=3D".libs/" -D_REVISION=
=3D"1.5.2" -DHAVE_OPENSSL_CRYPTO_H=3D1 -DHAVE_OPENSSL_CMAC_H=3D1 -DHAVE_OPE=
NSSL_CMAC_H=3D1 -DHAVE_PCAP_H=3D1 -DHAVE_PCAP=3D1 -DHAVE_PCRE=3D1 -DHAVE_SQ=
LITE3_H=3D1 -DHAVE_SQLITE3=3D1 -DHAVE_SQLITE=3D1 -DHAVE_ZLIB=3D1 -DHAVE_PTH=
READ_PRIO_INHERIT=3D1 -D_REENTRANT=3D1 -DHAVE_POSIX_MEMALIGN=3D1 -DCACHELIN=
E_SIZE=3D64 -DCACHELINE_SIZE=3D64 -I. -I../.. -I../../src/include -I../../s=
rc -Wno-unused-command-line-argument -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE6=
4_SOURCE -D_FORTIFY_SOURCE=3D2 -pthread -Wall -Wno-unused-command-line-argu=
ment -O3 -std=3Dgnu99 -fno-strict-aliasing -Wpointer-arith -Wstrict-overflo=
w=3D2 -Wstrict-prototypes -fvisibility=3Dhidden -fstack-protector-strong -W=
no-array-bounds -O2 -pipe -MT libaircrack_crypto_la-crypto_engine.lo -MD -M=
P -MF .deps/libaircrack_crypto_la-crypto_engine.Tpo -c crypto_engine.c -fPI=
C -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=3Ddisable-static  --tag=3DCC   --mode=3Dcompil=
e cc -DPACKAGE_NAME=3D\"aircrack-ng\" -DPACKAGE_TARNAME=3D\"aircrack-ng\" -=
DPACKAGE_VERSION=3D\"1.5.2\" -DPACKAGE_STRING=3D\"aircrack-ng\ 1.5.2\" -DPA=
CKAGE_BUGREPORT=3D\"https://forum.aircrack-ng.org\" -DPACKAGE_URL=3D\"\" -D=
PACKAGE=3D\"aircrack-ng\" -DVERSION=3D\"1.5.2\" -DSTDC_HEADERS=3D1 -DHAVE_S=
YS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D=
1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STD=
INT_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -DLT_OBJDIR=3D\".libs/\" -=
D_REVISION=3D\"1.5.2\" -DHAVE_OPENSSL_CRYPTO_H=3D1 -DHAVE_OPENSSL_CMAC_H=3D=
1 -DHAVE_OPENSSL_CMAC_H=3D1 -DHAVE_PCAP_H=3D1 -DHAVE_PCAP=3D1 -DHAVE_PCRE=
=3D1 -DHAVE_SQLITE3_H=3D1 -DHAVE_SQLITE3=3D1 -DHAVE_SQLITE=3D1 -DHAVE_ZLIB=
=3D1 -DHAVE_PTHREAD_PRIO_INHERIT=3D1 -D_REENTRANT=3D1 -DHAVE_POSIX_MEMALIGN=
=3D1 -DCACHELINE_SIZE=3D64 -DCACHELINE_SIZE=3D64 -I.  -I../.. -I../../src/i=
nclude -I../../src   -Wno-unused-command-line-argument  -D_FILE_OFFSET_BITS=
=3D64 -D_LARGEFILE64_SOURCE -D_FORTIFY_SOURCE=3D2  -O2 -pipe -MT sha1-sse2.=
lo -MD -MP -MF .deps/sha1-sse2.Tpo -c -o sha1-sse2.lo sha1-sse2.S
> > > cc -DPACKAGE_NAME=3D"aircrack-ng" -DPACKAGE_TARNAME=3D"aircrack-ng" -=
DPACKAGE_VERSION=3D"1.5.2" -DPACKAGE_STRING=3D"aircrack-ng 1.5.2" -DPACKAGE=
_BUGREPORT=3D"https://forum.aircrack-ng.org" -DPACKAGE_URL=3D"" -DPACKAGE=
=3D"aircrack-ng" -DVERSION=3D"1.5.2" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=
=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_M=
EMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 =
-DHAVE_UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -DLT_OBJDIR=3D".libs/" -D_REVISION=
=3D"1.5.2" -DHAVE_OPENSSL_CRYPTO_H=3D1 -DHAVE_OPENSSL_CMAC_H=3D1 -DHAVE_OPE=
NSSL_CMAC_H=3D1 -DHAVE_PCAP_H=3D1 -DHAVE_PCAP=3D1 -DHAVE_PCRE=3D1 -DHAVE_SQ=
LITE3_H=3D1 -DHAVE_SQLITE3=3D1 -DHAVE_SQLITE=3D1 -DHAVE_ZLIB=3D1 -DHAVE_PTH=
READ_PRIO_INHERIT=3D1 -D_REENTRANT=3D1 -DHAVE_POSIX_MEMALIGN=3D1 -DCACHELIN=
E_SIZE=3D64 -DCACHELINE_SIZE=3D64 -I. -I../.. -I../../src/include -I../../s=
rc -Wno-unused-command-line-argument -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE6=
4_SOURCE -D_FORTIFY_SOURCE=3D2 -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=3Ddisable-static  --tag=3DCC   --mode=3Dlink c=
c -pthread   -Wall -Wno-unused-command-line-argument -O3 -std=3Dgnu99 -fno-=
strict-aliasing -Wpointer-arith -Wstrict-overflow=3D2 -Wstrict-prototypes -=
fvisibility=3Dhidden -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 libaircr=
ack_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=
=2E0.so -pthread -Wall -Wno-unused-command-line-argument -O3 -std=3Dgnu99 -=
fno-strict-aliasing -Wpointer-arith -Wstrict-overflow=3D2 -Wstrict-prototyp=
es -fvisibility=3Dhidden -fstack-protector-strong -Wno-array-bounds -O2 -pi=
pe .libs/libaircrack_crypto_la-memory.o .libs/libaircrack_crypto_la-sha1-gi=
t.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 invo=
cation)
> > > Error while executing cc -shared -fPIC -DPIC -o .libs/libaircrack-cry=
pto-1.3.0.so -pthread -Wall -Wno-unused-command-line-argument -O3 -std=3Dgn=
u99 -fno-strict-aliasing -Wpointer-arith -Wstrict-overflow=3D2 -Wstrict-pro=
totypes -fvisibility=3Dhidden -fstack-protector-strong -Wno-array-bounds -O=
2 -pipe .libs/libaircrack_crypto_la-memory.o .libs/libaircrack_crypto_la-sh=
a1-git.o .libs/libaircrack_crypto_la-wpapsk.o .libs/libaircrack_crypto_la-c=
rypto_engine.o .libs/sha1-sse2.o -L.libs -lpthread -lcrypto -lz -lm -Wl,-so=
name,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/aircrac=
k-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/aircrac=
k-ng-1.5.2/src'
> > > gmake: *** [Makefile:582: all-recursive] Error 1
> > > *** Error 2 in security/aircrack-ng (/usr/ports/infrastructure/mk/bsd=
=2Eport.mk:2801 '/usr/obj/ports/aircrack-ng-1.5.2/.build_done')
> > > *** Error 1 in security/aircrack-ng (/usr/ports/infrastructure/mk/bsd=
=2Eport.mk:2467 'build')
> > > =3D=3D=3D> 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
> > >
> > >
> > >
>=20
>=20