{"action":"closed","issue":{"url":"https://api.github.com/repos/bluejekyll/trust-dns/issues/39","repository_url":"https://api.github.com/repos/bluejekyll/trust-dns","labels_url":"https://api.github.com/repos/bluejekyll/trust-dns/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/bluejekyll/trust-dns/issues/39/comments","events_url":"https://api.github.com/repos/bluejekyll/trust-dns/issues/39/events","html_url":"https://github.com/bluejekyll/trust-dns/issues/39","id":172503813,"number":39,"title":"Build fails with rust 1.12.0-beta.1","user":{"login":"KenanSulayman","id":280212,"avatar_url":"https://avatars.githubusercontent.com/u/280212?v=3","gravatar_id":"","url":"https://api.github.com/users/KenanSulayman","html_url":"https://github.com/KenanSulayman","followers_url":"https://api.github.com/users/KenanSulayman/followers","following_url":"https://api.github.com/users/KenanSulayman/following{/other_user}","gists_url":"https://api.github.com/users/KenanSulayman/gists{/gist_id}","starred_url":"https://api.github.com/users/KenanSulayman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KenanSulayman/subscriptions","organizations_url":"https://api.github.com/users/KenanSulayman/orgs","repos_url":"https://api.github.com/users/KenanSulayman/repos","events_url":"https://api.github.com/users/KenanSulayman/events{/privacy}","received_events_url":"https://api.github.com/users/KenanSulayman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bluejekyll/trust-dns/labels/docs","name":"docs","color":"5319e7"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-08-22T17:03:40Z","updated_at":"2016-08-27T04:55:45Z","closed_at":"2016-08-27T04:55:45Z","body":"Hey,\r\n\r\nSince I'm using a macOS beta (Sierra) on my computer, I'm forced to use 1.12.0-beta1.\r\n\r\nThe build fails with rust 1.12.0:\r\n\r\n```\r\n--- stderr\r\nsrc/c_helpers.c:4:20: error: incomplete definition of type 'struct ssl_st'\r\n    CRYPTO_add(&ssl->references, 1, CRYPTO_LOCK_SSL);\r\n                ~~~^\r\n/usr/local/include/openssl/crypto.h:166:39: note: expanded from macro 'CRYPTO_add'\r\n#  define CRYPTO_add(a,b,c)       ((*(a))+=(b))\r\n                                      ^\r\n/usr/local/include/openssl/ossl_typ.h:181:16: note: forward declaration of 'struct ssl_st'\r\ntypedef struct ssl_st SSL;\r\n               ^\r\nsrc/c_helpers.c:8:20: error: incomplete definition of type 'struct ssl_ctx_st'\r\n    CRYPTO_add(&ctx->references,1,CRYPTO_LOCK_SSL_CTX);\r\n                ~~~^\r\n/usr/local/include/openssl/crypto.h:166:39: note: expanded from macro 'CRYPTO_add'\r\n#  define CRYPTO_add(a,b,c)       ((*(a))+=(b))\r\n                                      ^\r\n/usr/local/include/openssl/ossl_typ.h:182:16: note: forward declaration of 'struct ssl_ctx_st'\r\ntypedef struct ssl_ctx_st SSL_CTX;\r\n               ^\r\nsrc/c_helpers.c:12:21: error: incomplete definition of type 'struct x509_st'\r\n    CRYPTO_add(&x509->references,1,CRYPTO_LOCK_X509);\r\n                ~~~~^\r\n/usr/local/include/openssl/crypto.h:166:39: note: expanded from macro 'CRYPTO_add'\r\n#  define CRYPTO_add(a,b,c)       ((*(a))+=(b))\r\n                                      ^\r\n/usr/local/include/openssl/ossl_typ.h:161:16: note: forward declaration of 'struct x509_st'\r\ntypedef struct x509_st X509;\r\n               ^\r\n3 errors generated.\r\nthread 'main' panicked at 'explicit panic', /a/long/cargo/path/gcc-0.3.28/src/lib.rs:840\r\nstack backtrace:\r\n   1:        0x10330eaf9 - std::sys::backtrace::tracing::imp::write::h6f07380f45fe1307\r\n   2:        0x103314c60 - std::panicking::default_hook::_{{closure}}::he6993150602797ff\r\n   3:        0x10331408a - std::panicking::default_hook::h42f7cdc1bed8dd00\r\n   4:        0x103314656 - std::panicking::rust_panic_with_hook::hdcce59947203a4c0\r\n   5:        0x1032f86b4 - std::panicking::begin_panic::h6e522b8d506dc874\r\n   6:        0x10330224e - gcc::fail::h25611a6497098034\r\n   7:        0x103302066 - gcc::run::h0d2d8efda2e0dff3\r\n   8:        0x1032fa161 - gcc::Config::compile::he274dd27a071a635\r\n   9:        0x1032f78e5 - build_script_build::main::hb7741c2c34a9f03d\r\n  10:        0x10331524a - __rust_maybe_catch_panic\r\n  11:        0x103313b5e - std::rt::lang_start::h14913182d401dec2\r\n```\r\n\r\n**Edit:**\r\n\r\nSeems like `CRYPTO_LOCK_SSL` was removed from openssl. Seems to be an upstream issue with the openssl crate..?"}}
{"actor":{"display_login":"bluejekyll"}}