[Rubygems-developers] [rubygems] Build broken by drbrain (#1201)

Berger, Daniel Daniel.Berger at qwest.com
Tue Jan 16 14:57:25 EST 2007


> -----Original Message-----
> From: rubygems-developers-bounces at rubyforge.org 
> [mailto:rubygems-developers-bounces at rubyforge.org] On Behalf 
> Of Cerberus
> Sent: Tuesday, January 16, 2007 12:41 PM
> To: rubygems-developers at rubyforge.org
> Subject: [Rubygems-developers] [rubygems] Build broken by 
> drbrain (#1201)

<snip>

>   1) Failure:
> test_class_build(TestGemExtRakeBuilder) 
> [./test/test_gem_ext_rake_builder.rb:35]:
> <["rake 
> RUBYARCHDIR=C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_275
> 6/prefix 
> RUBYLIBDIR=C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_2756
> /prefix extension",  "(in 
> C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_2756/ext)\n"]> 
> expected but was <["rake 
> RUBYARCHDIR=C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_275
> 6/prefix 
> RUBYLIBDIR=C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_2756
> /prefix extension",  "(in 
> C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_2756/ext)\nrequ
> ire_gem is obsolete.  Use gem instead.\n"]>.

Looks like the test suite needs an update here.

>   2) Failure:
> test_class_build_fail(TestGemExtRakeBuilder) 
> [./test/test_gem_ext_rake_builder.rb:45]:
> <Gem::InstallError> exception expected but none was thrown.

Not sure about this one.
 
>   3) Error:
> test_install_bad_gem(TestInstaller):
> Errno::EACCES: Permission denied - 
> C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_2756/gemhome/ca
> che/broken-1.0.0.gem
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1281:in `unlink'
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1281:in `remove_file'
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1289:in 
> `platform_support'
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1280:in `remove_file'
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1269:in `remove'
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:748:in `remove_entry'
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1319:in 
> `postorder_traverse'
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1323:in 
> `postorder_traverse'
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1318:in 
> `postorder_traverse'
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1317:in 
> `postorder_traverse'
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1318:in 
> `postorder_traverse'
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1317:in 
> `postorder_traverse'
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1318:in 
> `postorder_traverse'
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1317:in 
> `postorder_traverse'
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:746:in `remove_entry'
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:604:in `rm_r'
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:600:in `rm_r'
>     ./test/gemutilities.rb:78:in `teardown'

It looks like the test suite is trying to delete a file that's still in
use, e.g. an open file handle.  Windows doesn't allow this.
 
>   4) Error:
> test_install_with_message(TestInstaller):
> Errno::EACCES: Permission denied - 
> C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_2756/gemhome/ca
> che/broken-1.0.0.gem
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1281:in `unlink'
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1281:in `remove_file'
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1289:in 
> `platform_support'
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1280:in `remove_file'
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1269:in `remove'
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:748:in `remove_entry'
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1319:in 
> `postorder_traverse'
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1323:in 
> `postorder_traverse'
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1318:in 
> `postorder_traverse'
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1317:in 
> `postorder_traverse'
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1318:in 
> `postorder_traverse'
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1317:in 
> `postorder_traverse'
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1318:in 
> `postorder_traverse'
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:1317:in 
> `postorder_traverse'
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:746:in `remove_entry'
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:604:in `rm_r'
>     c:/PROGRA~1/ruby/lib/ruby/1.8/fileutils.rb:600:in `rm_r'
>     ./test/gemutilities.rb:78:in `teardown'

Same as above.

None of these look like problems with gems so much as problems with the
test suite.

Regards,

Dan


This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly 
prohibited and may be unlawful.  If you have received this communication 
in error, please immediately notify the sender by reply e-mail and destroy 
all copies of the communication and any attachments.


More information about the Rubygems-developers mailing list