Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37926 - opencdk fails to update - too few arguments to function `gcry_mpi_scan' etc
Summary: opencdk fails to update - too few arguments to function `gcry_mpi_scan' etc
Status: RESOLVED DUPLICATE of bug 38509
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-11 17:56 UTC by Daath
Modified: 2005-07-17 13:06 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 Daath 2004-01-11 17:56:14 UTC
Tried to update world, and got it failed on opencdk. As far as I can tell the error begins here:

seskey.c: In function `cdk_dek_encode_pkcs1':
seskey.c:94: warning: `GCRY_MPI' is deprecated (declared at /usr/include/gcrypt.h:153)
seskey.c:144: warning: passing arg 4 of `gcry_mpi_scan' makes integer from pointer without a cast
seskey.c:144: error: too few arguments to function `gcry_mpi_scan'
seskey.c: In function `cdk_dek_decode_pkcs1':
seskey.c:173: warning: passing arg 3 of `gcry_mpi_print' makes integer from pointer without a cast
seskey.c:173: warning: passing arg 4 of `gcry_mpi_print' from incompatible pointer type
seskey.c:173: error: too few arguments to function `gcry_mpi_print'
make[2]: *** [seskey.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
rm -f .libs/pubkey.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -march=pentium2 -O3 -pipe -mmmx -Wall -Wcast-align -Wshadow -Wstrict-prototypes -MT pubkey.lo -MD -MP -MF .deps/pubkey.Tpo -c pubkey.c  -fPIC -DPIC -o .libs/pubkey.lo
In file included from main.h:27,
                 from pubkey.c:28:
types.h:55: warning: `GCRY_MPI' is deprecated (declared at /usr/include/gcrypt.h:153)
types.h:55: warning: redefinition of `gcry_mpi_t'
/usr/include/gcrypt.h:151: warning: `gcry_mpi_t' previously declared here
types.h:56: warning: `GCRY_SEXP' is deprecated (declared at /usr/include/gcrypt.h:224)
types.h:56: warning: redefinition of `gcry_sexp_t'
/usr/include/gcrypt.h:222: warning: `gcry_sexp_t' previously declared here
In file included from main.h:28,
                 from pubkey.c:28:
context.h:40: warning: `GCRY_MPI' is deprecated (declared at /usr/include/gcrypt.h:153)
pubkey.c: In function `convert_to_gcrympi':
pubkey.c:47: warning: passing arg 4 of `gcry_mpi_scan' makes integer from pointer without a cast
pubkey.c:47: error: too few arguments to function `gcry_mpi_scan'
pubkey.c: In function `digest_to_sexp':
pubkey.c:177: warning: passing arg 4 of `gcry_mpi_scan' makes integer from pointer without a cast
pubkey.c:177: error: too few arguments to function `gcry_mpi_scan'
pubkey.c: In function `sexp_to_bitmpi':
pubkey.c:217: warning: passing arg 3 of `gcry_mpi_print' makes integer from pointer without a cast
pubkey.c:217: warning: passing arg 4 of `gcry_mpi_print' from incompatible pointer type
pubkey.c:217: error: too few arguments to function `gcry_mpi_print'
pubkey.c:220: warning: passing arg 3 of `gcry_mpi_print' makes integer from pointer without a cast
pubkey.c:220: warning: passing arg 4 of `gcry_mpi_print' from incompatible pointer type
pubkey.c:220: error: too few arguments to function `gcry_mpi_print'
pubkey.c: In function `_cdk_pk_test_algo':
pubkey.c:584: error: `GCRYERR_INV_PK_ALGO' undeclared (first use in this function)
pubkey.c:584: error: (Each undeclared identifier is reported only once
pubkey.c:584: error: for each function it appears in.)
make[2]: *** [pubkey.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/opencdk-0.5.1/work/opencdk-0.5.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/opencdk-0.5.1/work/opencdk-0.5.1'
make: *** [all] Error 2

!!! ERROR: app-crypt/opencdk-0.5.1 failed.
!!! Function src_compile, Line 21, Exitcode 2
!!! make failed

Reproducible: Always
Steps to Reproduce:




Portage 2.0.49-r20 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0,
2.4.22-gentoo-r4)
=================================================================
System uname: 2.4.22-gentoo-r4 i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium2 -O3 -pipe -mmmx"
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/alias
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium2 -O3 -pipe -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://ftp.gentoo.skynet.be/
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="avi berkdb crypt cups curl encode esd firebird foomaticdb gd gdbm gif gpm
gtk gtk2 imap imlib java jpeg libwww mad maildir mcal mmx motif mpeg mysql
ncurses nls oggvorbis opengl oss pam pdflib perl png python qt readline slang
ssl svga tcltk tcpd truetype x86 xml xml2 xmms zlib"
Comment 1 Daath 2004-01-22 16:23:01 UTC
Any news on this? I still can't compile opencdk, gnutls and micq (micq stopped working :( - there might others too)
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2004-01-22 17:02:53 UTC

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