www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Vibe.d & DUB

reply "Chris" <wendlec tcd.ie> writes:
Excuse me my ignorance. I haven't used DUB for a while now. Don't 
know what's wrong. Found no hint on the (h)internet. I it that 
the latest version of dmd is "too high" for dub? Use dmd2.063 
instead?

$ dub upgrade
Upgrading project in /home/path/to/project
Triggering update of package vibe-d
Geting package metadata for vibe-d failed, exception: 
object.Exception source/dub/project.d(460): Could not find 
package candidate for vibe-d >=0.7.12
----------------
dub(pure  safe bool std.exception.enforce!(bool).enforce(bool, 
lazy const(char)[], immutable(char)[], uint)+0x2c) [0x81bd8f4]
dub(bool 
dub.project.Project.gatherMissingDependencies(dub.packagesupplie
.PackageSupplier[], 
dub.dependency.DependencyGraph).int __foreachbody4035(ref 
immutable(char)[], ref dub.dependency.RequestedDependency)+0x20f) 
[0x81b852f]
dub(_aaApply2+0x4f) [0x8232f8f]
dub(bool 
dub.project.Project.gatherMissingDependencies(dub.packagesupplie
.PackageSupplier[], 
dub.dependency.DependencyGraph)+0xe0) [0x81b8288]
dub(dub.project.Action[] 
dub.project.Project.determineActions(dub.packagesupplier.PackageSupplier[], 
int)+0x9f) [0x81b7877]
dub(bool dub.dub.Dub.update(dub.project.UpdateOptions)+0x54) 
[0x82262c4]
dub(_Dmain+0x735) [0x81a0d41]
dub(extern (C) int rt.dmain2._d_run_main(int, char**, extern (C) 
int function(char[][])*).void runMain()+0x10) [0x82341d4]
dub(extern (C) int rt.dmain2._d_run_main(int, char**, extern (C) 
int function(char[][])*).void tryExec(scope void 
delegate())+0x18) [0x8233e80]
dub(extern (C) int rt.dmain2._d_run_main(int, char**, extern (C) 
int function(char[][])*).void runAll()+0x32) [0x8234212]
dub(extern (C) int rt.dmain2._d_run_main(int, char**, extern (C) 
int function(char[][])*).void tryExec(scope void 
delegate())+0x18) [0x8233e80]
dub(_d_run_main+0x121) [0x8233e51]
dub(main+0x14) [0x8233d24]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0xb74cc4d3]
Could not resolve dependencies
The dependency graph could not be filled.
The following changes could be performed:
Failure vibe-d >=0.7.12, projectLocal
Issued by:
  TTSServer: >=0.7.12
Nov 14 2013
next sibling parent "Chris" <wendlec tcd.ie> writes:
On Thursday, 14 November 2013 at 15:54:09 UTC, Chris wrote:
 Excuse me my ignorance. I haven't used DUB for a while now. 
 Don't know what's wrong. Found no hint on the (h)internet. I it 
 that the latest version of dmd is "too high" for dub? Use 
 dmd2.063 instead?

 $ dub upgrade
 Upgrading project in /home/path/to/project
 Triggering update of package vibe-d
 Geting package metadata for vibe-d failed, exception: 
 object.Exception source/dub/project.d(460): Could not find 
 package candidate for vibe-d >=0.7.12
 ----------------
 dub(pure  safe bool std.exception.enforce!(bool).enforce(bool, 
 lazy const(char)[], immutable(char)[], uint)+0x2c) [0x81bd8f4]
 dub(bool 
 dub.project.Project.gatherMissingDependencies(dub.packagesupplie
.PackageSupplier[], 
 dub.dependency.DependencyGraph).int __foreachbody4035(ref 
 immutable(char)[], ref 
 dub.dependency.RequestedDependency)+0x20f) [0x81b852f]
 dub(_aaApply2+0x4f) [0x8232f8f]
 dub(bool 
 dub.project.Project.gatherMissingDependencies(dub.packagesupplie
.PackageSupplier[], 
 dub.dependency.DependencyGraph)+0xe0) [0x81b8288]
 dub(dub.project.Action[] 
 dub.project.Project.determineActions(dub.packagesupplier.PackageSupplier[], 
 int)+0x9f) [0x81b7877]
 dub(bool dub.dub.Dub.update(dub.project.UpdateOptions)+0x54) 
 [0x82262c4]
 dub(_Dmain+0x735) [0x81a0d41]
 dub(extern (C) int rt.dmain2._d_run_main(int, char**, extern 
 (C) int function(char[][])*).void runMain()+0x10) [0x82341d4]
 dub(extern (C) int rt.dmain2._d_run_main(int, char**, extern 
 (C) int function(char[][])*).void tryExec(scope void 
 delegate())+0x18) [0x8233e80]
 dub(extern (C) int rt.dmain2._d_run_main(int, char**, extern 
 (C) int function(char[][])*).void runAll()+0x32) [0x8234212]
 dub(extern (C) int rt.dmain2._d_run_main(int, char**, extern 
 (C) int function(char[][])*).void tryExec(scope void 
 delegate())+0x18) [0x8233e80]
 dub(_d_run_main+0x121) [0x8233e51]
 dub(main+0x14) [0x8233d24]
 /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3) 
 [0xb74cc4d3]
 Could not resolve dependencies
 The dependency graph could not be filled.
 The following changes could be performed:
 Failure vibe-d >=0.7.12, projectLocal
 Issued by:
  TTSServer: >=0.7.12
Forgot to mention that it's the same for 0.7.17
Nov 14 2013
prev sibling next sibling parent reply =?UTF-8?B?U8O2bmtlIEx1ZHdpZw==?= <sludwig outerproduct.org> writes:
Am 14.11.2013 16:54, schrieb Chris:
 Excuse me my ignorance. I haven't used DUB for a while now. Don't know
 what's wrong. Found no hint on the (h)internet. I it that the latest
 version of dmd is "too high" for dub? Use dmd2.063 instead?

 $ dub upgrade
 Upgrading project in /home/path/to/project
 Triggering update of package vibe-d
 Geting package metadata for vibe-d failed, exception:
 object.Exception source/dub/project.d(460): Could not find package
 candidate for vibe-d >=0.7.12
 (...)
Judging by the line number of the exception, you are using DUB 0.9.13. There have been a number of changes since then, including how version numbers are validated. It's possible that the reason for the error is the latest vibe.d version "0.7.18-beta.1". I'd recommend to upgrade to 0.9.19 - everything is working there AFAICS.
Nov 14 2013
parent reply "Chris" <wendlec tcd.ie> writes:
On Thursday, 14 November 2013 at 16:32:59 UTC, Sönke Ludwig wrote:
 Am 14.11.2013 16:54, schrieb Chris:
 Excuse me my ignorance. I haven't used DUB for a while now. 
 Don't know
 what's wrong. Found no hint on the (h)internet. I it that the 
 latest
 version of dmd is "too high" for dub? Use dmd2.063 instead?

 $ dub upgrade
 Upgrading project in /home/path/to/project
 Triggering update of package vibe-d
 Geting package metadata for vibe-d failed, exception:
 object.Exception source/dub/project.d(460): Could not find 
 package
 candidate for vibe-d >=0.7.12
 (...)
Judging by the line number of the exception, you are using DUB 0.9.13. There have been a number of changes since then, including how version numbers are validated. It's possible that the reason for the error is the latest vibe.d version "0.7.18-beta.1". I'd recommend to upgrade to 0.9.19 - everything is working there AFAICS.
Thanks for the answer. I tried to update dub, but it says that "dub is already the newest version.", which is hard for me to believe.
Nov 14 2013
next sibling parent reply "Chris" <wendlec tcd.ie> writes:
On Thursday, 14 November 2013 at 16:42:05 UTC, Chris wrote:
 On Thursday, 14 November 2013 at 16:32:59 UTC, Sönke Ludwig 
 wrote:
 Am 14.11.2013 16:54, schrieb Chris:
 Excuse me my ignorance. I haven't used DUB for a while now. 
 Don't know
 what's wrong. Found no hint on the (h)internet. I it that the 
 latest
 version of dmd is "too high" for dub? Use dmd2.063 instead?

 $ dub upgrade
 Upgrading project in /home/path/to/project
 Triggering update of package vibe-d
 Geting package metadata for vibe-d failed, exception:
 object.Exception source/dub/project.d(460): Could not find 
 package
 candidate for vibe-d >=0.7.12
 (...)
