Skip to content

Instantly share code, notes, and snippets.

View hsbt's full-sized avatar
🏠
Working from home

Hiroshi SHIBATA hsbt

🏠
Working from home
View GitHub Profile
Building native extensions. This could take a while...
ERROR: Error installing re2:
ERROR: Failed to build gem native extension.
current directory: /Users/hsbt/.local/share/gem/gems/re2-1.1.1/ext/re2
/Users/hsbt/.local/share/rbenv/versions/2.7.0-dev/bin/ruby -I /Users/hsbt/.local/share/rbenv/versions/2.7.0-dev/lib/ruby/2.7.0 -r ./siteconf20191011-73210-15xrm7g.rb extconf.rb
checking for -lstdc++... yes
checking for stdint.h... yes
checking for rb_str_sublen()... yes
checking for -lre2... yes
Bundler::GemRequireError: There was an error while trying to load the gem 'middleman'.
Gem Load Error is: can't modify frozen String: "should_ignore?"
Backtrace for gem load error is:
/Users/hsbt/.local/share/gem/gems/memoist-0.16.0/lib/memoist.rb:47:in `sub!'
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\corecrt_malloc.h(61): error C2485: '__restrict': unrecognized extended attribute
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\corecrt_malloc.h(90): error C2485: '__restrict': unrecognized extended attribute
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\corecrt_malloc.h(96): error C2485: '__restrict': unrecognized extended attribute
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\corecrt_malloc.h(114): error C2485: '__restrict': unrecognized extended attribute
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\corecrt_malloc.h(121): error C2485: '__restrict': unrecognized extended attribute
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\corecrt_malloc.h(128): error C2485: '__restrict': unrecognized extended attribute
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\corecrt_malloc.h(136): error C2485: '__restrict': unrecognized extended attribut
matrix:
ruby_version: ["2.5.x", "2.6.x"]
rails_version: ["5.2.3", "6.0.0"]
exclude:
...
- run: GEMFILE=gemfile.${{ matrix.rails_version }} ...
~/D/g/b/bundler (parallel_rspec_2) > cat -p tmp/parallel_runtime_rspec.log
spec/bundler/compact_index_client/updater_spec.rb:9.030904000042938
spec/bundler/fetcher/base_spec.rb:0.14874500001315027
spec/bundler/fetcher/dependency_spec.rb:0.33620999997947365
spec/bundler/fetcher/index_spec.rb:0.10143500007688999
spec/bundler/plugin/source_list_spec.rb:0.11600100004579872
spec/cache/platform_spec.rb:10.649150999961421
spec/commands/issue_spec.rb:8.835510000004433
spec/commands/lock_spec.rb:119.7977059999248
spec/commands/newgem_spec.rb:445.12973899999633
[remote "ruby-trunk-changes"]
url = https://github.com/nagachika/ruby.git
fetch = +refs/notes/commits:refs/notes/ruby-trunk-changes
[remote "origin"]
url = git@git.ruby-lang.org:ruby.git
fetch = +refs/heads/*:refs/remotes/origin/*
fetch = +refs/notes/commits:refs/notes/commits
~/D/g/r/bugs.ruby-lang.org (ro-4-0) > bundle exec ruby -rbundler/setup -e "Bundler.setup; puts \$LOAD_PATH"
/Users/hsbt/.local/share/rbenv/plugins/gem-src/lib
/Users/hsbt/.local/share/rbenv/rbenv.d/exec/gem-rehash
/Users/hsbt/.local/share/gem/gems/bundler-2.0.2/lib
/Users/hsbt/.local/share/gem/gems/yard-0.9.20/lib
/Users/hsbt/.local/share/gem/gems/sqreen-1.17.0/lib
/Users/hsbt/.local/share/gem/gems/sq_mini_racer-0.2.4.sqreen3/lib
/Users/hsbt/.local/share/gem/gems/sq_mini_racer-0.2.4.sqreen3/ext
/Users/hsbt/.local/share/gem/extensions/x86_64-darwin-18/2.6.0-static/sq_mini_racer-0.2.4.sqreen3
/Users/hsbt/.local/share/gem/gems/simplecov-0.14.1/lib
hsbt@svn:~$ sudo apt install ruby2.3 -t stretch
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
fonts-lato libncurses5 libncursesw5 libreadline7 libruby2.3 libssl1.0.2 libtinfo-dev libtinfo5 ncurses-bin rake ruby-did-you-mean ruby-minitest
ruby-net-telnet ruby-power-assert ruby-test-unit unzip zip
The following NEW packages will be installed:
fonts-lato libreadline7 libruby2.3 libssl1.0.2 rake ruby-did-you-mean ruby-minitest ruby-net-telnet ruby-power-assert ruby-test-unit ruby2.3 unzip zip
The following packages will be upgraded:
/v/f/j/z/T/r/truffleruby-19.1.1 > cat -p src/main/c/openssl/mkmf.log
=== OpenSSL for Ruby configurator ===
"/usr/local/opt/llvm@4/bin/clang -o conftest -I/private/var/folders/jl/zgy9fk353nd6zn0xznlsdzvc6gxzs5/T/ruby-build.20190803171558.7572/truffleruby-19.1.1/lib/ce
xt/include -I/private/var/folders/jl/zgy9fk353nd6zn0xznlsdzvc6gxzs5/T/ruby-build.20190803171558.7572/truffleruby-19.1.1/lib/cext/include/ruby/backward -I/privat
e/var/folders/jl/zgy9fk353nd6zn0xznlsdzvc6gxzs5/T/ruby-build.20190803171558.7572/truffleruby-19.1.1/lib/cext/include -I. -I/usr/local/opt/openssl/include -g -W
implicit-function-declaration -Wundef -Wno-unknown-warning-option -Wno-int-conversion -Wno-int-to-pointer-cast -Wno-incompatible-pointer-types -Wno-format-inval
id-specifier -ferror-limit=500 /private/var/folders/jl/zgy9fk353nd6zn0xznlsdzvc6gxzs5/T/ruby-build.20190803171558.7572/truffleruby-19.1.1/lib/cext/ruby.o /priva
te/var/folders/jl/zgy9fk353nd6zn0xznlsdzvc6gxzs5/T/ruby-build.20190803171558.7572/truffleruby-19.1.1/lib/cext/su
bento:cb hsbt$ git diff
diff --git a/sample/build-ruby b/sample/build-ruby
index 763f1d6..740d007 100755
--- a/sample/build-ruby
+++ b/sample/build-ruby
@@ -47,12 +47,13 @@ require 'chkbuild'
# ChkBuild.nickname identify chkbuild installation.
# It is used for title of HTML, etc.
# The default is the hostname (without domain).
-# ChkBuild.nickname = 'nickname'