Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131026 - app-crypt/gnupg-1.9.20-r1 failed test phase
Summary: app-crypt/gnupg-1.9.20-r1 failed test phase
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-23 14:24 UTC by Sandro Bonazzola (RETIRED)
Modified: 2006-05-11 11:16 UTC (History)
1 user (show)

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


Attachments
full compile log (6139-gnupg-1.9.20-r1.log,89.54 KB, text/plain)
2006-04-23 14:26 UTC, Sandro Bonazzola (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sandro Bonazzola (RETIRED) gentoo-dev 2006-04-23 14:24:44 UTC
[ebuild  NS   ] app-crypt/gnupg-1.9.20-r1  USE="X ldap nls -caps -smartcard -smime" 0 kB

make[2]: Leaving directory `/var/tmp/portage/gnupg-1.9.20-r1/work/gnupg-1.9.20/agent'
make[1]: Leaving directory `/var/tmp/portage/gnupg-1.9.20-r1/work/gnupg-1.9.20/agent'
Making check in tools
make[1]: Entering directory `/var/tmp/portage/gnupg-1.9.20-r1/work/gnupg-1.9.20/tools'
x86_64-pc-linux-gnu-gcc    -march=athlon64 -Os -pipe -fforce-addr -ffast-math -msse2 -ftracer -m3dnow  -Wall  -Wl,-z,now -o gpgconf  gpgconf.o gpgconf-comp.o no-libgcrypt.o ../jnlib/libjnlib.a ../common/libcommon.a ../gl/libgnu.a  -ldl  -lz
x86_64-pc-linux-gnu-gcc    -march=athlon64 -Os -pipe -fforce-addr -ffast-math -msse2 -ftracer -m3dnow  -Wall  -Wl,-z,now -o gpg-connect-agent  gpg-connect-agent.o no-libgcrypt.o ../jnlib/libjnlib.a ../common/libcommon.a ../gl/libgnu.a -L/usr/lib64 -lassuan -L/usr/lib64 -lgpg-error  -ldl  -lz
x86_64-pc-linux-gnu-gcc    -march=athlon64 -Os -pipe -fforce-addr -ffast-math -msse2 -ftracer -m3dnow  -Wall  -Wl,-z,now -o gpgkey2ssh  gpgkey2ssh-gpgkey2ssh.o ../common/libcommon.a ../gl/libgnu.a -L/usr/lib64 -lgcrypt -L/usr/lib64 -lgpg-error -L/usr/lib64 -lgpg-error -ldl  -lz
x86_64-pc-linux-gnu-gcc    -march=athlon64 -Os -pipe -fforce-addr -ffast-math -msse2 -ftracer -m3dnow  -Wall  -Wl,-z,now -o symcryptrun  symcryptrun.o -lutil ../jnlib/libjnlib.a ../common/libcommon.a ../gl/libgnu.a ../common/libsimple-pwquery.a -L/usr/lib64 -lgcrypt -L/usr/lib64 -lgpg-error -L/usr/lib64 -lgpg-error  -ldl  -lz
make[1]: Leaving directory `/var/tmp/portage/gnupg-1.9.20-r1/work/gnupg-1.9.20/tools'
Making check in po
make[1]: Entering directory `/var/tmp/portage/gnupg-1.9.20-r1/work/gnupg-1.9.20/po'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/var/tmp/portage/gnupg-1.9.20-r1/work/gnupg-1.9.20/po'
Making check in doc
make[1]: Entering directory `/var/tmp/portage/gnupg-1.9.20-r1/work/gnupg-1.9.20/doc'
make  check-am
make[2]: Entering directory `/var/tmp/portage/gnupg-1.9.20-r1/work/gnupg-1.9.20/doc'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/var/tmp/portage/gnupg-1.9.20-r1/work/gnupg-1.9.20/doc'
make[1]: Leaving directory `/var/tmp/portage/gnupg-1.9.20-r1/work/gnupg-1.9.20/doc'
Making check in tests
make[1]: Entering directory `/var/tmp/portage/gnupg-1.9.20-r1/work/gnupg-1.9.20/tests'
make  check-TESTS
make[2]: Entering directory `/var/tmp/portage/gnupg-1.9.20-r1/work/gnupg-1.9.20/tests'
asschk: read_assuan: received incomplete line on fd 7
FAIL: sm-sign+verify
asschk: read_assuan: received incomplete line on fd 5
FAIL: sm-verify
======================================
2 of 2 tests failed
Please report to gnupg-devel@gnupg.org
======================================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnupg-1.9.20-r1/work/gnupg-1.9.20/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/gnupg-1.9.20-r1/work/gnupg-1.9.20/tests'
make: *** [check-recursive] Error 1

emerge --info:
Portage 2.1_pre9-r4 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.0_pre18
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2-r1
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-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS=" -march=athlon64 -Os -pipe -fforce-addr -ffast-math -msse2 -ftracer -m3dnow "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS=" -march=athlon64 -Os -pipe -fforce-addr -ffast-math -msse2 -ftracer -m3dnow "
DISTDIR="/home/ftp/distfiles"
FEATURES="autoconfig ccache collision-protect cvs distlocks elog metadata-transfer multilib-strict sandbox sfperms sign strict stricter test userpriv"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://gentoo.ngi.it ftp://ftp.unina.it/pub/linux/distributions/gentoo http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ "
LANG="it_IT.utf8"
LINGUAS="it"
PKGDIR="/home/ftp/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/migration-overlay /usr/local/overlays/tinyos /usr/local/overlays/gentoo-java-experimental"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 7zip X a52 aac aalib acl acpi alsa apache2 arts asf audiofile avi berkdb bitmap-fonts bzip2 cairo canvas ccache cdb cddb cdparanoia cdr chroot cli cpudetection crypt css cups curl dba dbus dga directfb dlloader dri dts dv dvd dvdr dvdread dynagraph emboss encode erandom esd exif expat extrafilters fame ffmpeg firefox flac fltk foomaticdb gd gdbm ggi gif gimp gimpprint glibc-omitfp glut gmp gnokii gnome gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal idn ieee1394 imagemagick imlib ipv6 isdnlog ithreads java jbig jikes jpeg jpeg2k justify kde kdeenablefinal lcms ldap libcaca linuxthreads-tls lm_sensors logitech-mouse logrotate lzo lzw lzw-tiff mad mailwrapper mbox mdb mhash mikmod mjpeg mmap mng motif mozsvg mp3 mpeg mpm-worker musepack musicbrainz mysql ncurses nls nptl nptlonly numeric nvidia odbc offensive ogg on-the-fly-crypt openexr opengl oss pam pcre pcsc-lite pdf pdflib perl php png povray ppds pppd python qt quicktime rdesktop readline reflection rtc samba scanner sdl session slang smp sndfile snmp speex spell spl ssl subversion svg sysfs syslog tcltk tcpd test tetex tga theora threads tidy tiff timidity truetype truetype-fonts type1-fonts unicode usb userlocales utf8 v4l v4l2 vcd vda vorbis vorbis-psy wmf xcomposite xine xinerama xml xml2 xmms xorg xpm xscreensaver xv xvid xvmc yv12 zeroconf zlib elibc_glibc input_devices_mouse input_devices_evdev input_devices_keyboard kernel_linux linguas_it userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS

full compile log will be attached
Comment 1 Sandro Bonazzola (RETIRED) gentoo-dev 2006-04-23 14:26:48 UTC
Created attachment 85306 [details]
full compile log
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2006-04-23 14:32:40 UTC
Can you please fix that yourself?
Comment 3 Sandro Bonazzola (RETIRED) gentoo-dev 2006-04-23 14:43:48 UTC
(In reply to comment #2)
> Can you please fix that yourself?
> 

I'll try, but I'm really short of time.
Comment 4 Sandro Bonazzola (RETIRED) gentoo-dev 2006-04-23 15:29:10 UTC
solution for 1 of 2 test fail:

running make check with "--verbose" in the runtest script and "--no-echo" removed from it shows:

make  check-TESTS
make[1]: Entering directory `/var/tmp/portage/gnupg-1.9.20-r1/work/gnupg-1.9.20/tests'
asschk: start_server: exec failed for `../sm/gpgsm': No such file or directory
read_assuan: read ""
asschk: read_assuan: received incomplete line on fd 7
FAIL: sm-sign+verify
asschk: start_server: exec failed for `../sm/gpgsm': No such file or directory
read_assuan: read ""
asschk: read_assuan: received incomplete line on fd 5
FAIL: sm-verify

inside directory: ../sm there's no gpgsm executable.
Running make in this directory (/var/tmp/portage/gnupg-1.9.20-r1/work/gnupg-1.9.20/sm) I can see:

make: *** No rule to make target `../kbx/libkeybox.a', needed by `gpgsm'.  Stop.

cd ../kbx/ && makeproduce the wanted lib.

returning to ../sm and doing make: gpgsm executable produced.
make check now says:

make[1]: Entering directory `/var/tmp/portage/gnupg-1.9.20-r1/work/gnupg-1.9.20/tests'
gpgsm: WARNING: running with faked system time: 2002-12-02 13:29:59
gpgsm: keybox `/var/tmp/portage/gnupg-1.9.20-r1/work/gnupg-1.9.20/tests/pubring.kbx' created
read_assuan: read "OK GNU Privacy Guard's S/M server 1.9.20 ready"
read_assuan: read "
"
sending `INPUT FD=3'
expecting OK
read_assuan: read "OK"
read_assuan: read "
"
sending `OUTPUT FD=4'
expecting OK
read_assuan: read "OK"
read_assuan: read "
"
sending `SIGN'
expecting OK
gpgsm: no default signer found
gpgsm: error creating signature: General error <GpgSM>
read_assuan: read "ERR 50331649 General error <GpgSM>"
read_assuan: read "
"
asschk: cmd_expect_ok: expected OK but got `ERR 50331649 General error <GpgSM>'
FAIL: sm-sign+verify
gpgsm: WARNING: running with faked system time: 2002-12-02 13:29:59
read_assuan: read "OK GNU Privacy Guard's S/M server 1.9.20 ready
"
sending `INPUT FD=3'
expecting OK
read_assuan: read "OK"
read_assuan: read "
"
sending `OUTPUT FD=4'
expecting OK
read_assuan: read "OK"
read_assuan: read "
"
sending `VERIFY'
expecting OK
read_assuan: read "S NEWSIG"
read_assuan: read "
"
gpgsm: Signature made 2002-08-08 12:22:46 using certificate ID 33BDB76E
gpgsm: can't connect to `/var/tmp/portage/gnupg-1.9.20-r1/work/gnupg-1.9.20/tests/S.gpg-agent': No such file or directory
read_assuan: read "S PROGRESS starting_agent ? 0 0"
read_assuan: read "
"
gpgsm: CRLs not checked due to --disable-crl-checks option
read_assuan: read "S GOODSIG"
read_assuan: read "
"
read_assuan: read "S VALIDSIG 3CF405464F66ED4A7DF45BBDD1E4282E33BDB76E 2002-08-08 20020808T122246 20021203T093638"
read_assuan: read "
"
gpgsm: Good signature from "/CN=test cert 1/OU=Aegypten Project/O=g10 Code GmbH/L=Dsseldorf/C=DE"
read_assuan: read "S TRUST_FULLY"
read_assuan: read "
"
read_assuan: read "OK"
read_assuan: read "
"
badsig=0 goodsig=1 trusted=1
sending `BYE'
expecting OK
read_assuan: read "OK closing connection"
read_assuan: read "
"
asschk: files match
gpgsm: WARNING: running with faked system time: 2002-12-02 13:29:59
read_assuan: read "OK GNU Privacy Guard's S/M server 1.9.20 ready
"
sending `INPUT FD=3'
expecting OK
read_assuan: read "OK"
read_assuan: read "
"
sending `MESSAGE FD=4'
expecting OK
read_assuan: read "OK"
read_assuan: read "
"
sending `VERIFY'
expecting OK
read_assuan: read "S NEWSIG"
read_assuan: read "
"
gpgsm: Signature made 2002-08-08 12:22:54 using certificate ID 33BDB76E
gpgsm: can't connect to `/var/tmp/portage/gnupg-1.9.20-r1/work/gnupg-1.9.20/tests/S.gpg-agent': No such file or directory
read_assuan: read "S PROGRESS starting_agent ? 0 0"
read_assuan: read "
"
gpgsm: CRLs not checked due to --disable-crl-checks option
read_assuan: read "S GOODSIG"
read_assuan: read "
"
read_assuan: read "S VALIDSIG 3CF405464F66ED4A7DF45BBDD1E4282E33BDB76E 2002-08-08 20020808T122254 20021203T093638"
read_assuan: read "
"
gpgsm: Good signature from "/CN=test cert 1/OU=Aegypten Project/O=g10 Code GmbH/L=Dsseldorf/C=DE"
read_assuan: read "S TRUST_FULLY"
read_assuan: read "
"
read_assuan: read "OK"
read_assuan: read "
"
badsig=0 goodsig=1 trusted=1
sending `BYE'
expecting OK
read_assuan: read "OK closing connection"
read_assuan: read "
"
gpgsm: WARNING: running with faked system time: 2002-12-02 13:29:59
read_assuan: read "OK GNU Privacy Guard's S/M server 1.9.20 ready
"
sending `INPUT FD=7'
expecting OK
read_assuan: read "OK"
read_assuan: read "
"
sending `OUTPUT FD=9'
expecting OK
read_assuan: read "OK"
read_assuan: read "
"
sending `VERIFY'
expecting OK
read_assuan: read "S NEWSIG"
read_assuan: read "
"
gpgsm: Signature made 2002-08-08 12:22:46 using certificate ID 33BDB76E
gpgsm: invalid signature: message digest attribute does not match calculated one
read_assuan: read "S BADSIG 3CF405464F66ED4A7DF45BBDD1E4282E33BDB76E"
read_assuan: read "
"
read_assuan: read "OK"
read_assuan: read "
"
badsig=1 goodsig=0 trusted=0
sending `BYE'
expecting OK
read_assuan: read "OK closing connection"
read_assuan: read "
"
gpgsm: WARNING: running with faked system time: 2002-12-02 13:29:59
read_assuan: read "OK GNU Privacy Guard's S/M server 1.9.20 ready
"
sending `INPUT FD=12'
expecting OK
read_assuan: read "OK
"
sending `VERIFY'
expecting OK
gpgsm: Signature made 2002-08-08 12:38:22 using certificate ID 33BDB76E
gpgsm: can't connect to `/var/tmp/portage/gnupg-1.9.20-r1/work/gnupg-1.9.20/tests/S.gpg-agent': No such file or directory
read_assuan: read "S NEWSIG
S PROGRESS starting_agent ? 0 0
"
read_assuan: read "S PROGRESS starting_agent ? 0 0
"
gpgsm: CRLs not checked due to --disable-crl-checks option
gpgsm: Good signature from "/CN=test cert 1/OU=Aegypten Project/O=g10 Code GmbH/L=Dsseldorf/C=DE"
read_assuan: read "S GOODSIG
S VALIDSIG 3CF405464F66ED4A7DF45BBDD1E4282E33BDB76E 2002-08-08 20020808T123822 20021203T093638
S TRUST_FULLY
OK
"
read_assuan: read "S VALIDSIG 3CF405464F66ED4A7DF45BBDD1E4282E33BDB76E 2002-08-08 20020808T123822 20021203T093638
S TRUST_FULLY
OK
"
read_assuan: read "S TRUST_FULLY
OK
"
read_assuan: read "OK
"
badsig=0 goodsig=1 trusted=1
sending `BYE'
expecting OK
read_assuan: read "OK closing connection
"
gpgsm: WARNING: running with faked system time: 2002-12-02 13:29:59
read_assuan: read "OK GNU Privacy Guard's S/M server 1.9.20 ready
"
sending `INPUT FD=15'
expecting OK
read_assuan: read "OK
"
sending `VERIFY'
expecting OK
gpgsm: Signature made 2002-08-07 12:38:22 using certificate ID 33BDB76E
gpgsm: invalid signature: Bad signature
read_assuan: read "S NEWSIG
S BADSIG 3CF405464F66ED4A7DF45BBDD1E4282E33BDB76E
OK
"
read_assuan: read "S BADSIG 3CF405464F66ED4A7DF45BBDD1E4282E33BDB76E
OK
"
read_assuan: read "OK
"
badsig=1 goodsig=0 trusted=0
sending `BYE'
expecting OK
read_assuan: read "OK closing connection
"
PASS: sm-verify
======================================
1 of 2 tests failed
Please report to gnupg-devel@gnupg.org
======================================













Comment 5 Daniel Black (RETIRED) gentoo-dev 2006-05-10 06:40:45 UTC
ok - seems to fail for USE=-smime because the  executable used to test isn't generated in this case.
Comment 6 Daniel Black (RETIRED) gentoo-dev 2006-05-11 03:02:03 UTC
"fixed" by removing USE flag smime and forcing smime support to be included. Thanks Sandro - hope your well.
Comment 7 Sandro Bonazzola (RETIRED) gentoo-dev 2006-05-11 11:16:10 UTC
Verified, the solution works fine for me. Yes, I'm quite well, a little short of time and very tired, but well. Hope you're well too.