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

Build failed on Snow Leopard #71

Closed
amuxtux opened this issue Sep 10, 2012 · 2 comments
Closed

Build failed on Snow Leopard #71

amuxtux opened this issue Sep 10, 2012 · 2 comments

Comments

@amuxtux
Copy link

@amuxtux amuxtux commented Sep 10, 2012

I installed latest rust

WCLui-iMac:build WCL$ rustc -v
rustc 0.4 (9c98d0f 2012-09-08 20:04:21 -0700)

host: x86_64-apple-darwin

Installed all dependencies as illustrated in

https://github.com/mozilla/servo/blob/master/README.md

pulled latest servo from git. But I am getting build failed with rust-cocoa.

Error :

$ make check && make
make check -C src/rust-cocoa
cc /Users/WCL/servoGit/servo/src/rust-cocoa/msgsend.c -o msgsend.o -c
ar rcs libmsgsend.a msgsend.o
rustc /Users/WCL/servoGit/servo/src/rust-cocoa/cocoa.rc -o cocoa-test --test
warning: no debug symbols in executable (-arch x86_64)
./cocoa-test

running 2 tests
doSomething
test base::test_custom_obj ... ok
nsapp: 4324354752
test base::test_nsapp ... ok

result: ok. 2 passed; 0 failed; 0 ignored

make check -C src/rust-core-foundation
rustc /Users/WCL/servoGit/servo/src/rust-core-foundation/core_foundation.rc -o rustcorefoundation-test --test
/Users/WCL/servoGit/servo/src/rust-core-foundation/number.rs:25:20: 25:24 error: obsolete syntax: lower-case kind bounds
/Users/WCL/servoGit/servo/src/rust-core-foundation/number.rs:25 fn new_number<T:copy ConvertibleToCFNumber>(n: T) -> CFNumber {
^~~~
note: the send, copy, const, and owned kinds are represented as traits now, and should be camel cased
error: aborting due to previous error
make[1]: *** [rustcorefoundation-test] Error 101
make: *** [check-rust-core-foundation] Error 2

any Idea what wrong. I tried reinstalling rust several times, and tried building servo many time but same error.

Thanks for help.

@brson
Copy link
Contributor

@brson brson commented Sep 10, 2012

This is a result of recent Rust syntax changes. I expect it to be fixed at some point today. Note that servo frequently breaks for reasons like this.

@burg
Copy link

@burg burg commented Sep 11, 2012

Syntax changes have been adapted, for now. There will be more tomorrow. Servo builds right now, but crashes because of font problems.

@burg burg closed this Sep 11, 2012
ChrisParis pushed a commit to ChrisParis/servo that referenced this issue Sep 7, 2014
glennw added a commit to glennw/servo that referenced this issue Jan 16, 2017
Move texture cache inside the resource cache.
glennw pushed a commit to glennw/servo that referenced this issue Jan 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.