cert-related "make check" failures

Jim Meyering jim at meyering.net
Sun Nov 27 21:52:48 CET 2011


Hello,

With these five working directories (all up to date from git):

  gnupg
  libgcrypt
  libassuan
  libksba
  libgpg-error

I ran the following on my Fedora-16 desktop:

dir=/tmp/gpg-test-install
cfg="./configure --enable-maintainer-mode --prefix=$dir"
(cd libgpg-error && eval $cfg && make && make check && make install)
cfg="$cfg --with-gpg-error-prefix=$dir"
(cd libksba && eval $cfg && make && make check && make install)
cfg="$cfg --with-ksba-prefix=$dir"
(cd libassuan && eval $cfg && make && make check && make install)
cfg="$cfg --with-libassuan-prefix=$dir"
(cd libgcrypt && eval $cfg && make && make check && make install)
cfg="$cfg --with-libgcrypt-prefix=$dir"
(export LD_LIBRARY_PATH=$dir/lib; cd gnupg && eval $cfg && make && make check)

[minor aside, I would have used a loop, but there is an inconsistency.
 Would you accept a patch to correct that?
 It would simply allow libgpg-error's configure script to accept
 a matching     --with-libgpg-error-prefix option in addition to
 its current    --with-gpg-error-prefix. ]

As for results of the gnupg "make check" run, first, this one failed:

    FAIL: import-all-certs

Then (minutes of no progress) the following test hung, so I poked around.
pstree showed this:

    | | |         `-make check
    | | |             `-make check-TESTS
    | | |                 `-sh -c...
    | | |                     `-validate-all-ce ./validate-all-certs
    | | |                         `-gpgsm -q --import --with-validation ...

So I killed that validate-all-certs script, which resulted in this:

    /bin/sh: line 5:  9732 Hangup   GNUPGHOME=`/bin/pwd` GPG_AGENT_INFO= \
        LC_ALL=C GPGSM=../../sm/gpgsm silent=yes ${dir}$tst
    FAIL: validate-all-certs

Then there was one more failure:

    FAIL: signature-verification



More information about the Gnupg-devel mailing list