Page MenuHome GnuPG

5/7 tests failed installing libgpg-error-1.27
Closed, InvalidPublic

Description

Hi everyone,

I'm on ubuntu 14.04 LTS

I'm trying to install libgpg-error-1.27 to be able to use GPGME, but I have the following errors : (sorry for the french sentances at the begining, but the errors are wrotten in english, at the end).

ananas@ubuntu:~/Desktop/dev/libpgp error/libgpg-error-1.27$ make check
Making check in m4
make[1]: entrant dans le répertoire « /home/ananas/Desktop/dev/libpgp error/libgpg-error-1.27/m4 »
make[1]: Rien à faire pour « check ».
make[1]: quittant le répertoire « /home/ananas/Desktop/dev/libpgp error/libgpg-error-1.27/m4 »
Making check in src
make[1]: entrant dans le répertoire « /home/ananas/Desktop/dev/libpgp error/libgpg-error-1.27/src »
make check-am
make[2]: entrant dans le répertoire « /home/ananas/Desktop/dev/libpgp error/libgpg-error-1.27/src »
make[2]: Rien à faire pour « check-am ».
make[2]: quittant le répertoire « /home/ananas/Desktop/dev/libpgp error/libgpg-error-1.27/src »
make[1]: quittant le répertoire « /home/ananas/Desktop/dev/libpgp error/libgpg-error-1.27/src »
Making check in doc
make[1]: entrant dans le répertoire « /home/ananas/Desktop/dev/libpgp error/libgpg-error-1.27/doc »
make[1]: Rien à faire pour « check ».
make[1]: quittant le répertoire « /home/ananas/Desktop/dev/libpgp error/libgpg-error-1.27/doc »
Making check in tests
make[1]: entrant dans le répertoire « /home/ananas/Desktop/dev/libpgp error/libgpg-error-1.27/tests »
make check-TESTS
make[2]: entrant dans le répertoire « /home/ananas/Desktop/dev/libpgp error/libgpg-error-1.27/tests »
./t-version: /lib/x86_64-linux-gnu/libgpg-error.so.0: no version information available (required by ./t-version)
./t-version: gpg_error_check_version returned an error
Version from header: 1.27 (0x011b00)
Version from binary: 1.12
Copyright blurb ...:

This is Libgpg-error 1.12 - An error code library
Copyright 2003, 2004, 2010, 2013 g10 Code GmbH

( 2013-12-03T12:28+0000)

FAIL: t-version
./t-strerror: /lib/x86_64-linux-gnu/libgpg-error.so.0: no version information available (required by ./t-strerror)
Unspecified source: Success
gcrypt: Invalid length specifier in S-expression
GnuPG: Unknown packet
GpgSM: Certificate too young
GPG Agent: Bad CA certificate
Pinentry: Operation cancelled
SCD: Card removed
GPGME: Bad secret key
Keybox: Unknown error code
PASS: t-strerror
./t-syserror: /lib/x86_64-linux-gnu/libgpg-error.so.0: no version information available (required by ./t-syserror)
PASS: t-syserror
./t-lock: /lib/x86_64-linux-gnu/libgpg-error.so.0: no version information available (required by ./t-lock)
t-lock: gpg_error_check_version returned an error
FAIL: t-lock
./t-printf: /lib/x86_64-linux-gnu/libgpg-error.so.0: no version information available (required by ./t-printf)
t-printf: gpg_error_check_version returned an error
FAIL: t-printf
./t-poll: /lib/x86_64-linux-gnu/libgpg-error.so.0: no version information available (required by ./t-poll)
t-poll: gpg_error_check_version returned an error
FAIL: t-poll
./t-b64dec: /lib/x86_64-linux-gnu/libgpg-error.so.0: no version information available (required by ./t-b64dec)
./t-b64dec: relocation error: ./t-b64dec: symbol gpgrt_b64dec_start, version GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference

FAIL: t-b64dec

5 of 7 tests failed

Please report to https://bugs.gnupg.org

make[2]: * [check-TESTS] Erreur 1
make[2]: quittant le répertoire « /home/ananas/Desktop/dev/libpgp error/libgpg-error-1.27/tests »
make[1]:
* [check-am] Erreur 2
make[1]: quittant le répertoire « /home/ananas/Desktop/dev/libpgp error/libgpg-error-1.27/tests »
make: *** [check-recursive] Erreur 1

As you can read, 3 errors are from ./t-poll: /lib/x86_64-linux-gnu/libgpg-error.so.0: no version information available (required by ./t-poll)
t-poll: gpg_error_check_version returned an error

But I really don't know how to fix that !

Thank you for your help !

Details

Version
libgpg-error-1.27

Event Timeline

Your build system is not correctly set up. How did did you invoke configure?

Hi,

the first time, I just did : ./configure
then, after seing it was not working, I tried : ./configure --prefix=/usr && make

Thank you for your help !

werner added a project: gpgrt.

I tried on a fresh installation of Ubuntu 14.04.5 and could not reproduce the problem. Apparentlcy your test suite tries to link against an installed version of the library, which is very odd.

Maybe ask on a mailing list for help to find out why your environment is broken.