Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

-current tpm breakage



Builds with a (non-standard) MKTPM=1 break with

[...]
#    create  libtspi/.depend
rm -f .depend
CC=/u/netbsd-builds/developer/amd64/tools/bin/x86_64--netbsd-gcc /u/netbsd-builds/developer/amd64/tools/bin/nbmkdep -s .o\ .po\ .pico\ .go\ .ln\ .d -d -f .depend hash.d hosttable.
#   compile  libtspi/hash.o
/u/netbsd-builds/developer/amd64/tools/bin/x86_64--netbsd-gcc -O2 -std=gnu99 -Werror -fPIE --sysroot=/u/netbsd-builds/developer/amd64/destdir -I/public/netbsd-developer/c /public/netbsd-developer/crypto/external/cpl/trousers/dist/src/trspi/crypto/openssl/hash.c: In function 'Trspi_Hash': /public/netbsd-developer/crypto/external/cpl/trousers/dist/src/trspi/crypto/openssl/hash.c:59:13: error: storage size of 'md_ctx' isn't known
  EVP_MD_CTX md_ctx;
             ^~~~~~
/public/netbsd-developer/crypto/external/cpl/trousers/dist/src/trspi/crypto/openssl/hash.c: In function 'Trspi_HashInit': /public/netbsd-developer/crypto/external/cpl/trousers/dist/src/trspi/crypto/openssl/hash.c:115:32: error: invalid application of 'sizeof' to incomplete type 'EVP_MD_CTX {aka struc
  if ((ctx->ctx = malloc(sizeof(EVP_MD_CTX))) == NULL)
                                ^~~~~~~~~~

*** Failed target:  hash.o
*** Failed command: /u/netbsd-builds/developer/amd64/tools/bin/x86_64--netbsd-gcc -O2 -std=gnu99 -Werror -fPIE --sysroot=/u/netbsd-builds/developer/amd64/destdir -I/public/netbsd-
*** Error code 1

Stop.
nbmake[8]: stopped in /public/netbsd-developer/crypto/external/cpl/trousers/lib/libtspi

*** Failed target:  dependall
*** Failed command: cd "/public/netbsd-developer/crypto/external/cpl/trousers/lib/libtspi"; /u/netbsd-builds/developer/amd64/tools/bin/nbmake realall
*** Error code 1


-- I guess the code hasn't kept up with openssl evolution?

Cheerio,
hauke

--
     The ASCII Ribbon Campaign                    Hauke Fath
()     No HTML/RTF in email	        Institut für Nachrichtentechnik
/\     No Word docs in email                     TU Darmstadt
     Respect for open standards              Ruf +49-6151-16-21344


Home | Main Index | Thread Index | Old Index