Discussion:
makepkg bind-9 FAILED (unknown public key F1B11BF05CF02E57)
(too old to reply)
David C. Rankin
2017-03-13 18:57:51 UTC
Permalink
Raw Message
All,

I pulled ABS updates and got the patch mentioned in
https://bugs.archlinux.org/task/53240. However, attempting to build bind/bind
tools 9.11.0-P3 fails due to an unknown upstream public key:

makepkg -s
<snip>
...
==> Verifying source file signatures with gpg...
bind-9.11.0-P3.tar.gz ... FAILED (unknown public key F1B11BF05CF02E57)

How does one handle this issue? Is that one of the keys one would expect to
be in AUR/upstream keys? There are ISC keys listed in the PKGBUILD, e.g.

validpgpkeys=('2B48A38AE1CF9886435F89EE45AC7857189CDBC5'
'ADBE9446286C794905F1E0756FA6EBC9911A4C02' #ISC, Inc)
'BE0E9748B718253A28BB89FFF1B11BF05CF02E57' #Internet Systems
Consortium, Inc.

and the shasum for bind-9.11.0-P3.tar.gz matches the sum listed for the
package. Is there something I need to do to fix the public key issue. Strange
that the shasum would match, but the public key would fail.

What do the arch-devs suggest?
--
David C. Rankin, J.D.,P.E.
Damjan Georgievski via arch-general
2017-03-13 19:05:16 UTC
Permalink
Raw Message
Post by David C. Rankin
I pulled ABS updates and got the patch mentioned in
https://bugs.archlinux.org/task/53240. However, attempting to build bind/bind
makepkg -s
<snip>
...
==> Verifying source file signatures with gpg...
bind-9.11.0-P3.tar.gz ... FAILED (unknown public key F1B11BF05CF02E57)
https://wiki.archlinux.org/index.php/makepkg#Signature_checking
--
damjan
David C. Rankin
2017-03-13 19:49:18 UTC
Permalink
Raw Message
Post by Damjan Georgievski via arch-general
Post by David C. Rankin
I pulled ABS updates and got the patch mentioned in
https://bugs.archlinux.org/task/53240. However, attempting to build bind/bind
makepkg -s
<snip>
...
==> Verifying source file signatures with gpg...
bind-9.11.0-P3.tar.gz ... FAILED (unknown public key F1B11BF05CF02E57)
https://wiki.archlinux.org/index.php/makepkg#Signature_checking
Got it:

gpg2 --keyserver hkp://wwwkeys.us.pgp.net --recv-keys F1B11BF05CF02E57

Thanks!

but... There is "No joy in Mudville..."

/usr/include/json/config.h:9:35: fatal error: string: No such file or directory
#include <string> //typedef String
^
Full Error:

/bin/sh /home/david/arch/pkg/abs/bind/src/bind-9.11.0-P3/libtool
--mode=compile --tag=CC gcc
-I/home/david/arch/pkg/abs/bind/src/bind-9.11.0-P3 -I../../.. -I./include
-I./../pthreads/include -I../include -I./../include -I./.. -I/usr/include
-D_REENTRANT -D_GNU_SOURCE -march=x86-64 -mtune=generic -O2 -pipe
-fstack-protector-strong -DDIG_SIGCHASE -I/usr/include -I/usr/include/libxml2
-fPIC -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat
-Wpointer-arith -fno-strict-aliasing -fno-delete-null-pointer-checks -c app.c
libtool: compile: gcc -I/home/david/arch/pkg/abs/bind/src/bind-9.11.0-P3
-I../../.. -I./include -I./../pthreads/include -I../include -I./../include
-I./.. -I/usr/include -D_REENTRANT -D_GNU_SOURCE -march=x86-64 -mtune=generic
-O2 -pipe -fstack-protector-strong -DDIG_SIGCHASE -I/usr/include
-I/usr/include/libxml2 -fPIC -W -Wall -Wmissing-prototypes -Wcast-qual
-Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing
-fno-delete-null-pointer-checks -c app.c -fPIC -DPIC -o .libs/app.o
In file included from /usr/include/json/autolink.h:9:0,
from /usr/include/json/json.h:9,
from ../include/isc/json.h:33,
from ../include/isc/mem.h:16,
from app.c:29:
/usr/include/json/config.h:9:35: fatal error: string: No such file or directory
#include <string> //typedef String
^
compilation terminated.
make[3]: *** [Makefile:166: app.lo] Error 1
make[3]: Leaving directory
'/home/david/arch/pkg/abs/bind/src/bind-9.11.0-P3/lib/isc/unix'
make[2]: *** [Makefile:202: subdirs] Error 1
make[2]: Leaving directory
'/home/david/arch/pkg/abs/bind/src/bind-9.11.0-P3/lib/isc'
make[1]: *** [Makefile:78: subdirs] Error 1
make[1]: Leaving directory '/home/david/arch/pkg/abs/bind/src/bind-9.11.0-P3/lib'
make: *** [Makefile:83: subdirs] Error 1

Any possible thoughts here? I'm compiling in LTS, but I don't see that
making any difference to /usr/include/json/config.h??
--
David C. Rankin, J.D.,P.E.
Damjan Georgievski via arch-general
2017-03-13 20:06:40 UTC
Permalink
Raw Message
Post by David C. Rankin
libtool: compile: gcc -I/home/david/arch/pkg/abs/bind/src/bind-9.11.0-P3
-I../../.. -I./include -I./../pthreads/include -I../include -I./../include
-I./.. -I/usr/include -D_REENTRANT -D_GNU_SOURCE -march=x86-64 -mtune=generic
-O2 -pipe -fstack-protector-strong -DDIG_SIGCHASE -I/usr/include
-I/usr/include/libxml2 -fPIC -W -Wall -Wmissing-prototypes -Wcast-qual
-Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing
-fno-delete-null-pointer-checks -c app.c -fPIC -DPIC -o .libs/app.o
In file included from /usr/include/json/autolink.h:9:0,
from /usr/include/json/json.h:9,
from ../include/isc/json.h:33,
from ../include/isc/mem.h:16,
/usr/include/json/config.h:9:35: fatal error: string: No such file or directory
#include <string> //typedef String
huh, that's a C++ style #include* and you are compiling with a C
compiler (and obviously app.c is a C program)
have no idea, see upstream.

* and indeed /usr/include/json/config.h is part of jsoncpp "C++
library for interacting with JSON"
how did that get included in a C program???
--
damjan
David C. Rankin
2017-03-13 20:24:29 UTC
Permalink
Raw Message
Post by Damjan Georgievski via arch-general
huh, that's a C++ style #include* and you are compiling with a C
compiler (and obviously app.c is a C program)
have no idea, see upstream.
* and indeed /usr/include/json/config.h is part of jsoncpp "C++
library for interacting with JSON"
how did that get included in a C program???
Yes,

That left me scratching my head. Something is FUBAR in the PKGBUILD because
even though it shouldn't be there, I have jsoncpp installed :)

$ pmq | grep json
json-c 0.12.1-1
json-glib 1.2.2+4+gd725fb5-1
jsoncpp 1.8.0-1
libfastjson 0.99.4-1
perl-json-xs 3.02-3

SNAFU?

(Situation Normal All F[...|oul]ed Up)

Will check the bind list.
--
David C. Rankin, J.D.,P.E.
Loading...