Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 338086 - net-analyzer/dsniff-2.4_beta1-r4 fails during parallel builds
Summary: net-analyzer/dsniff-2.4_beta1-r4 fails during parallel builds
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
: 338254 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-19 23:46 UTC by Nathan Phillip Brink (binki) (RETIRED)
Modified: 2010-09-22 14:23 UTC (History)
2 users (show)

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


Attachments
/tmp/dsniff-2.4_beta1-build.log (dsniff-2.4_beta1-build.log,24.50 KB, text/plain)
2010-09-19 23:46 UTC, Nathan Phillip Brink (binki) (RETIRED)
Details
/home/ohnobinki/gentoo-x86-cvs/net-analyzer/dsniff/files/dsniff-2.4_beta1-makefile-parallel.patch (dsniff-2.4_beta1-makefile-parallel.patch,342 bytes, text/plain)
2010-09-19 23:47 UTC, Nathan Phillip Brink (binki) (RETIRED)
Details
files/2.4_beta1-make.patch (2.4_beta1-make.patch,2.11 KB, text/plain)
2010-09-20 22:04 UTC, Nathan Phillip Brink (binki) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-09-19 23:46:16 UTC
see attached build.log and patch
Comment 1 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-09-19 23:46:38 UTC
Created attachment 248056 [details]
/tmp/dsniff-2.4_beta1-build.log
Comment 2 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-09-19 23:47:25 UTC
Created attachment 248058 [details]
/home/ohnobinki/gentoo-x86-cvs/net-analyzer/dsniff/files/dsniff-2.4_beta1-makefile-parallel.patch
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2010-09-20 11:07:31 UTC
Couldn't reproduce it, but it looks good.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2010-09-20 11:07:39 UTC
It's in -r5.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2010-09-20 19:38:40 UTC
>>> Compiling source in /var/tmp/portage/net-analyzer/dsniff-2.4_beta1-r5/work/dsniff-2.4 ...
make -j10 CC=i686-pc-linux-gnu-gcc
i686-pc-linux-gnu-gcc -O2 -pipe -Wall -ggdb -march=athlon-xp -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H  -I.  -I./missing  -c ./arpspoof.c
i686-pc-linux-gnu-gcc -O2 -pipe -Wall -ggdb -march=athlon-xp -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H  -I.  -I./missing  -c ./arp.c
i686-pc-linux-gnu-gcc -O2 -pipe -Wall -ggdb -march=athlon-xp -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H  -I.  -I./missing  -c ./missing/dummy.c
i686-pc-linux-gnu-gcc -O2 -pipe -Wall -ggdb -march=athlon-xp -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H  -I.  -I./missing  -c ./missing/strlcpy.c
i686-pc-linux-gnu-gcc -O2 -pipe -Wall -ggdb -march=athlon-xp -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H  -I.  -I./missing  -c ./missing/strlcat.c
i686-pc-linux-gnu-gcc -O2 -pipe -Wall -ggdb -march=athlon-xp -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H  -I.  -I./missing  -c ./missing/md5.c
i686-pc-linux-gnu-gcc -O2 -pipe -Wall -ggdb -march=athlon-xp -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H  -I.  -I./missing  -c ./dnsspoof.c
make: *** No rule to make target `mount.h', needed by `pcaputil.o'.  Stop.
make: *** Waiting for unfinished jobs....
./arp.c: In function ‘arp_cache_lookup’:
./arp.c:107: warning: dereferencing pointer ‘sin’ does break strict-aliasing rules
./arp.c:106: warning: dereferencing pointer ‘sin’ does break strict-aliasing rules
./arp.c:105: note: initialized from here
./arpspoof.c: In function ‘arp_send’:
./arpspoof.c:58: warning: pointer targets in assignment differ in signedness
./dnsspoof.c: In function ‘dns_spoof’:
./dnsspoof.c:227: warning: pointer targets in assignment differ in signedness
./dnsspoof.c:231: warning: pointer targets in passing argument 1 of ‘__dn_comp’ differ in signedness
/usr/include/resolv.h:353: note: expected ‘const char *’ but argument is of type ‘u_char *’
emake failed
 * ERROR: net-analyzer/dsniff-2.4_beta1-r5 failed:
 *   emake failed
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2010-09-20 19:41:12 UTC
SRCS    = [...] pcaputil.c [...]

GEN = mount.h [...]               <-- mount.h

OBJS    = $(SRCS:.c=.o)           <-- pcaputil.o

$(OBJS): $(GEN)

Comment 7 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-09-20 22:04:44 UTC
Created attachment 248211 [details]
files/2.4_beta1-make.patch

Fixes the original bug and the new problem introduced by my first patch.
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2010-09-20 22:20:23 UTC
Fixed again.
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2010-09-21 15:35:48 UTC
*** Bug 338254 has been marked as a duplicate of this bug. ***
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2010-09-22 14:23:45 UTC
(In reply to comment #8)
> Fixed again.

Very sorry, but it seems my last commit failed somehow - the commit did succeed just now so the fix should be on a mirror near you in around an hour from now.