[Rubygems-developers] [rubygems] Build still broken (#1148)

Cerberus anatol.pomozov at gmail.com
Wed Dec 20 04:41:23 EST 2006


------------------------------------------------------------------------
r1148 | drbrain | 2006-12-20 12:35:25 +0300 | 1 line
Changed paths:
   M /trunk/test/test_gem_ext_configure_builder.rb
   M /trunk/test/test_gem_ext_ext_conf_builder.rb

Make tests less overzealous for win32
------------------------------------------------------------------------

(in C:/Documents and Settings/anatol/.cerberus/work/rubygems/sources)
Loaded suite c:/PROGRA~1/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader
Started
......................................................................................EF..E....F.......................................................................................F..............................................................................................
Finished in 49.157 seconds.

  1) Error:
test_self_build(TestGemExtConfigureBuilder):
Gem::InstallError: configure failed:

sh ./configure --prefix=C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_3824/prefix
'sh' is not recognized as an internal or external command,
operable program or batch file.

    ./lib/rubygems/installer.rb:600:in `run'
    ./lib/rubygems/installer.rb:611:in `build'
    ./test/test_gem_ext_configure_builder.rb:30:in `test_self_build'
    ./test/test_gem_ext_configure_builder.rb:29:in `test_self_build'

  2) Failure:
test_self_build_fail(TestGemExtConfigureBuilder) [./test/test_gem_ext_configure_builder.rb:57]:
<"configure failed:\n\nsh ./configure --prefix=C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_3824/prefix\n./configure: ./configure: No such file or directory\n"> expected but was
<"configure failed:\n\nsh ./configure --prefix=C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_3824/prefix\n'sh' is not recognized as an internal or external command,\noperable program or batch file.\n">.

  3) Error:
test_class_build_extconf_bad(TestGemExtExtConfBuilder):
Gem::InstallError: make failed:

ruby extconf.rbchecking for main() in nonexistent.lib... no
creating Makefile
nmake
Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.

	c:\progra~1\ruby\bin\ruby -e "puts 'EXPORTS', 'Init_foo'"  > foo-i386-mswin32.def
	cl -nologo -MD -Zi -O2b2xg- -G6 -I. -Ic:/progra~1/ruby/lib/ruby/1.8/i386-mswin32 -Ic:/progra~1/ruby/lib/ruby/1.8/i386-mswin32 -I. -c -Tcfoo.c
foo.c
	cl -nologo -LD -Fefoo.so foo.obj msvcrt-ruby18.lib  oldnames.lib user32.lib advapi32.lib wsock32.lib  -link -incremental:no -debug -opt:ref -opt:icf -dll -libpath:"c:/progra~1/ruby/lib" -def:foo-i386-mswin32.def -implib:foo-i386-mswin32.lib -pdb:foo-i386-mswin32.pdb
   Creating library foo-i386-mswin32.lib and object foo-i386-mswin32.exp
foo.obj : error LNK2019: unresolved external symbol _nonexistent referenced in function _Init_foo
foo.so : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

    ./lib/rubygems/installer.rb:586:in `make'
    ./lib/rubygems/installer.rb:581:in `make'
    ./lib/rubygems/installer.rb:627:in `build'
    ./test/test_gem_ext_ext_conf_builder.rb:63:in `test_class_build_extconf_bad'
    ./test/test_gem_ext_ext_conf_builder.rb:62:in `test_class_build_extconf_bad'

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

  5) Failure:
test_source_index_hash(TestRemoteInstaller) [./test/test_remote_installer.rb:87]:
<1> expected but was
<6>.

278 tests, 984 assertions, 3 failures, 2 errors
rake aborted!
Command failed with status (1): [c:/PROGRA~1/ruby/bin/ruby -w -Ilib "c:/PRO...]

(See full trace by running task with --trace)

--
Cerberus 0.3.2, http://cerberus.rubyforge.org/


More information about the Rubygems-developers mailing list