Hi,
First the error itself getted from the version.test.log :
Test: version.test
GNUPGHOME=/root/myGPGrepo/gnupg-2.1.7/tests/openpgp
gpg-agent[8788]: /root/myGPGrepo/gnupg-2.1.7/tests/openpgp/gpg-agent.conf:1:
obsolete option "use-standard-socket" - it has no effect
gpg-agent[8788]: no gpg-agent running in this session
version.test: Deleting old files
version.test: Starting the agent
gpg-connect-agent: no running gpg-agent - starting
'/root/myGPGrepo/gnupg-2.1.7/agent/gpg-agent|--debug-quick-random'
gpg-connect-agent: waiting for the agent to come up ... (5s)
gpg-connect-agent: waiting for the agent to come up ... (4s)
gpg-connect-agent: waiting for the agent to come up ... (3s)
gpg-connect-agent: waiting for the agent to come up ... (2s)
gpg-connect-agent: waiting for the agent to come up ... (1s)
gpg-connect-agent: can't connect to the agent: IPC connect call failed
gpg-connect-agent: error sending standard options: No agent running
version.test: starting the gpg-agent failed
Secondly, the environment :
- Debian 8.1 (it is a fresh install) :
- no gnupg nor libs installed or configured (also no ~/.gnupg directory)
- kernel version : 3.16.7-ckt11-1+deb8u2
- gcc version : Debian 4.9.2-10
- Hardware : an old Intel Atom N450 with enought RAM.
I compiled all libs needed by gnupg (in this order) :
- libgpg-error-1.20
- libgcrypt-1.6.3
- libksba-1.3.3
- libassuan-2.3.0
- pinentry-0.9.5
- npth-1.2
For the above libs, "./configure && make && make check && make install" works
correctly. No errors encountered
For gnupg-2.1.7, I executed the following commands (after a "make clean" "make
distclean"):
~/myGPGrepo/gnupg-2.1.7# ./configure > ./configure_issue.txt 2>&1
~/myGPGrepo/gnupg-2.1.7# make > make_issue.txt 2>&1
~/myGPGrepo/gnupg-2.1.7# make check > make_check_issue.txt 2>&1
Thirdly, some more infos :
For the gnupg-2.1.7, everything works well until the "make check" which fails on
version.test (and after).
I succeeded to reproduce this behaviour on 2.1.6 with same error messages during
"make check" (i didn't test other previous 2.1.x versions).
I tryed to reproduce the issue with gnupg-2.0.28, but didn't succeeded. The
gnupg-2.0.28 compiled correctly and the "make check" worked without any error.
I saw the Issue1779 [ T1779 ] had a similary
problem but on AIX and it was for version 2.1.0. I don't find any solution in
this issue.
I had try to execute directly the commande involved in the version.test test :
~/myGPGrepo/gnupg-2.1.7/tests/openpgp# LANG=C ../../tools/gpg-connect-agent -v
--agent-program='/root/myGPGrepo/gnupg-2.1.7/agent/gpg-agent|--debug-quick-random'
/bye
gpg-connect-agent: no running gpg-agent - starting
'/root/myGPGrepo/gnupg-2.1.7/agent/gpg-agent|--debug-quick-random'
gpg-connect-agent: failed to create temporary file
'/root/.gnupg/.#lk0x095cd2a8.testing.31804': No such file or directory
gpg-connect-agent: can't connect to the agent: No such file or directory
gpg-connect-agent: error sending standard options: No agent running
N.B. LANG=C to avoid having message in french.
As i don't have any ~/.gnupg directory, i created one and retry the above command :
~/myGPGrepo/gnupg-2.1.7/tests/openpgp# LANG=C ../../tools/gpg-connect-agent -v
--agent-program='/root/myGPGrepo/gnupg-2.1.7/agent/gpg-agent|--debug-quick-random'
/bye
gpg-connect-agent: no running gpg-agent - starting
'/root/myGPGrepo/gnupg-2.1.7/agent/gpg-agent|--debug-quick-random'
gpg-connect-agent: waiting for the agent to come up ... (5s)
gpg-connect-agent: waiting for the agent to come up ... (4s)
gpg-connect-agent: waiting for the agent to come up ... (3s)
gpg-connect-agent: waiting for the agent to come up ... (2s)
gpg-connect-agent: waiting for the agent to come up ... (1s)
gpg-connect-agent: can't connect to the agent: IPC connect call failed
gpg-connect-agent: error sending standard options: No agent running
It has created the following empty subdir : /root/.gnupg/private-keys-v1.d/
After that i'm blocked and don't know what to do. If anyone has suggestions.
Thanks
N.B. : In the attached archive file, there are the "configure", "make" and "make
check" commands and all logs for failed tests.