libgpg-error 1.28 build failures on arm64

Daniel Kahn Gillmor dkg at fifthhorseman.net
Sat Mar 17 00:20:53 CET 2018


hi folks--

i've uploaded libgpg-error 1.28 to debian.

everything is seems ok except that it fails to build from source on
arm64:

https://buildd.debian.org/status/fetch.php?pkg=libgpg-error&arch=arm64&ver=1.28-1&stamp=1521240615&raw=0


here's the relevant bit of the build log with the failure in it:

/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src -I..  -DLOCALEDIR=\"/usr/share/locale\"  -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wno-psabi -fvisibility=hidden -c -o libgpg_error_la-logging.lo `test -f 'logging.c' || echo '../../src/'`logging.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -DLOCALEDIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wpointer-arith -Wno-psabi -fvisibility=hidden -c ../../src/logging.c  -fPIC -DPIC -o .libs/libgpg_error_la-logging.o
../../src/logging.c: In function '_gpgrt_log_printhex':
../../src/logging.c:1153:49: error: incompatible type for argument 4 of '_gpgrt_logv_printhex'
     _gpgrt_logv_printhex (buffer, length, NULL, NULL);
                                                 ^~~~
../../src/logging.c:1097:1: note: expected 'va_list {aka __va_list}' but argument is of type 'void *'
 _gpgrt_logv_printhex (const void *buffer, size_t length,
 ^~~~~~~~~~~~~~~~~~~~
Makefile:1041: recipe for target 'libgpg_error_la-logging.lo' failed
make[5]: *** [libgpg_error_la-logging.lo] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build/src'
make[5]: *** Waiting for unfinished jobs....
make[5]: Entering directory '/<<PKGBUILDDIR>>/build/src'

the other platforms seem to build fine:


https://buildd.debian.org/status/logs.php?pkg=libgpg-error&ver=1.28-1

any ideas what i should look into for fixing this?

    --dkg



More information about the Gnupg-devel mailing list