Automated builds failing with master
Closed this issue · 3 comments
geerlingguy commented
geerlingguy commented
On Debian like OSes:
TASK [role_under_test : Install configured gems.] ******************************
failed: [localhost] (item=sass) => {"cmd": "/usr/bin/gem install --include-dependencies --user-install --no-rdoc --no-ri sass", "failed": true, "item": "sass", "msg": "WARNING: You don't have /root/.gem/ruby/1.9.1/bin in your PATH,\n\t gem executables will not run.\nERROR: Error installing sass:\n\tERROR: Failed to build gem native extension.\n\n /usr/bin/ruby1.9.1 extconf.rb\nchecking for ffi.h... no\nchecking for ffi.h in /usr/local/include,/usr/include/ffi... no\nchecking for shlwapi.h... no\nchecking for rb_thread_blocking_region()... yes\nchecking for rb_thread_call_with_gvl()... yes\nchecking for rb_thread_call_without_gvl()... yes\nchecking for ffi_prep_cif_var()... no\ncreating extconf.h\ncreating Makefile\n\nmake\nsh: 1: make: not found\n\n\nGem files will remain installed in /root/.gem/ruby/1.9.1/gems/ffi-1.9.18 for inspection.\nResults logged to /root/.gem/ruby/1.9.1/gems/ffi-1.9.18/ext/ffi_c/gem_make.out", "rc": 1, "stderr": "WARNING: You don't have /root/.gem/ruby/1.9.1/bin in your PATH,\n\t gem executables will not run.\nERROR: Error installing sass:\n\tERROR: Failed to build gem native extension.\n\n /usr/bin/ruby1.9.1 extconf.rb\nchecking for ffi.h... no\nchecking for ffi.h in /usr/local/include,/usr/include/ffi... no\nchecking for shlwapi.h... no\nchecking for rb_thread_blocking_region()... yes\nchecking for rb_thread_call_with_gvl()... yes\nchecking for rb_thread_call_without_gvl()... yes\nchecking for ffi_prep_cif_var()... no\ncreating extconf.h\ncreating Makefile\n\nmake\nsh: 1: make: not found\n\n\nGem files will remain installed in /root/.gem/ruby/1.9.1/gems/ffi-1.9.18 for inspection.\nResults logged to /root/.gem/ruby/1.9.1/gems/ffi-1.9.18/ext/ffi_c/gem_make.out\n", "stderr_lines": ["WARNING: You don't have /root/.gem/ruby/1.9.1/bin in your PATH,", "\t gem executables will not run.", "ERROR: Error installing sass:", "\tERROR: Failed to build gem native extension.", "", " /usr/bin/ruby1.9.1 extconf.rb", "checking for ffi.h... no", "checking for ffi.h in /usr/local/include,/usr/include/ffi... no", "checking for shlwapi.h... no", "checking for rb_thread_blocking_region()... yes", "checking for rb_thread_call_with_gvl()... yes", "checking for rb_thread_call_without_gvl()... yes", "checking for ffi_prep_cif_var()... no", "creating extconf.h", "creating Makefile", "", "make", "sh: 1: make: not found", "", "", "Gem files will remain installed in /root/.gem/ruby/1.9.1/gems/ffi-1.9.18 for inspection.", "Results logged to /root/.gem/ruby/1.9.1/gems/ffi-1.9.18/ext/ffi_c/gem_make.out"], "stdout": "INFO: `gem install -y` is now default and will be removed\nINFO: use --ignore-dependencies to install only the gems you list\nBuilding native extensions. This could take a while...\n", "stdout_lines": ["INFO: `gem install -y` is now default and will be removed", "INFO: use --ignore-dependencies to install only the gems you list", "Building native extensions. This could take a while..."]}
Formatted more nicely:
TASK [role_under_test : Install configured gems.] ******************************
failed: [localhost] (item=sass) => {"cmd": "/usr/bin/gem install --include-dependencies --user-install --no-rdoc --no-ri sass", "failed": true, "item": "sass", "msg": "WARNING: You don't have /root/.gem/ruby/1.9.1/bin in your PATH,
gem executables will not run.
ERROR: Error installing sass:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.9.1 extconf.rb
checking for ffi.h... no
checking for ffi.h in /usr/local/include,/usr/include/ffi... no
checking for shlwapi.h... no
checking for rb_thread_blocking_region()... yes
checking for rb_thread_call_with_gvl()... yes
checking for rb_thread_call_without_gvl()... yes
checking for ffi_prep_cif_var()... no
creating extconf.h
creating Makefile
make
sh: 1: make: not found
Gem files will remain installed in /root/.gem/ruby/1.9.1/gems/ffi-1.9.18 for inspection.
Results logged to /root/.gem/ruby/1.9.1/gems/ffi-1.9.18/ext/ffi_c/gem_make.out", "rc": 1, "stderr": "WARNING: You don't have /root/.gem/ruby/1.9.1/bin in your PATH,
gem executables will not run.
ERROR: Error installing sass:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.9.1 extconf.rb
checking for ffi.h... no
checking for ffi.h in /usr/local/include,/usr/include/ffi... no
checking for shlwapi.h... no
checking for rb_thread_blocking_region()... yes
checking for rb_thread_call_with_gvl()... yes
checking for rb_thread_call_without_gvl()... yes
checking for ffi_prep_cif_var()... no
creating extconf.h
creating Makefile
make
sh: 1: make: not found
Gem files will remain installed in /root/.gem/ruby/1.9.1/gems/ffi-1.9.18 for inspection.
Results logged to /root/.gem/ruby/1.9.1/gems/ffi-1.9.18/ext/ffi_c/gem_make.out
", "stderr_lines": ["WARNING: You don't have /root/.gem/ruby/1.9.1/bin in your PATH,", " gem executables will not run.", "ERROR: Error installing sass:", " ERROR: Failed to build gem native extension.", "", " /usr/bin/ruby1.9.1 extconf.rb", "checking for ffi.h... no", "checking for ffi.h in /usr/local/include,/usr/include/ffi... no", "checking for shlwapi.h... no", "checking for rb_thread_blocking_region()... yes", "checking for rb_thread_call_with_gvl()... yes", "checking for rb_thread_call_without_gvl()... yes", "checking for ffi_prep_cif_var()... no", "creating extconf.h", "creating Makefile", "", "make", "sh: 1: make: not found", "", "", "Gem files will remain installed in /root/.gem/ruby/1.9.1/gems/ffi-1.9.18 for inspection.", "Results logged to /root/.gem/ruby/1.9.1/gems/ffi-1.9.18/ext/ffi_c/gem_make.out"], "stdout": "INFO: `gem install -y` is now default and will be removed
INFO: use --ignore-dependencies to install only the gems you list
Building native extensions. This could take a while...
", "stdout_lines": ["INFO: `gem install -y` is now default and will be removed", "INFO: use --ignore-dependencies to install only the gems you list", "Building native extensions. This could take a while..."]}
geerlingguy commented
A lot of gems require make
and the like to build correctly. Therefore I will make sure build-essential
is installed on Debian-based OSes, and @development
on Red Hat.
geerlingguy commented
So close... only have the 16.04 test failure to fix, and that's just a version discrepancy.