On Tue, 21 Oct 2014 19:22:50 +0200, Sönke Ludwig wrote:

Am 21.10.2014 16:37, schrieb Brian Hechinger:

I ran dub, it upgraded vide.d (as well as libevent, etc) but now it fails with:

Building vibe-d 0.7.21-rc.3 configuration "libevent", build type debug.<br>Running dmd...<br>../../.dub/packages/openssl-1.1.0_1.0.1g/deimos/openssl/ossl_typ.d(209): Error: undefined identifier ssl_ctx_st<br>../../.dub/packages/openssl-1.1.0_1.0.1g/deimos/openssl/ssl.d(435): Error: ExternC!(extern (C) c_long function(SSL_CTX* ctx, int cmd, c_long larg, void* parg)) had previous errors<br>../../.dub/packages/openssl-1.1.0_1.0.1g/deimos/openssl/ssl.d(447): Error: ExternC!(extern (C) c_long function(SSL_CTX* s, int cb_id, ExternC!(extern (C) void function()) fp)) had previous errors<br>FAIL ../../.dub/packages/vibe-d-0.7.21-rc.3/.dub/build/libevent-debug-posix.osx-x86_64-dmd_2066-2161C57E83B1803FA54B8BBD5FBBBAA1/ vibe-d staticLibrary<br>Error executing command run: dmd failed with exit code 1.

How do I get this built now?

Interesting. DUB shouldn't have picked up the 1.1.0 version of the
OpenSSL bindings - I'll check if I can reproduce this. As a workaround
try editing the dub.selections.json file of the project you are building
and manually put "1.0.0" for the "openssl" dependency.

That indeed did the trick, thanks!