Page MenuHome GnuPG

gnupg 2.2.8 make errors
Closed, ResolvedPublic

Description

on devuan ascii i had to make a change to pkg-config because gnutls wasn't detected:

The following packages will be upgraded:

pkgconf{b}

1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 31.9 kB of archives. After unpacking 21.5 kB will be freed.
The following packages have unmet dependencies:
pkgconf : Breaks: pkg-config (>= 0.29-1) but 0.29-4+b1 is installed
The following actions will resolve these dependencies:

Remove the following packages:
  1. pkg-config [0.29-4+b1 (now, stable, testing)]

Accept this solution? [Y/n/q/?] Y
The following packages will be REMOVED:

pkg-config{a}

The following packages will be upgraded:

pkgconf

1 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 31.9 kB of archives. After unpacking 214 kB will be freed.
Do you want to continue? [Y/n/?]
Get: 1 tor+https://packages.devuan.org/merged ascii/main amd64 pkgconf amd64 0.9.12-6 [31.9 kB]
Fetched 31.9 kB in 15s (2,038 B/s)
Reading changelogs... Done
dpkg: pkg-config: dependency problems, but removing anyway as you requested:
libgtk2.0-dev depends on pkg-config (>= 0.26-1); however:

Package pkg-config is to be removed.
Version of pkg-config on system, provided by pkgconf:amd64, is <none>.

(Reading database ... 158023 files and directories currently installed.)
Removing pkg-config (0.29-4+b1) ...
(Reading database ... 158011 files and directories currently installed.)
Preparing to unpack .../pkgconf_0.9.12-6_amd64.deb ...
Leaving 'diversion of /usr/bin/pkg-config to /usr/bin/pkg-config.real by pkgconf'
Leaving 'diversion of /usr/share/aclocal/pkg.m4 to /usr/share/aclocal/pkg.real.m4 by pkgconf'
Leaving 'diversion of /usr/share/man/man1/pkg-config.1.gz to /usr/share/man/man1/pkg-config.real.1.gz by pkgconf'
Leaving 'diversion of /usr/share/pkg-config-crosswrapper to /usr/share/pkg-config-crosswrapper.real by pkgconf'
Unpacking pkgconf (0.9.12-6) over (0.9.7-1) ...
Setting up pkgconf (0.9.12-6) ...
Processing triggers for man-db (2.7.6.1-2) ...
Scanning processes...
Scanning candidates...
Scanning linux images...
Running kernel seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.

Current status: 0 (-1) upgradable.

mainproc.c: In function ‘proc_encrypted’:
mainproc.c:686:14: error: ‘GPGRT_LOGLVL_INFO’ undeclared (first use in this function)

(GPGRT_LOGLVL_INFO,
 ^~~~~~~~~~~~~~~~~

mainproc.c:686:14: note: each undeclared identifier is reported only once for each function it appears in
Makefile:875: recipe for target 'mainproc.o' failed
make[2]: * [mainproc.o] Error 1
make[2]:
* Waiting for unfinished jobs....
mv -f .deps/build-packet.Tpo .deps/build-packet.Po
mv -f .deps/keydb.Tpo .deps/keydb.Po
mv -f .deps/keyring.Tpo .deps/keyring.Po
mv -f .deps/armor.Tpo .deps/armor.Po
mv -f .deps/getkey.Tpo .deps/getkey.Po
mv -f .deps/gpg.Tpo .deps/gpg.Po
mv -f .deps/keyedit.Tpo .deps/keyedit.Po
make[2]: Leaving directory '/home/user/Downloads/gpg/gnupg-2.2.8/g10'
Makefile:605: recipe for target 'all-recursive' failed
make[1]: * [all-recursive] Error 1
make[1]: Leaving directory '/home/user/Downloads/gpg/gnupg-2.2.8'
Makefile:524: recipe for target 'all' failed
make:
* [all] Error 2

GnuPG v2.2.8 has been configured as follows:

Revision:  cd9aaa786  (52634)
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
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

Details

Version
2.2.8

Event Timeline

werner claimed this task.
werner added a subscriber: werner.

See T4012 for a patch to build with an older libgpg-error.