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

"make check" Error with OS X Lion 10.7.4 "make[1]: *** [cocoa-test] Error 101" #58

Closed
AbdullahDiaa opened this issue Aug 30, 2012 · 13 comments
Closed

Comments

@AbdullahDiaa
Copy link

@AbdullahDiaa AbdullahDiaa commented Aug 30, 2012

make check

make check -C src/rust-cocoa
rustc  /Users/user/servo/src/rust-cocoa/cocoa.rc -o cocoa-test --test
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug
note: try running with RUST_LOG=rustc=0,::rt::backtrace to get further details and report the results to github.com/mozilla/rust/issues
make[1]: *** [cocoa-test] Error 101
make: *** [check-rust-cocoa] Error 2

RUST_LOG=rustc=0,::rt::backtrace rustc /Users/user/servo/src/rust-cocoa/cocoa.rc -o cocoa-test --test

rust: task failed at 'Assertion res as int != 0 failed', /Users/user/rust/src/libcore/flate.rs:48
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug
note: try running with RUST_LOG=rustc=0,::rt::backtrace to get further details and report the results to github.com/mozilla/rust/issues
rust: task failed at 'explicit failure', /Users/user/rust/src/rustc/driver/rustc.rs:265
rust: domain main @0x7fc819800010 root task failed
rust: task failed at 'killed', /Users/user/rust/src/libcore/task.rs:549
@catamorphism
Copy link
Contributor

@catamorphism catamorphism commented Aug 30, 2012

Sorry, but you need to install rustc from git HEAD in order to build Servo. See https://github.com/mozilla/servo/blob/master/README.md .

@AbdullahDiaa
Copy link
Author

@AbdullahDiaa AbdullahDiaa commented Aug 30, 2012

rustc -v

rustc 0.3.1 (ee2ce03 2012-08-29 16:09:50 -0700)
host: x86_64-apple-darwin

and still make check fails

make check -C src/rust-cocoa
rustc  /Users/user/servo/src/rust-cocoa/cocoa.rc -o cocoa-test --test
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug
note: try running with RUST_LOG=rustc=0,::rt::backtrace to get further details and report the results to github.com/mozilla/rust/issues
make[1]: *** [cocoa-test] Error 101
make: *** [check-rust-cocoa] Error 2

RUST_LOG=rustc=0,::rt::backtrace rustc /Users/user/servo/src/rust-cocoa/cocoa.rc -o cocoa-test --test

rust: task failed at 'Assertion res as int != 0 failed', /Users/user/rust/src/libcore/flate.rs:48
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug
note: try running with RUST_LOG=rustc=0,::rt::backtrace to get further details and report the results to github.com/mozilla/rust/issues
rust: task failed at 'explicit failure', /Users/user/rust/src/rustc/driver/rustc.rs:265
rust: domain main @0x7fc819800010 root task failed
rust: task failed at 'killed', /Users/user/rust/src/libcore/task.rs:549
@catamorphism catamorphism reopened this Aug 30, 2012
@pcwalton
Copy link
Contributor

@pcwalton pcwalton commented Aug 30, 2012

Try wiping out your build directory and rebuilding.

@brson
Copy link
Contributor

@brson brson commented Aug 31, 2012

As of this moment, servo successfully builds against Rust incoming again.

@AbdullahDiaa
Copy link
Author

@AbdullahDiaa AbdullahDiaa commented Aug 31, 2012

@brson @pcwalton
rustc -v

rustc 0.3.1 (ee2ce03 2012-08-29 16:09:50 -0700)
host: x86_64-apple-darwin

cloned servo again and rebuilt it , still same problem

make check

make check -C src/rust-cocoa
cc /Users/user/servo/src/rust-cocoa/msgsend.c -o msgsend.o -c
ar rcs libmsgsend.a msgsend.o
rustc  /Users/user/servo/src/rust-cocoa/cocoa.rc -o cocoa-test --test
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug
note: try running with RUST_LOG=rustc=0,::rt::backtrace to get further details and report the results to github.com/mozilla/rust/issues
make[1]: *** [cocoa-test] Error 101
make: *** [check-rust-cocoa] Error 2

RUST_LOG=rustc=0,::rt::backtrace rustc /Users/user/servo/src/rust-cocoa/cocoa.rc -o cocoa-test --test

rust: task failed at 'Assertion res as int != 0 failed', /Users/user/rust/src/libcore/flate.rs:48
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug
note: try running with RUST_LOG=rustc=0,::rt::backtrace to get further details and report the results to github.com/mozilla/rust/issues
rust: task failed at 'explicit failure', /Users/user/rust/src/rustc/driver/rustc.rs:265
rust: domain main @0x7feedc018810 root task failed
rust: task failed at 'killed', /Users/user/rust/src/libcore/task.rs:549

@brson
Copy link
Contributor

