Project

General

Profile

Actions

Bug #13730

closed

Parallel ext configuration has broken `make install` for static-linked-ext builds

Added by mistydemeo (Misty De Meo) over 7 years ago. Updated over 7 years ago.

Status:
Closed
Target version:
-
[ruby-core:81962]

Description

r57401 introduced parallel ext configuration, which has broken make install when configuring Ruby using the --with-static-linked-ext option. Specifically, it looks like miniruby fails to require the stringio extension at install-time:

./miniruby -I./lib -I. -I.ext/common  ./tool/runruby.rb --extout=.ext  -- --disable-gems -r./x86_64-darwin16-fake ./tool/rbinstall.rb --make="/Library/Developer/CommandLineTools/usr/bin/make" --dest-dir="" --extout=".ext" --mflags="" --make-flags="" --data-mode=0644 --prog-mode=0755 --installed-list .installed.list --mantype="doc"
/Users/mistydemeo/oss/ruby/lib/rubygems/specification.rb:17:in `require': cannot load such file -- stringio (LoadError)
	from /Users/mistydemeo/oss/ruby/lib/rubygems/specification.rb:17:in `<top (required)>'
	from /Users/mistydemeo/oss/ruby/lib/rubygems.rb:1333:in `require'
	from /Users/mistydemeo/oss/ruby/lib/rubygems.rb:1333:in `<module:Gem>'
	from /Users/mistydemeo/oss/ruby/lib/rubygems.rb:116:in `<top (required)>'
	from ./tool/rbinstall.rb:24:in `require'
	from ./tool/rbinstall.rb:24:in `<main>'
make: *** [do-install-nodoc] Error 1

From looking in ext/stringio, stringio.a was built correctly, but maybe it wasn't linked properly.

I've attached the build logs, along with a script containing build steps to reproduce.


Files

build.log (39.3 KB) build.log Build log for failed build mistydemeo (Misty De Meo), 07/07/2017 09:43 PM
test.sh (354 Bytes) test.sh Repro script mistydemeo (Misty De Meo), 07/07/2017 09:53 PM

Updated by zenspider (Ryan Davis) over 7 years ago

  • Assignee set to nobu (Nobuyoshi Nakada)
Actions #2

Updated by nobu (Nobuyoshi Nakada) over 7 years ago

  • Status changed from Open to Closed

Applied in changeset trunk|r59288.


  • template/exts.mk.tmpl: extract SUBMAKEOPTS from sub exts.mk files too. [Bug #13730]

Updated by mistydemeo (Misty De Meo) over 7 years ago

Can confirm this fixes it for me - thanks!

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0