Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152236 - emerge fails on dsniff-2.3-r10
Summary: emerge fails on dsniff-2.3-r10
Status: RESOLVED DUPLICATE of bug 146573
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal minor (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-21 05:57 UTC by Sven Steinmetz
Modified: 2006-10-21 06:15 UTC (History)
0 users

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 Sven Steinmetz 2006-10-21 05:57:03 UTC
emerge --info
Portage 2.1.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r12 i686)
=================================================================
System uname: 2.6.16-gentoo-r12 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.12.5
Last Sync: Sat, 21 Oct 2006 09:20: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-r2, 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="-march=pentium3 -msse2 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium3 -msse2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.stud.fh-dortmund.de/mirror/gentoo http://distfiles.gentoo.org"
LINGUAS="de"
MAKEOPTS="-j2"
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://linux.rz.ruhr-uni-bochum.de/gentoo-portage/"
USE="x86 X acpi alsa apache2 apm arts berkdb bitmap-fonts cdr cli cracklib crypt cups dlloader dri dvd elibc_glibc emboss encode esd foomaticdb fortran gdbm gif gpm gtk2 imlib input_devices_keyboard input_devices_mouse isdnlog jpeg kde kernel_linux libg++ libwww linguas_de mad mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdf perl png pppd python qt qt3 qt4 quicktime readline reflection samba sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev usb userland_GNU video_cards_ati video_cards_radeon video_cards_vesa video_cards_vga vorbis xml xmms xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

#### error message begin #####
make: *** [sshcrypto.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: net-analyzer/dsniff-2.3-r10 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  dsniff-2.3-r10.ebuild, line 62:   Called die

!!! emake failed
#### error message end #####

##### the topmost build error begin #####
./sshcrypto.c:25: error: field 'key' has incomplete type
./sshcrypto.c:30: error: expected specifier-qualifier-list before 'des_key_schedule'
./sshcrypto.c: In function 'blowfish_encrypt':
./sshcrypto.c:131: error: 'BF_ENCRYPT' undeclared (first use in this function)
##### the topmost build error end #####

##### reason #####
after googling for "sshcrypto error incomplete" i've found the reason here
h**p://lists.freebsd.org/pipermail/freebsd-ports-bugs/2006-April/085034.html

##### my workaround #####
1.) I've added the following lines to "2.3-libnet-1.0.patch"

diff -U 0 -r dsniff-2.3.orig/sshcrypto.c dsniff-2.3/sshcrypto.c
--- dsniff-2.3.orig/sshcrypto.c 2000-11-28 22:23:28.000000000 +0100
+++ dsniff-2.3/sshcrypto.c      2006-10-21 13:03:04.000000000 +0200
@@ -16,0 +17,3 @@
+#include <openssl/blowfish.h>
+#include <openssl/des.h>
+#include <openssl/des_old.h>

2.) ebuild /usr/portage/net-analyzer/dsniff/dsniff-2.3-r10.ebuild digest

3.) emerge net-analyzer/dsniff-2.3-r10 completes successful
Comment 1 Sven Steinmetz 2006-10-21 06:15:28 UTC
this bug is a duplicate of #146573

*** This bug has been marked as a duplicate of 146573 ***