scripts/extract-cert.c:23:25: fatal error: openssl/bio.h: No such file or directory
From: kbuild test robot
Date: Tue Jul 19 2016 - 02:05:23 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 47ef4ad2684d380dd6d596140fb79395115c3950
commit: 770f2b98760ef0500183d7206724aac762433e2d modsign: Use extract-cert to process CONFIG_SYSTEM_TRUSTED_KEYS
date: 11 months ago
config: x86_64-randconfig-a0-07191214 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
git checkout 770f2b98760ef0500183d7206724aac762433e2d
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
>> scripts/extract-cert.c:23:25: fatal error: openssl/bio.h: No such file or directory
#include <openssl/bio.h>
^
compilation terminated.
make[2]: *** [scripts/extract-cert] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [scripts] Error 2
make[1]: Target 'modules_prepare' not remade because of errors.
make: *** [sub-make] Error 2
vim +23 scripts/extract-cert.c
1329e8cc David Woodhouse 2015-07-20 7 * David Woodhouse <dwmw2@xxxxxxxxxxxxx>
1329e8cc David Woodhouse 2015-07-20 8 *
1329e8cc David Woodhouse 2015-07-20 9 * This program is free software; you can redistribute it and/or
1329e8cc David Woodhouse 2015-07-20 10 * modify it under the terms of the GNU General Public Licence
1329e8cc David Woodhouse 2015-07-20 11 * as published by the Free Software Foundation; either version
1329e8cc David Woodhouse 2015-07-20 12 * 2 of the Licence, or (at your option) any later version.
1329e8cc David Woodhouse 2015-07-20 13 */
1329e8cc David Woodhouse 2015-07-20 14 #define _GNU_SOURCE
1329e8cc David Woodhouse 2015-07-20 15 #include <stdio.h>
1329e8cc David Woodhouse 2015-07-20 16 #include <stdlib.h>
1329e8cc David Woodhouse 2015-07-20 17 #include <stdint.h>
1329e8cc David Woodhouse 2015-07-20 18 #include <stdbool.h>
1329e8cc David Woodhouse 2015-07-20 19 #include <string.h>
1329e8cc David Woodhouse 2015-07-20 20 #include <getopt.h>
1329e8cc David Woodhouse 2015-07-20 21 #include <err.h>
1329e8cc David Woodhouse 2015-07-20 22 #include <arpa/inet.h>
1329e8cc David Woodhouse 2015-07-20 @23 #include <openssl/bio.h>
1329e8cc David Woodhouse 2015-07-20 24 #include <openssl/evp.h>
1329e8cc David Woodhouse 2015-07-20 25 #include <openssl/pem.h>
1329e8cc David Woodhouse 2015-07-20 26 #include <openssl/pkcs7.h>
1329e8cc David Woodhouse 2015-07-20 27 #include <openssl/err.h>
1329e8cc David Woodhouse 2015-07-20 28 #include <openssl/engine.h>
1329e8cc David Woodhouse 2015-07-20 29
1329e8cc David Woodhouse 2015-07-20 30 #define PKEY_ID_PKCS7 2
1329e8cc David Woodhouse 2015-07-20 31
:::::: The code at line 23 was first introduced by commit
:::::: 1329e8cc69b93a0b1bc6d197b30dcff628c18dbf modsign: Extract signing cert from CONFIG_MODULE_SIG_KEY if needed
:::::: TO: David Woodhouse <David.Woodhouse@xxxxxxxxx>
:::::: CC: David Howells <dhowells@xxxxxxxxxx>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data