Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90513 - Can't check signature: public key not found in Convert-ASN1 perl module
Summary: Can't check signature: public key not found in Convert-ASN1 perl module
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-26 10:57 UTC by Henrique Dias
Modified: 2005-05-03 03:12 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 Henrique Dias 2005-04-26 10:57:50 UTC
I can't emerge Convert-ASN1 perl module because the module can't check the signature.


Reproducible: Always
Steps to Reproduce:
1. emerge dev-perl/Convert-ASN1


Actual Results:  
# emerge dev-perl/Convert-ASN1
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-perl/Convert-ASN1-0.18 to /
>>> md5 files   ;-) Convert-ASN1-0.17.ebuild
>>> md5 files   ;-) ChangeLog
>>> md5 files   ;-) metadata.xml
>>> md5 files   ;-) Convert-ASN1-0.18.ebuild
>>> md5 files   ;-) Convert-ASN1-0.19.ebuild
>>> md5 files   ;-) files/digest-Convert-ASN1-0.17
>>> md5 files   ;-) files/digest-Convert-ASN1-0.18
>>> md5 files   ;-) files/digest-Convert-ASN1-0.19
>>> md5 src_uri ;-) Convert-ASN1-0.18.tar.gz
>>> Unpacking source...
>>> Unpacking Convert-ASN1-0.18.tar.gz to /var/tmp/portage/Convert-ASN1-0.18/work
>>> Source unpacked.
Checking if your kit is complete...
Looks good
Writing Makefile for Convert::ASN1
cp lib/Convert/ASN1/parser.pm blib/lib/Convert/ASN1/parser.pm
cp lib/Convert/ASN1.pm blib/lib/Convert/ASN1.pm
cp lib/Convert/ASN1.pod blib/lib/Convert/ASN1.pod
cp lib/Convert/ASN1/_decode.pm blib/lib/Convert/ASN1/_decode.pm
cp lib/Convert/ASN1/IO.pm blib/lib/Convert/ASN1/IO.pm
cp lib/Convert/ASN1/Debug.pm blib/lib/Convert/ASN1/Debug.pm
cp lib/Convert/ASN1/_encode.pm blib/lib/Convert/ASN1/_encode.pm
Manifying blib/man3/Convert::ASN1.3pm
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.5 "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/0-signature....gpg: Signature made Wed Oct  8 15:29:54 2003 WEST using DSA key
ID 06D8C374
gpg: Can't check signature: public key not found
==> BAD/TAMPERED signature detected! <==
t/0-signature....NOK 1#     Failed test (t/0-signature.t at line 18)
# Looks like you failed 1 tests of 1.
t/0-signature....dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
        Failed 1/1 tests, 0.00% okay
t/00prim.........ok
t/01tag..........ok
t/02seq..........ok
t/03seqof........ok
t/04opt..........ok
t/05time.........ok
t/06bigint.......ok
t/07io...........ok
t/08set..........ok
t/09contr........ok
t/10choice.......ok
t/11indef........ok
t/12der..........ok
t/13utf8.........ok
t/14any..........ok
Failed Test     Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/0-signature.t    1   256     1    1 100.00%  1
Failed 1/16 test scripts, 93.75% okay. 1/420 subtests failed, 99.76% okay.
make: *** [test_dynamic] Error 255
 
!!! ERROR: dev-perl/Convert-ASN1-0.18 failed.
!!! Function perl-module_src_compile, Line 104, Exitcode 2
!!! test failed
!!! If you need support, post the topmost build error, NOT this status message.

Expected Results:  
# emerge dev-perl/Convert-ASN1
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-perl/Convert-ASN1-0.18 to /
>>> md5 files   ;-) Convert-ASN1-0.17.ebuild
>>> md5 files   ;-) ChangeLog
>>> md5 files   ;-) metadata.xml
>>> md5 files   ;-) Convert-ASN1-0.18.ebuild
>>> md5 files   ;-) Convert-ASN1-0.19.ebuild
>>> md5 files   ;-) files/digest-Convert-ASN1-0.17
>>> md5 files   ;-) files/digest-Convert-ASN1-0.18
>>> md5 files   ;-) files/digest-Convert-ASN1-0.19
>>> md5 src_uri ;-) Convert-ASN1-0.18.tar.gz
>>> Unpacking source...
>>> Unpacking Convert-ASN1-0.18.tar.gz to /var/tmp/portage/Convert-ASN1-0.18/work
>>> Source unpacked.
Checking if your kit is complete...
Looks good
Writing Makefile for Convert::ASN1
cp lib/Convert/ASN1/parser.pm blib/lib/Convert/ASN1/parser.pm
cp lib/Convert/ASN1.pm blib/lib/Convert/ASN1.pm
cp lib/Convert/ASN1.pod blib/lib/Convert/ASN1.pod
cp lib/Convert/ASN1/_decode.pm blib/lib/Convert/ASN1/_decode.pm
cp lib/Convert/ASN1/IO.pm blib/lib/Convert/ASN1/IO.pm
cp lib/Convert/ASN1/Debug.pm blib/lib/Convert/ASN1/Debug.pm
cp lib/Convert/ASN1/_encode.pm blib/lib/Convert/ASN1/_encode.pm
Manifying blib/man3/Convert::ASN1.3pm
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.5 "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/0-signature....ok
t/00prim.........ok
t/01tag..........ok
t/02seq..........ok
t/03seqof........ok
t/04opt..........ok
t/05time.........ok
t/06bigint.......ok
t/07io...........ok
t/08set..........ok
t/09contr........ok
t/10choice.......ok
t/11indef........ok
t/12der..........ok
t/13utf8.........ok
t/14any..........ok


Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11.7 i686)
=================================================================
System uname: 2.6.11.7 i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 10 2005, 19:33:10)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.4, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /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/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo             
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror              
http://gentoo.tiscali.nl/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts chroot crypt cups emboss encode
foomaticdb fortran gd gdbm gif gnome gpm gtk gtk2 imlib ipv6 jpeg kde libg++
libwww mad mbox mikmod milter motif mp3 mpeg mysql ncurses nls oggvorbis opengl
oss pam pdflib perl png python qt quicktime readline samba sdl slang spell ssl
svga tcpd tetex tiff truetype truetype-fonts type1-fonts xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2005-04-26 11:19:05 UTC
How did you install Module::Signature? That's what's looking to verify the gpg key - you either had to emerge it specifically (its around for g-cpan users) or you had to install it from cpan.
Comment 2 Henrique Dias 2005-04-26 11:40:05 UTC
# emerge dev-perl/Module-Signature
Calculating dependencies
!!! All ebuilds that could satisfy "dev-perl/Module-Signature" have been masked.!!! One of the following masked packages is required to complete your request:
- dev-perl/Module-Signature-0.44 (masked by: ~x86 keyword)

If I install the "Convert::ASN1" module by hand I get only a warning and make install without problem's.
I need the this module because "perl-ldap" require "Convert::ASN1" module.
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2005-04-30 05:28:32 UTC
Module-Signature would also have been installed if you had installed anything via cpan directly, or via g-cpan. However, tests for perl modules (as of a day or so ago) are now only active if you have FEATURES maketest enabled. Your call on how to proceed.
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2005-05-03 03:01:32 UTC
Sorry to take so long, but I still cannot reproduce this. Below are the results of my attempting to install Convert-ASN1-0.18 (as indicated in your report) with and without Module-Signature installed. In either case, it may gripe but it never fails the tests as a result of the signature. 

<Without Module-Signature installed>
t/0-signature....# Next time around, consider install Module::Signature,
# so you can verify the integrity of this distribution.
ok
        1/1 skipped: Module::Signature not installed
t/00prim.........ok

<With Module-Signature installed>
t/0-signature....gpg: Signature made Wed Oct  8 10:29:54 2003 EDT using DSA key ID 06D8C374
gpg: Can't check signature: public key not found
ok
t/00prim.........ok

Also - why do you show the module installing (and passing the signature test) on a second pass? Did the module install?
Comment 5 Henrique Dias 2005-05-03 03:12:55 UTC
Without Module-Signature:

Writing Makefile for Convert::ASN1
cp lib/Convert/ASN1/parser.pm blib/lib/Convert/ASN1/parser.pm
cp lib/Convert/ASN1.pm blib/lib/Convert/ASN1.pm
cp lib/Convert/ASN1.pod blib/lib/Convert/ASN1.pod
cp lib/Convert/ASN1/_decode.pm blib/lib/Convert/ASN1/_decode.pm
cp lib/Convert/ASN1/IO.pm blib/lib/Convert/ASN1/IO.pm
cp lib/Convert/ASN1/Debug.pm blib/lib/Convert/ASN1/Debug.pm
cp lib/Convert/ASN1/_encode.pm blib/lib/Convert/ASN1/_encode.pm
Manifying blib/man3/Convert::ASN1.3pm
>>> Test phase [not enabled]: dev-perl/Convert-ASN1-0.18
 
>>> Install Convert-ASN1-0.18 into /var/tmp/portage/Convert-ASN1-0.18/image/ category dev-perl

Thanks for your help now everything fine.

Henrique