Skip to content

make check-stage1 is broken #13247

Closed
@pnkfelix

Description

@pnkfelix

Original title: "compiletest has implicit dependency on libnative"

  • compiletest has implicit dependency on libnative

When I tried to do make check-stage1, I get the following:

oxidize: x86_64-apple-darwin/stage0/lib/rustlib/x86_64-apple-darwin/bin/compiletest
/Users/fklock/Dev/Mozilla/rust-ltms/src/compiletest/compiletest.rs:1:1: 1:1 error: can't find crate for `native`
/Users/fklock/Dev/Mozilla/rust-ltms/src/compiletest/compiletest.rs:1 // Copyright 2012 The Rust Project Developers. See the COPYRIGHT
                                                                     ^
error: aborting due to previous error

@alexcrichton says this is because, despite compiletest's continued use of libgreen, there is an implicit attempt to link in libnative unless one puts in a #![no_start] attribute into the crate attributes.

I plan to try to fix this pronto.


  • After fixing the above, I get:
    /Users/fklock/Dev/Mozilla/rust.git/src/test/run-pass-fulldeps/quote-unused-sp-no-warning.rs:16:1: 16:21 error: found possibly newer version of crate `std` which `syntax` depends on
    /Users/fklock/Dev/Mozilla/rust.git/src/test/run-pass-fulldeps/quote-unused-sp-no-warning.rs:16 extern crate syntax;
                                                                                                   ^~~~~~~~~~~~~~~~~~~~
    /Users/fklock/Dev/Mozilla/rust.git/src/test/run-pass-fulldeps/quote-unused-sp-no-warning.rs:16:1: 16:21 note: perhaps this crate needs to be recompiled?
    /Users/fklock/Dev/Mozilla/rust.git/src/test/run-pass-fulldeps/quote-unused-sp-no-warning.rs:16 extern crate syntax;
                                                                                                   ^~~~~~~~~~~~~~~~~~~~
    error: aborting due to previous error

    ------------------------------------------

    task '[run-pass] run-pass-fulldeps/quote-unused-sp-no-warning.rs' failed at 'explicit failure', /Users/fklock/Dev/Mozilla/rust.git/src/compiletest/runtest.rs:962


failures:
    [run-pass] run-pass-fulldeps/quote-unused-sp-no-warning.rs

So there's another separate problem blocking make check-stage1 from working.

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