Skip to content

Instantly share code, notes, and snippets.

@dcolish
Created June 24, 2013 01:24
Show Gist options
  • Save dcolish/5847198 to your computer and use it in GitHub Desktop.
Save dcolish/5847198 to your computer and use it in GitHub Desktop.
rust: task failed at 'explicit failure', /home/dcolish/workspace/rust/src/libsyntax/diagnostic.rs:98
rust: domain main @0x21d2c80 root task failed
omega:rust-test (101) $ RUST_LOG=rustpkg rustpkg build rust-http-client
WARNING: The Rust package manager is experimental and may be unstable
rust: ~"Using sysroot: Some(@{is_absolute: true, components: ~[~\"home\", ~\"dcolish\", ~\"local\", ~\"rust\", ~\"trunk\"]})"
rust: ~"whole = rust-http-client part = rust-http-client"
rust: ~"rust-http-client doesn\'t look like an explicit-version thing"
rust: ~"rust-http-client has no explicit version"
rust: ~"try_getting_version: rust-http-client"
rust: ~"local_path = rust_http_client, remote_path = rust-http-client"
rust: ~"=> p = .git"
rust: ~"p = .git, remote_path = rust-http-client"
rust: ~"whole = .git part = .git"
rust: ~".git doesn\'t look like an explicit-version thing"
rust: ~"=> p = .gitignore"
rust: ~"=> p = rust-http-client"
rust: ~"p = rust-http-client, remote_path = rust-http-client"
rust: ~"build: workspace = . pkgid = rust_http_client-0.1"
rust: ~"Destination dir = ./build/rust_http_client"
rust: ~"Package src = {root: {is_absolute: false, components: ~[~\".\"]}, dst_dir: {is_absolute: false, components: ~[~\".\", ~\"build\", ~\"rust_http_client\"]}, id: {remote_path: {__field__: {is_absolute: false, components: ~[~\"rust-http-client\"]}}, local_path: {__field__: {is_absolute: false, components: ~[~\"rust_http_client\"]}}, short_name: ~\"rust_http_client\", version: NoVersion}, libs: ~[], mains: ~[], tests: ~[], benchs: ~[]}"
rust: ~"Package source directory = Some({is_absolute: false, components: ~[~\".\", ~\"src\", ~\"rust-http-client\"]})"
rust: ~"Returning package script with id &{remote_path: {__field__: {is_absolute: false, components: ~[~\"rust-http-client\"]}}, local_path: {__field__: {is_absolute: false, components: ~[~\"rust_http_client\"]}}, short_name: ~\"rust_http_client\", version: NoVersion}"
rust: ~"run_custom: post_build"
rust: ~"Working directory = ./build/rust_http_client"
rust: ~"Building output filenames with script name ./src/rust-http-client/pkg.rs"
rust: ~"Root is /home/dcolish/local, calling compile_rest"
rust: ~"Calling build_output_filenames with ./build/rust_http_client, building library? @false"
rust: ~"Outputs are @{out_filename: {is_absolute: false, components: ~[~\".\", ~\"build\", ~\"rust_http_client\", ~\"pkg\"]}, obj_filename: {is_absolute: false, components: ~[~\".\", ~\"build\", ~\"rust_http_client\", ~\"pkg.o\"]}} and output type = output_type_exe"
rust: ~"\"additional libraries:\""
error: linking with `cc` failed with code 1
note: cc arguments: -L/home/dcolish/local/rust/trunk/lib/rustc/x86_64-unknown-linux-gnu/lib -m64 -o ./build/rust_http_client/pkg ./build/rust_http_client/pkg.o -L/home/dcolish/local/rust/trunk/lib/rustc/x86_64-unknown-linux-gnu/lib -lstd-6c65cf4b443341b1-0.7-pre -L/home/dcolish/local/rust/trunk/lib/rustc/x86_64-unknown-linux-gnu/lib -lextra-a7c050cfd46b2c9a-0.7-pre -L/home/dcolish/local/rust/trunk/lib/rustc/x86_64-unknown-linux-gnu/lib -lsyntax-9c7e57a146ef6bf1-0.7-pre -L/home/dcolish/local/rust/trunk/lib/rustc/x86_64-unknown-linux-gnu/lib -lrustc-ec14752a4b1d63-0.7-pre -L/home/dcolish/local/rust/trunk/lib/rustc/x86_64-unknown-linux-gnu/lib -lrustpkg-a039f7e3caed55f-0.7-pre -lrustrt -lrt -lpthread -Lrustllvm -lrustllvm -lrt -ldl -lm -lmorestack -lrustrt -Wl,-rpath,$ORIGIN/../../../../local/rust/trunk/lib/rustc/x86_64-unknown-linux-gnu/lib -Wl,-rpath,/home/dcolish/local/rust/trunk/lib/rustc/x86_64-unknown-linux-gnu/lib
note: /usr/bin/ld: cannot find -lrustllvm
collect2: error: ld returned 1 exit status
error: aborting due to previous error
rust: task failed at 'explicit failure', /home/dcolish/workspace/rust/src/libsyntax/diagnostic.rs:98
rust: domain main @0x2035c80 root task failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment