Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130741 - net-wireless/aircrack && net-wireless/aircrack-ng
Summary: net-wireless/aircrack && net-wireless/aircrack-ng
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-21 08:20 UTC by Michal Jakubowski
Modified: 2011-10-30 22:39 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Jakubowski 2006-04-21 08:20:56 UTC
I have a problem, let's look:
Sorcerer / # emerge net-wireless/aircrack
Calculating dependencies... done!
>>> Emerging (1 of 1) net-wireless/aircrack-2.41-r1 to /
>>> checksums files   ;-) aircrack-2.41-r1.ebuild
>>> checksums files   ;-) files/aircrack-2.41-stack.diff
>>> checksums files   ;-) files/digest-aircrack-2.41-r1
>>> checksums src_uri ;-) aircrack-2.41.tgz
>>> Unpacking source...
>>> Unpacking aircrack-2.41.tgz to /var/tmp/portage/aircrack-2.41-r1/work
 * Applying aircrack-2.41-stack.diff ...                                  [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/aircrack-2.41-r1/work/aircrack-2.41 ...
In file included from /usr/include/asm/siginfo.h:4,
                 from /usr/include/linux/signal.h:7,
                 from /usr/include/linux/sched.h:28,
                 from /usr/include/linux/smp_lock.h:6,
                 from /usr/include/linux/hardirq.h:6,
                 from /usr/include/linux/interrupt.h:11,
                 from /usr/include/linux/rtc.h:14,
                 from linux/aireplay.c:23:
/usr/include/asm-generic/siginfo.h:60: error: size of array `_pad' is too large
In file included from linux/aireplay.c:26:
/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 linux/aireplay.c:26:
/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 linux/aireplay.c:26:
/usr/include/sys/select.h:38: error: conflicting types for 'sigset_t'
/usr/include/asm/signal.h:31: error: previous declaration of 'sigset_t' was here
In file included from /usr/include/sys/select.h:44,
                 from /usr/include/sys/types.h:220,
                 from linux/aireplay.c:26:
/usr/include/time.h:122: error: redefinition of `struct timespec'
In file included from /usr/include/sys/select.h:46,
                 from /usr/include/sys/types.h:220,
                 from linux/aireplay.c:26:
/usr/include/bits/time.h:70: error: redefinition of `struct timeval'
In file included from /usr/include/sys/types.h:220,
                 from linux/aireplay.c:26:
/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 /usr/include/signal.h:212,
                 from /usr/include/sys/wait.h:31,
                 from linux/aireplay.c:28:
/usr/include/bits/siginfo.h:34: error: redefinition of `union sigval'
/usr/include/bits/siginfo.h:52: error: redefinition of `struct siginfo'
/usr/include/bits/siginfo.h:65: error: syntax error before '.' token
/usr/include/bits/siginfo.h:66: error: syntax error before '.' token
/usr/include/bits/siginfo.h:72: error: syntax error before '.' token
/usr/include/bits/siginfo.h:73: error: syntax error before '.' token
/usr/include/bits/siginfo.h:75: error: syntax error before '}' token
/usr/include/bits/siginfo.h:80: error: syntax error before '.' token
/usr/include/bits/siginfo.h:81: error: syntax error before '.' token
/usr/include/bits/siginfo.h:83: error: syntax error before '}' token
/usr/include/bits/siginfo.h:88: error: syntax error before '.' token
/usr/include/bits/siginfo.h:89: error: syntax error before '.' token
/usr/include/bits/siginfo.h:90: error: syntax error before '.' token
/usr/include/bits/siginfo.h:91: error: syntax error before '.' token
/usr/include/bits/siginfo.h:92: error: syntax error before '.' token
/usr/include/bits/siginfo.h:98: error: syntax error before '.' token
/usr/include/bits/siginfo.h:104: error: syntax error before '.' token
/usr/include/bits/siginfo.h:105: error: syntax error before '.' token
/usr/include/bits/siginfo.h:107: error: syntax error before '}' token
/usr/include/bits/siginfo.h:108: error: syntax error before '}' token
/usr/include/bits/siginfo.h:133: error: syntax error before '-' token
/usr/include/bits/siginfo.h:155: error: syntax error before '(' token
/usr/include/bits/siginfo.h:176: error: syntax error before '(' token
/usr/include/bits/siginfo.h:197: error: syntax error before '(' token
/usr/include/bits/siginfo.h:206: error: syntax error before '(' token
/usr/include/bits/siginfo.h:217: error: syntax error before '(' token
/usr/include/bits/siginfo.h:226: error: syntax error before '(' token
/usr/include/bits/siginfo.h:243: error: syntax error before '(' token
/usr/include/bits/siginfo.h:274: error: redefinition of `struct sigevent'
/usr/include/bits/siginfo.h:302: error: syntax error before numeric constant
In file included from /usr/include/signal.h:246,
                 from /usr/include/sys/wait.h:31,
                 from linux/aireplay.c:28:
/usr/include/bits/sigaction.h:26: error: redefinition of `struct sigaction'
/usr/include/bits/sigaction.h:32: error: syntax error before '.' token
/usr/include/bits/sigaction.h:34: error: syntax error before '.' token
/usr/include/bits/sigaction.h:51: error: syntax error before '}' token
In file included from /usr/include/signal.h:348,
                 from /usr/include/sys/wait.h:31,
                 from linux/aireplay.c:28:
/usr/include/bits/sigstack.h:36: error: syntax error before numeric constant
/usr/include/bits/sigstack.h:51: error: redefinition of `struct sigaltstack'
In file included from /usr/include/sys/resource.h:25,
                 from /usr/include/sys/wait.h:32,
                 from linux/aireplay.c:28:
/usr/include/bits/resource.h:36: error: syntax error before numeric constant
/usr/include/bits/resource.h:63: error: syntax error before numeric constant
/usr/include/bits/resource.h:69: error: syntax error before numeric constant
/usr/include/bits/resource.h:136: error: redefinition of `struct rlimit'
/usr/include/bits/resource.h:157: error: syntax error before numeric constant
In file included from /usr/include/sys/resource.h:25,
                 from /usr/include/sys/wait.h:32,
                 from linux/aireplay.c:28:
/usr/include/bits/resource.h:170: error: redefinition of `struct rusage'
/usr/include/bits/resource.h:219: error: syntax error before numeric constant
In file included from linux/aireplay.c:28:
/usr/include/sys/wait.h:104: error: syntax error before numeric constant
In file included from linux/aireplay.c:30:
/usr/include/sys/time.h:58: error: redefinition of `struct timezone'
/usr/include/sys/time.h:96: error: syntax error before numeric constant
/usr/include/sys/time.h:110: error: redefinition of `struct itimerval'
In file included from linux/aireplay.c:40:
/usr/include/time.h:163: error: redefinition of `struct itimerspec'
make: *** [aireplay] Error 1

!!! ERROR: net-wireless/aircrack-2.41-r1 failed.
Call stack:
  ebuild.sh, line 1532:   Called dyn_compile
  ebuild.sh, line 929:   Called src_compile
  aircrack-2.41-r1.ebuild, line 30:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
--------------------------------
Sorcerer / # emerge net-wireless/aircrack-ng
Calculating dependencies... done!
>>> Emerging (1 of 1) net-wireless/aircrack-ng-0.4 to /
>>> checksums files   ;-) aircrack-ng-0.4.ebuild
>>> checksums files   ;-) files/digest-aircrack-ng-0.4
>>> checksums src_uri ;-) aircrack-ng-0.4.tar.gz
>>> Unpacking source...
>>> Unpacking aircrack-ng-0.4.tar.gz to /var/tmp/portage/aircrack-ng-0.4/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/aircrack-ng-0.4/work/aircrack-ng-0.4 ...
In file included from /usr/include/asm/siginfo.h:4,
                 from /usr/include/linux/signal.h:7,
                 from /usr/include/linux/sched.h:28,
                 from /usr/include/linux/smp_lock.h:6,
                 from /usr/include/linux/hardirq.h:6,
                 from /usr/include/linux/interrupt.h:11,
                 from /usr/include/linux/rtc.h:14,
                 from src/aireplay-ng.c:24:
/usr/include/asm-generic/siginfo.h:60: error: size of array `_pad' is too large
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:38: error: conflicting types for 'sigset_t'
/usr/include/asm/signal.h:31: error: previous declaration of 'sigset_t' was here
In file included from /usr/include/sys/select.h:44,
                 from /usr/include/sys/types.h:220,
                 from src/aireplay-ng.c:27:
/usr/include/time.h:122: error: redefinition of `struct timespec'
In file included from /usr/include/sys/select.h:46,
                 from /usr/include/sys/types.h:220,
                 from src/aireplay-ng.c:27:
/usr/include/bits/time.h:70: error: redefinition of `struct timeval'
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 /usr/include/signal.h:212,
                 from /usr/include/sys/wait.h:31,
                 from src/aireplay-ng.c:29:
/usr/include/bits/siginfo.h:34: error: redefinition of `union sigval'
/usr/include/bits/siginfo.h:52: error: redefinition of `struct siginfo'
/usr/include/bits/siginfo.h:65: error: syntax error before '.' token
/usr/include/bits/siginfo.h:66: error: syntax error before '.' token
/usr/include/bits/siginfo.h:72: error: syntax error before '.' token
/usr/include/bits/siginfo.h:73: error: syntax error before '.' token
/usr/include/bits/siginfo.h:75: error: syntax error before '}' token
/usr/include/bits/siginfo.h:80: error: syntax error before '.' token
/usr/include/bits/siginfo.h:81: error: syntax error before '.' token
/usr/include/bits/siginfo.h:83: error: syntax error before '}' token
/usr/include/bits/siginfo.h:88: error: syntax error before '.' token
/usr/include/bits/siginfo.h:89: error: syntax error before '.' token
/usr/include/bits/siginfo.h:90: error: syntax error before '.' token
/usr/include/bits/siginfo.h:91: error: syntax error before '.' token
/usr/include/bits/siginfo.h:92: error: syntax error before '.' token
/usr/include/bits/siginfo.h:98: error: syntax error before '.' token
/usr/include/bits/siginfo.h:104: error: syntax error before '.' token
/usr/include/bits/siginfo.h:105: error: syntax error before '.' token
/usr/include/bits/siginfo.h:107: error: syntax error before '}' token
/usr/include/bits/siginfo.h:108: error: syntax error before '}' token
/usr/include/bits/siginfo.h:133: error: syntax error before '-' token
/usr/include/bits/siginfo.h:155: error: syntax error before '(' token
/usr/include/bits/siginfo.h:176: error: syntax error before '(' token
/usr/include/bits/siginfo.h:197: error: syntax error before '(' token
/usr/include/bits/siginfo.h:206: error: syntax error before '(' token
/usr/include/bits/siginfo.h:217: error: syntax error before '(' token
/usr/include/bits/siginfo.h:226: error: syntax error before '(' token
/usr/include/bits/siginfo.h:243: error: syntax error before '(' token
/usr/include/bits/siginfo.h:274: error: redefinition of `struct sigevent'
/usr/include/bits/siginfo.h:302: error: syntax error before numeric constant
In file included from /usr/include/signal.h:246,
                 from /usr/include/sys/wait.h:31,
                 from src/aireplay-ng.c:29:
/usr/include/bits/sigaction.h:26: error: redefinition of `struct sigaction'
/usr/include/bits/sigaction.h:32: error: syntax error before '.' token
/usr/include/bits/sigaction.h:34: error: syntax error before '.' token
/usr/include/bits/sigaction.h:51: error: syntax error before '}' token
In file included from /usr/include/signal.h:348,
                 from /usr/include/sys/wait.h:31,
                 from src/aireplay-ng.c:29:
/usr/include/bits/sigstack.h:36: error: syntax error before numeric constant
/usr/include/bits/sigstack.h:51: error: redefinition of `struct sigaltstack'
In file included from /usr/include/sys/resource.h:25,
                 from /usr/include/sys/wait.h:32,
                 from src/aireplay-ng.c:29:
/usr/include/bits/resource.h:36: error: syntax error before numeric constant
/usr/include/bits/resource.h:63: error: syntax error before numeric constant
/usr/include/bits/resource.h:69: error: syntax error before numeric constant
/usr/include/bits/resource.h:136: error: redefinition of `struct rlimit'
/usr/include/bits/resource.h:157: error: syntax error before numeric constant
In file included from /usr/include/sys/resource.h:25,
                 from /usr/include/sys/wait.h:32,
                 from src/aireplay-ng.c:29:
/usr/include/bits/resource.h:170: error: redefinition of `struct rusage'
/usr/include/bits/resource.h:219: error: syntax error before numeric constant
In file included from src/aireplay-ng.c:29:
/usr/include/sys/wait.h:104: error: syntax error before numeric constant
In file included from src/aireplay-ng.c:31:
/usr/include/sys/time.h:58: error: redefinition of `struct timezone'
/usr/include/sys/time.h:96: error: syntax error before numeric constant
/usr/include/sys/time.h:110: error: redefinition of `struct itimerval'
In file included from src/aireplay-ng.c:41:
/usr/include/time.h:163: error: redefinition of `struct itimerspec'
make: *** [aireplay-ng] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: net-wireless/aircrack-ng-0.4 failed.
Call stack:
  ebuild.sh, line 1532:   Called dyn_compile
  ebuild.sh, line 929:   Called src_compile
  aircrack-ng-0.4.ebuild, line 19:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
------------------------------------
Sorcerer / # emerge --info
Portage 2.1_pre7-r5 (default-linux/x86/2005.1, gcc-3.4.6-vanilla, glibc-2.4-r2, 2.6.16-hardened-r1 i686)
=================================================================
System uname: 2.6.16-hardened-r1 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.12.0_pre17
ccache version 2.4 [enabled]
dev-lang/python:     2.3.4-r1, 2.4.2-r1
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-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -mfpmath=sse,387 -O2 -s -pipe -fomit-frame-pointer -fstack-protector -m3dnow -msse -mmmx -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon-xp -mfpmath=sse,387 -O2 -s -pipe -fomit-frame-pointer -fstack-protector -m3dnow -msse -mmmx -ftracer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig buildpkg ccache confcache distlocks metadata-transfer parallel-fetch prelink sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.prz.edu.pl http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="pl_PL"
LC_ALL="pl_PL"
LDFLAGS="-Wl,-O1,--enable-new-dtags,--sort-common,-Bdirect -s"
LINGUAS="pl"
MAKEOPTS="-j2 -s"
PKGDIR="/home/demon/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage-xgl /usr/local/xgl-coffee /usr/local/portage"
SYNC="rsync://gentoo.prz.edu.pl/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d adsl alsa apache2 apic apm arts atm avi berkdb bitmap-fonts cairo cdparanoia cdrom cli cmov crypt cups curl cx8 de dhcp divx4linux dri dv dvd dvdr dvdread dvi eds elibc_glibc emboss encode esd extramodules fam foomaticdb fortran fpu fxsr gdbm gg gif glitz gnome gpm gstreamer gtk gtk2 hal halimlib hardened hddtemp imlib ipv6 irssi isdnlog java jpeg kde kernel_linux libg++ libwww linguas_pl lirc mad mca mce mikmod mmx mmx2 mmxext motif mozilla mp3 mpeg mpeg2 mplayer msr mtrr mysql ncurses network nls nptl nptlonly ntfs nvidia ogg oggvorbis opengl opera oss pae pam pat pcre pdf pdflib perl pge pic png ppdsdvdr pppd pse pse36 python qt quicktime readline reflection sdl sep serial server session spell spl sse ssl syscall tcpd tiff transcode truetype truetype-fonts tsc type1-fonts usb userland_GNU vme voice vorbis win32codecs wmf wxGTK wxgtk1 x86 xml xml2 xmms xorg xprint xv zlib input_devices_keyboard input_devices_mouse video_cards_nvidia video_cards_vesa video_cards_fbdev video_cards_nv video_cards_vga"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK


Salute
Comment 1 Michal Jakubowski 2006-04-25 11:19:56 UTC
No ideas ?? ;-(

Salute
Comment 2 Jan Meier 2006-05-04 00:48:51 UTC
aircrack and aircrack-ng compiled fine here, I think it is a problem with the hardened gcc.
Comment 3 RB 2006-05-11 10:16:36 UTC
I don't run hardened-sources (suspend2-sources instead), but what I do run out of the ordinary is linux-headers-2.6.16.  This program compiles fine on my hardened-sources + linux-headers-2.6.11 system, but not on my suspend2-sources + linux-headers-2.6.16 one.  The errors I see would seem to indicate thus.
Comment 4 Michal Jakubowski 2006-05-24 12:36:14 UTC
Problem is SOLVED
emerge -C =sys-kernel/linux-headers-2.6.16 && emerge =sys-kernel/linux-headers-2.6.11-r6


Salut
Comment 5 RB 2006-05-24 15:39:55 UTC
Changing header versions isn't an option for me; I don't think that's exactly a solution anyway - we're all going to 2.6.16 eventually.