Skip to content

rustpkg: Failing on rename between cross-device #9887

Description

@dpc

I've found what could be the reason why rustpkg does not work on my system that I've reported in the comments to: http://tim.dreamwidth.org/1820526.html

[pid 25620] stat("/home/dpc/lab/rust/.rust/src/github.com/steveklabnik", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
[pid 25620] rename("/tmp/jYDYGA3OTuHfMQwLrustpkg/rustpkg_temp", "/home/dpc/lab/rust/.rust/src/github.com/steveklabnik/hello") = -1 EXDEV (Invalid cross-device link)
[pid 25620] write(2, "task <unnamed> failed at 'Unhand"..., 381task <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/dpc/opt/src/rust/src/libstd/condition.rs:131) = 381

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions