Closed
Description
$ rustc --version
rustc 1.6.0-dev (af5d9d65e 2015-11-16)
$ git clone https://github.com/rust-gnome/glib
$ cd glib
$ git rev-parse HEAD
70bfcac216131ae9ac7fdd12b960450cea23e28e
$ cargo build
Compiling pkg-config v0.3.6
Compiling bitflags v0.3.2
Compiling libc v0.1.12
Compiling glib-sys v0.2.0 (https://github.com/gtk-rs/sys#52d916bc)
Compiling gio-sys v0.2.0 (https://github.com/gtk-rs/sys#52d916bc)
Compiling gobject-sys v0.2.0 (https://github.com/gtk-rs/sys#52d916bc)
Compiling glib v0.0.3 (file:///home/bergevic/dev/glib)
error: internal compiler error: ty_is_local invoked on unexpected type: [type error]
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'Box<Any>', src/libsyntax/diagnostic.rs:249
Could not compile `glib`.
To learn more, run the command again with --verbose.
Running the rustc command with RUST_BACKTRACE=1
results in:
error: internal compiler error: ty_is_local invoked on unexpected type: [type error]
Segmentation fault