Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256545 - net-wireless/aircrack-ng-1.0_rc2 bump request
Summary: net-wireless/aircrack-ng-1.0_rc2 bump request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-27 19:26 UTC by Nicolas Uda
Modified: 2009-03-01 16:57 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to fix 64bit compilation issue (sha-compile-fix-64bit.patch,568 bytes, patch)
2009-01-31 17:39 UTC, toogle
Details | Diff
Ebuild for Aircrack-ng 1.0_rc2 (aircrack-ng-1.0_rc2.ebuild,1.11 KB, text/plain)
2009-01-31 17:41 UTC, toogle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Uda 2009-01-27 19:26:50 UTC
Aircrack-ng 1.0rc2 is released. Updating is recommended, there was a lot of bug fixes and improvments and 2 new tools were added: airdecloak-ng and tkiptun-ng. On Aircrack-ng, WPA bugs should be fixed and speed was greatly improved for computers that supports SSE2. Latest version of Airgraph-ng and Airoscript were included in this release.

Reproducible: Always

Steps to Reproduce:
Comment 1 Nicolas Uda 2009-01-27 19:30:38 UTC
renaming aircrack-ng-1.0_rc1.ebuild to aircrack-ng-1.0_rc2.ebuild does not work. The fetch is successfull but the actualy build fails miserably.

gcc -march=k8 -msse3 -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -Iinclude aircrack-ng.o crypto.o common.o uniqueiv.o aircrack-ptw-lib.o sha1-sse2.S -o aircrack-ng -lpthread -lssl -lcrypto -Wl,-O1 
sha1-sse2.S: Assembler messages:
sha1-sse2.S:417: Error: suffix or operands invalid for `push'
sha1-sse2.S:418: Error: suffix or operands invalid for `push'
sha1-sse2.S:419: Error: suffix or operands invalid for `push'
sha1-sse2.S:441: Error: suffix or operands invalid for `pop'
sha1-sse2.S:442: Error: suffix or operands invalid for `pop'
sha1-sse2.S:443: Error: suffix or operands invalid for `pop'
make[1]: *** [aircrack-ng] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-wireless/aircrack-ng-1.0_rc2/work/aircrack-ng-1.0-rc2/src'
make: *** [all] Error 2
 * 
 * ERROR: net-wireless/aircrack-ng-1.0_rc2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line  425:  Called die
 * The specific snippet of code:
 *       emake sqlite=$(have_sqlite) || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-wireless/aircrack-ng-1.0_rc2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-wireless/aircrack-ng-1.0_rc2/temp/environment'.
 * This ebuild is from an overlay named 'local': '/usr/local/portage/'
 * 
Comment 2 Benjamin Hodgetts 2009-01-31 12:26:02 UTC
So rc1 is broken because a source typo and rc2 doesn't compile because of SSE2 issues. Is there a working version of this app?
Comment 3 toogle 2009-01-31 17:39:08 UTC
Created attachment 180445 [details, diff]
Patch to fix 64bit compilation issue

Thanks to misterx
Comment 4 toogle 2009-01-31 17:41:34 UTC
Created attachment 180446 [details]
Ebuild for Aircrack-ng 1.0_rc2

Successfully built on my amd64 box
Comment 5 Florian GYS 2009-02-08 12:54:05 UTC
Same problem from comment#1 here.
Please add the 1.0_rc2 patched ebuild to portage.

***********emmerge --info*************
Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r1, 2.6.28-gentoo-r1 x86_64)             
=================================================================                                                            
System uname: Linux-2.6.28-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-glibc2.2.5                       
Timestamp of tree: Sun, 08 Feb 2009 10:45:01 +0000                                                                           
ccache version 2.4 [enabled]                                                                                                 
app-shells/bash:     3.2_p48                                                                                                 
dev-java/java-config: 1.3.7-r1, 2.1.7                                                                                        
dev-lang/python:     2.5.4-r2                                                                                                
dev-util/ccache:     2.4-r8                                                                                                  
dev-util/cmake:      2.6.2-r1                                                                                                
sys-apps/baselayout: 2.0.0                                                                                                   
sys-apps/openrc:     0.4.2                                                                                                   
sys-apps/sandbox:    1.3.2                                                                                                   
sys-devel/autoconf:  2.13, 2.63                                                                                              
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2                                                                         
sys-devel/binutils:  2.19.1                                                                                                  
sys-devel/gcc-config: 1.4.1                                                                                                  
sys-devel/libtool:   2.2.6a                                                                                                  
virtual/os-headers:  2.6.28-r1                                                                                               
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                               
CBUILD="x86_64-pc-linux-gnu"                                                                                                 
CFLAGS="-O2 -march=core2 -pipe -msse4.1"                                                                                     
CHOST="x86_64-pc-linux-gnu"                                                                                                  
CONFIG_PROTECT="/etc /usr/share/config"                                                                                      
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"                                           
CXXFLAGS="-O2 -march=core2 -pipe -msse4.1"                                                                                   
DISTDIR="/usr/portage/distfiles"                                                                                             
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"        
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://mirror.ovh.net/gentoo-distfiles/ ftp://gentoo.imj.fr/pub/gentoo/ http://ftp.first-world.info/ ftp://ftp.first-world.info/ "                      
LANG="fr_FR.UTF-8"                                                                                                           
LDFLAGS="-Wl,-O1"
LINGUAS="fr"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --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="X acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cddb cdr cli cracklib crypt cups dbus dri dvb dvd dvdr dvdread eds emboss encode esd evo fam firefox firefox3 fortran fuse gdbm gif glib gpm gstreamer gtk hal htmlhandbook iconv id3tagipv6 isdnlog java jce jpeg jpeg2k kde kerberos laptop ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap multilib mysql ncurses networkmanager nls nptl nptlonly nsplugin ntfs nvidia ogg openexr opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session smp spell spl sse sse2 sse3 sse4 ssl ssse3 startup-notification svg sysfs tcpd threads tiff truetype unicode usb vorbis x264 xcomposite xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear metermmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canonptp2" ELIBC="glibc" INPUT_DEVICES="keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

******************************************************************************
 
x86_64-pc-linux-gnu-gcc -O2 -march=core2 -pipe -msse4.1 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -I/usr/local/include -DHAVE_SQLITE -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -I/usr/local/include -DHAVE_SQLITE -Iinclude aircrack-ng.o crypto.o common.o uniqueiv.o aircrack-ptw-lib.o sha1-sse2.S -o aircrack-ng -lpthread -lssl -lcrypto -Wl,-O1 -L/usr/local/lib -lsqlite3               
sha1-sse2.S: Assembler messages:                                                                                             
sha1-sse2.S:417: Error: suffix or operands invalid for `push'                                                                
sha1-sse2.S:418: Error: suffix or operands invalid for `push'                                                                
sha1-sse2.S:419: Error: suffix or operands invalid for `push'                                                                
sha1-sse2.S:441: Error: suffix or operands invalid for `pop'                                                                 
sha1-sse2.S:442: Error: suffix or operands invalid for `pop'                                                                 
sha1-sse2.S:443: Error: suffix or operands invalid for `pop'                                                                 
make[1]: *** [aircrack-ng] Error 1                                                                                           
make[1]: *** Waiting for unfinished jobs....                                                                                 
make[1]: Leaving directory `/var/tmp/portage/net-wireless/aircrack-ng-1.0_rc2/work/aircrack-ng-1.0-rc2/src'                  
make: *** [all] Error 2                                                                                                      
 *                                                                                                                           
 * ERROR: net-wireless/aircrack-ng-1.0_rc2 failed.                                                                           
 * Call stack:                                                                                                               
 *               ebuild.sh, line   49:  Called src_compile                                                                   
 *             environment, line 1049:  Called die                                                                           
 * The specific snippet of code:                                                                                             
 *       emake CC="$(tc-getCC)" LD="$(tc-getLD)" sqlite=$(have_sqlite) || die "emake failed"                                 
 *  The die message:                                                                                                         
 *   emake failed                                                                                                            
 *                                                                                                                           
 * If you need support, post the topmost build error, and the call stack if relevant.                                        
 * A complete build log is located at '/var/tmp/portage/net-wireless/aircrack-ng-1.0_rc2/temp/build.log'.                    
 * The ebuild environment file is located at '/var/tmp/portage/net-wireless/aircrack-ng-1.0_rc2/temp/environment'.           
Comment 6 Nicolas Uda 2009-02-09 19:13:01 UTC
Current upstream also has a fix. Im using ana svn build right now and it compiles fine. RC3 should fix this problem
Comment 7 Alexandre Ney 2009-02-16 10:49:12 UTC
Heh, I had the same problem but it is fixed thanks to toogle. That brings me to a question : How come it takes so long to integrate that patch to portage when the new ebuild and patch have been provided ?

Don't get me wrong, i'm not trying to be an a** i'm just wondering and want to help out if possible :)
Comment 8 Alexandre Ney 2009-02-16 10:49:28 UTC
Heh, I had the same problem but it is fixed thanks to toogle. That brings me to a question : How come it takes so long to integrate that patch to portage when the new ebuild and patch have been provided ?

Don't get me wrong, i'm not trying to be an a** i'm just wondering and want to help out if possible :)
Comment 9 Patrick Lauer gentoo-dev 2009-03-01 16:48:44 UTC
(In reply to comment #8)
> That brings me to
> a question : How come it takes so long to integrate that patch to portage when
> the new ebuild and patch have been provided ?

Mostly manpower ... there's about 300 devs to ~13000 packages ... you do the math ;)

> Don't get me wrong, i'm not trying to be an a** i'm just wondering and want to
> help out if possible :)
Well, filing and commenting on bugs is a good first step. Feel free to bug me if you have any other interesting bugs you want to have fixed ...

Comment 10 Patrick Lauer gentoo-dev 2009-03-01 16:57:50 UTC
+*aircrack-ng-1.0_rc2 (01 Mar 2009)
+
+  01 Mar 2009; Patrick Lauer <patrick@gentoo.org>
+  +files/sha-compile-fix-64bit.patch, +aircrack-ng-1.0_rc2.ebuild:
+  Bump to 1.0_rc2, fixes #256545. Patch by toogle <commando2004@yandex.ru>.