I updated to latest Rust, and now I get this error:

error: Couldn't find package github.com/bjz/sax-rs#71d0e361ae, which
is needed by generator-0.1, in any of the workspaces in the RUST_PATH
(~[std::path::PosixPath{is_absolute: true, components: ~[~"path",
~"to", ~"gl-rs", ~".rust"]}, std::path::PosixPath{is_absolute: true,
components: ~[~"path", ~"to", ~"gl-rs"]}])
task <unnamed> failed at 'Unhandled condition: nonexistent_package:
(package_id::PkgId{path: std::path::PosixPath{is_absolute: false,
components: ~[~"github.com", ~"bjz", ~"sax-rs"]}, short_name:
~"sax-rs", version: ExactRevision(~"71d0e361ae")}, ~"Dependency not
found")', /Users/john/Projects/rust/src/libstd/condition.rs:43
task <unnamed> failed at 'killed by linked failure',
/path/to/Projects/rust/src/libstd/rt/kill.rs:627

Not sure if that's better or worse.

On Sat, Sep 14, 2013 at 9:27 AM, John <[email protected]> wrote:
> I've been trying to get rustpkg to automatically fetch and build a dependency
> using the extern mod = "..." syntax, but it doesn't seem to be working. For
> example:
>
> extern mod sax = "github.com/bjz/sax-rs#71d0e361ae";
> fn main() {}
>
> produces the error:
> task <unnamed> failed at 'Unhandled condition: nonexistent_package:
> (package_id::PkgId{path: std::path::PosixPath{is_absolute: false,
> components: ~[~"github.com", ~"bjz", ~"sax-rs"]}, short_name:
> ~"sax-rs", version: ExactRevision(~"71d0e361ae")}, ~"supplied path for
> package dir does not exist, and couldn\'t interpret it as a URL
> fragment")', /path/to/rust/src/libstd/condition.rs:43
>
> And https://github.com/bjz/sax-rs is a rustpkg-compatible repo.
>
> Any ideas why I'm running into this? (Or is it just a bug?)
>
> --
> John Grosen



-- 
John Grosen
cogito, ergo sum.
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to