Judging by the line number of the exception, you are using DUB 0.9.13. There have been a number of changes since then, including how version numbers are validated. It's possible that the reason for the error is the latest vibe.d version "0.7.18-beta.1". I'd recommend to upgrade to 0.9.19 - everything is working there AFAICS.
Thanks for the answer. I tried to update dub, but it says that "dub is already the newest version.", which is hard for me to believe.
Ubuntu 12.04 LTS
Nov 14 2013
parent reply Jordi Sayol <g.sayol yahoo.es> writes:
El 14/11/13 17:48, Chris ha escrit:
 On Thursday, 14 November 2013 at 16:42:05 UTC, Chris wrote:
 On Thursday, 14 November 2013 at 16:32:59 UTC, S=C3=B6nke Ludwig wrote=
:
 Am 14.11.2013 16:54, schrieb Chris:
 Excuse me my ignorance. I haven't used DUB for a while now. Don't kn=
ow
 what's wrong. Found no hint on the (h)internet. I it that the latest=
 version of dmd is "too high" for dub? Use dmd2.063 instead?

 $ dub upgrade
 Upgrading project in /home/path/to/project
 Triggering update of package vibe-d
 Geting package metadata for vibe-d failed, exception:
 object.Exception source/dub/project.d(460): Could not find package
 candidate for vibe-d >=3D0.7.12
 (...)
Judging by the line number of the exception, you are using DUB 0.9.13=
=2E There have been a number of changes since then, including how version= numbers are validated. It's possible that the reason for the error is th= e latest vibe.d version "0.7.18-beta.1".
 I'd recommend to upgrade to 0.9.19 - everything is working there AFAI=
CS.
 Thanks for the answer. I tried to update dub, but it says that "dub is=
already the newest version.", which is hard for me to believe.
=20
 Ubuntu 12.04 LTS
=20
What says last line of $ dub help --=20 Jordi Sayol
Nov 14 2013
parent reply "Chris" <wendlec tcd.ie> writes:
On Thursday, 14 November 2013 at 17:32:14 UTC, Jordi Sayol wrote:
 El 14/11/13 17:48, Chris ha escrit:
 On Thursday, 14 November 2013 at 16:42:05 UTC, Chris wrote:
 On Thursday, 14 November 2013 at 16:32:59 UTC, Sönke Ludwig 
 wrote:
 Am 14.11.2013 16:54, schrieb Chris:
 Excuse me my ignorance. I haven't used DUB for a while now. 
 Don't know
 what's wrong. Found no hint on the (h)internet. I it that 
 the latest
 version of dmd is "too high" for dub? Use dmd2.063 instead?

 $ dub upgrade
 Upgrading project in /home/path/to/project
 Triggering update of package vibe-d
 Geting package metadata for vibe-d failed, exception:
 object.Exception source/dub/project.d(460): Could not find 
 package
 candidate for vibe-d >=0.7.12
 (...)
Judging by the line number of the exception, you are using DUB 0.9.13. There have been a number of changes since then, including how version numbers are validated. It's possible that the reason for the error is the latest vibe.d version "0.7.18-beta.1". I'd recommend to upgrade to 0.9.19 - everything is working there AFAICS.
Thanks for the answer. I tried to update dub, but it says that "dub is already the newest version.", which is hard for me to believe.
Ubuntu 12.04 LTS
What says last line of $ dub help
dub's last words were: Install options: --version Use the specified version/branch instead of the latest --system Install system wide instead of user local --local Install as in a sub folder of the current directory And that's it. I couldn't find a simple "version" switch that just tells me dub version 0.XYZ
Nov 15 2013
next sibling parent reply Jordi Sayol <g.sayol yahoo.es> writes:
El 15/11/13 12:49, Chris ha escrit:
 On Thursday, 14 November 2013 at 17:32:14 UTC, Jordi Sayol wrote:
 El 14/11/13 17:48, Chris ha escrit:
 On Thursday, 14 November 2013 at 16:42:05 UTC, Chris wrote:
 On Thursday, 14 November 2013 at 16:32:59 UTC, Sönke Ludwig wrote:
 Am 14.11.2013 16:54, schrieb Chris:
 Excuse me my ignorance. I haven't used DUB for a while now. Don't know
 what's wrong. Found no hint on the (h)internet. I it that the latest
 version of dmd is "too high" for dub? Use dmd2.063 instead?

 $ dub upgrade
 Upgrading project in /home/path/to/project
 Triggering update of package vibe-d
 Geting package metadata for vibe-d failed, exception:
 object.Exception source/dub/project.d(460): Could not find package
 candidate for vibe-d >=0.7.12
 (...)
Judging by the line number of the exception, you are using DUB 0.9.13. There have been a number of changes since then, including how version numbers are validated. It's possible that the reason for the error is the latest vibe.d version "0.7.18-beta.1". I'd recommend to upgrade to 0.9.19 - everything is working there AFAICS.
Thanks for the answer. I tried to update dub, but it says that "dub is already the newest version.", which is hard for me to believe.
Ubuntu 12.04 LTS
What says last line of $ dub help
dub's last words were: Install options: --version Use the specified version/branch instead of the latest --system Install system wide instead of user local --local Install as in a sub folder of the current directory And that's it. I couldn't find a simple "version" switch that just tells me dub version 0.XYZ
You can set "d-apt" <http://d-apt.sourceforge.net/> on your Ubuntu 12.04 LTS. This will allow you to easily install the last dub release: $ sudo apt-get install dub -- Jordi Sayol
Nov 15 2013
parent reply "Chris" <wendlec tcd.ie> writes:
On Friday, 15 November 2013 at 13:27:25 UTC, Jordi Sayol wrote:
 El 15/11/13 12:49, Chris ha escrit:
 On Thursday, 14 November 2013 at 17:32:14 UTC, Jordi Sayol 
 wrote:
 El 14/11/13 17:48, Chris ha escrit:
 On Thursday, 14 November 2013 at 16:42:05 UTC, Chris wrote:
 On Thursday, 14 November 2013 at 16:32:59 UTC, Sönke Ludwig 
 wrote:
 Am 14.11.2013 16:54, schrieb Chris:
 Excuse me my ignorance. I haven't used DUB for a while 
 now. Don't know
 what's wrong. Found no hint on the (h)internet. I it that 
 the latest
 version of dmd is "too high" for dub? Use dmd2.063 
 instead?

 $ dub upgrade
 Upgrading project in /home/path/to/project
 Triggering update of package vibe-d
 Geting package metadata for vibe-d failed, exception:
 object.Exception source/dub/project.d(460): Could not 
 find package
 candidate for vibe-d >=0.7.12
 (...)
Judging by the line number of the exception, you are using DUB 0.9.13. There have been a number of changes since then, including how version numbers are validated. It's possible that the reason for the error is the latest vibe.d version "0.7.18-beta.1". I'd recommend to upgrade to 0.9.19 - everything is working there AFAICS.
Thanks for the answer. I tried to update dub, but it says that "dub is already the newest version.", which is hard for me to believe.
Ubuntu 12.04 LTS
What says last line of $ dub help
dub's last words were: Install options: --version Use the specified version/branch instead of the latest --system Install system wide instead of user local --local Install as in a sub folder of the current directory And that's it. I couldn't find a simple "version" switch that just tells me dub version 0.XYZ
You can set "d-apt" <http://d-apt.sourceforge.net/> on your Ubuntu 12.04 LTS. This will allow you to easily install the last dub release: $ sudo apt-get install dub
Ok, thanks a million. It works now. Everything is up to date. Now I can start serious work on a vibe-d project. Sönke, the vibed.org homepage has a beautiful layout. Very tasteful design.
Nov 15 2013
parent reply "Chris" <wendlec tcd.ie> writes:
Based on "examples/http_server" I get the following errors when I 
add an external source file:

source/app.d(26): Error: module app function 
vibe.http.server.handleRequest is private
source/app.d(26): Error: function vibe.http.server.listenHTTP 
(HTTPServerSettings settings, void delegate(HTTPServerRequest 
req, HTTPServerResponse res) request_handler) is not callable 
using argument types (HTTPServerSettings, bool function(Stream 
http_stream, TCPConnection tcp_connection, HTTPServerListener 
listen_info, ref HTTPServerSettings settings, ref bool 
keep_alive))
Error: DMD compile run failed with exit code 1

"sourceFiles": [
     "../../project/module/sourcefile.d"
],

I also link to a library I copied to "source/lib" in the 
server-project folder.

If I exclude the reference from package.config and from app.d it 
works perfectly fine.

