pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

gnupg2 build breakage



Hej,

i just notices that gnupg2 does not build on one of my systems:
gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/pkg/share/locale\" -DGNUPG_BINDIR="\"/usr/pkg/bin\"" -DGNUPG_LIBEXECDIR="\"/usr/pkg/libexec\"" -DGNUPG_LIBDIR="\"/usr/pkg/lib/gnupg\"" -DGNUPG_DATADIR="\"/usr/pkg/share/gnupg\"" -DGNUPG_SYSCONFDIR="\"/usr/pkg/etc/gnupg\"" -DGNUPG_LOCALSTATEDIR="\"/usr/pkg/var\""       -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libusb-1.0 -I/usr/include -I/usr/include -I/usr/include  -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -Wall -Wno-pointer-sign -Wpointer-arith -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -MT textfilter.o -MD -MP -MF .deps/textfilter.Tpo -c -o textfilter.o textfilter.c
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

This is due to an outdated dependency:
BUILDLINK_API_DEPENDS.libgpg-error+=    libgpg-error>=1.24

gnupg-2.2.8 needs a minimum version 1.28 of libgpg-error, and on this particular system 1.27 was installed, hence the breakage.
---
Noteworthy changes in version 1.28 (2018-03-13) [C23/A23/R0]
 * Interface changes relative to the 1.27 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[…]
 GPGRT_LOGLVL_BEGIN              New const.
 GPGRT_LOGLVL_CONT               New const.
 GPGRT_LOGLVL_INFO               New const.
 GPGRT_LOGLVL_WARN               New const.
 GPGRT_LOGLVL_ERROR              New const.
 GPGRT_LOGLVL_FATAL              New const.
 GPGRT_LOGLVL_BUG                New const.
 GPGRT_LOGLVL_DEBUG              New const.
---


Could someone please fix this?

Cheers
	Oskar

Attachment: smime.p7s
Description: S/MIME cryptographic signature



Home | Main Index | Thread Index | Old Index