Skip to content

Add an option to re-allow false positives in crate loading. #13764

Closed
@ghost

Description

When trying to reinstall rust-sdl:

src/sdl_image/lib.rs:7:1: 7:32 error: multiple rlib candidates for `sdl` found
src/sdl_image/lib.rs:7 extern crate sdl = "sdl#0.3.2";
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/sdl_image/lib.rs:7:1: 7:32 note: candidate #1: /var/tmp/paludis/build/dev-rust-sdl-scm/work/sdl-scm/libsdl-e351513a-0.3.2.rlib
src/sdl_image/lib.rs:7 extern crate sdl = "sdl#0.3.2";
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/sdl_image/lib.rs:7:1: 7:32 note: candidate #2: /usr/lib64/libsdl-e351513a-0.3.2.rlib
src/sdl_image/lib.rs:7 extern crate sdl = "sdl#0.3.2";

Introduced by #13017, combined with #11802 this is a packaging showstopper. If a package and its dependency are installed to the same directory, there is no way to rebuild it without recursively uninstalling everything first.

Also, these are rlibs.

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