If I include the external file and exclude the line 
"listenHTTP(settings, &handleRequest);", it compiles (but of 
course does nothing.

I couldn't find anything on google nor in the documentation about 
vibe.http.server.listenHTTP

Something trivial, I suppose, but I cannot find it.
Nov 18 2013
parent reply =?UTF-8?B?U8O2bmtlIEx1ZHdpZw==?= <sludwig outerproduct.org> writes:
Am 18.11.2013 17:43, schrieb Chris:
 Based on "examples/http_server" I get the following errors when I add an
 external source file:
 
 source/app.d(26): Error: module app function
 vibe.http.server.handleRequest is private
 source/app.d(26): Error: function vibe.http.server.listenHTTP
 (HTTPServerSettings settings, void delegate(HTTPServerRequest req,
 HTTPServerResponse res) request_handler) is not callable using argument
 types (HTTPServerSettings, bool function(Stream http_stream,
 TCPConnection tcp_connection, HTTPServerListener listen_info, ref
 HTTPServerSettings settings, ref bool keep_alive))
 Error: DMD compile run failed with exit code 1
 
 "sourceFiles": [
     "../../project/module/sourcefile.d"
 ],
 
 I also link to a library I copied to "source/lib" in the server-project
 folder.
 
 If I exclude the reference from package.config and from app.d it works
 perfectly fine.
 
 If I include the external file and exclude the line
 "listenHTTP(settings, &handleRequest);", it compiles (but of course does
 nothing.
 
 I couldn't find anything on google nor in the documentation about
 vibe.http.server.listenHTTP
 
 Something trivial, I suppose, but I cannot find it.
It seems like it picks up the private vibe.http.server.handleRequest function instead of your own callback function. Maybe a typo or a forgotten import? If not, you could try to use a fully qualified name (i.e. "yourmodule.handleRequest"). /OT: What happened to https://github.com/D-Programming-Language/dmd/pull/2256?
Nov 18 2013
parent "Chris" <wendlec tcd.ie> writes:
On Monday, 18 November 2013 at 18:16:07 UTC, Sönke Ludwig wrote:
 Am 18.11.2013 17:43, schrieb Chris:
 Based on "examples/http_server" I get the following errors 
 when I add an
 external source file:
 
 source/app.d(26): Error: module app function
 vibe.http.server.handleRequest is private
 source/app.d(26): Error: function vibe.http.server.listenHTTP
 (HTTPServerSettings settings, void delegate(HTTPServerRequest 
 req,
 HTTPServerResponse res) request_handler) is not callable using 
 argument
 types (HTTPServerSettings, bool function(Stream http_stream,
 TCPConnection tcp_connection, HTTPServerListener listen_info, 
 ref
 HTTPServerSettings settings, ref bool keep_alive))
 Error: DMD compile run failed with exit code 1
 
 "sourceFiles": [
     "../../project/module/sourcefile.d"
 ],
 
 I also link to a library I copied to "source/lib" in the 
 server-project
 folder.
 
 If I exclude the reference from package.config and from app.d 
 it works
 perfectly fine.
 
 If I include the external file and exclude the line
 "listenHTTP(settings, &handleRequest);", it compiles (but of 
 course does
 nothing.
 
 I couldn't find anything on google nor in the documentation 
 about
 vibe.http.server.listenHTTP
 
 Something trivial, I suppose, but I cannot find it.
It seems like it picks up the private vibe.http.server.handleRequest function instead of your own callback function. Maybe a typo or a forgotten import? If not, you could try to use a fully qualified name (i.e. "yourmodule.handleRequest"). /OT: What happened to https://github.com/D-Programming-Language/dmd/pull/2256?
Thanks for your help. I could resolve the issue. In the external library I link to, there are modules called "app.[...]". Apparently this caused all the confusion. The solution was to turn the file "source/app.d" into "module source.app;" Now everything is compiled and linked correctly and the custom function source.app.handleRequest is called. I was already beginning to suspect a conflict of name spaces and modules as I was writing this post, only on Mondays my brain is a bit slow ...
Nov 19 2013
prev sibling parent "Dicebot" <public dicebot.lv> writes:
On Friday, 15 November 2013 at 11:49:29 UTC, Chris wrote:
 dub's last words were:

 Install options:
         --version        Use the specified version/branch 
 instead of the latest
         --system         Install system wide instead of user 
 local
         --local          Install as in a sub folder of the 
 current directory

 And that's it. I couldn't find a simple "version" switch that 
 just tells me dub version 0.XYZ
That indicates a rather old version. All recent ones have version statement in the end of help output.
Nov 15 2013
prev sibling parent =?UTF-8?B?U8O2bmtlIEx1ZHdpZw==?= <sludwig outerproduct.org> writes:
Am 14.11.2013 17:42, schrieb Chris:
 On Thursday, 14 November 2013 at 16:32:59 UTC, Sönke Ludwig wrote:
 Am 14.11.2013 16:54, schrieb Chris:
 Excuse me my ignorance. I haven't used DUB for a while now. Don't know
 what's wrong. Found no hint on the (h)internet. I it that the latest
 version of dmd is "too high" for dub? Use dmd2.063 instead?

 $ dub upgrade
 Upgrading project in /home/path/to/project
 Triggering update of package vibe-d
 Geting package metadata for vibe-d failed, exception:
 object.Exception source/dub/project.d(460): Could not find package
 candidate for vibe-d >=0.7.12
 (...)
Judging by the line number of the exception, you are using DUB 0.9.13. There have been a number of changes since then, including how version numbers are validated. It's possible that the reason for the error is the latest vibe.d version "0.7.18-beta.1". I'd recommend to upgrade to 0.9.19 - everything is working there AFAICS.
Thanks for the answer. I tried to update dub, but it says that "dub is already the newest version.", which is hard for me to believe.
You'll probably have to download the latest binary from <http://code.dlang.org/download>, but the APT repository on <http://d-apt.sourceforge.net> should also be up to date.
Nov 14 2013
prev sibling parent "John Colvin" <john.loughran.colvin gmail.com> writes:
On Thursday, 14 November 2013 at 15:54:09 UTC, Chris wrote:
 Excuse me my ignorance. I haven't used DUB for a while now. 
 Don't know what's wrong. Found no hint on the (h)internet. I it 
 that the latest version of dmd is "too high" for dub? Use 
 dmd2.063 instead?

 $ dub upgrade
 Upgrading project in /home/path/to/project
 Triggering update of package vibe-d
 Geting package metadata for vibe-d failed, exception: 
 object.Exception source/dub/project.d(460): Could not find 
 package candidate for vibe-d >=0.7.12
 ----------------
 dub(pure  safe bool std.exception.enforce!(bool).enforce(bool, 
 lazy const(char)[], immutable(char)[], uint)+0x2c) [0x81bd8f4]
 dub(bool 
 dub.project.Project.gatherMissingDependencies(dub.packagesupplie
.PackageSupplier[], 
 dub.dependency.DependencyGraph).int __foreachbody4035(ref 
 immutable(char)[], ref 
 dub.dependency.RequestedDependency)+0x20f) [0x81b852f]
 dub(_aaApply2+0x4f) [0x8232f8f]
 dub(bool 
 dub.project.Project.gatherMissingDependencies(dub.packagesupplie
.PackageSupplier[], 
 dub.dependency.DependencyGraph)+0xe0) [0x81b8288]
 dub(dub.project.Action[] 
 dub.project.Project.determineActions(dub.packagesupplier.PackageSupplier[], 
 int)+0x9f) [0x81b7877]
 dub(bool dub.dub.Dub.update(dub.project.UpdateOptions)+0x54) 
 [0x82262c4]
 dub(_Dmain+0x735) [0x81a0d41]
 dub(extern (C) int rt.dmain2._d_run_main(int, char**, extern 
 (C) int function(char[][])*).void runMain()+0x10) [0x82341d4]
 dub(extern (C) int rt.dmain2._d_run_main(int, char**, extern 
 (C) int function(char[][])*).void tryExec(scope void 
 delegate())+0x18) [0x8233e80]
 dub(extern (C) int rt.dmain2._d_run_main(int, char**, extern 
 (C) int function(char[][])*).void runAll()+0x32) [0x8234212]
 dub(extern (C) int rt.dmain2._d_run_main(int, char**, extern 
 (C) int function(char[][])*).void tryExec(scope void 
 delegate())+0x18) [0x8233e80]
 dub(_d_run_main+0x121) [0x8233e51]
 dub(main+0x14) [0x8233d24]
 /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3) 
 [0xb74cc4d3]
 Could not resolve dependencies
 The dependency graph could not be filled.
 The following changes could be performed:
 Failure vibe-d >=0.7.12, projectLocal
 Issued by:
  TTSServer: >=0.7.12
Seeing as you're having bootstrap problems, just glone the dub git repo and build dub from source. It's completely trivial and will 99% sure solve the problem.
Nov 15 2013