FS#58693 - [aircrack-ng] Failed to spawn binary: No such file or directory
Attached to Project:
Community Packages
Opened by Michał Goliński (golinski) - Tuesday, 22 May 2018, 11:37 GMT
Last edited by Eli Schwartz (eschwartz) - Friday, 25 May 2018, 01:20 GMT
Opened by Michał Goliński (golinski) - Tuesday, 22 May 2018, 11:37 GMT
Last edited by Eli Schwartz (eschwartz) - Friday, 25 May 2018, 01:20 GMT
|
Details
Description:
In the latest version of aircrack-ng, we get the following error: $ aircrack-ng F: Failed to spawn binary: No such file or directory Checking with strace gives the culprit: execve("/usr/libexec/aircrack-ng/aircrack-ng--avx2", ["/usr/libexec/aircrack-ng/aircrac"...], 0x557e1cc0a2c0 /* 1 var */) = -1 ENOENT (No such file or directory) The package contains the file at /usr/lib/aircrack-ng/aircrack-ng--avx2, but it seems this is not found by the master executable. I use the latest (a of now) version: aircrack-ng 1.2-2 |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Friday, 25 May 2018, 01:20 GMT
Reason for closing: Fixed
Additional comments about closing: aircrack-ng 1.2-4
Friday, 25 May 2018, 01:20 GMT
Reason for closing: Fixed
Additional comments about closing: aircrack-ng 1.2-4
FS#58567but not sure how this issue slipped through. I've reverted it and will investigate further before trying to make this change again. Fixed in 1.2-3.build() {
cd $pkgname-$_pkgver
./autogen.sh
./configure --prefix=/usr --libexecdir=/usr/lib
make sqlite=true experimental=true
}
package() {
cd $pkgname-$_pkgver
make DESTDIR="$pkgdir" sqlite=true experimental=true \
sbindir=/usr/bin install pkglibexecdir=/usr/lib/aircrack-ng
}
aircrack-ng E: Dependency pcre detected and not included (libraries ['usr/lib/libpcre.so.1'] needed in files ['usr/bin/airodump-ng'])
aircrack-ng E: Dependency libpcap detected and not included (libraries ['usr/lib/libpcap.so.1'] needed in files ['usr/bin/besside-ng-crawler'])
Upstream info:
If you want SSID filtering with regular expression in airodump-ng (-essid-regex) pcre development package is required.
In order to build besside-ng, besside-ng-crawler, easside-ng, tkiptun-ng and wesside-ng, libpcap development package is required
pkgname=aircrack-ng
_pkgver=1.2
pkgver=${_pkgver//-/}
pkgrel=3
pkgdesc="Key cracker for the 802.11 WEP and WPA-PSK protocols"
arch=('x86_64')
url="https://www.aircrack-ng.org"
license=('GPL2')
depends=('openssl' 'sqlite' 'iw' 'net-tools' 'wireless_tools' 'ethtool' 'pcre' 'libpcap' 'python')
conflicts=('aircrack-ng-scripts')
replaces=('aircrack-ng-scripts')
provides=('aircrack-ng-scripts')
source=(https://download.aircrack-ng.org/$pkgname-$_pkgver.tar.gz)
md5sums=('bb11ec14e1fe505d8d0d51cee0c54df9')
build() {
cd $pkgname-$_pkgver
./autogen.sh
./configure --prefix=/usr --libexecdir=/usr/lib --with-experimental
make
}
check() {
cd $pkgname-$_pkgver
make check
}
package() {
cd $pkgname-$_pkgver
make DESTDIR="$pkgdir" sbindir=/usr/bin install pkglibexecdir=/usr/lib/aircrack-ng
}