Calculating dependencies... done! >>> Emerging (1 of 1) net-wireless/aircrack-ng-0.5-r1 to / * aircrack-ng-0.5.tar.gz MD5 ;-) ... [ ok ] * aircrack-ng-0.5.tar.gz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking aircrack-ng-0.5.tar.gz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking aircrack-ng-0.5.tar.gz to /var/tmp/portage/aircrack-ng-0.5-r1/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/aircrack-ng-0.5-r1/work/aircrack-ng-0.5 ... i686-pc-linux-gnu-gcc -O2 -march=pentium4 -pipe -D_FILE_OFFSET_BITS=64 src/aircrack-ng.c src/crypto.c src/sha1-mmx.S src/common.c -o aircrack-ng -lpthread i686-pc-linux-gnu-gcc -O2 -march=pentium4 -pipe -D_FILE_OFFSET_BITS=64 src/airdecap-ng.c src/crypto.c src/common.c -o airdecap-ng i686-pc-linux-gnu-gcc -O2 -march=pentium4 -pipe -D_FILE_OFFSET_BITS=64 src/arpforge-ng.c src/common.c -o arpforge-ng i686-pc-linux-gnu-gcc -O2 -march=pentium4 -pipe -D_FILE_OFFSET_BITS=64 src/aireplay-ng.c src/common.c -o aireplay-ng In file included from src/aireplay-ng.c:27: /usr/include/sys/types.h:52: error: conflicting types for 'ino_t' /usr/include/linux/types.h:30: error: previous declaration of 'ino_t' was here /usr/include/sys/types.h:62: error: conflicting types for 'dev_t' /usr/include/linux/types.h:27: error: previous declaration of 'dev_t' was here /usr/include/sys/types.h:72: error: conflicting types for 'mode_t' /usr/include/linux/types.h:33: error: previous declaration of 'mode_t' was here /usr/include/sys/types.h:77: error: conflicting types for 'nlink_t' /usr/include/linux/types.h:36: error: previous declaration of 'nlink_t' was here /usr/include/sys/types.h:90: error: conflicting types for 'off_t' /usr/include/linux/types.h:39: error: previous declaration of 'off_t' was here In file included from /usr/include/sys/types.h:133, from src/aireplay-ng.c:27: /usr/include/time.h:105: error: conflicting types for 'timer_t' /usr/include/linux/types.h:45: error: previous declaration of 'timer_t' was here In file included from /usr/include/sys/types.h:220, from src/aireplay-ng.c:27: /usr/include/sys/select.h:78: error: conflicting types for 'fd_set' /usr/include/linux/types.h:24: error: previous declaration of 'fd_set' was here In file included from src/aireplay-ng.c:27: /usr/include/sys/types.h:248: error: conflicting types for 'blkcnt_t' /usr/include/linux/types.h:158: error: previous declaration of 'blkcnt_t' was here make: *** [aireplay-ng] Error 1 !!! ERROR: net-wireless/aircrack-ng-0.5-r1 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile aircrack-ng-0.5-r1.ebuild, line 25: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686) ================================================================= System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1.73GHz Gentoo Base System version 1.12.5 Last Sync: Sat, 23 Sep 2006 18:00:01 +0000 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: [Not Present] dev-lang/python: 2.3.5, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US" LC_ALL="en_US" LINGUAS="de en" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 alsa berkdb bitmap-fonts bluetooth cli crypt cups divx4linux dlloader dri dv dvb dvd dvdread dvi elibc_glibc encode fame fortran g77 gdbm gpm gtk imap input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog kernel_linux libg++ linguas_de linguas_en mmx mmxext mp3 mpeg ncurses nls nptl nptlonly nsplugin ogg pam pcmcia pcre pdf perl png ppds pppd python quicktime readline reflection session spl sse sse2 ssl tcpd truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales video_cards_i810 video_cards_vesa video_cards_vmware vorbis wifi win32codecs xorg xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Try w/ 0.6.1.
*** Bug 149859 has been marked as a duplicate of this bug. ***
*** Bug 152470 has been marked as a duplicate of this bug. ***
(In reply to comment #1) > Try w/ 0.6.1. Both 0.6.1 and 0.6.2 compiles.
Reopening for stabilization.
1) emerges fine 2) passes collision test 3) works [ebuild UD] sys-libs/glibc-2.4-r3 [2.4-r4] USE="nls nptl nptlonly -build -glibc-compat20 -glibc-omitfp -hardened (-multilib) -profile (-selinux)" 0 kB [ebuild R ] net-wireless/aircrack-ng-0.6.2 0 kB Portage 2.1.2_pre3-r8 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r4, 2.6.18-gentoo-r1 i686) ================================================================= System uname: 2.6.18-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.12.5 Last Sync: Tue, 24 Oct 2006 22:20:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" DISTDIR="/mnt/nfs/distfiles" FEATURES="autoconfig collision-protect distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://search.belnet.be/packages/gentoo/" LC_ALL="nl_BE.UTF-8" LINGUAS="en_GB nl" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/mnt/series/tmp/" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/repodoc-overlay" SYNC="rsync://rsync5.nl.gentoo.org/gentoo-portage" USE="x86 16bit S3TC X X509 aac aalib acl acpi activefilter alsa ansi apm arts artworkextra audiofile avantgo bash-completion bcmath bdf bidi bitmap-fonts blender-game bluetooth bzip2 bzlib cap cdda cddb cdinstall cdparanoia cdrom cgi chroot cjk clanJavaScript clanVoice cli client code cracklib crypt csope cups curl dba dlloader dri dts dv dvb dvd dvdread eds elibc_glibc emboss encode esd fat firefox foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 hal imap imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog ithreads java jpeg jython kadu-modules kadu-voice kakasi kde kdeenablefinal kernel_linux latex lcms leim libclamav libdsk libg++ libgd libgda libsamplerate libwww linguas_en_GB linguas_nl lirc lirc_devices_pctv lirc_devices_pinsys live lua lufsusermount lzo lzw lzw-tiff m17n-lib mad maildir matroska matrox mcal memlimit migemo mikmod mime mine mixer mjpeg mls mmap mmx mng monkey motif mozcalendar mozdevelop mozilla mozp3p mozsvg mozxmlterm mp3 mpeg mpeg4 mpi mplayer msn mule music mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh native ncurses net netcdf network neural nis nls nowin nptl nptlonly nsplugin ntfs ntlm nvidia nviz oav objc ocaml offensive ofx ogg openal opengl opie oscar ospfapi oss pam parse-clocks pcap pcntl pcre pdf perl pg-hier pg-intdatetime pg-vacuumdelay pic plotutils png portaudio posix povray ppds pppd pri print procmail pthreads python qt3 qt4 quicktime quotas quotes readline real reflection reiser4 reiserfs resperl rhino rplay samba scanner screen sdl servlet-2.3 servlet-2.4 session sftplogging silc simplexml skins skk slp smime sndfile snortsam sockets socks5 softquota sox spell spl sse sse2 ssl stencil-buffer stream stroke struts svg sysvipc szip t1lib tcpd tcsim tga theora threads tidy tiff transcode truetype truetype-fonts type1-fonts udev uim underscores unicode usb userland_GNU v4l v4l2 vcd vda vhosts video_cards_nv video_cards_nvidia video_cards_vesa videos virus-scan vorbis wddx win32codecs winbind wmf wxwindows xanim xatrix xchatdccserver xchattext xemacs xface xgetdefault xine xinerama xml xml2 xmlrpc xorg xosd xpm xprint xrandr xscreensaver xsl xv xvid xvmc yahoo yaz yp yv12 zaptel zeo zlib zvbi" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
1. emerges on x86 2. passes collision test 3. fails test suite: >>> Source compiled. sh: no job control in this shell Opening test/wpa.cap Read 13 packets. # BSSID ESSID Encryption 1 00:0D:93:EB:B0:8C test WPA (1 handshake) Choosing first network as target. Aircrack-ng 0.6.2 [00:00:00] 230 keys tested (302.89 k/s) KEY FOUND! [ biscotte ] Master Key : CD D7 9A 5A CF B0 70 C7 E9 D1 02 3B 87 02 85 D6 39 E4 30 B3 2F 31 AA 37 AC 82 5A 55 B5 55 24 EE Transcient Key : 33 55 0B FC 4F 24 84 F4 9A 38 B3 D0 89 83 D2 49 73 F9 DE 89 67 A6 6D 2B 8E 46 2C 07 47 6A CE 08 AD FB 65 D6 13 A9 9F 2C 65 E4 A6 08 F2 5A 67 97 D9 6F 76 5B 8C D3 DF 13 2F BC DA 6A 6E D9 62 CD EAPOL HMAC : 52 27 B8 3F 73 7C 45 A0 05 97 69 5C 30 78 60 BD /usr/portage/net-wireless/aircrack-ng/aircrack-ng-0.6.2.ebuild: dyn_test aborted; exiting. sandbox: Caught signal 3 in pid 17840 4. works net-wireless/aircrack-ng-0.6.2 Portage 2.1.1-r1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.18.1 i686) ================================================================= System uname: 2.6.18.1 i686 Genuine Intel(R) CPU T2300 @ 1.66GHz Gentoo Base System version 1.12.5 Last Sync: Mon, 30 Oct 2006 17:50:01 +0000 ccache version 2.3 [disabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.3.5-r3, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--nospinner" FEATURES="autoconfig collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict test userfetch userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="en de en_GB de_CH" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X a52 aac acpi alsa apache2 asf berkdb bitmap-fonts cairo cdr cdrom cli cracklib crypt cups dbus divx dlloader dri dts dvd dvdr dvdread eds elibc_glibc emboss encode fam ffmpeg firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kde kernel_linux ldap libg++ linguas_de linguas_de_CH linguas_en linguas_en_GB mad mikmod mmx mono mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection rtsp samba sdl session smp spell spl sse sse2 sse3 ssl svg tcpd test tetex theora threads truetype truetype-fonts type1-fonts udev unicode userland_GNU vcd video_cards_fbdev video_cards_i810 video_cards_vesa vorbis win32codecs wxwindows x264 xine xml xorg xprint xv xvid zlib" Unset: CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
(In reply to comment #7) > sh: no job control in this shell <snip> > /usr/portage/net-wireless/aircrack-ng/aircrack-ng-0.6.2.ebuild: dyn_test > aborted; exiting. > > sandbox: Caught signal 3 in pid 17840 Thanks for checking! I thought I fixed this one... Please tell me how you emerge/ebuild, (command-line).
(In reply to comment #8) > Thanks for checking! > I thought I fixed this one... > Please tell me how you emerge/ebuild, (command-line). # emerge -1 aircrack are my FEATURES especially usersandbox/userpriv making problems?
(In reply to comment #9) > (In reply to comment #8) > > Thanks for checking! > > I thought I fixed this one... > > Please tell me how you emerge/ebuild, (command-line). > > # emerge -1 aircrack > are my FEATURES especially usersandbox/userpriv making problems? No. The problem is the way the test program was written. It should work, are you sure you have latest portage? The test command should be: /bin/sh -ci "./aircrack-ng test/wpa.cap <snip>'
yes latest (stable) protage installed. (see my emerge --info) I am able to run the test manually (ebuild xxx compile) and then # /bin/sh -ci "./aircrack-ng test/wpa.cap -w test/password.lst" this works as expected the strange thing I noticed is that the error message isn't the die message from the command (wpa failed...): /usr/portage/net-wireless/aircrack-ng/aircrack-ng-0.6.2.ebuild: dyn_test aborted; exiting. sandbox: Caught signal 3 in pid 9428
(In reply to comment #11) > the strange thing I noticed is that the error message isn't the die message > from the command (wpa failed...): > /usr/portage/net-wireless/aircrack-ng/aircrack-ng-0.6.2.ebuild: dyn_test > aborted; exiting. > > sandbox: Caught signal 3 in pid 9428 True. Since the test throughes signal to it-self (process group) in order to quit... And sandbox catches it. So I protected it using interactive shell... That should have caught the exception... At least on my side. I guess the problem is on the following messages from comment#7: >>> Source compiled. ___sh: no job control in this shell___ Opening test/wpa.cap So I cannot solve it in the simple way... I've committed a simple C program that suppose to do the trick. Please retry.
this works without problems. Thanks for the quick fix!
Last arch... marking as FIXED... x86 done