Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21180 - wepattack-0.1.3 fails to emerge (Patch)
Summary: wepattack-0.1.3 fails to emerge (Patch)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Wolfram Schlich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-18 05:36 UTC by Mamoru KOMACHI (RETIRED)
Modified: 2003-10-20 17:05 UTC (History)
1 user (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 Mamoru KOMACHI (RETIRED) gentoo-dev 2003-05-18 05:36:14 UTC
When I try to emerge wepattack-0.1.3.ebuild, I get the error 
messege shown below and fail to build:


# emerge wepattack
Calculating dependencies ...done!
>>> emerge (1 of 1) net-wireless/wepattack-0.1.3 to /
--- No package manifest found: /usr/portage/net-wireless/wepattack/Manifest
>>> md5 src_uri ;-) WepAttack-0.1.3.tar.gz
>>> Unpacking source...
>>> Unpacking WepAttack-0.1.3.tar.gz to /var/tmp/portage/wepattack-0.1.3/work
>>> Source unpacked.
gcc -O -mcpu=pentium3 -pipe -fno-for-scope -c -D__LINUX_WLAN__ -D__I386__ -o wepattack.o wepattack.c
gcc -O -mcpu=pentium3 -pipe -fno-for-scope -c -D__LINUX_WLAN__ -D__I386__ -o rc4.o rc4.c
gcc -O -mcpu=pentium3 -pipe -fno-for-scope -c -D__LINUX_WLAN__ -D__I386__ -o wepfilter.o wepfilter.c
gcc -O -mcpu=pentium3 -pipe -fno-for-scope -c -D__LINUX_WLAN__ -D__I386__ -o log.o log.c
gcc -O -mcpu=pentium3 -pipe -fno-for-scope -c -D__LINUX_WLAN__ -D__I386__ -o modes.o modes.c
modes.c:25:30: wlan/wlan_compat.h: No such file or directory
modes.c:26:28: wlan/p80211hdr.h: No such file or directory
gcc -O -mcpu=pentium3 -pipe -fno-for-scope -c -D__LINUX_WLAN__ -D__I386__ -o misc.o misc.c
make: *** [modes.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: net-wireless/wepattack-0.1.3 failed.
!!! Function src_compile, Line 24, Exitcode 2
!!! (no error message)


It is due to a permission problem in src directory and the following
patch will solve the problem.

--- wepattack-0.1.3.ebuild.ORIG	2003-02-14 00:30:10.000000000 +0900
+++ wepattack-0.1.3.ebuild	2003-05-18 18:18:42.000000000 +0900
@@ -21,6 +21,7 @@
 	cd src
 	cp Makefile{,.old}
 	sed -e "/^CFLAGS=/s:=:=${CFLAGS} :" Makefile.old > Makefile
+	chmod a+x wlan
 	emake || die
 }
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-05-18 16:45:48 UTC
do you use USERPRIV ?

as root i've no problem
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2003-05-19 06:14:33 UTC
My goodness! I put FEATURES="userpriv" as you mentioned.
Once I removed it from FEATURES the error messege went away.
Thank you for reminding me of that and I apologise that I
didn't check it for myself.

So I'll close this bug and mark it as INVALID. Thanks again.
Comment 3 Wolfram Schlich (RETIRED) gentoo-dev 2003-10-20 16:50:24 UTC
Why has this been closed? It *is* a problem with 'userpriv'.
Comment 4 Wolfram Schlich (RETIRED) gentoo-dev 2003-10-20 17:05:15 UTC
It's in CVS right now.