Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FTBFS on RHEL-7: expected url::Url but found url::Url ??? #3198

Closed
mcepl opened this issue Sep 2, 2014 · 6 comments
Closed

FTBFS on RHEL-7: expected url::Url but found url::Url ??? #3198

mcepl opened this issue Sep 2, 2014 · 6 comments

Comments

@mcepl
Copy link

mcepl commented Sep 2, 2014

Building cb559ef the build ends with

compile: /home/matej/repos/tmp/servo/build/x86_64-unknown-linux-gnu/src/components/macros/libmacros.dummy
compile: /home/matej/repos/tmp/servo/build/x86_64-unknown-linux-gnu/src/components/util/libutil.dummy
compile: /home/matej/repos/tmp/servo/build/x86_64-unknown-linux-gnu/src/components/net/libnet.dummy
warning: using multiple versions of crate `url`
/home/matej/repos/tmp/servo/src/components/net/net.rs:13:1: 13:19 note: used here
/home/matej/repos/tmp/servo/src/components/net/net.rs:13 extern crate http;
                                                         ^~~~~~~~~~~~~~~~~~
note: crate name: url
/home/matej/repos/tmp/servo/src/components/net/net.rs:22:1: 22:18 note: used here
/home/matej/repos/tmp/servo/src/components/net/net.rs:22 extern crate url;
                                                         ^~~~~~~~~~~~~~~~~
note: crate name: url
/home/matej/repos/tmp/servo/src/components/net/http_loader.rs:64:85: 64:96 error: mismatched types: expected `url::Url` but found `url::Url` (expected struct url::Url but found struct url::Url)
/home/matej/repos/tmp/servo/src/components/net/http_loader.rs:64         let request = RequestWriter::<NetworkStream>::new(load_data.method.clone(), url.clone());
                                                                                                                                                     ^~~~~~~~~~~
/home/matej/repos/tmp/servo/src/components/net/http_loader.rs:127:27: 127:34 error: mismatched types: expected `url::Url` but found `url::Url` (expected struct url::Url but found struct url::Url)
/home/matej/repos/tmp/servo/src/components/net/http_loader.rs:127                     url = new_url;
                                                                                            ^~~~~~~
error: aborting due to 2 previous errors
make: *** [/home/matej/repos/tmp/servo/build/x86_64-unknown-linux-gnu/src/components/net/libnet.dummy] Error 101
@metajack
Copy link
Contributor

metajack commented Sep 2, 2014

This looks like rust-lang/rust#16496

Is there a symlink in your directory hierarchy somewhere?

@jdm
Copy link
Member

jdm commented Sep 2, 2014

If I recall correctly, this is a problem that stems from a symlink being present in the build path. There's a Rust issue filed about it.

@nham
Copy link

nham commented Sep 2, 2014

I'm having the same problem on Arch Linux. Maybe I'm missing something, but I don't believe there are any symlinks in my path, though the build directory is on a mounted NTFS partition.

@mcepl
Copy link
Author

mcepl commented Sep 3, 2014

yes, ~/repos is a symlink.

@frewsxcv
Copy link
Contributor

frewsxcv commented Jul 9, 2015

This hasn't been reported in a while, probably okay to close this?

@metajack metajack closed this as completed Jul 9, 2015
@mcepl
Copy link
Author

mcepl commented Jul 11, 2015

Yes, it is working well with 3d4122e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants