Page MenuHome GnuPG

2.2.4 make error
Closed, ResolvedPublic

Description

i have 2.2.1 installed

$ ./configure --prefix=/usr/local --enable-large-secmem --with-pinentry-pgm=/usr/local/bin/pinentry-gtk-2

GnuPG v2.2.4 has been configured as follows:

Revision:  558b175  (21899)
Platform:  GNU/Linux (x86_64-pc-linux-gnu)

OpenPGP:   yes
S/MIME:    yes
Agent:     yes
Smartcard: yes (without internal CCID driver)
G13:       no
Dirmngr:   yes
Gpgtar:    yes
WKS tools: no

Protect tool:      (default)
LDAP wrapper:      (default)
Default agent:     (default)
Default pinentry:  /usr/local/bin/pinentry-gtk-2
Default scdaemon:  (default)
Default dirmngr:   (default)

Dirmngr auto start:  yes
Readline support:    yes
LDAP support:        yes
TLS support:         gnutls
TOFU support:        yes
Tor support:         yes

gpg_agent-gpg-agent.o: In function `main':
/home/user/Downloads/gnupg-2.2.4/agent/gpg-agent.c:1038: undefined reference to `assuan_sock_set_system_hooks'
collect2: error: ld returned 1 exit status
Makefile:676: recipe for target 'gpg-agent' failed
make[2]: * [gpg-agent] Error 1
make[2]:
* Waiting for unfinished jobs....
mv -f .deps/gpg_protect_tool-cvt-openpgp.Tpo .deps/gpg_protect_tool-cvt-openpgp.Po
mv -f .deps/gpg_protect_tool-protect.Tpo .deps/gpg_protect_tool-protect.Po
mv -f .deps/protect.Tpo .deps/protect.Po
make[2]: Leaving directory '/home/user/Downloads/gnupg-2.2.4/agent'
Makefile:590: recipe for target 'all-recursive' failed
make[1]: * [all-recursive] Error 1
make[1]: Leaving directory '/home/user/Downloads/gnupg-2.2.4'
Makefile:509: recipe for target 'all' failed
make:
* [all] Error 2

Details

Version
2.2.4

Event Timeline

gniibe triaged this task as Normal priority.Dec 27 2017, 3:19 AM
gniibe added a subscriber: gniibe.

Thanks for your report. This is because GnuPG 2.2.4 now requires newer libassuan (in order to fix a race condition).

The fix requiring newer libassuan by configure is in repo already : rGa6849888295f: build: Increase libassuan min version to 2.5.0

thanks

that solved the problem, by updating libassuan

that should have been my first question to myself, upgrade all software...

sorry

gniibe (NIIBE Yutaka) wrote:

gniibe triaged this task as "Normal" priority.
gniibe added a comment.

Thanks for your report. This is because GnuPG 2.2.4 now requires newer
libassuan (in order to fix a race condition).

The fix requiring newer libassuan by configure is in repo already :
rGa6849888295f: build: Increase libassuan min version to 2.5.0
https://dev.gnupg.org/rGa6849888295f0e0872c948cd72a59374bb867777

*TASK DETAIL*
https://dev.gnupg.org/T3624

*EMAIL PREFERENCES*
https://dev.gnupg.org/settings/panel/emailpreferences/

*To: *gniibe

*Cc: *gniibe, fulanoperez, gp_ast

This is an automated email from the GnuPG development hub. If you have
registered in the past at https://bugs.gnupg.org/ your account was
migrated automatically. You can visit https://dev.gnupg.org/ to set a
new password and update your email preferences.

gniibe claimed this task.