Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.74 KB | None | 0 0
  1. :~/Repos/rust-mbedtls$ rustc --version
  2. rustc 1.40.0-nightly (fa0f7d008 2019-10-17)
  3. :~/Repos/rust-mbedtls$ cargo update -p bindgen --precise 0.19.2
  4. Updating crates.io index
  5. Updating bindgen v0.19.1 -> v0.19.2
  6. Updating syntex_errors v0.38.0 -> v0.40.0
  7. Updating syntex_pos v0.38.0 -> v0.40.0
  8. Updating syntex_syntax v0.38.0 -> v0.40.0
  9. enarxnuc@enarxnuc:~/Repos/rust-mbedtls$ cargo build
  10. Compiling libc v0.2.62
  11. Compiling winapi-build v0.1.1
  12. Compiling log v0.4.8
  13. Compiling winapi v0.2.8
  14. Compiling cc v1.0.45
  15. Compiling cfg-if v0.1.10
  16. Compiling rustc-serialize v0.3.24
  17. Compiling glob v0.2.11
  18. Compiling utf8-ranges v0.1.3
  19. Compiling regex-syntax v0.3.9
  20. Compiling term v0.4.6
  21. Compiling unicode-xid v0.0.3
  22. Compiling strsim v0.5.2
  23. Compiling bitflags v0.7.0
  24. Compiling proc-macro2 v0.4.30
  25. Compiling bitflags v0.5.0
  26. Compiling lazy_static v0.2.11
  27. Compiling pkg-config v0.3.16
  28. Compiling unicode-xid v0.1.0
  29. Compiling serde v1.0.101
  30. Compiling bitflags v1.2.0
  31. Compiling byteorder v1.3.2
  32. Compiling yasna v0.2.2
  33. Compiling kernel32-sys v0.2.2
  34. Compiling cmake v0.1.42
  35. Compiling mbedtls v0.4.0 (/home/Repos/rust-mbedtls/mbedtls)
  36. Compiling syntex_pos v0.40.0
  37. Compiling clang-sys v0.11.1
  38. Compiling libz-sys v1.0.25
  39. Compiling log v0.3.9
  40. Compiling memchr v0.1.11
  41. Compiling memchr v1.0.2
  42. Compiling quote v0.6.13
  43. Compiling thread-id v2.0.0
  44. Compiling syntex_errors v0.40.0
  45. Compiling aho-corasick v0.5.3
  46. Compiling nom v3.2.1
  47. Compiling syn v0.14.9
  48. Compiling thread_local v0.2.7
  49. Compiling syntex_syntax v0.40.0
  50. Compiling cexpr v0.2.3
  51. Compiling regex v0.1.80
  52. Compiling serde_derive v1.0.70
  53. Compiling env_logger v0.3.5
  54. Compiling docopt v0.6.86
  55. Compiling bindgen v0.19.2
  56. Compiling mbedtls-sys-auto v2.18.0 (/home/Repos/rust-mbedtls/mbedtls-sys)
  57. error: failed to run custom build command for `mbedtls-sys-auto v2.18.0 (/home/Repos/rust-mbedtls/mbedtls-sys)`
  58.  
  59. Caused by:
  60. process didn't exit successfully: `/home/Repos/rust-mbedtls/target/debug/build/mbedtls-sys-auto-07f5a8b50ecdbc76/build-script-build` (exit code: 101)
  61. --- stdout
  62. cargo:rerun-if-env-changed=RUST_MBEDTLS_SYS_SOURCE
  63. cargo:rerun-if-changed=vendor/CMakeLists.txt
  64. cargo:rerun-if-changed=vendor/include/mbedtls/bignum.h
  65. cargo:rerun-if-changed=vendor/include/mbedtls/md.h
  66. cargo:rerun-if-changed=vendor/include/mbedtls/threading.h
  67. cargo:rerun-if-changed=vendor/include/mbedtls/ecp.h
  68. cargo:rerun-if-changed=vendor/include/mbedtls/rsa.h
  69. cargo:rerun-if-changed=vendor/include/mbedtls/ecdsa.h
  70. cargo:rerun-if-changed=vendor/include/mbedtls/platform_time.h
  71. cargo:rerun-if-changed=vendor/include/mbedtls/asn1.h
  72. cargo:rerun-if-changed=vendor/include/mbedtls/pk.h
  73. cargo:rerun-if-changed=vendor/include/mbedtls/platform_util.h
  74. cargo:rerun-if-changed=vendor/include/mbedtls/x509.h
  75. cargo:rerun-if-changed=vendor/include/mbedtls/cipher.h
  76. cargo:rerun-if-changed=vendor/include/mbedtls/x509_crl.h
  77. cargo:rerun-if-changed=vendor/include/mbedtls/ssl_ciphersuites.h
  78. cargo:rerun-if-changed=vendor/include/mbedtls/x509_crt.h
  79. cargo:rerun-if-changed=vendor/include/mbedtls/dhm.h
  80. cargo:rerun-if-changed=vendor/include/mbedtls/ecdh.h
  81. cargo:rerun-if-changed=vendor/include/mbedtls/oid.h
  82. cargo:rerun-if-changed=vendor/include/mbedtls/ssl.h
  83. cargo:rerun-if-changed=vendor/include/mbedtls/md5.h
  84. cargo:rerun-if-changed=vendor/include/mbedtls/sha1.h
  85. cargo:rerun-if-changed=vendor/include/mbedtls/sha256.h
  86. cargo:rerun-if-changed=vendor/include/mbedtls/sha512.h
  87. cargo:rerun-if-changed=vendor/include/mbedtls/ecjpake.h
  88. cargo:rerun-if-changed=vendor/include/mbedtls/psa_util.h
  89. cargo:rerun-if-changed=vendor/include/mbedtls/aes.h
  90. cargo:rerun-if-changed=vendor/include/mbedtls/net_sockets.h
  91. cargo:rerun-if-changed=vendor/include/mbedtls/havege.h
  92. cargo:rerun-if-changed=vendor/include/mbedtls/poly1305.h
  93. cargo:rerun-if-changed=vendor/include/mbedtls/chacha20.h
  94. cargo:rerun-if-changed=vendor/include/mbedtls/xtea.h
  95. cargo:rerun-if-changed=vendor/include/mbedtls/x509_csr.h
  96. cargo:rerun-if-changed=vendor/include/mbedtls/version.h
  97. cargo:rerun-if-changed=vendor/include/mbedtls/timing.h
  98. cargo:rerun-if-changed=vendor/include/mbedtls/ssl_ticket.h
  99. cargo:rerun-if-changed=vendor/include/mbedtls/ssl_internal.h
  100. cargo:rerun-if-changed=vendor/include/mbedtls/ssl_cookie.h
  101. cargo:rerun-if-changed=vendor/include/mbedtls/ssl_cache.h
  102. cargo:rerun-if-changed=vendor/include/mbedtls/rsa_internal.h
  103. cargo:rerun-if-changed=vendor/include/mbedtls/ripemd160.h
  104. cargo:rerun-if-changed=vendor/include/mbedtls/platform.h
  105. cargo:rerun-if-changed=vendor/include/mbedtls/pkcs5.h
  106. cargo:rerun-if-changed=vendor/include/mbedtls/pkcs12.h
  107. cargo:rerun-if-changed=vendor/include/mbedtls/pk_internal.h
  108. cargo:rerun-if-changed=vendor/include/mbedtls/pem.h
  109. cargo:rerun-if-changed=vendor/include/mbedtls/padlock.h
  110. cargo:rerun-if-changed=vendor/include/mbedtls/nist_kw.h
  111. cargo:rerun-if-changed=vendor/include/mbedtls/net.h
  112. cargo:rerun-if-changed=vendor/include/mbedtls/memory_buffer_alloc.h
  113. cargo:rerun-if-changed=vendor/include/mbedtls/md_internal.h
  114. cargo:rerun-if-changed=vendor/include/mbedtls/md4.h
  115. cargo:rerun-if-changed=vendor/include/mbedtls/md2.h
  116. cargo:rerun-if-changed=vendor/include/mbedtls/hmac_drbg.h
  117. cargo:rerun-if-changed=vendor/include/mbedtls/hkdf.h
  118. cargo:rerun-if-changed=vendor/include/mbedtls/gcm.h
  119. cargo:rerun-if-changed=vendor/include/mbedtls/error.h
  120. cargo:rerun-if-changed=vendor/include/mbedtls/entropy_poll.h
  121. cargo:rerun-if-changed=vendor/include/mbedtls/entropy.h
  122. cargo:rerun-if-changed=vendor/include/mbedtls/ecp_internal.h
  123. cargo:rerun-if-changed=vendor/include/mbedtls/des.h
  124. cargo:rerun-if-changed=vendor/include/mbedtls/debug.h
  125. cargo:rerun-if-changed=vendor/include/mbedtls/ctr_drbg.h
  126. cargo:rerun-if-changed=vendor/include/mbedtls/cmac.h
  127. cargo:rerun-if-changed=vendor/include/mbedtls/cipher_internal.h
  128. cargo:rerun-if-changed=vendor/include/mbedtls/chachapoly.h
  129. cargo:rerun-if-changed=vendor/include/mbedtls/ccm.h
  130. cargo:rerun-if-changed=vendor/include/mbedtls/camellia.h
  131. cargo:rerun-if-changed=vendor/include/mbedtls/bn_mul.h
  132. cargo:rerun-if-changed=vendor/include/mbedtls/blowfish.h
  133. cargo:rerun-if-changed=vendor/include/mbedtls/base64.h
  134. cargo:rerun-if-changed=vendor/include/mbedtls/asn1write.h
  135. cargo:rerun-if-changed=vendor/include/mbedtls/aria.h
  136. cargo:rerun-if-changed=vendor/include/mbedtls/arc4.h
  137. cargo:rerun-if-changed=vendor/include/mbedtls/aesni.h
  138. cargo:rerun-if-changed=vendor/library/pk_wrap.c
  139. cargo:rerun-if-changed=vendor/library/base64.c
  140. cargo:rerun-if-changed=vendor/library/padlock.c
  141. cargo:rerun-if-changed=vendor/library/pkwrite.c
  142. cargo:rerun-if-changed=vendor/library/ssl_cache.c
  143. cargo:rerun-if-changed=vendor/library/platform.c
  144. cargo:rerun-if-changed=vendor/library/md4.c
  145. cargo:rerun-if-changed=vendor/library/x509_create.c
  146. cargo:rerun-if-changed=vendor/library/md.c
  147. cargo:rerun-if-changed=vendor/library/pem.c
  148. cargo:rerun-if-changed=vendor/library/arc4.c
  149. cargo:rerun-if-changed=vendor/library/version.c
  150. cargo:rerun-if-changed=vendor/library/pkcs5.c
  151. cargo:rerun-if-changed=vendor/library/ripemd160.c
  152. cargo:rerun-if-changed=vendor/library/aesni.c
  153. cargo:rerun-if-changed=vendor/library/version_features.c
  154. cargo:rerun-if-changed=vendor/library/cipher_wrap.c
  155. cargo:rerun-if-changed=vendor/library/platform_util.c
  156. cargo:rerun-if-changed=vendor/library/Makefile
  157. cargo:rerun-if-changed=vendor/library/blowfish.c
  158. cargo:rerun-if-changed=vendor/library/error.c
  159. cargo:rerun-if-changed=vendor/library/md_wrap.c
  160. cargo:rerun-if-changed=vendor/library/cipher.c
  161. cargo:rerun-if-changed=vendor/library/timing.c
  162. cargo:rerun-if-changed=vendor/library/ecp.c
  163. cargo:rerun-if-changed=vendor/library/ecjpake.c
  164. cargo:rerun-if-changed=vendor/library/x509write_csr.c
  165. cargo:rerun-if-changed=vendor/library/pk.c
  166. cargo:rerun-if-changed=vendor/library/pkcs12.c
  167. cargo:rerun-if-changed=vendor/library/pkparse.c
  168. cargo:rerun-if-changed=vendor/library/poly1305.c
  169. cargo:rerun-if-changed=vendor/library/md2.c
  170. cargo:rerun-if-changed=vendor/library/sha512.c
  171. cargo:rerun-if-changed=vendor/library/CMakeLists.txt
  172. cargo:rerun-if-changed=vendor/library/cmac.c
  173. cargo:rerun-if-changed=vendor/library/aes.c
  174. cargo:rerun-if-changed=vendor/library/md5.c
  175. cargo:rerun-if-changed=vendor/library/aria.c
  176. cargo:rerun-if-changed=vendor/library/oid.c
  177. cargo:rerun-if-changed=vendor/library/chacha20.c
  178. cargo:rerun-if-changed=vendor/library/nist_kw.c
  179. cargo:rerun-if-changed=vendor/library/xtea.c
  180. cargo:rerun-if-changed=vendor/library/asn1parse.c
  181. cargo:rerun-if-changed=vendor/library/dhm.c
  182. cargo:rerun-if-changed=vendor/library/ssl_ticket.c
  183. cargo:rerun-if-changed=vendor/library/x509_crt.c
  184. cargo:rerun-if-changed=vendor/library/ssl_tls.c
  185. cargo:rerun-if-changed=vendor/library/x509.c
  186. cargo:rerun-if-changed=vendor/library/hkdf.c
  187. cargo:rerun-if-changed=vendor/library/ecdh.c
  188. cargo:rerun-if-changed=vendor/library/bignum.c
  189. cargo:rerun-if-changed=vendor/library/threading.c
  190. cargo:rerun-if-changed=vendor/library/camellia.c
  191. cargo:rerun-if-changed=vendor/library/gcm.c
  192. cargo:rerun-if-changed=vendor/library/memory_buffer_alloc.c
  193. cargo:rerun-if-changed=vendor/library/hmac_drbg.c
  194. cargo:rerun-if-changed=vendor/library/asn1write.c
  195. cargo:rerun-if-changed=vendor/library/ssl_ciphersuites.c
  196. cargo:rerun-if-changed=vendor/library/ecp_curves.c
  197. cargo:rerun-if-changed=vendor/library/pkcs11.c
  198. cargo:rerun-if-changed=vendor/library/ccm.c
  199. cargo:rerun-if-changed=vendor/library/debug.c
  200. cargo:rerun-if-changed=vendor/library/chachapoly.c
  201. cargo:rerun-if-changed=vendor/library/net_sockets.c
  202. cargo:rerun-if-changed=vendor/library/ctr_drbg.c
  203. cargo:rerun-if-changed=vendor/library/rsa.c
  204. cargo:rerun-if-changed=vendor/library/certs.c
  205. cargo:rerun-if-changed=vendor/library/havege.c
  206. cargo:rerun-if-changed=vendor/library/entropy.c
  207. cargo:rerun-if-changed=vendor/library/des.c
  208. cargo:rerun-if-changed=vendor/library/sha1.c
  209. cargo:rerun-if-changed=vendor/library/sha256.c
  210. cargo:rerun-if-changed=vendor/library/ecdsa.c
  211. cargo:rerun-if-changed=vendor/library/rsa_internal.c
  212. cargo:rerun-if-changed=vendor/library/ssl_cli.c
  213. cargo:rerun-if-changed=vendor/library/entropy_poll.c
  214. cargo:rerun-if-changed=vendor/library/.gitignore
  215. cargo:rerun-if-changed=vendor/library/x509write_crt.c
  216. cargo:rerun-if-changed=vendor/library/ssl_cookie.c
  217. cargo:rerun-if-changed=vendor/library/ssl_srv.c
  218. cargo:rerun-if-changed=vendor/library/x509_csr.c
  219. cargo:rerun-if-changed=vendor/library/x509_crl.c
  220. running: "cmake" "/home/Repos/rust-mbedtls/mbedtls-sys/vendor" "-DENABLE_PROGRAMS=OFF" "-DENABLE_TESTING=OFF" "-DCMAKE_INSTALL_PREFIX=/home/Repos/rust-mbedtls/target/debug/build/mbedtls-sys-auto-0b15d1a560c45239/out" "-DCMAKE_C_FLAGS= -DMBEDTLS_CONFIG_FILE=\"</home/Repos/rust-mbedtls/target/debug/build/mbedtls-sys-auto-0b15d1a560c45239/out/config.h>\" -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_BUILD_TYPE=Debug"
  221. -- The C compiler identification is GNU 7.4.0
  222. -- Check for working C compiler: /usr/bin/cc
  223. -- Check for working C compiler: /usr/bin/cc -- works
  224. -- Detecting C compiler ABI info
  225. -- Detecting C compiler ABI info - done
  226. -- Detecting C compile features
  227. -- Detecting C compile features - done
  228. -- Found PythonInterp: /usr/bin/python (found version "2.7.15")
  229. -- Found Perl: /usr/bin/perl (found version "5.26.1")
  230. -- Configuring done
  231. -- Generating done
  232. -- Build files have been written to: /home/Repos/rust-mbedtls/target/debug/build/mbedtls-sys-auto-0b15d1a560c45239/out/build
  233. running: "cmake" "--build" "." "--target" "lib" "--config" "Debug" "--"
  234. Scanning dependencies of target mbedcrypto
  235. [ 2%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/aes.c.o
  236. [ 2%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/aesni.c.o
  237. [ 3%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/arc4.c.o
  238. [ 4%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/aria.c.o
  239. [ 5%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/asn1parse.c.o
  240. [ 6%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/asn1write.c.o
  241. [ 8%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/base64.c.o
  242. [ 9%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/bignum.c.o
  243. [ 10%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/blowfish.c.o
  244. [ 11%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/camellia.c.o
  245. [ 12%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/chacha20.c.o
  246. [ 13%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/ccm.c.o
  247. [ 15%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/chachapoly.c.o
  248. [ 16%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/cipher.c.o
  249. [ 17%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/cipher_wrap.c.o
  250. [ 18%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/cmac.c.o
  251. [ 19%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/ctr_drbg.c.o
  252. [ 20%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/des.c.o
  253. [ 22%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/dhm.c.o
  254. [ 23%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/ecdh.c.o
  255. [ 24%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/ecdsa.c.o
  256. [ 25%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/ecjpake.c.o
  257. [ 26%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/ecp.c.o
  258. [ 27%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/ecp_curves.c.o
  259. [ 29%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/entropy.c.o
  260. [ 30%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/entropy_poll.c.o
  261. [ 31%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/gcm.c.o
  262. [ 32%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/havege.c.o
  263. [ 33%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/hkdf.c.o
  264. [ 34%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/hmac_drbg.c.o
  265. [ 36%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/md.c.o
  266. [ 37%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/md2.c.o
  267. [ 38%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/md4.c.o
  268. [ 39%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/md5.c.o
  269. [ 40%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/md_wrap.c.o
  270. [ 41%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/memory_buffer_alloc.c.o
  271. [ 43%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/nist_kw.c.o
  272. [ 44%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/oid.c.o
  273. [ 45%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/padlock.c.o
  274. [ 46%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/pem.c.o
  275. [ 47%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/pk.c.o
  276. [ 50%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/pkcs12.c.o
  277. [ 50%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/pk_wrap.c.o
  278. [ 51%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/pkcs5.c.o
  279. [ 52%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/pkparse.c.o
  280. [ 53%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/pkwrite.c.o
  281. [ 54%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/platform.c.o
  282. [ 55%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/platform_util.c.o
  283. [ 56%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/poly1305.c.o
  284. [ 58%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/psa_crypto.c.o
  285. [ 59%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/psa_crypto_slot_management.c.o
  286. [ 60%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/psa_crypto_storage.c.o
  287. [ 61%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/psa_its_file.c.o
  288. [ 62%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/ripemd160.c.o
  289. [ 63%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/rsa.c.o
  290. [ 65%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/rsa_internal.c.o
  291. [ 66%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/sha1.c.o
  292. [ 67%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/sha256.c.o
  293. [ 68%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/sha512.c.o
  294. [ 69%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/threading.c.o
  295. [ 70%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/timing.c.o
  296. [ 72%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/xtea.c.o
  297. [ 73%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/__/__/library/version.c.o
  298. [ 74%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/__/__/library/version_features.c.o
  299. [ 75%] Building C object crypto/library/CMakeFiles/mbedcrypto.dir/__/__/library/error.c.o
  300. [ 76%] Linking C static library libmbedcrypto.a
  301. [ 76%] Built target mbedcrypto
  302. Scanning dependencies of target mbedx509
  303. [ 77%] Building C object library/CMakeFiles/mbedx509.dir/pkcs11.c.o
  304. [ 79%] Building C object library/CMakeFiles/mbedx509.dir/certs.c.o
  305. [ 80%] Building C object library/CMakeFiles/mbedx509.dir/x509.c.o
  306. [ 81%] Building C object library/CMakeFiles/mbedx509.dir/x509_create.c.o
  307. [ 82%] Building C object library/CMakeFiles/mbedx509.dir/x509_crl.c.o
  308. [ 83%] Building C object library/CMakeFiles/mbedx509.dir/x509_crt.c.o
  309. [ 84%] Building C object library/CMakeFiles/mbedx509.dir/x509_csr.c.o
  310. [ 86%] Building C object library/CMakeFiles/mbedx509.dir/x509write_crt.c.o
  311. [ 87%] Building C object library/CMakeFiles/mbedx509.dir/x509write_csr.c.o
  312. [ 88%] Linking C static library libmbedx509.a
  313. [ 88%] Built target mbedx509
  314. Scanning dependencies of target mbedtls
  315. [ 89%] Building C object library/CMakeFiles/mbedtls.dir/debug.c.o
  316. [ 90%] Building C object library/CMakeFiles/mbedtls.dir/net_sockets.c.o
  317. [ 91%] Building C object library/CMakeFiles/mbedtls.dir/ssl_cache.c.o
  318. [ 93%] Building C object library/CMakeFiles/mbedtls.dir/ssl_ciphersuites.c.o
  319. [ 94%] Building C object library/CMakeFiles/mbedtls.dir/ssl_cli.c.o
  320. [ 95%] Building C object library/CMakeFiles/mbedtls.dir/ssl_cookie.c.o
  321. [ 96%] Building C object library/CMakeFiles/mbedtls.dir/ssl_srv.c.o
  322. [ 97%] Building C object library/CMakeFiles/mbedtls.dir/ssl_ticket.c.o
  323. [ 98%] Building C object library/CMakeFiles/mbedtls.dir/ssl_tls.c.o
  324. [100%] Linking C static library libmbedtls.a
  325. [100%] Built target mbedtls
  326. Scanning dependencies of target lib
  327. [100%] Built target lib
  328. cargo:root=/home/Repos/rust-mbedtls/target/debug/build/mbedtls-sys-auto-0b15d1a560c45239/out
  329. cargo:rustc-link-search=native=/home/Repos/rust-mbedtls/target/debug/build/mbedtls-sys-auto-0b15d1a560c45239/out/build/library
  330. running: "cmake" "/home/Repos/rust-mbedtls/mbedtls-sys/vendor" "-DENABLE_PROGRAMS=OFF" "-DENABLE_TESTING=OFF" "-DCMAKE_INSTALL_PREFIX=/home/Repos/rust-mbedtls/target/debug/build/mbedtls-sys-auto-0b15d1a560c45239/out" "-DCMAKE_C_FLAGS= -DMBEDTLS_CONFIG_FILE=\"</home/Repos/rust-mbedtls/target/debug/build/mbedtls-sys-auto-0b15d1a560c45239/out/config.h>\" -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_BUILD_TYPE=Debug"
  331. -- Configuring done
  332. -- Generating done
  333. -- Build files have been written to: /home/Repos/rust-mbedtls/target/debug/build/mbedtls-sys-auto-0b15d1a560c45239/out/build
  334. running: "cmake" "--build" "." "--target" "lib" "--config" "Debug" "--"
  335. [ 76%] Built target mbedcrypto
  336. [ 88%] Built target mbedx509
  337. [100%] Built target mbedtls
  338. [100%] Built target lib
  339. cargo:root=/home/Repos/rust-mbedtls/target/debug/build/mbedtls-sys-auto-0b15d1a560c45239/out
  340. cargo:rustc-link-search=native=/home/Repos/rust-mbedtls/target/debug/build/mbedtls-sys-auto-0b15d1a560c45239/out/build/crypto/library
  341. cargo:rustc-link-lib=mbedtls
  342. cargo:rustc-link-lib=mbedx509
  343. cargo:rustc-link-lib=mbedcrypto
  344.  
  345. --- stderr
  346. CMake Warning:
  347. Manually-specified variables were not used by the project:
  348.  
  349. CMAKE_CXX_COMPILER
  350. CMAKE_CXX_FLAGS
  351.  
  352.  
  353. Bindgen WARNING: vendor/include/mbedtls/bignum.h:140:49: warning: declaration does not declare anything [-Wmissing-declarations]
  354. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/bignum.h:191:1)
  355. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/bignum.h:960:3)
  356. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/md.h:69:3)
  357. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/md.h:86:34)
  358. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/md.h:101:3)
  359. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/threading.h:52:3)
  360. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ecp.h:93:3)
  361. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ecp.h:110:3)
  362. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ecp.h:121:3)
  363. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ecp.h:140:1)
  364. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ecp.h:206:1)
  365. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ecp.h:348:1)
  366. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/rsa.h:135:1)
  367. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/asn1.h:140:1)
  368. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/asn1.h:151:1)
  369. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/asn1.h:159:35)
  370. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/asn1.h:161:1)
  371. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/asn1.h:170:37)
  372. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/asn1.h:173:1)
  373. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/pk.h:91:3)
  374. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/pk.h:102:3)
  375. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/pk.h:112:3)
  376. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/pk.h:122:3)
  377. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/pk.h:130:34)
  378. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/pk.h:139:3)
  379. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/platform_util.h:178:50)
  380. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/platform_util.h:177:12)
  381. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/x509.h:237:1)
  382. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/cipher.h:95:3)
  383. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/cipher.h:185:3)
  384. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/cipher.h:202:3)
  385. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/cipher.h:211:3)
  386. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/cipher.h:218:3)
  387. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/cipher.h:239:38)
  388. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/cipher.h:244:39)
  389. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/cipher.h:287:3)
  390. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/cipher.h:345:3)
  391. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/x509_crl.h:62:36)
  392. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/x509_crl.h:64:1)
  393. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/x509_crl.h:95:30)
  394. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/x509_crl.h:97:1)
  395. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ssl_ciphersuites.h:305:3)
  396. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ssl_ciphersuites.h:380:42)
  397. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/x509_crt.h:98:30)
  398. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/x509_crt.h:100:1)
  399. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/x509_crt.h:129:9)
  400. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/x509_crt.h:131:5)
  401. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/x509_crt.h:133:1)
  402. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/x509_crt.h:145:5)
  403. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/x509_crt.h:147:1)
  404. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/x509_crt.h:167:1)
  405. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/x509_crt.h:196:1)
  406. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/x509_crt.h:204:3)
  407. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/x509_crt.h:226:3)
  408. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/dhm.h:116:1)
  409. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ecdh.h:56:3)
  410. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ecdh.h:134:1)
  411. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/oid.h:448:3)
  412. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ssl.h:476:1)
  413. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ssl.h:489:1)
  414. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ssl.h:600:36)
  415. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ssl.h:601:36)
  416. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ssl.h:602:36)
  417. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ssl.h:605:38)
  418. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ssl.h:606:45)
  419. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ssl.h:607:43)
  420. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ssl.h:609:37)
  421. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ssl.h:612:40)
  422. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/md5.h:65:1)
  423. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/sha1.h:69:1)
  424. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/sha256.h:66:1)
  425. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/sha512.h:65:1)
  426. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ecjpake.h:62:3)
  427. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ecjpake.h:93:3)
  428. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/aes.h:99:1)
  429. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/aes.h:111:3)
  430. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/net_sockets.h:91:1)
  431. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/havege.h:50:1)
  432. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/poly1305.h:69:1)
  433. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/chacha20.h:67:1)
  434. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/xtea.h:59:1)
  435. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/x509_csr.h:69:1)
  436. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/x509_csr.h:81:1)
  437. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/timing.h:56:37)
  438. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/timing.h:59:3)
  439. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/timing.h:96:72)
  440. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ssl_ticket.h:59:1)
  441. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ssl_ticket.h:79:1)
  442. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ssl_internal.h:421:11)
  443. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ssl_internal.h:428:11)
  444. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ssl_internal.h:430:7)
  445. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ssl_internal.h:499:38)
  446. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ssl_internal.h:688:3)
  447. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ssl_cookie.h:71:3)
  448. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ssl_cache.h:61:42)
  449. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ssl_cache.h:62:40)
  450. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ripemd160.h:57:1)
  451. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/platform.h:376:1)
  452. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/pk_internal.h:118:3)
  453. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/pem.h:66:1)
  454. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/nist_kw.h:56:3)
  455. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/nist_kw.h:71:3)
  456. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/md4.h:66:1)
  457. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/md2.h:66:1)
  458. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/hmac_drbg.h:104:3)
  459. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/gcm.h:79:1)
  460. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/entropy.h:118:1)
  461. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/entropy.h:143:1)
  462. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/des.h:70:1)
  463. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/des.h:79:1)
  464. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/debug.h:236:3)
  465. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ctr_drbg.h:152:1)
  466. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/cipher_internal.h:119:3)
  467. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/chachapoly.h:57:1)
  468. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/chachapoly.h:72:1)
  469. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/ccm.h:82:1)
  470. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/camellia.h:68:1)
  471. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/blowfish.h:72:1)
  472. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/aria.h:82:1)
  473. Bindgen ERROR: unsupported type `CXTypeKind(119)` (vendor/include/mbedtls/arc4.h:63:1)
  474. thread 'main' panicked at 'bindgen error: ()', src/libcore/result.rs:1165:5
  475. note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement