gpgme 0.3.9 / gpgme 0.3.10

Marshall Rose mrose+internet.gnu.gpg.devel at
Tue Sep 3 09:17:02 CEST 2002

i've been a happy camper with 0.3.9, but i recently found a small
if you're using it in a long-lived process and if you don't use the
gpgme_op_*_start() routines, then gpgme never gets around to reaping the
the reason is that _gpgme_engine_housecleaning() gets called by only
run_idle() which gets called only by gpgme_wait().
however routines like gpgme_op_verify() call _gpgme_wait_one(), which
never calls run_idle().
i see that all of this logic is completely redone in 0.3.10, but:
    % cd gpgme-0.3.10
    % ./configure --host=i386-netbsdelf --prefix=/usr/pkg
	GPGME v0.3.10 has been configured as follows:

        GnuPG version: min. 1.0.7
	GnuPG path:    /usr/pkg/bin/gpg

        GpgSM version: min. 0.3.8
	GpgSM path:    no

	GPGME CryptPlug: no
    % gmake
gmake[3]: Entering directory `/usr/users/mrose/src/gpgme-0.3.10/gpgme'
source='stpcpy.c' object='stpcpy.o' libtool=no \
depfile='.deps/stpcpy.Po' tmpdepfile='.deps/stpcpy.TPo' \
depmode=gcc /usr/pkg/bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -I/usr/pkg/include -Wall -Wcast-align -Wshadow -Wstrict-prototypes -c `test -f 'stpcpy.c' || echo './'`stpcpy.c
source='fopencookie.c' object='fopencookie.o' libtool=no \
depfile='.deps/fopencookie.Po' tmpdepfile='.deps/fopencookie.TPo' \
depmode=gcc /usr/pkg/bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -I/usr/pkg/include -Wall -Wcast-align -Wshadow -Wstrict-prototypes -c `test -f 'fopencookie.c' || echo './'`fopencookie.c
/usr/pkg/bin/bash ../libtool --mode=link gcc  -g -O2 -I/usr/pkg/include -Wall -Wcast-align -Wshadow -Wstrict-prototypes   -o -rpath /usr/pkg/lib -version-info 9:1:3 util.lo conversion.lo data.lo recipient.lo signers.lo wait.lo op-support.lo encrypt.lo encrypt-sign.lo decrypt.lo decrypt-verify.lo verify.lo sign.lo passphrase.lo progress.lo key.lo keylist.lo trustlist.lo import.lo export.lo genkey.lo delete.lo edit.lo engine.lo rungpg.lo engine-gpgsm.lo ath.lo  ath-pth.lo posix-util.lo posix-sema.lo posix-io.lo debug.lo gpgme.lo version.lo errors.lo   stpcpy.o fopencookie.o 
libtool: link: cannot build libtool library `' from non-libtool objects on this host: stpcpy.o fopencookie.o
gmake[3]: *** [] Error 1
gmake[3]: Leaving directory `/usr/users/mrose/src/gpgme-0.3.10/gpgme'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/users/mrose/src/gpgme-0.3.10/gpgme'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/users/mrose/src/gpgme-0.3.10'
gmake: *** [all] Error 2

just for grins, if you edit gpgme/Makefile and change
    libgpgme_la_LIBADD = ${assuan_libobjs}  stpcpy.o fopencookie.o

    libgpgme_la_LIBADD = ${assuan_libobjs}
then libgpgme gets built just fine. however, a few moments later:
gmake[3]: Entering directory `/usr/users/mrose/src/gpgme-0.3.10/tests/gpg'
creating t-genkey
srcdir=. ./mkdemodirs 
Creating: Alphagmake[3]: *** [Alpha/Secret.gpg] Error 1

i have a quick hack to the way my code uses 0.3.9 to get around the
zombie issue, but i'd still like to move to 0.3.10...

More information about the Gnupg-devel mailing list