www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - DMD, Vibe.d, and Dub

reply Russel Winder <russel winder.org.uk> writes:
Hi,

I set up the CVu Code Critique 112 code in a cannical D project with a
minimal dub.sdl file.

name "server"
description "A sample server using vibe.d for CVu Code Critique 112"
dependency "vibe-d" version=3D"*"

I am on Debian Sid with Dub and DMD from d-apt (so Dub 1.1.0.0 and DMD
2.081.0) and then:

|> dub build
Fetching eventcore 0.8.35 (getting selected version)...
Fetching libevent 2.0.2+2.0.16 (getting selected version)...
Fetching diet-ng 1.5.0 (getting selected version)...
Fetching taggedalgebraic 0.10.11 (getting selected version)...
Fetching openssl 1.1.6+1.0.1g (getting selected version)...
Fetching botan 1.12.10 (getting selected version)...
Fetching stdx-allocator 2.77.2 (getting selected version)...
Fetching vibe-d 0.8.4 (getting selected version)...
Fetching mir-linux-kernel 1.0.0 (getting selected version)...
Fetching memutils 0.4.11 (getting selected version)...
Fetching vibe-core 1.4.1 (getting selected version)...
Fetching libasync 0.8.3 (getting selected version)...
Fetching botan-math 1.0.3 (getting selected version)...
Performing "debug" build using /usr/bin/dmd for x86_64.
taggedalgebraic 0.10.11: building configuration "library"...
eventcore 0.8.35: building configuration "epoll"...
stdx-allocator 2.77.2: building configuration "library"...
vibe-core 1.4.1: building configuration "epoll"...
vibe-d:utils 0.8.4: building configuration "library"...
vibe-d:data 0.8.4: building configuration "library"...
mir-linux-kernel 1.0.0: building configuration "library"...
vibe-d:crypto 0.8.4: building configuration "library"...
diet-ng 1.5.0: building configuration "library"...
vibe-d:stream 0.8.4: building configuration "library"...
../../../../../.dub/packages/vibe-d-0.8.4/vibe-d/stream/vibe/stream/wrapper=
.d(179,22): Error: no property connected for type const(InterfaceProxy!(Con=
nectionStream))
../../../../../.dub/packages/vibe-d-0.8.4/vibe-d/stream/vibe/stream/wrapper=
.d(187,19): Error: no property connected for type InterfaceProxy!(Connectio=
nStream)
../../../../../.dub/packages/vibe-d-0.8.4/vibe-d/stream/vibe/stream/wrapper=
.d(188,15): Error: no property close for type InterfaceProxy!(ConnectionStr=
eam)
../../../../../.dub/packages/vibe-d-0.8.4/vibe-d/stream/vibe/stream/wrapper=
.d(198,22): Error: no property waitForData for type InterfaceProxy!(Connect=
ionStream)
/usr/bin/dmd failed with exit code 1.

This would seem to imply that you can't use Vibe.d 0.8.4 with DMD
2.081.0.


--=20
Russel.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk
Jul 17 2018
parent reply kinke <noone nowhere.com> writes:
On Tuesday, 17 July 2018 at 18:31:18 UTC, Russel Winder wrote:
 This would seem to imply that you can't use Vibe.d 0.8.4 with 
 DMD 2.081.0.
I think that regression was the main reason for early 2.081.1.
Jul 17 2018
next sibling parent Russel Winder <russel winder.org.uk> writes:
On Tue, 2018-07-17 at 18:49 +0000, kinke via Digitalmars-d wrote:
 On Tuesday, 17 July 2018 at 18:31:18 UTC, Russel Winder wrote:
 This would seem to imply that you can't use Vibe.d 0.8.4 with=20
 DMD 2.081.0.
=20 I think that regression was the main reason for early 2.081.1.
Ah, OK. I'll have to wait for a d-apt update then. Thanks for the "heads up". --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Dr Russel Winder t: +44 20 7585 2200 41 Buckmaster Road m: +44 7770 465 077 London SW11 1EN, UK w: www.russel.org.uk
Jul 17 2018
prev sibling parent reply Russel Winder <russel winder.org.uk> writes:
On Tue, 2018-07-17 at 20:23 +0100, Russel Winder wrote:
 On Tue, 2018-07-17 at 18:49 +0000, kinke via Digitalmars-d wrote:
 On Tuesday, 17 July 2018 at 18:31:18 UTC, Russel Winder wrote:
 This would seem to imply that you can't use Vibe.d 0.8.4 with=20
 DMD 2.081.0.
=20 I think that regression was the main reason for early 2.081.1.
=20 Ah, OK. I'll have to wait for a d-apt update then. Thanks for the "heads up".
It seems that the LDC 1.11 branch in the GitHub repository has the DMD 2.081.0 problem. --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Dr Russel Winder t: +44 20 7585 2200 41 Buckmaster Road m: +44 7770 465 077 London SW11 1EN, UK w: www.russel.org.uk
Jul 17 2018
parent reply kinke <noone nowhere.com> writes:
On Tuesday, 17 July 2018 at 19:39:32 UTC, Russel Winder wrote:
 It seems that the LDC 1.11 branch in the GitHub repository has 
 the DMD 2.081.0 problem.
If you're referring to branch merge-2.081, that one doesn't exist anymore. master/beta2 are based on 2.081.1+ and should thus be fixed.
Jul 17 2018
parent Russel Winder <russel winder.org.uk> writes:
On Tue, 2018-07-17 at 20:04 +0000, kinke via Digitalmars-d wrote:
 On Tuesday, 17 July 2018 at 19:39:32 UTC, Russel Winder wrote:
 It seems that the LDC 1.11 branch in the GitHub repository has=20
 the DMD 2.081.0 problem.
=20 If you're referring to branch merge-2.081, that one doesn't exist=20 anymore. master/beta2 are based on 2.081.1+ and should thus be=20 fixed.
Ah, OK. I missed that. My script that updates repositories is not causing a Git failure, this is strange. I'll sort my repository out and rebuild. --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Dr Russel Winder t: +44 20 7585 2200 41 Buckmaster Road m: +44 7770 465 077 London SW11 1EN, UK w: www.russel.org.uk
Jul 18 2018