@brson brson commented Aug 31, 2012

The flat error is a new Rust error: rust-lang/rust#3325

Anecdotally, running make clean on the Rust build fixes it.

@AbdullahDiaa
Copy link
Author

@AbdullahDiaa AbdullahDiaa commented Sep 1, 2012

@brson

make clean

cfg: shell host triple x86_64-apple-darwin
cfg: host for x86_64-apple-darwin is x86_64
cfg: unix-y environment
cfg: using gcc
cfg: no pandoc found, omitting doc/rust.pdf
cfg: no llnextgen found, omitting grammar-verification
cfg: no pandoc found, omitting library doc build
cfg: including dist rules
cfg: including snap rules
cfg: including clean rules
cleaning

still same exact error :/

@jdm
Copy link
Member

@jdm jdm commented Sep 1, 2012

Further anecdotes suggest that make uninstall followed by make install fixes it.

@AbdullahDiaa
Copy link
Author

@AbdullahDiaa AbdullahDiaa commented Sep 1, 2012

@jdm
make unisntall then make install
now the cocoa-test pass with no problem

but i get another problem with core-foundation.rc

cocoa.rc -o cocoa-test --test
warning: no debug symbols in executable (-arch x86_64)
./cocoa-test

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

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

make check -C src/rust-core-foundation
rustc  /Users/abdullahdiaa/servo/src/rust-core-foundation/core_foundation.rc -o rustcorefoundation-test --test
/Users/abdullahdiaa/servo/src/rust-core-foundation/base.rs:57:7: 57:8 error: expected `module`, found `{`
/Users/abdullahdiaa/servo/src/rust-core-foundation/base.rs:57 extern {
                                                                     ^
make[1]: *** [rustcorefoundation-test] Error 101
make: *** [check-rust-core-foundation] Error 2
@jdm
Copy link
Member

@jdm jdm commented Sep 1, 2012

You'll probably need to pull from rust incoming again.

@AbdullahDiaa
Copy link
Author

@AbdullahDiaa AbdullahDiaa commented Sep 1, 2012

@jdm

i've built from rust incoming about 3 times

rustc 0.3.1 (ee2ce03 2012-08-29 16:09:50 -0700)
host: x86_64-apple-darwin

still get the same problem

make check && make

make check -C src/rust-cocoa
cc /Users/abdullahdiaa/servo/src/rust-cocoa/msgsend.c -o msgsend.o -c
ar rcs libmsgsend.a msgsend.o
rustc  /Users/abdullahdiaa/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
nsapp: 140280751725264
test base::test_custom_obj ... ok
test base::test_nsapp ... ok

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

make check -C src/rust-core-foundation
rustc  /Users/abdullahdiaa/servo/src/rust-core-foundation/core_foundation.rc -o rustcorefoundation-test --test
/Users/abdullahdiaa/servo/src/rust-core-foundation/base.rs:57:7: 57:8 error: expected `module`, found `{`
/Users/abdullahdiaa/servo/src/rust-core-foundation/base.rs:57 extern {
                                                                     ^
make[1]: *** [rustcorefoundation-test] Error 101
make: *** [check-rust-core-foundation] Error 2

i'm using servo and rust from git HEAD

@burg
Copy link

@burg burg commented Sep 4, 2012

@AbdullahDiaa You are still using an old version of rust (ee2ce03, Wed Aug 29). Did you forget to use make install for rustc? If you don't, then an old version may be used instead.

@burg
Copy link

@burg burg commented Sep 5, 2012

Several of these build errors are being fixed today and tomorrow. Stay tuned.

@burg burg closed this Sep 8, 2012
ChrisParis pushed a commit to ChrisParis/servo that referenced this issue Sep 7, 2014
glennw pushed a commit to glennw/servo that referenced this issue Jan 16, 2017
glennw pushed a commit to glennw/servo that referenced this issue Jan 16, 2017
pmocher pushed a commit to Brody-Eastwood/servo that referenced this issue Mar 30, 2018
# This is the 1st commit message:

Don't access the reflector when dropping a Promise (fixes servo#18651)

The reflector may be dead already.

# This is the commit message servo#2:

Run automated test for memory report charter.
# This is the commit message servo#3:

Run memory charting test on CI.
# This is the commit message servo#4:

Move the TravisCI test to the quick group.
# This is the commit message servo#5:

Add timeout pref to the mozilla/worklets wpt tests

# This is the commit message servo#6:

Added .ini for test_paint_worklet_timeout.html

# This is the commit message servo#7:

Update the in-tree status of WPT syncing.

# This is the commit message servo#8:

refactor(window): reference winit where applicable

- relates with servo#20299

# This is the commit message servo#9:

Update mozangle to 0.1.6.

# This is the commit message servo#10:

Update to handle WebRender API changes

Items now only take a clipping rectangle instead of a LocalClip.

# This is the commit message servo#11:

Update WR (local clip API change, texture cache optimizations).

# This is the commit message servo#12:

Update the MULTIPROCESS static when changing default options

# This is the commit message servo#13:

Add Windows support to the --nightly | -n flag.

# This is the commit message servo#14:

build(cargo): enable webrender capture feature

# This is the commit message servo#15:

feat(windowevent): expose CaptureWebRender event

# This is the commit message servo#16:

feat(window): bind hotkey to trigger capture event

# This is the commit message servo#17:

Avoid using WPT test runner to update the test manifest.

# This is the commit message servo#18:

Use typed coordinates.

We use Size2D and Point2D across compositing, constellation and script,
losing the type of pixels we use (DevicePixel, DeviceIndepententPixel
or CSSPixel) along the way, which might lead to bugs like
window.outerHeight not taking into account the page zoom (using
DeviceIndepententPixel instead of CSSPixel).

# This is the commit message servo#19:

alias some euclid types

# This is the commit message servo#20:

remove WindowMethods::size()

# This is the commit message servo#21:

Remove update-manifest argument that is no longer valid.
# This is the commit message servo#22:

Update web-platform-tests to revision e87f38097902e16348d4e17f4fe3bc2d0112bff1

# This is the commit message servo#23:

Add icon to servo.exe

# This is the commit message servo#24:

Use mozjs 0.3 fork without Heap::new

# This is the commit message servo#25:

Root JS object members in dictionaries

# This is the commit message servo#26:

Root `any` members in dictionaries

# This is the commit message servo#27:

Add key/value iterable HTML benchmark

# This is the commit message servo#28:

Fix tabs

# This is the commit message servo#29:

Use upstream mozjs 0.3

# This is the commit message servo#30:

Update WR (radial gradient optimizations).

# This is the commit message servo#31:

CounterBound::Integer made to store an Integer

# This is the commit message servo#32:

style: Remove unsound Atom From implementations.

Fixes servo#20158

# This is the commit message servo#33:

style: Cleanup @-moz-document parsing a bit.

MozReview-Commit-ID: 7vd0BLAqM0v
Bug: 1446470
Reviewed-by: xidorn

# This is the commit message servo#34:

style: Allow @-moz-document url-prefix() on content.

MozReview-Commit-ID: zaT41fpsDT
Bug: 1446470
Reviewed-by: xidorn

# This is the commit message servo#35:

style: Add another pref to control the url-prefix hack.

MozReview-Commit-ID: D4qL0oO69Uh
Bug: 1446470
Reviewed-by: xidorn

# This is the commit message servo#36:

style: Update bindings.

# This is the commit message servo#37:

Update web-platform-tests to revision 790e6601ee8b4b412b6ad9f6fde466b7ccb9cb7e

# This is the commit message servo#38:

style: Better Shadow DOM assertions.

Bug: 1445682
Reviewed-by: xidorn
Differential Revision: https://phabricator.services.mozilla.com/D748

# This is the commit message servo#39:

Support memory report logs with interleaved non-report output, added automated tests

# This is the commit message servo#40:

Update WR revision.
# This is the commit message servo#41:

Add Servo_Property_IsShorthand to geckolib/glue.rs

# This is the commit message servo#42:

Re-expose webrender debugger feature in components/servo

Update ws in debugger  to 0.7.3

Update lockfile

# This is the commit message servo#43:

Update web-platform-tests to revision 3ec34e5a2c8cbeeb7fad521cce0daf923b272a92

# This is the commit message servo#44:

Make `type` argument as optional and ignore it in open method

# This is the commit message servo#45:

Update steps with new spec

# This is the commit message servo#46:

Make type-argument.window.js test as pass

# This is the commit message servo#47:

Simplify GetTexParameter

# This is the commit message servo#48:

Simplify VertexAttribOffset

# This is the commit message servo#49:

Simplify BufferParameter

# This is the commit message servo#50:

Simplify GetShaderPrecisionFormat

# This is the commit message servo#51:

Update web-platform-tests to revision 3a8328470d53c4501e31cec2775c4d33821c2275

# This is the commit message servo#52:

Mouse position from glutin is DevicePixel

# This is the commit message servo#53:

Update servo-websocket to 0.21

# This is the commit message servo#54:

Bump ipc-channel and bincode

This required bumping uuid too which unfortunately duplicated rand.

# This is the commit message servo#55:

Remove our dependency on the gcc crate

# This is the commit message servo#56:

Blobs support typed arrays now

# This is the commit message servo#57:

Bump parking_lot to 0.5

# This is the commit message servo#58:

initial shot at initial steps

# This is the commit message servo#59:

Second shot at initial steps

# This is the commit message servo#60:

Progress on initial steps

# This is the commit message servo#61:

initial shot at initial steps
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
6 participants
You can’t perform that action at this time.