Skip to content

rustpkg fails to install package from git repo #7744

Closed
@fabiand

Description

@fabiand

It seems as if rustpkg doesn#t detect the git:// prefix properly, at least it's trying to fetch the git repo using https ...

$ rustpkg install git://github.com/mozilla/servo.git
WARNING: The Rust package manager is experimental and may be unstable
note: Fetching package: git clone https://git:/github.com/mozilla/servo.git /home/fabiand/src/git:/github.com/mozilla/servo.git-0.1 ~[]
note: fetching https://git:/github.com/mozilla/servo.git failed: can't clone repository
note: Fetching package: git clone https://git:/github.com/mozilla/servo.git /home/fabiand/src/git:/github.com/mozilla/servo.git-0.1 ~[]
note: fetching https://git:/github.com/mozilla/servo.git failed: can't clone repository
rust: task failed at 'Unhandled condition: nonexistent_package: ({remote_path: {__field__: {is_absolute: false, components: ~[~"git:", ~"github.com", ~"mozilla", ~"servo.git"]}}, local_path: {__field__: {is_absolute: false, components: ~[~"git:", ~"github.com", ~"mozilla", ~"servo.git"]}}, short_name: ~"servo", version: NoVersion}, ~"supplied path for package dir does not exist, and couldn\'t interpret it as a URL fragment")', /builddir/build/BUILD/rust-0.7/src/libstd/condition.rs:44
rust: domain main @0x1c55d50 root task failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions