Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56542 - net-analyzer/ethereal-0.10.4 fails to compile: libnetsnmp.so
Summary: net-analyzer/ethereal-0.10.4 fails to compile: libnetsnmp.so
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-09 07:35 UTC by FieldySnuts
Modified: 2004-08-10 05:58 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 FieldySnuts 2004-07-09 07:35:27 UTC
net-analyzer/ethereal-0.10.4 fails to compile for me. Here is the tail end of the merge attempt:

gcc "-D_U_=__attribute__((unused))" -Wall -W -mcpu=pentium3 -O -pipe -fomit-frame-pointer -mmmx -msse -mfpmath=sse,387 -I/usr/local/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -mcpu=pentium3 -O2 -pipe -fomit-frame-pointer -mmmx -msse -mfpmath=sse,387 -Dlinux -I. -I/usr/include -o .libs/dftest dftest.o .libs/dftestS.o -Wl,--export-dynamic -Wl,--export-dynamic  -L/usr/local/lib wiretap/.libs/libwiretap.so epan/.libs/libethereal.so -L/usr/lib /usr/lib/libnetsnmp.so -lcrypto /usr/lib/libpcre.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -lm -lpcap -lz
/usr/lib/libnetsnmp.so: undefined reference to `des_cbc_encrypt'
/usr/lib/libnetsnmp.so: undefined reference to `des_key_sched'
/usr/lib/libnetsnmp.so: undefined reference to `des_ncbc_encrypt'
collect2: ld returned 1 exit status
make[2]: *** [tethereal] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/lib/libnetsnmp.so: undefined reference to `des_cbc_encrypt'
/usr/lib/libnetsnmp.so: undefined reference to `des_key_sched'
/usr/lib/libnetsnmp.so: undefined reference to `des_ncbc_encrypt'
collect2: ld returned 1 exit status
make[2]: *** [dftest] Error 1
/usr/lib/libnetsnmp.so: undefined reference to `des_cbc_encrypt'
/usr/lib/libnetsnmp.so: undefined reference to `des_key_sched'
/usr/lib/libnetsnmp.so: undefined reference to `des_ncbc_encrypt'
collect2: ld returned 1 exit status
make[2]: *** [ethereal] Error 1
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ethereal-0.10.4/work/ethereal-0.10.4'
make: *** [all] Error 2

!!! ERROR: net-analyzer/ethereal-0.10.4 failed.
!!! Function src_compile, Line 76, Exitcode 2
!!! compile problem





Portage 2.0.50-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.6.7)
=================================================================
System uname: 2.6.7 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.3.10
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=pentium3 -O2 -pipe -fomit-frame-pointer -mmmx -msse -mfpmath=sse,387"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=pentium3 -O2 -pipe -fomit-frame-pointer -mmmx -msse -mfpmath=sse,387"
DISTDIR="/home/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ http://gentoo.ccccom.com"
MAKEOPTS="-j3"
PKGDIR="/home/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/home/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X apache2 apm arts avi berkdb cdr chroot crypt encode foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde kerberos ldap libg++ libwww mad mikmod mmx motif mpeg mysql ncurses oggvorbis pam pdflib perl png pwdb python qt quicktime readline sdl slang snmp spell ssl tcpd tiff truetype x86 xml2 xv zlib"

I will attach the portage log.
Comment 1 FieldySnuts 2004-07-09 07:38:09 UTC
Portage log coming in a bit, I didn't have PORT_LOGDIR set...

However, on my 2nd try I noticed this near the beginning:

>>> Unpacking ethereal-0.10.4.tar.bz2 to /var/tmp/portage/ethereal-0.10.4/work
 * Patching ${S}/ltmain.sh...
 *   Could not apply portage.patch!
 *   Please verify that it is not needed.
 *   Applying relink-1.4.3.patch...
 *   Applying tmp-1.3.5.patch...
>>> Source unpacked.
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2004-07-09 07:46:39 UTC
i had the same problem

please upgrade to
net-snmp-5.1.1.ebuild
Comment 3 Eldad Zack (RETIRED) gentoo-dev 2004-07-09 08:19:39 UTC
Good thing you failed too :) 0.10.4 got swept away due to security issue.

I'll update 0.10.5-r1 (~arch'ed) to depend on net-snmp 5.1.1.

I will update 0.10.5 the same, but I need ppc and amd64 to mark net-snmp 5.1.1 stable first.

ppc/amd64 archs: please test and mark net-snmp 5.1.1 stable.
Comment 4 Eldad Zack (RETIRED) gentoo-dev 2004-07-09 08:34:50 UTC
ok, 0.10.5-r1 is updated.
btw, the patch error is due to an unneeded patch (fixed in 0.10.5-r1)
Comment 5 FieldySnuts 2004-07-09 08:36:29 UTC
Thanks, I'll try it out in a while.
Comment 6 FieldySnuts 2004-07-09 10:52:57 UTC
emerging snmp as directed earlier fixed this for me.
Comment 7 Lars Weiler (RETIRED) gentoo-dev 2004-07-09 14:53:58 UTC
The recent lib-snmp works since a couple of weeks on my ppc.  So it's now stable.  And the ethereal update is stable, too.

Removing ppc from Cc.
Comment 8 Eldad Zack (RETIRED) gentoo-dev 2004-07-14 12:18:36 UTC
Since 0.10.5 was marked stable on alpha, I need net-snmp-5.1.1 to be marked stable on alpha.

amd64 arch team... please mark stable...
Comment 9 Travis Tilley (RETIRED) gentoo-dev 2004-07-21 14:23:14 UTC
sorry for the delay
Comment 10 Eldad Zack (RETIRED) gentoo-dev 2004-08-10 05:52:30 UTC
alpha was marked stable on aug 8
Comment 11 Eldad Zack (RETIRED) gentoo-dev 2004-08-10 05:58:13 UTC
fixed in portage.