[#85349] [Ruby trunk Bug#14334] Segmentation fault after running rspec (ruby/2.5.0/erb.rb:885 / simplecov/source_file.rb:85) — pragtob@...
Issue #14334 has been updated by PragTob (Tobias Pfeiffer).
3 messages
2018/02/02
[#85358] Re: [ruby-cvs:69220] nobu:r62039 (trunk): compile.c: unnecessary freezing — Eric Wong <normalperson@...>
[email protected] wrote:
5 messages
2018/02/03
[#85612] Why require autoconf 2.67+ — leam hall <leamhall@...>
Please pardon the intrusion; I am new to Ruby and like to pull the
6 messages
2018/02/17
[#85616] Re: Why require autoconf 2.67+
— Vít Ondruch <v.ondruch@...>
2018/02/18
VGhpcyBjb3VsZCBoZWxwIHlvdSB0byBidWlsZCBSdWJ5IHdpdGggb2xkZXIgYXV0b2NvbmYgKDIu
[#85634] [Ruby trunk Bug#14494] [PATCH] tool/m4/ruby_replace_type.m4 use AC_CHECK_TYPES for HAVE_* macros — normalperson@...
Issue #14494 has been reported by normalperson (Eric Wong).
3 messages
2018/02/19
[#85674] [Ruby trunk Feature#13618] [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid — matz@...
Issue #13618 has been updated by matz (Yukihiro Matsumoto).
5 messages
2018/02/20
[#85686] Re: [Ruby trunk Feature#13618] [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
— Eric Wong <normalperson@...>
2018/02/20
[email protected] wrote:
[#85704] Re: [Ruby trunk Feature#13618] [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
— Koichi Sasada <ko1@...>
2018/02/21
On 2018/02/20 18:06, Eric Wong wrote:
[ruby-core:85461] [Ruby trunk Bug#14457][Closed] --jit outputs error when script changes $TMPDIR
From:
takashikkbn@...
Date:
2018-02-07 14:54:24 UTC
List:
ruby-core #85461
Issue #14457 has been updated by k0kubun (Takashi Kokubun).
Status changed from Open to Closed
It seems that it's no longer reproductive. I guess it's fixed by r62278.
----------------------------------------
Bug #14457: --jit outputs error when script changes $TMPDIR
https://bugs.ruby-lang.org/issues/14457#change-70252
* Author: k0kubun (Takashi Kokubun)
* Status: Closed
* Priority: Normal
* Assignee:
* Target version: 2.6
* ruby -v: ruby 2.6.0dev (2018-02-07 trunk 62260) [x86_64-linux]
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
Shibata-san reported the following output when running bundler's test with --jit (it looks implicitly passed).
~~~
~/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
resolves a complex conflicting index
resolves a index with conflict on child
prefers explicitly requested dependencies when resolving an index which would otherwise be ambiguous
prefers non-prerelease resolutions in sort order
resolves a index with root level conflict on child
resolves a gem specified with a pre-release version
doesn't select a pre-release if not specified in the Gemfile
error: unable to rename temporary '/Users/hsbt/Documents/github.com/bundler/bundler/tmp/tmpdir/_ruby_mjitp36578u581-0e0a36.o-fb2ebbf9' to output file
'/Users/hsbt/Documents/github.com/bundler/bundler/tmp/tmpdir/_ruby_mjitp36578u581-0e0a36.o': 'No such file or directory'
1 error generated.
doesn't select a pre-release for sub-dependencies
selects a pre-release for sub-dependencies if it's the only option
raises an exception if a child dependency is not resolved
raises an exception with the minimal set of conflicting dependencies
should throw error in case of circular dependencies
should install the latest possible version of a direct requirement with no constraints given
error: unable to rename temporary '/Users/hsbt/Documents/github.com/bundler/bundler/tmp/tmpdir/_ruby_mjitp36578u21-cdf150.o-5817670c' to output file
'/Users/hsbt/Documents/github.com/bundler/bundler/tmp/tmpdir/_ruby_mjitp36578u21-cdf150.o': 'No such file or directory'
1 error generated.
should install the latest possible version of a direct requirement with constraints given
takes into account required_ruby_version
conservative
resolves all gems to latest patch
resolves all gems to latest patch strict
resolves foo only to latest patch - same dependency case
resolves foo only to latest patch - changing dependency not declared case
resolves foo only to latest patch - changing dependency declared case
resolves foo only to latest patch strict
resolves bar only to latest patch
resolves all gems to latest minor
resolves all gems to latest minor strict
resolves all gems to latest major
resolves all gems to latest major strict
revert to previous
could revert to a previous version level patch
cannot revert to a previous version in strict mode level patch
could revert to a previous version level minor
error: unable to rename temporary '/Users/hsbt/Documents/github.com/bundler/bundler/tmp/tmpdir/_ruby_mjitp36578u29-1ac956.o-5abdcabb' to output file
'/Users/hsbt/Documents/github.com/bundler/bundler/tmp/tmpdir/_ruby_mjitp36578u29-1ac956.o': 'No such file or directory'
cannot revert to a previous version in strict mode level minor
1 error generated.
Retried examples: 0
Finished in 1.97 seconds (files took 0.74158 seconds to load)
33 examples, 0 failures
~/D/g/b/bundler (master) >
~~~
The cause is that bundler's test is modifying $TMPDIR and gcc (or probably clang in the above example) is affected by it.
We should call execvpe with TMPDIR=/tmp (and PATH=xxx for cc1, etc.) instead of execvp to start compiler process. I'm not sure about what other environment variables are needed when we spawn the compiler process.
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>