<86>Apr 14 00:46:17 userdel[20685]: delete user 'rooter' <86>Apr 14 00:46:17 userdel[20685]: removed group 'rooter' owned by 'rooter' <86>Apr 14 00:46:17 groupadd[20704]: group added to /etc/group: name=rooter, GID=633 <86>Apr 14 00:46:17 groupadd[20704]: group added to /etc/gshadow: name=rooter <86>Apr 14 00:46:17 groupadd[20704]: new group: name=rooter, GID=633 <86>Apr 14 00:46:17 useradd[20721]: new user: name=rooter, UID=633, GID=633, home=/root, shell=/bin/bash <86>Apr 14 00:46:17 userdel[20751]: delete user 'builder' <86>Apr 14 00:46:17 userdel[20751]: removed group 'builder' owned by 'builder' <86>Apr 14 00:46:17 userdel[20751]: removed shadow group 'builder' owned by 'builder' <86>Apr 14 00:46:17 groupadd[20765]: group added to /etc/group: name=builder, GID=634 <86>Apr 14 00:46:17 groupadd[20765]: group added to /etc/gshadow: name=builder <86>Apr 14 00:46:17 groupadd[20765]: new group: name=builder, GID=634 <86>Apr 14 00:46:17 useradd[20778]: new user: name=builder, UID=634, GID=634, home=/usr/src, shell=/bin/bash <13>Apr 14 00:46:19 rpmi: libnspr-1:4.20-alt1 p8.216526.40 1542382588 installed <13>Apr 14 00:46:19 rpmi: libsqlite3-3.15.2-alt1 1480432212 installed <13>Apr 14 00:46:19 rpmi: libnss-3.40.0-alt0.M80P.1 p8.216526.44 1542814585 installed <86>Apr 14 00:46:19 groupadd[27153]: group added to /etc/group: name=pesign, GID=499 <86>Apr 14 00:46:19 groupadd[27153]: group added to /etc/gshadow: name=pesign <86>Apr 14 00:46:19 groupadd[27153]: new group: name=pesign, GID=499 <86>Apr 14 00:46:19 useradd[27168]: new user: name=pesign, UID=499, GID=499, home=/var/empty, shell=/dev/null <13>Apr 14 00:46:19 rpmi: pesign-0.109-alt4 1387301340 installed <13>Apr 14 00:46:19 rpmi: gnu-efi-1:3.0.8-alt1.M80P.1 1524569884 installed <13>Apr 14 00:46:19 rpmi: rpm-macros-uefi-0.5-alt1 1387289833 installed Installing uefi-utils-0.1-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.45947 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf uefi-utils-0.1 + echo 'Source #0 (uefi-utils-0.1.tar):' Source #0 (uefi-utils-0.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/uefi-utils-0.1.tar + cd uefi-utils-0.1 + /bin/chmod -c -Rf u+rwX,go-w . + sed -i s,gnuefi/,,g bootnext/Makefile clearcrashvars/Makefile efimemory/Makefile helloworld/Makefile listcerts/Makefile qv/Makefile shellopt/Makefile showedid/Makefile showfirmware/Makefile showhotkeys/Makefile showlenovo/Makefile showsb/Makefile var/Makefile + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.45947 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd uefi-utils-0.1 + cd listcerts + make 'CFLAGS=-fPIC -U_FORTIFY_SOURCE -fno-stack-protector' make: Entering directory `/usr/src/RPM/BUILD/uefi-utils-0.1/listcerts' gcc -Wall -O2 -o asn1com asn1_compiler.c asn1_compiler.c: In function 'render_out_of_line_list': asn1_compiler.c:1350:3: warning: enumeration value 'NOT_COMPOUND' not handled in switch [-Wswitch] switch (e->compound) { ^ asn1_compiler.c:1350:3: warning: enumeration value 'CHOICE' not handled in switch [-Wswitch] asn1_compiler.c:1350:3: warning: enumeration value 'ANY' not handled in switch [-Wswitch] asn1_compiler.c:1350:3: warning: enumeration value 'TYPE_REF' not handled in switch [-Wswitch] asn1_compiler.c:1350:3: warning: enumeration value 'TAG_OVERRIDE' not handled in switch [-Wswitch] ./asn1com x509.asn1 x509.c x509.h Extracted 200 tokens Extracted 14 types Extracted 13 actions Pass 1 Pass 2 gcc -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -fPIC -U_FORTIFY_SOURCE -fno-stack-protector -DCONFIG_x86_64 -c listcerts.c -o listcerts.o listcerts.c: In function 'do_version': listcerts.c:77:11: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] Print(L" Version: %d (0x%02x)\n", version + 1, version); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:503:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' Print ( ^ listcerts.c: In function 'do_signature': listcerts.c:88:11: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] Print(L" Signature Algorithm: %s\n", tmpbuf); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:503:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' Print ( ^ listcerts.c: In function 'do_algorithm': listcerts.c:106:24: warning: passing argument 2 of 'StrCpy' from incompatible pointer type [-Wincompatible-pointer-types] StrCpy(tmpbuf, L"id_dsa_with_sha1"); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:311:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCpy ( ^ listcerts.c:108:24: warning: passing argument 2 of 'StrCpy' from incompatible pointer type [-Wincompatible-pointer-types] StrCpy(tmpbuf, L"id_dsa"); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:311:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCpy ( ^ listcerts.c:110:24: warning: passing argument 2 of 'StrCpy' from incompatible pointer type [-Wincompatible-pointer-types] StrCpy(tmpbuf, L"id_ecdsa_with_sha1"); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:311:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCpy ( ^ listcerts.c:112:24: warning: passing argument 2 of 'StrCpy' from incompatible pointer type [-Wincompatible-pointer-types] StrCpy(tmpbuf, L"id_ecPublicKey"); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:311:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCpy ( ^ listcerts.c:114:24: warning: passing argument 2 of 'StrCpy' from incompatible pointer type [-Wincompatible-pointer-types] StrCpy(tmpbuf, L"rsaEncryption"); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:311:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCpy ( ^ listcerts.c:116:24: warning: passing argument 2 of 'StrCpy' from incompatible pointer type [-Wincompatible-pointer-types] StrCpy(tmpbuf, L"md2WithRSAEncryption"); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:311:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCpy ( ^ listcerts.c:118:24: warning: passing argument 2 of 'StrCpy' from incompatible pointer type [-Wincompatible-pointer-types] StrCpy(tmpbuf, L"md3WithRSAEncryption"); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:311:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCpy ( ^ listcerts.c:120:24: warning: passing argument 2 of 'StrCpy' from incompatible pointer type [-Wincompatible-pointer-types] StrCpy(tmpbuf, L"md4WithRSAEncryption"); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:311:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCpy ( ^ listcerts.c:122:24: warning: passing argument 2 of 'StrCpy' from incompatible pointer type [-Wincompatible-pointer-types] StrCpy(tmpbuf, L"sha1WithRSAEncryption"); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:311:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCpy ( ^ listcerts.c:124:24: warning: passing argument 2 of 'StrCpy' from incompatible pointer type [-Wincompatible-pointer-types] StrCpy(tmpbuf, L"sha256WithRSAEncryption"); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:311:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCpy ( ^ listcerts.c:126:24: warning: passing argument 2 of 'StrCpy' from incompatible pointer type [-Wincompatible-pointer-types] StrCpy(tmpbuf, L"sha384WithRSAEncryption"); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:311:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCpy ( ^ listcerts.c:128:24: warning: passing argument 2 of 'StrCpy' from incompatible pointer type [-Wincompatible-pointer-types] StrCpy(tmpbuf, L"sha512WithRSAEncryption"); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:311:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCpy ( ^ listcerts.c:130:24: warning: passing argument 2 of 'StrCpy' from incompatible pointer type [-Wincompatible-pointer-types] StrCpy(tmpbuf, L"sha224WithRSAEncryption"); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:311:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCpy ( ^ listcerts.c:132:24: warning: passing argument 2 of 'StrCat' from incompatible pointer type [-Wincompatible-pointer-types] StrCat(tmpbuf, L" ("); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:337:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCat ( ^ listcerts.c:134:24: warning: passing argument 2 of 'StrCat' from incompatible pointer type [-Wincompatible-pointer-types] StrCat(tmpbuf, L")"); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:337:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCat ( ^ listcerts.c: In function 'do_serialnumber': listcerts.c:148:11: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] Print(L" Serial Number: "); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:503:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' Print ( ^ listcerts.c:151:19: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] Print(L"%02x%c", (UINT8)*p, ((i+1 == vlen)?'\n':':')); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:503:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' Print ( ^ listcerts.c:154:15: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] Print(L"\n"); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:503:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' Print ( ^ listcerts.c: In function 'do_issuer': listcerts.c:165:11: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] Print(L" Issuer:%s\n", tmpbuf); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:503:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' Print ( ^ listcerts.c: In function 'do_subject': listcerts.c:176:11: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] Print(L" Subject:%s\n", tmpbuf); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:503:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' Print ( ^ listcerts.c: In function 'do_attribute_type': listcerts.c:194:24: warning: passing argument 2 of 'StrCat' from incompatible pointer type [-Wincompatible-pointer-types] StrCat(tmpbuf, L" C="); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:337:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCat ( ^ listcerts.c:196:24: warning: passing argument 2 of 'StrCat' from incompatible pointer type [-Wincompatible-pointer-types] StrCat(tmpbuf, L" ST="); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:337:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCat ( ^ listcerts.c:198:24: warning: passing argument 2 of 'StrCat' from incompatible pointer type [-Wincompatible-pointer-types] StrCat(tmpbuf, L" L="); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:337:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCat ( ^ listcerts.c:200:24: warning: passing argument 2 of 'StrCat' from incompatible pointer type [-Wincompatible-pointer-types] StrCat(tmpbuf, L" O="); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:337:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCat ( ^ listcerts.c:202:24: warning: passing argument 2 of 'StrCat' from incompatible pointer type [-Wincompatible-pointer-types] StrCat(tmpbuf, L" CN="); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:337:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCat ( ^ listcerts.c:204:24: warning: passing argument 2 of 'StrCat' from incompatible pointer type [-Wincompatible-pointer-types] StrCat(tmpbuf, L" ("); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:337:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCat ( ^ listcerts.c:206:24: warning: passing argument 2 of 'StrCat' from incompatible pointer type [-Wincompatible-pointer-types] StrCat(tmpbuf, L")"); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:337:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCat ( ^ listcerts.c: In function 'do_extensions': listcerts.c:233:11: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] Print(L" Extensions:%s\n", tmpbuf); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:503:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' Print ( ^ listcerts.c: In function 'do_extension_id': listcerts.c:251:24: warning: passing argument 2 of 'StrCat' from incompatible pointer type [-Wincompatible-pointer-types] StrCat(tmpbuf, L"\n "); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:337:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCat ( ^ listcerts.c:258:24: warning: passing argument 2 of 'StrCat' from incompatible pointer type [-Wincompatible-pointer-types] StrCat(tmpbuf, L" SubjectKeyIdentifier"); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:337:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCat ( ^ listcerts.c:260:24: warning: passing argument 2 of 'StrCat' from incompatible pointer type [-Wincompatible-pointer-types] StrCat(tmpbuf, L" KeyUsage"); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:337:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCat ( ^ listcerts.c:262:24: warning: passing argument 2 of 'StrCat' from incompatible pointer type [-Wincompatible-pointer-types] StrCat(tmpbuf, L" SubjectAltName"); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:337:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCat ( ^ listcerts.c:264:24: warning: passing argument 2 of 'StrCat' from incompatible pointer type [-Wincompatible-pointer-types] StrCat(tmpbuf, L" IssuerAltName"); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:337:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCat ( ^ listcerts.c:266:24: warning: passing argument 2 of 'StrCat' from incompatible pointer type [-Wincompatible-pointer-types] StrCat(tmpbuf, L" BasicConstraints"); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:337:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCat ( ^ listcerts.c:268:24: warning: passing argument 2 of 'StrCat' from incompatible pointer type [-Wincompatible-pointer-types] StrCat(tmpbuf, L" CrlDistributionPoints"); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:337:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCat ( ^ listcerts.c:270:24: warning: passing argument 2 of 'StrCat' from incompatible pointer type [-Wincompatible-pointer-types] StrCat(tmpbuf, L" CertAuthInfoAccess"); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:337:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCat ( ^ listcerts.c:272:24: warning: passing argument 2 of 'StrCat' from incompatible pointer type [-Wincompatible-pointer-types] StrCat(tmpbuf, L" CertPolicies"); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:337:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCat ( ^ listcerts.c:274:24: warning: passing argument 2 of 'StrCat' from incompatible pointer type [-Wincompatible-pointer-types] StrCat(tmpbuf, L" AuthorityKeyIdentifier"); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:337:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCat ( ^ listcerts.c:276:24: warning: passing argument 2 of 'StrCat' from incompatible pointer type [-Wincompatible-pointer-types] StrCat(tmpbuf, L" ExtKeyUsage"); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:337:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCat ( ^ listcerts.c:278:24: warning: passing argument 2 of 'StrCat' from incompatible pointer type [-Wincompatible-pointer-types] StrCat(tmpbuf, L" msEnrollCertTypeExtension"); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:337:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCat ( ^ listcerts.c:280:24: warning: passing argument 2 of 'StrCat' from incompatible pointer type [-Wincompatible-pointer-types] StrCat(tmpbuf, L" msCertsrvCAVersion"); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:337:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCat ( ^ listcerts.c:282:24: warning: passing argument 2 of 'StrCat' from incompatible pointer type [-Wincompatible-pointer-types] StrCat(tmpbuf, L" msCertsrvPreviousCertHash"); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:337:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCat ( ^ listcerts.c:284:24: warning: passing argument 2 of 'StrCat' from incompatible pointer type [-Wincompatible-pointer-types] StrCat(tmpbuf, L" ("); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:337:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCat ( ^ listcerts.c:286:24: warning: passing argument 2 of 'StrCat' from incompatible pointer type [-Wincompatible-pointer-types] StrCat(tmpbuf, L")"); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:337:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCat ( ^ listcerts.c: In function 'do_validity_not_before': listcerts.c:342:11: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] Print(L" Validity - Not Before: %s", ptr); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:503:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' Print ( ^ listcerts.c: In function 'do_validity_not_after': listcerts.c:359:11: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] Print(L" Not After: %s\n", ptr); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:503:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' Print ( ^ listcerts.c: In function 'do_subject_public_key_info': listcerts.c:371:11: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] Print(L" Subject Public Key Algorithm: %s\n", tmpbuf); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:503:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' Print ( ^ listcerts.c: In function 'PrintCerts': listcerts.c:398:17: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] ext = L"X509"; ^ listcerts.c:400:17: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] ext = L"PKCS7"; ^ listcerts.c:402:17: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] ext = L"RSA2048"; ^ listcerts.c:404:17: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] ext = L"Unknown"; ^ listcerts.c:408:23: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] Print(L"\nType: %s (GUID: %g)\n", ext, &Cert->SignatureOwner); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:503:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' Print ( ^ listcerts.c: In function 'OutputVariable': listcerts.c:455:15: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] Print(L"\nVARIABLE: %s (size: %d)\n", var, len); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:503:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' Print ( ^ listcerts.c:459:15: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] Print(L"Variable %s not found\n", var); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:503:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' Print ( ^ listcerts.c:461:15: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] Print(L"ERROR: Failed to get variable %s. Code: %d\n", var, status); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:503:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' Print ( ^ listcerts.c: In function 'Usage': listcerts.c:470:11: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] Print(L"Usage: listcerts [ -pk | -kek | -db | -dbx]\n"); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:503:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' Print ( ^ listcerts.c: In function 'efi_main': listcerts.c:479:29: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] CHAR16 *variables[] = { L"PK", L"KEK", L"db", L"dbx" }; ^ listcerts.c:479:29: note: (near initialization for 'variables[0]') listcerts.c:479:36: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] CHAR16 *variables[] = { L"PK", L"KEK", L"db", L"dbx" }; ^ listcerts.c:479:36: note: (near initialization for 'variables[1]') listcerts.c:479:44: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] CHAR16 *variables[] = { L"PK", L"KEK", L"db", L"dbx" }; ^ listcerts.c:479:44: note: (near initialization for 'variables[2]') listcerts.c:479:51: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] CHAR16 *variables[] = { L"PK", L"KEK", L"db", L"dbx" }; ^ listcerts.c:479:51: note: (near initialization for 'variables[3]') listcerts.c:489:15: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] Print(L"ERROR: Parsing command line arguments: %d\n", status); ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:503:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' Print ( ^ listcerts.c:498:30: warning: passing argument 2 of 'StrCmp' from incompatible pointer type [-Wincompatible-pointer-types] if (!StrCmp(argv[1], L"--help") || ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:282:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCmp ( ^ listcerts.c:499:30: warning: passing argument 2 of 'StrCmp' from incompatible pointer type [-Wincompatible-pointer-types] !StrCmp(argv[1], L"-h") || ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:282:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCmp ( ^ listcerts.c:500:30: warning: passing argument 2 of 'StrCmp' from incompatible pointer type [-Wincompatible-pointer-types] !StrCmp(argv[1], L"-?")) { ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:282:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCmp ( ^ listcerts.c:502:37: warning: passing argument 2 of 'StrCmp' from incompatible pointer type [-Wincompatible-pointer-types] } else if (!StrCmp(argv[1], L"-pk")) { ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:282:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCmp ( ^ listcerts.c:504:37: warning: passing argument 2 of 'StrCmp' from incompatible pointer type [-Wincompatible-pointer-types] } else if (!StrCmp(argv[1], L"-kek")) { ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:282:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCmp ( ^ listcerts.c:506:37: warning: passing argument 2 of 'StrCmp' from incompatible pointer type [-Wincompatible-pointer-types] } else if (!StrCmp(argv[1], L"-db")) { ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:282:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCmp ( ^ listcerts.c:508:37: warning: passing argument 2 of 'StrCmp' from incompatible pointer type [-Wincompatible-pointer-types] } else if (!StrCmp(argv[1], L"-dbx")) { ^ In file included from listcerts.c:14:0: /usr/include/efi/efilib.h:282:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' StrCmp ( ^ gcc -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -fPIC -U_FORTIFY_SOURCE -fno-stack-protector -DCONFIG_x86_64 -c asn1_ber_decoder.c -o asn1_ber_decoder.o asn1_ber_decoder.c: In function 'asn1_ber_decoder': asn1_ber_decoder.c:445:9: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] Errmsg = L"Data overrun error"; ^ asn1_ber_decoder.c:448:9: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] Errmsg = L"Machine overrun error"; ^ asn1_ber_decoder.c:451:9: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] Errmsg = L"Jump stack underflow"; ^ asn1_ber_decoder.c:454:9: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] Errmsg = L"Jump stack overflow"; ^ asn1_ber_decoder.c:457:9: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] Errmsg = L"Cons stack underflow"; ^ asn1_ber_decoder.c:460:9: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] Errmsg = L"Cons stack overflow"; ^ asn1_ber_decoder.c:463:9: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] Errmsg = L"Cons length error"; ^ asn1_ber_decoder.c:466:9: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] Errmsg = L"Missing EOC in indefinite len cons"; ^ asn1_ber_decoder.c:469:9: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] Errmsg = L"Invalid length EOC"; ^ asn1_ber_decoder.c:472:9: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] Errmsg = L"Unsupported length"; ^ asn1_ber_decoder.c:475:9: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] Errmsg = L"Indefinite len primitive not permitted"; ^ asn1_ber_decoder.c:478:9: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] Errmsg = L"Unexpected tag"; ^ asn1_ber_decoder.c:481:9: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] Errmsg = L"Long tag not supported"; ^ asn1_ber_decoder.c:483:15: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] Print(L"ERROR: %s\n", Errmsg); ^ In file included from asn1_ber_decoder.c:20:0: /usr/include/efi/efilib.h:503:1: note: expected 'const CHAR16 * {aka const short unsigned int *}' but argument is of type 'int *' Print ( ^ gcc -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -fPIC -U_FORTIFY_SOURCE -fno-stack-protector -DCONFIG_x86_64 -c oid_registry.c -o oid_registry.o gcc -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -fPIC -U_FORTIFY_SOURCE -fno-stack-protector -DCONFIG_x86_64 -c x509.c -o x509.o ld.bfd -nostdlib -T /usr/lib64/elf_x86_64_efi.lds -shared -Bsymbolic /usr/lib64/crt0-efi-x86_64.o -L /usr/lib64 listcerts.o asn1_ber_decoder.o oid_registry.o x509.o -o listcerts.so -lefi -lgnuefi /usr/lib64/gcc/x86_64-alt-linux/5/libgcc.a nm -D listcerts.so | grep ' U ' && exit 1 || exit 0 objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel \ -j .rela -j .reloc --target=efi-app-x86_64 listcerts.so listcerts.efi rm listcerts.so oid_registry.o asn1_ber_decoder.o listcerts.o x509.o make: Leaving directory `/usr/src/RPM/BUILD/uefi-utils-0.1/listcerts' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.80079 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/uefi-utils-buildroot + : + /bin/rm -rf -- /usr/src/tmp/uefi-utils-buildroot + cd uefi-utils-0.1 + install -pDm644 listcerts/listcerts.efi /usr/src/tmp/uefi-utils-buildroot/usr/lib64/efi/listcerts.efi + '[' x86_64 == x86_64 ']' ++ mktemp pesign-XXXXXXX.efi + out=pesign-qS1WPJ4.efi + '[' -S /var/run/pesign/socketdir/socket ']' + pesign -c 'Red Hat Test Certificate' -i /usr/src/tmp/uefi-utils-buildroot/usr/lib64/efi/listcerts.efi -o pesign-qS1WPJ4.efi -s Could not initialize nss: The certificate/key database is in an old, unsupported format. + : + '[' -s pesign-qS1WPJ4.efi ']' + '[' -e pesign-qS1WPJ4.efi ']' + rm -f pesign-qS1WPJ4.efi + echo 'pesign failed' pesign failed + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/uefi-utils-buildroot (auto) Verifying and fixing files in /usr/src/tmp/uefi-utils-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/uefi-utils-buildroot (auto) Adjusting library links in /usr/src/tmp/uefi-utils-buildroot ./usr/lib64: Verifying ELF objects in /usr/src/tmp/uefi-utils-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: uefi-utils-listcerts-0.1-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.80079 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd uefi-utils-0.1 + DOCDIR=/usr/src/tmp/uefi-utils-buildroot/usr/share/doc/uefi-utils-listcerts-0.1 + export DOCDIR + rm -rf /usr/src/tmp/uefi-utils-buildroot/usr/share/doc/uefi-utils-listcerts-0.1 + /bin/mkdir -p /usr/src/tmp/uefi-utils-buildroot/usr/share/doc/uefi-utils-listcerts-0.1 + cp -prL listcerts/README /usr/src/tmp/uefi-utils-buildroot/usr/share/doc/uefi-utils-listcerts-0.1 + chmod -R go-w /usr/src/tmp/uefi-utils-buildroot/usr/share/doc/uefi-utils-listcerts-0.1 + chmod -R a+rX /usr/src/tmp/uefi-utils-buildroot/usr/share/doc/uefi-utils-listcerts-0.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.YdT1Aq find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.WYwqa4 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.MvLduK Wrote: /usr/src/RPM/RPMS/x86_64/uefi-utils-listcerts-0.1-alt1.x86_64.rpm 0.68user 0.22system 0:03.84elapsed 23%CPU (0avgtext+0avgdata 30268maxresident)k 0inputs+0outputs (0major+93445minor)pagefaults 0swaps 3.25user 2.10system 0:08.72elapsed 61%CPU (0avgtext+0avgdata 121900maxresident)k 744inputs+0outputs (0major+361461minor)pagefaults 0swaps