Skip to content

Remote dependency fetching in rustpkg appears to still be broken #9781

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sfackler opened this issue Oct 9, 2013 · 3 comments
Closed

Remote dependency fetching in rustpkg appears to still be broken #9781

sfackler opened this issue Oct 9, 2013 · 3 comments

Comments

@sfackler
Copy link
Member

sfackler commented Oct 9, 2013

Via either a manual install:

~/temp ❯ rustpkg install github.com/steveklabnik/hello
WARNING: The Rust package manager is experimental and may be unstable
task '<unnamed>' failed at 'Unhandled condition: nonexistent_package: (package_id::PkgId{path: std::path::PosixPath{is_absolute: false, components: ~[~"github.com", ~"steveklabnik", ~"hello"]}, short_name: ~"hello", version: NoVersion}, ~"supplied path for package dir does not exist, and couldn't interpret it as a URL fragment")', /home/sfackler/rust/src/libstd/condition.rs:131

Or via an extern mod declaration:
src/foo/main.rs:

extern mod hello = "github.com/steveklabnik/hello";

fn main() {}
~/temp ❯ rustpkg build foo
WARNING: The Rust package manager is experimental and may be unstable
task '<unnamed>' failed at 'Unhandled condition: nonexistent_package: (package_id::PkgId{path: std::path::PosixPath{is_absolute: false, components: ~[~"github.com", ~"steveklabnik", ~"hello"]}, short_name: ~"hello", version: NoVersion}, ~"supplied path for package dir does not exist, and couldn't interpret it as a URL fragment")', /home/sfackler/rust/src/libstd/condition.rs:131
task '<unnamed>' failed at 'receiving on closed channel', /home/sfackler/rust/src/libstd/rt/comm.rs:199

#9741 claims to have fixed it but it looks like that didn't quite work

cc @catamorphism

@eholk
Copy link
Contributor

eholk commented Oct 12, 2013

I'm seeing this issue as well.

@thewonderidiot
Copy link

This is more than likely the same issue as #9482.

@catamorphism
Copy link
Contributor

I believe this is the same bug as #10253, actually (and I don't think it's related to #9987, or at least not anymore). The first case does work now -- rustpkg install github.com/steveklabnik/hello installs the package, at least for me. The second case doesn't work, but for a different reason than before. The reason has to do with the structure of the remote repo in this case (it's structured as a workspace). #10253 explains the problem in more detail, so I'm closing this as a dup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants