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

Cerberus anatol.pomozov at gmail.com
Tue Dec 19 12:23:28 EST 2006


------------------------------------------------------------------------
r1144 | drbrain | 2006-12-19 13:11:39 +0300 | 1 line
Changed paths:
   M /trunk/ChangeLog
   M /trunk/lib/rubygems/custom_require.rb
   M /trunk/lib/rubygems/gem_commands.rb
   M /trunk/lib/rubygems/source_index.rb
   M /trunk/lib/rubygems.rb

Use File.join on glob strings.  Fixes bug #1096 by Chad Fowler.
------------------------------------------------------------------------

(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
......................................................................................'sh' is not recognized as an internal or external command,
operable program or batch file.
E'sh' is not recognized as an internal or external command,
operable program or batch file.
F
Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.

ok

Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.

ok
Fcreating Makefile

Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.


Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.

Fchecking for main() in nonexistent.lib... no
creating Makefile

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.
Echecking for main() in nonexistent.lib... no
need libnonexistent
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
	--with-opt-dir
	--without-opt-dir
	--with-opt-include
	--without-opt-include=${opt-dir}/include
	--with-opt-lib
	--without-opt-lib=${opt-dir}/lib
	--with-make-prog
	--srcdir=.
	--curdir
	--ruby=c:/progra~1/ruby/bin/ruby
	--with-nonexistentlib
	--without-nonexistentlib
F
Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.


Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.

F.(in C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_3428/ext)
F(in C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_3428/ext)
rake aborted!
fail
C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_3428/ext/rakefile:1:in `abort'
(See full trace by running task with --trace)
fail
F...............................................................................F..............................................................................................
Finished in 80.578 seconds.

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

sh ./configure --prefix=C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_3428/prefix

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

  2) Failure:
test_self_build_fail(TestGemExtConfigureBuilder) [./test/test_gem_ext_configure_builder.rb:54]:
<"configure failed:\n\nsh ./configure --prefix=C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_3428/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_3428/prefix\n">.

  3) Failure:
test_self_build_has_makefile(TestGemExtConfigureBuilder) [./test/test_gem_ext_configure_builder.rb:76]:
<["make", "ok\n", "make install", "ok\n"]> expected but was
<["nmake", "", "nmake install", ""]>.

  4) Failure:
test_class_build(TestGemExtExtConfBuilder) [./test/test_gem_ext_ext_conf_builder.rb:37]:
<["ruby extconf.rb",
 "creating Makefile\n",
 "make",
 "make: Nothing to be done for `all'.\n",
 "make install",
 "make: Nothing to be done for `install'.\n"]> expected but was
<["ruby extconf.rb", "", "nmake", "", "nmake install", ""]>.

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

ruby extconf.rbnmake
    ./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:54:in `test_class_build_extconf_bad'
    ./test/test_gem_ext_ext_conf_builder.rb:53:in `test_class_build_extconf_bad'

  6) Failure:
test_class_build_extconf_fail(TestGemExtExtConfBuilder) [./test/test_gem_ext_ext_conf_builder.rb:113]:
<"extconf failed:\n\nruby extconf.rb\nchecking for main() in -lnonexistent... no\nneed libnonexistent\n*** extconf.rb failed ***\nCould not create Makefile due to some reason, probably lack of\nnecessary libraries and/or headers.  Check the mkmf.log file for more\ndetails.  You may need configuration options.\n\nProvided configuration options:\n\t--with-opt-dir\n\t--without-opt-dir\n\t--with-opt-include\n\t--without-opt-include=${opt-dir}/include\n\t--with-opt-lib\n\t--without-opt-lib=${opt-dir}/lib\n\t--with-make-prog\n\t--without-make-prog\n\t--srcdir=.\n\t--curdir\n\t--ruby=/usr/local/bin/ruby\n\t--with-nonexistentlib\n\t--without-nonexistentlib\n"> expected but was
<"extconf failed:\n\nruby extconf.rb\n">.

  7) Failure:
test_class_make(TestGemExtExtConfBuilder) [./test/test_gem_ext_ext_conf_builder.rb:141]:
<["make",
 "make: Nothing to be done for `all'.\n",
 "make install",
 "make: Nothing to be done for `install'.\n"]> expected but was
<["nmake", "", "nmake install", ""]>.

  8) Failure:
test_class_build(TestGemExtRakeBuilder) [./test/test_gem_ext_rake_builder.rb:35]:
<["rake RUBYARCHDIR=C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_3428/prefix RUBYLIBDIR=C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_3428/prefix extension",
 "(in C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_3428/ext)\n"]> expected but was
<["rake RUBYARCHDIR=C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_3428/prefix RUBYLIBDIR=C:/DOCUME~1/anatol/LOCALS~1/Temp/test_rubygems_3428/prefix extension",
 ""]>.

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

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

270 tests, 960 assertions, 8 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