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
~/D/g/r/ruby (trunk) > gcc -v
Configured with: --prefix=/Applications/Xcode-beta.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 9.1.0 (clang-902.0.31)
Target: x86_64-apple-darwin17.5.0
Thread model: posix
InstalledDir: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
~/D/g/r/ruby (trunk) > mk up
make: Entering directory '/Users/hsbt/Documents/github.com/ruby/ruby/.x86_64-darwin'
tool/config.guess already exists
~/D/g/b/bundler (master) > rspec spec/resolver/basic_spec.rb
Run options: exclude {:bundler=>"=< 2.0", :rubygems_master=>true, :git=>"=< 2.16.1", :rubygems=>"=< 2.7.3", :ruby=>"=< 2.6.0", :realworld=>true, :sudo=>true}
Resolving
error: unable to open output file '/Users/hsbt/Documents/github.com/bundler/bundler/tmp/tmpdir/_ruby_mjitp36578u588-067cfe.o':
'No such file or directory'
1 error generated.
resolves a single gem
resolves a gem with dependencies
resolves a conflicting index
~/D/g/r/rubygems (2.7) > update_rubygems
Bundler 1.16.1 installed
RubyGems 2.7.5 installed
Regenerating binstubs
------------------------------------------------------------------------------
RubyGems installed the following executables:
building .ext/include/x64-mswin64_120/rb_mjit_min_header-2.6.0.h
.\miniruby.exe -I../lib -I. ../tool/transform_mjit_header.rb "cl -nologo" rb_mjit_header.h .ext/include/x64-mswin64_120/rb_mjit_min_header-2.6.0.h
20180205-2680-1kvmf0w.c
C:/Users/appveyor/AppData/Local/Temp/1/20180205-2680-1kvmf0w.c : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
error in initial header file:
20180205-2680-1kvmf0w.c
C:/Users/appveyor/AppData/Local/Temp/1/20180205-2680-1kvmf0w.c : error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
NMAKE : fatal error U1077: '.\miniruby.exe' : return code '0x1'
Stop.
Command exited with code 2
~/D/g/r/r/.x86_64-darwin (trunk) > grep -F lex.c Makefile uncommon.mk
Makefile:# * GNU make v.s. HP-UX make # HP-UX make invokes the action if lex.c and keywords has same mtime.
Makefile:lex.c: defs/keywords
Makefile: if cmp -s $(srcdir)/defs/lex.c.src $?; then \
Makefile: $(CP) $(srcdir)/lex.c.blt $@; \
Makefile: $(CP) $? $(srcdir)/defs/lex.c.src && \
Makefile: $(CP) $@ $(srcdir)/lex.c.blt; \
uncommon.mk: $(Q)$(RM) parse.c parse.h lex.c enc/trans/newline.c revision.h
uncommon.mk: $(Q)$(CHDIR) $(srcdir) && $(exec) $(RM) parse.c parse.h lex.c enc/trans/newline.c $(PRELUDES) revision.h
uncommon.mk:common-srcs: $(srcs_vpath)parse.c $(srcs_vpath)lex.c $(srcs_vpath)enc/trans/newline.c $(srcs_vpath)id.c \
First, rewinding head to replay your work on top of it...
Applying: -Wmissing-noreturn
Using index info to reconstruct a base tree...
M configure.ac
Falling back to patching base and 3-way merge...
No changes -- Patch already applied.
Applying: num_funcall_op_1_recursion marked as NORETURN
Using index info to reconstruct a base tree...
M numeric.c
Falling back to patching base and 3-way merge...
"ActionPool-0.2.3.gem"
"ActionTimer-0.2.1.gem"
"ActiveSambaLdap-0.0.7.gem"
"AutoNZB-0.5.4.gem"
"Babelfish-0.0.1.gem"
"Banana-0.0.1.gem"
"BigCat-1.0.2.gem"
".cat-0.0.1.gem"
"CollegiateLink-0.0.3.gem"
"Eric-0.0.1.gem"
~/D/g/r/ruby.trunk (trunk) > mk -C .x86_64-darwin test-bundler
generating x86_64-darwin17-fake.rb
x86_64-darwin17-fake.rb updated
./miniruby -I../lib -I. -I.ext/common ../tool/runruby.rb --extout=.ext -- --disable-gems -C ".." bin/gem install --no-ri --no-rdoc \
--install-dir .bundle --conservative "rspec:~> 3.5"
Run options: exclude {:ruby_repo=>true, :bundler=>"=< 1.16", :rubygems_master=>true, :git=>"=< 2.15.1", :rubygems=>"=< 2.7.3", :ruby=>"=< 2.5.0", :realworld=>true, :sudo=>true}
...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
../iseq.c:620:29: error: implicit conversion loses integer precision: 'long' to 'int' [-Werror,-Wshorten-64-to-32]
tmp_loc.first_loc.lineno = NUM2LONG(rb_ary_entry(code_range, 0));
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/ruby/ruby.h:648:21: note: expanded from macro 'NUM2LONG'
#define NUM2LONG(x) RB_NUM2LONG(x)
^~~~~~~~~~~~~~
../include/ruby/ruby.h:647:24: note: expanded from macro 'RB_NUM2LONG'
#define RB_NUM2LONG(x) rb_num2long_inline(x)
^~~~~~~~~~~~~~~~~~~~~
../iseq.c:621:29: error: implicit conversion loses integer precision: 'long' to 'int' [-Werror,-Wshorten-64-to-32]
https://github.com/rubygems/rubygems/pull/1417
https://github.com/rubygems/rubygems/pull/1546
https://github.com/rubygems/rubygems/pull/1633
https://github.com/rubygems/rubygems/pull/1659
https://github.com/rubygems/rubygems/pull/1660
https://github.com/rubygems/rubygems/pull/1666
https://github.com/rubygems/rubygems/pull/1674
https://github.com/rubygems/rubygems/pull/1675
https://github.com/rubygems/rubygems/pull/1676
https://github.com/rubygems/rubygems/pull/1677