Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39026 - Can't install Digest-HMAC
Summary: Can't install Digest-HMAC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
: 36634 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-01-22 05:35 UTC by Bjørn Erik Halvorsen
Modified: 2004-11-16 14:38 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 Bjørn Erik Halvorsen 2004-01-22 05:35:56 UTC
I get the following when installing Digest-HMAC

!!! ERROR: dev-perl/Digest-HMAC-1.01-r1 failed.
!!! Function src_compile, Line 22, Exitcode 2
!!! Tests didn't work out. Aborting!

This are the last lines, I also get this.

perl-module
perl-module
perl-module
>>> Unpacking source...
>>> Unpacking Digest-HMAC-1.01.tar.gz to /var/tmp/portage/Digest-HMAC-1.01-r1/work
>>> Source unpacked.
perl-module
Checking if your kit is complete...
Looks good
Writing Makefile for Digest::HMAC
cp lib/Digest/HMAC_MD5.pm blib/lib/Digest/HMAC_MD5.pm
cp lib/Digest/HMAC.pm blib/lib/Digest/HMAC.pm
cp lib/Digest/HMAC_SHA1.pm blib/lib/Digest/HMAC_SHA1.pm
Manifying blib/man3/Digest::HMAC_MD5.3pm
Manifying blib/man3/Digest::HMAC.3pm
Manifying blib/man3/Digest::HMAC_SHA1.3pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/rfc2202....dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 8-14
        Failed 7/14 tests, 50.00% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/rfc2202.t  255 65280    14   14 100.00%  8-14
Calculating dependencies  ...done!
>>> emerge (1 of 5) dev-perl/Digest-HMAC-1.01-r1 to /
>>> md5 src_uri ;-) Digest-HMAC-1.01.tar.gz
Comment 1 Bjørn Erik Halvorsen 2004-01-22 06:11:47 UTC
All I had to was to:
emerge Digest-SHA1
emerge Digest-MD5
emerge Digest-HMAC 
And then everything was okay.

I found this when I installing Spamassassin with:
emerge Mail-SpamAssassin
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2004-01-22 06:33:47 UTC
then this package has wrong depend
Comment 3 Eric Sammer (RETIRED) gentoo-dev 2004-01-25 12:25:59 UTC
What version of portage are you using? Could you add the output of 'emerge info' please?
Comment 4 Bjørn Erik Halvorsen 2004-01-25 14:52:11 UTC
emerge info
Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.20-xfs-r5)
=================================================================
System uname: 2.4.20-xfs-r5 i686 AMD Athlon(TM) XP 1900+
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://212.219.247.13/sites/www.ibiblio.org/gentoo/ http://212.219.247.16/sites/www.ibiblio.org/gentoo/ http://gentoo.linux.no/ ftp://gentoo.linux.no/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bonobo cdr crypt cups directfb dvd emacs encode esd ethereal foomaticdb gdbm gif gnome gpm gtk gtk2 imap imlib java jpeg kde libg++ libwww mad maildir mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd truetype x86 xml2 xmms xv zlib"
Comment 5 Malte S. Stretz 2004-01-31 15:04:46 UTC
*** Bug 36634 has been marked as a duplicate of this bug. ***
Comment 6 Garrett Kajmowicz 2004-02-03 12:23:04 UTC
Requires the dependency of dev-perl/digest-base
This makes everything work nicely.
Comment 7 roger55 (RETIRED) gentoo-dev 2004-02-15 13:42:36 UTC
ran into this as well today, when emerging spamassassin.

emerge dev-perl/digest-base

fixes it and emerging spamassassin succeeded.

roger55
Comment 8 Eric Sammer (RETIRED) gentoo-dev 2004-02-15 14:16:30 UTC
Ok... I added digest-base to the dependencies (in Digest-HMAC-1.01-r1) in cvs which seems to fix it. Please test and reopen if problems persist. Thanks for the report.
Comment 9 a+gentoobugs 2004-11-16 10:40:32 UTC
I am unable to emerge dev-perl/Digest-HMAC-1.01-r1

The error i get is: 

Calculating dependencies ...done!
>>> emerge (1 of 6) dev-perl/Digest-HMAC-1.01-r1 to /
>>> md5 src_uri ;-) Digest-HMAC-1.01.tar.gz
>>> Unpacking source...
>>> Unpacking Digest-HMAC-1.01.tar.gz to /var/tmp/portage/Digest-HMAC-1.01-r1/work
>>> Source unpacked.
Checking if your kit is complete...
Looks good
Writing Makefile for Digest::HMAC
cp lib/Digest/HMAC_MD5.pm blib/lib/Digest/HMAC_MD5.pm
cp lib/Digest/HMAC.pm blib/lib/Digest/HMAC.pm
cp lib/Digest/HMAC_SHA1.pm blib/lib/Digest/HMAC_SHA1.pm
Manifying blib/man3/Digest::HMAC_MD5.3pm
Manifying blib/man3/Digest::HMAC.3pm
Manifying blib/man3/Digest::HMAC_SHA1.3pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/rfc2202....Can't load '/usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/Digest/MD5/MD5.so' for module Digest::MD5: /usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/Digest/MD5/MD5.so: undefined symbol: perl_get_sv at /usr/lib/perl5/5.8.0/i686-linux/DynaLoader.pm line 229.
 at /var/tmp/portage/Digest-HMAC-1.01-r1/work/Digest-HMAC-1.01/blib/lib/Digest/HMAC_MD5.pm line 5
Compilation failed in require at /var/tmp/portage/Digest-HMAC-1.01-r1/work/Digest-HMAC-1.01/blib/lib/Digest/HMAC_MD5.pm line 5.
BEGIN failed--compilation aborted at /var/tmp/portage/Digest-HMAC-1.01-r1/work/Digest-HMAC-1.01/blib/lib/Digest/HMAC_MD5.pm line 5.
Compilation failed in require at t/rfc2202.t line 50.
BEGIN failed--compilation aborted at t/rfc2202.t line 50.
t/rfc2202....dubious                                                         
        Test returned status 2 (wstat 512, 0x200)
FAILED--1 test script could be run, alas--no output ever seen
make: *** [test_dynamic] Error 2

!!! ERROR: dev-perl/Digest-HMAC-1.01-r1 failed.
!!! Function src_compile, Line 22, Exitcode 2
!!! Tests didn't work out. Aborting!

emerge info says:
kll root # emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.7-gentoo-r7 i686)
=================================================================
System uname: 2.6.7-gentoo-r7 i686 Intel(R) Pentium(R) III CPU family      1133MHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /opt/glftpd/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://hal/portage"
USE="X aalib apache2 arts avi berkdb bitmap-fonts bonobo crypt cups dga encode esd f77 fam fbcon flac flash foomaticdb fortran gdbm ggi gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib java jpeg kde lcms libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl pam pdflib perl png python qt quicktime readline samba sasl scanner sdl slang speex spell sse ssl svga tcltk tcpd tetex tiff truetype vhost vhosts x86 xml xml2 xmms xv zlib"

re-emerging dev-perl/digest-base and dev-perl/Digest-MD5 does not help me :(
Comment 10 a+gentoobugs 2004-11-16 14:38:04 UTC
Please ignore last utterance:

I deleted 5.6.1 5.8.0 5.8.2 directories from /usr/lib/perl5/site_perl as per rac's advice from #gentoo and am no longer seeing the emerge problem.