[MacRuby] #1441: `rake spec:ci` fails with MacRuby master
#1441: `rake spec:ci` fails with MacRuby master --------------------------------+------------------------------------------- Reporter: msabramo@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: --------------------------------+------------------------------------------- This is with the 53b78caf0339d8544d0970b2fc58d6896e8ad57f version of MacRuby from git. I was following the instructions at https://github.com/MacRuby/MacRuby/blob/master/README.rdoc to install it. {{{ marca@SCML-MarcA:~/dev/git-repos/MacRuby$ git show-ref HEAD 53b78caf0339d8544d0970b2fc58d6896e8ad57f refs/remotes/origin/HEAD marca@SCML-MarcA:~/dev/git-repos/MacRuby$ rake --trace spec:ci (in /Users/marca/dev/git-repos/MacRuby) ** Invoke spec:ci (first_time) ** Execute spec:ci rm -rf rubyspec_temp ./mspec/bin/mspec ci -B ./spec/macruby.mspec :full MacRuby 0.12 (ruby 1.9.2) [universal-darwin10.0, x86_64] E..........*** Dispatch block exited prematurely because of an uncaught exception: /Users/marca/dev/git- repos/MacRuby/mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with': Expected true to equal false (SpecExpectationNotMetError) from /Users/marca/dev/git- repos/MacRuby/mspec/lib/mspec/matchers/base.rb:9:in `==' from /Users/marca/dev/git- repos/MacRuby/spec/macruby/core/gcd/semaphore_spec.rb:62:in `block' ............E....could not lookup DNS configuration info service: Permission denied could not lookup DNS configuration info service: Permission denied could not lookup DNS configuration info service: Permission denied ........rake aborted! Command failed with status (): [./mspec/bin/mspec ci -B ./spec/macruby.msp...] /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:995:in `sh' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:1010:in `call' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:1010:in `sh' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:1094:in `sh' /Users/marca/dev/git-repos/MacRuby/rakelib/spec.rake:7:in `mspec' /Users/marca/dev/git-repos/MacRuby/rakelib/spec.rake:12 /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:636:in `call' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:636:in `execute' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:631:in `each' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:631:in `execute' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:597:in `invoke_with_call_chain' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:590:in `invoke_with_call_chain' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:583:in `invoke' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:2051:in `invoke_task' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:2029:in `top_level' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:2029:in `each' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:2029:in `top_level' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:2023:in `top_level' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:2001:in `run' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:1998:in `run' /usr/bin/rake:31 }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/1441> MacRuby <http://macruby.org/>
#1441: `rake spec:ci` fails with MacRuby master --------------------------------+------------------------------------------- Reporter: msabramo@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: --------------------------------+------------------------------------------- Comment(by watson1978@…): I can't take its result. So, we need to know more information about your environment (OS version, compiler, installed libraries ....). -- Ticket URL: <http://www.macruby.org/trac/ticket/1441#comment:3> MacRuby <http://macruby.org/>
#1441: `rake spec:ci` fails with MacRuby master --------------------------------+------------------------------------------- Reporter: msabramo@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: --------------------------------+------------------------------------------- Comment(by msabramo@…): Replying to [comment:3 watson1978@…]:
I can't take its result. So, we need to know more information about your environment (OS version, compiler, installed libraries ....).
OS X 10.6.8 {{{ $ /usr/bin/gcc -v Using built-in specs. Target: i686-apple-darwin10 Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.1~3/src/configure --disable- checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program- prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with- slibdir=/usr/lib --build=i686-apple-darwin10 --enable- llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.1~3/dst- llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx- include-dir=/usr/include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00) $ /usr/bin/g++ -v Using built-in specs. Target: i686-apple-darwin10 Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.1~3/src/configure --disable- checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program- prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with- slibdir=/usr/lib --build=i686-apple-darwin10 --enable- llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.1~3/dst- llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx- include-dir=/usr/include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00) marca@SCML-MarcA:~/dev/git-repos/MacRuby$ which rake /usr/bin/rake marca@SCML-MarcA:~/dev/git-repos/MacRuby$ rake --version rake, version 0.8.7 marca@SCML-MarcA:~/dev/git-repos/MacRuby$ which ruby /usr/bin/ruby marca@SCML-MarcA:~/dev/git-repos/MacRuby$ ruby -v ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin10.0] marca@SCML-MarcA:~/dev/git-repos/MacRuby$ which gem /usr/bin/gem marca@SCML-MarcA:~/dev/git-repos/MacRuby$ gem --version 1.3.5 }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/1441#comment:4> MacRuby <http://macruby.org/>
#1441: `rake spec:ci` fails with MacRuby master --------------------------------+------------------------------------------- Reporter: msabramo@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: --------------------------------+------------------------------------------- Comment(by watson1978@…): If you installed MacRuby 0.10, should uninstall it. In the test of macruby_deploy, use a command with installed. Its test will be error using old MacRuby. -- Ticket URL: <http://www.macruby.org/trac/ticket/1441#comment:5> MacRuby <http://macruby.org/>
#1441: `rake spec:ci` fails with MacRuby master --------------------------------+------------------------------------------- Reporter: msabramo@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: --------------------------------+------------------------------------------- Comment(by msabramo@…): OK, the original computer I used had MacRuby 0.10 installed. I have not yet tried uninstalling MacRuby 0.10 on that computer, but... I have since tried building MacRuby on a second computer, also with OS X 10.6.8, and this computer had no MacRuby on it. On this one, `rake spec:ci` also fails and also the `macruby` process crashes, I think because it can't find `libmacruby.dylib`. Running `./macruby -v` fails because it looks for and can't find `/Library/Frameworks/MacRuby.framework/Versions/0.12/usr/lib/libmacruby.dylib`: {{{ marca@SCML-MarcA:~/dev/git-repos/MacRuby$ otool -L ./macruby ./macruby: /Library/Frameworks/MacRuby.framework/Versions/0.12/usr/lib/libmacruby.dylib (compatibility version 0.12.0, current version 0.12.0) /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 227.0.0) /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11) }}} I tried installing it with `sudo rake install` (even though I'd really like to run the test successfully before installing) and that failed with issue #1442. It seems that `macruby` should be linked so that it can use a `libmacruby.dylib` in the same directory? Otherwise, you can't run tests? -- Ticket URL: <http://www.macruby.org/trac/ticket/1441#comment:6> MacRuby <http://macruby.org/>
#1441: `rake spec:ci` fails with MacRuby master --------------------------------+------------------------------------------- Reporter: msabramo@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: --------------------------------+------------------------------------------- Comment(by watson1978@…): please set a environment variable DYLD_LIBRARY_PATH, if you use compiled MacRuby before installing. Like: {{{ $ DYLD_LIBRARY_PATH=. ./macruby -v MacRuby 0.12 (ruby 1.9.2) [universal-darwin11.0, x86_64] }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/1441#comment:7> MacRuby <http://macruby.org/>
#1441: `rake spec:ci` fails with MacRuby master --------------------------------+------------------------------------------- Reporter: msabramo@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: --------------------------------+------------------------------------------- Comment(by msabramo@…): Here's another guy who experienced the same problem more than a year ago: http://lists.macosforge.org/pipermail/macruby- devel/2011-January/006725.html -- Ticket URL: <http://www.macruby.org/trac/ticket/1441#comment:8> MacRuby <http://macruby.org/>
#1441: `rake spec:ci` fails with MacRuby master --------------------------------+------------------------------------------- Reporter: msabramo@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: --------------------------------+------------------------------------------- Comment(by msabramo@…): @watson1978: Hmmm, I also found a gist with this error that looks like it's from you. https://gist.github.com/944091 -- Ticket URL: <http://www.macruby.org/trac/ticket/1441#comment:9> MacRuby <http://macruby.org/>
#1441: `rake spec:ci` fails with MacRuby master --------------------------------+------------------------------------------- Reporter: msabramo@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: --------------------------------+------------------------------------------- Comment(by msabramo@…): {{{ marca@SCML-MarcA:~/dev/git-repos/MacRuby$ ./mspec/bin/mspec ci -B ./spec/macruby.mspec :full -V MacRuby 0.12 (ruby 1.9.2) [universal-darwin10.0, x86_64] /Users/marca/dev/git- repos/MacRuby/spec/macruby/command_line/ruby_deploy_spec.rb F /Users/marca/dev/git-repos/MacRuby/spec/macruby/core/array_spec.rb . /Users/marca/dev/git-repos/MacRuby/spec/macruby/core/cftype_spec.rb . /Users/marca/dev/git-repos/MacRuby/spec/macruby/core/constant_spec.rb . /Users/marca/dev/git-repos/MacRuby/spec/macruby/core/data_spec.rb . /Users/marca/dev/git-repos/MacRuby/spec/macruby/core/exception_spec.rb . /Users/marca/dev/git-repos/MacRuby/spec/macruby/core/file_spec.rb . /Users/marca/dev/git-repos/MacRuby/spec/macruby/core/float_spec.rb . /Users/marca/dev/git-repos/MacRuby/spec/macruby/core/gcd/block_spec.rb . /Users/marca/dev/git-repos/MacRuby/spec/macruby/core/gcd/group_spec.rb . /Users/marca/dev/git-repos/MacRuby/spec/macruby/core/gcd/queue_spec.rb . /Users/marca/dev/git-repos/MacRuby/spec/macruby/core/gcd/semaphore_spec.rb *** Dispatch block exited prematurely because of an uncaught exception: /Users/marca/dev/git- repos/MacRuby/mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with': Expected true to equal false (SpecExpectationNotMetError) from /Users/marca/dev/git- repos/MacRuby/mspec/lib/mspec/matchers/base.rb:9:in `==' from /Users/marca/dev/git- repos/MacRuby/spec/macruby/core/gcd/semaphore_spec.rb:62:in `block' . /Users/marca/dev/git-repos/MacRuby/spec/macruby/core/gcd/source_spec.rb . /Users/marca/dev/git-repos/MacRuby/spec/macruby/core/hash_spec.rb . /Users/marca/dev/git-repos/MacRuby/spec/macruby/core/kernel_spec.rb . /Users/marca/dev/git-repos/MacRuby/spec/macruby/core/kvc_spec.rb . /Users/marca/dev/git-repos/MacRuby/spec/macruby/core/kvo_spec.rb . /Users/marca/dev/git-repos/MacRuby/spec/macruby/core/mri_abi_spec.rb . /Users/marca/dev/git-repos/MacRuby/spec/macruby/core/number_spec.rb . /Users/marca/dev/git-repos/MacRuby/spec/macruby/core/objc_spec.rb . /Users/marca/dev/git-repos/MacRuby/spec/macruby/core/object_spec.rb . /Users/marca/dev/git-repos/MacRuby/spec/macruby/core/opaque_spec.rb . /Users/marca/dev/git-repos/MacRuby/spec/macruby/core/plist_spec.rb . /Users/marca/dev/git-repos/MacRuby/spec/macruby/core/pointer_spec.rb E /Users/marca/dev/git-repos/MacRuby/spec/macruby/core/range_spec.rb . /Users/marca/dev/git- repos/MacRuby/spec/macruby/core/sandbox/no_internet_spec.rb . /Users/marca/dev/git- repos/MacRuby/spec/macruby/core/sandbox/no_network_spec.rb . /Users/marca/dev/git- repos/MacRuby/spec/macruby/core/sandbox/no_writes_spec.rb . /Users/marca/dev/git- repos/MacRuby/spec/macruby/core/sandbox/pure_computation_spec.rb could not lookup DNS configuration info service: Permission denied could not lookup DNS configuration info service: Permission denied could not lookup DNS configuration info service: Permission denied . /Users/marca/dev/git- repos/MacRuby/spec/macruby/core/sandbox/temporary_writes_spec.rb . /Users/marca/dev/git-repos/MacRuby/spec/macruby/core/string_spec.rb . /Users/marca/dev/git-repos/MacRuby/spec/macruby/core/struct_spec.rb . /Users/marca/dev/git-repos/MacRuby/spec/macruby/core/symbol_spec.rb . /Users/marca/dev/git-repos/MacRuby/spec/macruby/core/thread_spec.rb . /Users/marca/dev/git-repos/MacRuby/spec/macruby/core/time_spec.rb . /Users/marca/dev/git-repos/MacRuby/spec/macruby/language/method_spec.rb . /Users/marca/dev/git- repos/MacRuby/spec/macruby/language/objc_method_spec.rb Segmentation fault }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/1441#comment:10> MacRuby <http://macruby.org/>
#1441: `rake spec:ci` fails with MacRuby master --------------------------------+------------------------------------------- Reporter: msabramo@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: --------------------------------+------------------------------------------- Comment(by watson1978@…): Ok, we knew some messages are displayed. https://gist.github.com/1722169 [[BR]] Unfortunately, we have not been able to repair them yet. -- Ticket URL: <http://www.macruby.org/trac/ticket/1441#comment:11> MacRuby <http://macruby.org/>
#1441: `rake spec:ci` fails with MacRuby master --------------------------------+------------------------------------------- Reporter: msabramo@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: --------------------------------+------------------------------------------- Comment(by msabramo@…): Replying to [comment:11 watson1978@…]:
Ok, we knew some messages are displayed. https://gist.github.com/1722169 [[BR]] Unfortunately, we have not been able to repair them yet.
OK. It seems this has been around a while, so it's probably a difficult problem and it might take a while to solve. I would suggest modifying the README.rdoc to note that this is a known issue: https://github.com/MacRuby/MacRuby/pull/53 -- Ticket URL: <http://www.macruby.org/trac/ticket/1441#comment:12> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby