=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for libtcpa-1.1bnb9 --- tcpa.o --- --- transmit.o --- --- owner.o --- --- tcpa.o --- gcc -g -Wall -I. -O2 -mieee -I/usr/include -c tcpa.c --- transmit.o --- gcc -g -Wall -I. -O2 -mieee -I/usr/include -c transmit.c --- owner.o --- gcc -g -Wall -I. -O2 -mieee -I/usr/include -c owner.c --- oiaposap.o --- gcc -g -Wall -I. -O2 -mieee -I/usr/include -c oiaposap.c --- hmac.o --- gcc -g -Wall -I. -O2 -mieee -I/usr/include -c hmac.c --- owner.o --- owner.c: In function 'TPM_TakeOwnership': owner.c:129:33: warning: pointer targets in passing argument 2 of 'TPM_OIAP' differ in signedness [-Wpointer-sign] ret = TPM_OIAP(&authhandle, nonceeven, log); ^~~~~~~~~ In file included from owner.c:11:0: ./tcpa.h:26:10: note: expected 'char *' but argument is of type 'unsigned char *' uint32_t TPM_OIAP(uint32_t *handle, char *enonce, FILE *log); ^~~~~~~~ owner.c:144:21: warning: pointer targets in passing argument 1 of 'buildbuff' differ in signedness [-Wpointer-sign] ret = buildbuff(take_owner_fmt, tcpadata, ^~~~~~~~~~~~~~ In file included from owner.c:12:0: ./buildbuff.h:10:5: note: expected 'char *' but argument is of type 'unsigned char *' int buildbuff(char *format, unsigned char *buffer, ...); ^~~~~~~~~ --- oiaposap.o --- oiaposap.c: In function 'TPM_OIAP': oiaposap.c:32:21: warning: pointer targets in passing argument 1 of 'buildbuff' differ in signedness [-Wpointer-sign] ret = buildbuff(oiap_open_fmt, tcpadata); ^~~~~~~~~~~~~ In file included from oiaposap.c:12:0: ./buildbuff.h:10:5: note: expected 'char *' but argument is of type 'unsigned char *' int buildbuff(char *format, unsigned char *buffer, ...); ^~~~~~~~~ oiaposap.c: In function 'TPM_OSAP': oiaposap.c:59:21: warning: pointer targets in passing argument 1 of 'buildbuff' differ in signedness [-Wpointer-sign] ret = buildbuff(osap_open_fmt, tcpadata, etype, evalue, ^~~~~~~~~~~~~ In file included from oiaposap.c:12:0: ./buildbuff.h:10:5: note: expected 'char *' but argument is of type 'unsigned char *' int buildbuff(char *format, unsigned char *buffer, ...); ^~~~~~~~~ oiaposap.c: In function 'TPM_Terminate_Handle': oiaposap.c:89:21: warning: pointer targets in passing argument 1 of 'buildbuff' differ in signedness [-Wpointer-sign] ret = buildbuff(hand_close_fmt, tcpadata, handle); ^~~~~~~~~~~~~~ In file included from oiaposap.c:12:0: ./buildbuff.h:10:5: note: expected 'char *' but argument is of type 'unsigned char *' int buildbuff(char *format, unsigned char *buffer, ...); ^~~~~~~~~ --- buildbuff.o --- gcc -g -Wall -I. -O2 -mieee -I/usr/include -c buildbuff.c buildbuff.c: In function 'buildbuff': buildbuff.c:99:9: warning: variable 'i' set but not used [-Wunused-but-set-variable] int i; ^ --- hmac.o --- hmac.c: In function 'authhmac': hmac.c:135:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] data = (unsigned char *) va_arg(argp, int); ^ hmac.c: In function 'rawhmac': hmac.c:184:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] data = (unsigned char *) va_arg(argp, int); ^ --- buildbuff.o --- buildbuff.c:203:18: warning: 'byte' may be used uninitialized in this function [-Wmaybe-uninitialized] byte = byte << 4; ~~~~~^~~~~~~~~~~ --- keys.o --- gcc -g -Wall -I. -O2 -mieee -I/usr/include -c keys.c --- seal.o --- gcc -g -Wall -I. -O2 -mieee -I/usr/include -c seal.c --- pcrs.o --- gcc -g -Wall -I. -O2 -mieee -I/usr/include -c pcrs.c --- keys.o --- keys.c: In function 'TPM_ReadPubek': keys.c:40:21: warning: pointer targets in passing argument 1 of 'buildbuff' differ in signedness [-Wpointer-sign] ret = buildbuff(read_pubek_fmt, tcpadata, TCPA_HASH_SIZE, nonce); ^~~~~~~~~~~~~~ In file included from keys.c:12:0: ./buildbuff.h:10:5: note: expected 'char *' but argument is of type 'unsigned char *' int buildbuff(char *format, unsigned char *buffer, ...); ^~~~~~~~~ keys.c: In function 'TPM_CreateWrapKey': keys.c:142:21: warning: pointer targets in passing argument 1 of 'buildbuff' differ in signedness [-Wpointer-sign] ret = buildbuff(create_key_fmt, tcpadata, ^~~~~~~~~~~~~~ In file included from keys.c:12:0: ./buildbuff.h:10:5: note: expected 'char *' but argument is of type 'unsigned char *' int buildbuff(char *format, unsigned char *buffer, ...); ^~~~~~~~~ keys.c: In function 'TPM_LoadKey': keys.c:210:33: warning: pointer targets in passing argument 2 of 'TPM_OIAP' differ in signedness [-Wpointer-sign] ret = TPM_OIAP(&authhandle, evennonce, log); ^~~~~~~~~ In file included from keys.c:11:0: ./tcpa.h:26:10: note: expected 'char *' but argument is of type 'unsigned char *' uint32_t TPM_OIAP(uint32_t *handle, char *enonce, FILE *log); ^~~~~~~~ keys.c:231:21: warning: pointer targets in passing argument 1 of 'buildbuff' differ in signedness [-Wpointer-sign] ret = buildbuff(load_key_fmt, tcpadata, ^~~~~~~~~~~~ In file included from keys.c:12:0: ./buildbuff.h:10:5: note: expected 'char *' but argument is of type 'unsigned char *' int buildbuff(char *format, unsigned char *buffer, ...); ^~~~~~~~~ keys.c: In function 'TPM_EvictKey': keys.c:271:21: warning: pointer targets in passing argument 1 of 'buildbuff' differ in signedness [-Wpointer-sign] ret = buildbuff(evict_key_fmt, tcpadata, keyhandle); ^~~~~~~~~~~~~ In file included from keys.c:12:0: ./buildbuff.h:10:5: note: expected 'char *' but argument is of type 'unsigned char *' int buildbuff(char *format, unsigned char *buffer, ...); ^~~~~~~~~ keys.c: In function 'BuildKey': keys.c:286:21: warning: pointer targets in passing argument 1 of 'buildbuff' differ in signedness [-Wpointer-sign] ret = buildbuff(build_key_fmt, buffer, ^~~~~~~~~~~~~ In file included from keys.c:12:0: ./buildbuff.h:10:5: note: expected 'char *' but argument is of type 'unsigned char *' int buildbuff(char *format, unsigned char *buffer, ...); ^~~~~~~~~ --- seal.o --- seal.c: In function 'TPM_Seal': seal.c:117:21: warning: pointer targets in passing argument 1 of 'buildbuff' differ in signedness [-Wpointer-sign] ret = buildbuff(seal_fmt, tcpadata, ^~~~~~~~ In file included from seal.c:12:0: ./buildbuff.h:10:5: note: expected 'char *' but argument is of type 'unsigned char *' int buildbuff(char *format, unsigned char *buffer, ...); ^~~~~~~~~ seal.c: In function 'TPM_Seal_CurrPCR': seal.c:185:14: warning: variable 'ret' set but not used [-Wunused-but-set-variable] uint32_t ret; ^~~ --- pcrs.o --- pcrs.c: In function 'TPM_PcrRead': pcrs.c:30:21: warning: pointer targets in passing argument 1 of 'buildbuff' differ in signedness [-Wpointer-sign] ret = buildbuff(pcrread_fmt, tcpadata, pcrindex); ^~~~~~~~~~~ In file included from pcrs.c:12:0: ./buildbuff.h:10:5: note: expected 'char *' but argument is of type 'unsigned char *' int buildbuff(char *format, unsigned char *buffer, ...); ^~~~~~~~~ --- seal.o --- seal.c: In function 'TPM_Unseal': seal.c:237:34: warning: pointer targets in passing argument 2 of 'TPM_OIAP' differ in signedness [-Wpointer-sign] ret = TPM_OIAP(&authhandle1, enonce1, log); ^~~~~~~ In file included from seal.c:11:0: ./tcpa.h:26:10: note: expected 'char *' but argument is of type 'unsigned char *' uint32_t TPM_OIAP(uint32_t *handle, char *enonce, FILE *log); ^~~~~~~~ seal.c:240:34: warning: pointer targets in passing argument 2 of 'TPM_OIAP' differ in signedness [-Wpointer-sign] ret = TPM_OIAP(&authhandle2, enonce2, log); ^~~~~~~ In file included from seal.c:11:0: ./tcpa.h:26:10: note: expected 'char *' but argument is of type 'unsigned char *' uint32_t TPM_OIAP(uint32_t *handle, char *enonce, FILE *log); ^~~~~~~~ seal.c:266:21: warning: pointer targets in passing argument 1 of 'buildbuff' differ in signedness [-Wpointer-sign] ret = buildbuff(unseal_fmt, tcpadata, ^~~~~~~~~~ In file included from seal.c:12:0: ./buildbuff.h:10:5: note: expected 'char *' but argument is of type 'unsigned char *' int buildbuff(char *format, unsigned char *buffer, ...); ^~~~~~~~~ --- signature.o --- gcc -g -Wall -I. -O2 -mieee -I/usr/include -c signature.c signature.c: In function 'TPM_Sign': signature.c:54:33: warning: pointer targets in passing argument 2 of 'TPM_OIAP' differ in signedness [-Wpointer-sign] ret = TPM_OIAP(&authhandle, evennonce, log); ^~~~~~~~~ In file included from signature.c:11:0: ./tcpa.h:26:10: note: expected 'char *' but argument is of type 'unsigned char *' uint32_t TPM_OIAP(uint32_t *handle, char *enonce, FILE *log); ^~~~~~~~ signature.c:70:21: warning: pointer targets in passing argument 1 of 'buildbuff' differ in signedness [-Wpointer-sign] ret = buildbuff(sign_fmt, tcpadata, ^~~~~~~~ In file included from signature.c:12:0: ./buildbuff.h:10:5: note: expected 'char *' but argument is of type 'unsigned char *' int buildbuff(char *format, unsigned char *buffer, ...); ^~~~~~~~~ --- all --- ar rv libtcpa.a tcpa.o transmit.o owner.o oiaposap.o hmac.o buildbuff.o keys.o seal.o pcrs.o signature.o ar: creating libtcpa.a a - tcpa.o a - transmit.o a - owner.o a - oiaposap.o a - hmac.o a - buildbuff.o a - keys.o a - seal.o a - pcrs.o a - signature.o --- tcpa_demo.o --- --- takeown --- --- createkey --- --- tcpa_demo.o --- gcc -I../libtcpa -DTPMLOG=NULL -O2 -mieee -I/usr/include -O2 -mieee -I/usr/include -I/usr/include -c tcpa_demo.c --- takeown --- gcc -I../libtcpa -DTPMLOG=NULL -O2 -mieee -I/usr/include -o takeown takeown.c ../libtcpa/libtcpa.a -lcrypto -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib --- createkey --- gcc -I../libtcpa -DTPMLOG=NULL -O2 -mieee -I/usr/include -o createkey createkey.c ../libtcpa/libtcpa.a -lcrypto -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib --- loadkey --- gcc -I../libtcpa -DTPMLOG=NULL -O2 -mieee -I/usr/include -o loadkey loadkey.c ../libtcpa/libtcpa.a -lcrypto -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib --- evictkey --- gcc -I../libtcpa -DTPMLOG=NULL -O2 -mieee -I/usr/include -o evictkey evictkey.c ../libtcpa/libtcpa.a -lcrypto -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib --- signfile --- gcc -I../libtcpa -DTPMLOG=NULL -O2 -mieee -I/usr/include -o signfile signfile.c ../libtcpa/libtcpa.a -lcrypto -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib --- verifyfile --- gcc -I../libtcpa -DTPMLOG=NULL -O2 -mieee -I/usr/include -o verifyfile verifyfile.c ../libtcpa/libtcpa.a -lcrypto -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib --- sealfile --- gcc -I../libtcpa -DTPMLOG=NULL -O2 -mieee -I/usr/include -o sealfile sealfile.c ../libtcpa/libtcpa.a -lcrypto -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib --- unsealfile --- gcc -I../libtcpa -DTPMLOG=NULL -O2 -mieee -I/usr/include -o unsealfile unsealfile.c ../libtcpa/libtcpa.a -lcrypto -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib --- tcpa_demo --- gcc -I../libtcpa -DTPMLOG=NULL -O2 -mieee -I/usr/include -o tcpa_demo tcpa_demo.o ../libtcpa/libtcpa.a -lcrypto -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib