Vibe.d & DUB
John Colvin
john.loughran.colvin at gmail.com
Fri Nov 15 06:16:25 PST 2013
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 at 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.packagesupplier.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.packagesupplier.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.
More information about the Digitalmars-d
mailing list