[Bug 225470] lang/ruby25: segfault when installing certain gems' docs

2018-02-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225470

--- Comment #5 from Sunpoet Po-Chuan Hsieh  ---
(In reply to commit-hook from comment #4)

Sorry for the wrong commit log. It should be "Fix typo".

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-ruby@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ruby
To unsubscribe, send any mail to "freebsd-ruby-unsubscr...@freebsd.org"


[Bug 225470] lang/ruby25: segfault when installing certain gems' docs

2018-02-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225470

--- Comment #4 from commit-h...@freebsd.org ---
A commit references this bug:

Author: sunpoet
Date: Sat Feb 17 11:59:12 UTC 2018
New revision: 462121
URL: https://svnweb.freebsd.org/changeset/ports/462121

Log:
  Remove unnecessary patches

  We do not need to patch those files which will be regenerated during build.

  Reference:https://bugs.ruby-lang.org/issues/14261
  PR:   225470

Changes:
  head/lang/ruby25/Makefile

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-ruby@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ruby
To unsubscribe, send any mail to "freebsd-ruby-unsubscr...@freebsd.org"


[Bug 225470] lang/ruby25: segfault when installing certain gems' docs

2018-02-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225470

--- Comment #2 from commit-h...@freebsd.org ---
A commit references this bug:

Author: swills
Date: Fri Feb 16 03:11:46 UTC 2018
New revision: 461970
URL: https://svnweb.freebsd.org/changeset/ports/461970

Log:
  lang/ruby25: apply upstream patch to fix segfault

  PR:   225470
  Submitted by: Charlie Li 
  Obtained from:   
https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision=61523
  Differential Revision:https://reviews.freebsd.org/D14073

Changes:
  head/Mk/bsd.ruby.mk
  head/lang/ruby25/files/patch-ext_ripper_ripper.c
  head/lang/ruby25/files/patch-ext_ripper_ripper.y
  head/lang/ruby25/files/patch-parse.c
  head/lang/ruby25/files/patch-parse.y
  head/lang/ruby25/files/patch-test_ruby_test__parse.rb

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-ruby@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ruby
To unsubscribe, send any mail to "freebsd-ruby-unsubscr...@freebsd.org"


[Bug 225470] lang/ruby25: segfault when installing certain gems' docs

2018-02-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225470

Steve Wills  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|New |Closed

--- Comment #3 from Steve Wills  ---
Committed, thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-ruby@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ruby
To unsubscribe, send any mail to "freebsd-ruby-unsubscr...@freebsd.org"


[Bug 225470] lang/ruby25: segfault when installing certain gems' docs

2018-01-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225470

--- Comment #1 from Charlie Li  ---
Created attachment 190116
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=190116=edit
parse.y and others

See also review D14073.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-ruby@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ruby
To unsubscribe, send any mail to "freebsd-ruby-unsubscr...@freebsd.org"


maintainer-feedback requested: [Bug 225470] lang/ruby25: segfault when installing certain gems' docs

2018-01-26 Thread bugzilla-noreply
Charlie Li <ml+free...@vishwin.info> has reassigned Bugzilla Automation
<bugzi...@freebsd.org>'s request for maintainer-feedback to r...@freebsd.org:
Bug 225470: lang/ruby25: segfault when installing certain gems' docs
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225470



--- Description ---
When staging certain rubygems, the process crashes whilst building the rdocs.
An example from devel/rubygem-ffi:

===
===>  Staging for rubygem-ffi-1.9.18
===>   Generating temporary packing list
(cd /wrkdirs/usr/ports/devel/rubygem-ffi/work/ffi-1.9.18; /usr/bin/env
RB_USER_INSTALL=yes LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 /usr/local/bin/gem25
install -l --no-update-sources --install-dir
/wrkdirs/usr/ports/devel/rubygem-ffi/work/stage/usr/local/lib/ruby/gems/2.5
--ignore-dependencies
--bindir=/wrkdirs/usr/ports/devel/rubygem-ffi/work/stage/usr/local/bin --rdoc
--ri ffi-1.9.18.gem -- --build-args )
Building native extensions with: '--build-args'
This could take a while...
Successfully installed ffi-1.9.18
Parsing documentation for ffi-1.9.18
Installing ri documentation for ffi-1.9.18
Installing darkfish documentation for ffi-1.9.18
/usr/local/lib/ruby/2.5/rdoc/markup/to_html.rb:389: [BUG] Segmentation fault at
0x0020
ruby 2.5.0p0 (2017-12-25 revision 61468) [amd64-freebsd12]

-- Control frame information ---
c:0045 p: s:0279 e:000278 CFUNC  :eval
c:0044 p:0029 s:0274 e:000273 METHOD
/usr/local/lib/ruby/2.5/rdoc/markup/to_html.rb:389
c:0043 p:0026 s:0268 e:000267 METHOD
/usr/local/lib/ruby/2.5/rdoc/markup/to_html.rb:201
c:0042 p:0006 s:0258 e:000257 METHOD
/usr/local/lib/ruby/2.5/rdoc/markup/verbatim.rb:26
c:0041 p:0026 s:0253 e:000252 BLOCK 
/usr/local/lib/ruby/2.5/rdoc/markup/formatter.rb:75 [FINISH]
c:0040 p: s:0249 e:000248 CFUNC  :each
c:0039 p:0009 s:0245 e:000244 METHOD
/usr/local/lib/ruby/2.5/rdoc/markup/formatter.rb:70
c:0038 p:0012 s:0240 e:000239 METHOD
/usr/local/lib/ruby/2.5/rdoc/markup/document.rb:68
c:0037 p:0074 s:0235 e:000234 METHOD /usr/local/lib/ruby/2.5/rdoc/text.rb:105
c:0036 p:0007 s:0228 e:000227 METHOD
/usr/local/lib/ruby/2.5/rdoc/generator/markup.rb:28
c:0035 p:0610 s:0224 e:000222 EVAL  
/usr/local/lib/ruby/2.5/rdoc/generator/template/darkfish/page.rhtml:42 [FINISH]
c:0034 p: s:0220 e:000219 CFUNC  :eval
c:0033 p:0041 s:0212 e:000211 METHOD /usr/local/lib/ruby/2.5/erb.rb:885
c:0032 p:0018 s:0207 e:000206 METHOD
/usr/local/lib/ruby/2.5/rdoc/generator/darkfish.rb:753
c:0031 p:0031 s:0199 e:000198 BLOCK 
/usr/local/lib/ruby/2.5/rdoc/generator/darkfish.rb:732 [FINISH]
c:0030 p: s:0195 e:000194 CFUNC  :open
c:0029 p: s:0192 e:000191 CFUNC  :open
c:0028 p:0100 s:0186 e:000185 METHOD
/usr/local/lib/ruby/2.5/rdoc/generator/darkfish.rb:727
c:0027 p:0162 s:0176 E:001208 METHOD
/usr/local/lib/ruby/2.5/rdoc/generator/darkfish.rb:481
c:0026 p:0025 s:0165 e:000164 BLOCK 
/usr/local/lib/ruby/2.5/rdoc/generator/darkfish.rb:417 [FINISH]
c:0025 p: s:0157 e:000156 CFUNC  :each
c:0024 p:0108 s:0153 e:000152 METHOD
/usr/local/lib/ruby/2.5/rdoc/generator/darkfish.rb:413
c:0023 p:0024 s:0142 e:000141 METHOD
/usr/local/lib/ruby/2.5/rdoc/generator/darkfish.rb:247
c:0022 p:0023 s:0137 e:000136 BLOCK 
/usr/local/lib/ruby/2.5/rdoc/rubygems_hook.rb:137 [FINISH]
c:0021 p: s:0134 e:000133 CFUNC  :chdir
c:0020 p:0163 s:0129 e:000128 METHOD
/usr/local/lib/ruby/2.5/rdoc/rubygems_hook.rb:134
c:0019 p:0385 s:0121 e:000120 METHOD
/usr/local/lib/ruby/2.5/rdoc/rubygems_hook.rb:196
c:0018 p:0014 s:0113 e:000112 BLOCK 
/usr/local/lib/ruby/2.5/rdoc/rubygems_hook.rb:56 [FINISH]
c:0017 p: s:0109 e:000108 CFUNC  :each
c:0016 p:0043 s:0105 e:000104 METHOD
/usr/local/lib/ruby/2.5/rdoc/rubygems_hook.rb:55 [FINISH]
c:0015 p: s:0093 e:92 IFUNC 
c:0014 p:0015 s:0090 e:89 BLOCK 
/usr/local/lib/ruby/site_ruby/2.5/rubygems/commands/install_command.rb:242
[FINISH]
c:0013 p: s:0086 e:85 CFUNC  :each
c:0012 p:0264 s:0082 e:81 METHOD
/usr/local/lib/ruby/site_ruby/2.5/rubygems/commands/install_command.rb:241
c:0011 p:0075 s:0069 e:68 METHOD
/usr/local/lib/ruby/site_ruby/2.5/rubygems/commands/install_command.rb:191
c:0010 p:0028 s:0060 e:59 BLOCK 
/usr/local/lib/ruby/site_ruby/2.5/rubygems/commands/install_command.rb:255
[FINISH]
c:0009 p: s:0053 e:52 CFUNC  :each
c:0008 p:0011 s:0049 e:48 METHOD
/usr/local/lib/ruby/site_ruby/2.5/rubygems/commands/install_command.rb:251
c:0007 p:0083 s:0044 e:43 METHOD
/usr/local/lib/ruby/site_ruby/2.5/rubygems/commands/install_command.rb:158
c:0006 p:0094 s:0039 e:38 METHOD
/usr/local/lib/ruby/site_ruby/2.5/rubygems/command.rb:313
c:0005 p:0100 s:0031 e:30 METHOD
/usr/local/lib/ruby/site_ruby/2.5/rubygems/command_manager.rb:171
c:0004 p:0011 s:0023 e:22 METHOD
/usr/local/lib/ruby/site_ruby/2.5/rubygems/command_manager.rb:141
c:0003 p:0053 s:0016 e:15 METHOD
/usr/local/lib/ruby/site_ruby/2.5/rubygems/

[Bug 225470] lang/ruby25: segfault when installing certain gems' docs

2018-01-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225470

Bug ID: 225470
   Summary: lang/ruby25: segfault when installing certain gems'
docs
   Product: Ports & Packages
   Version: Latest
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Many People
  Priority: ---
 Component: Individual Port(s)
  Assignee: r...@freebsd.org
  Reporter: ml+free...@vishwin.info
 Flags: maintainer-feedback?(r...@freebsd.org)
  Assignee: r...@freebsd.org

When staging certain rubygems, the process crashes whilst building the rdocs.
An example from devel/rubygem-ffi:

===
===>  Staging for rubygem-ffi-1.9.18
===>   Generating temporary packing list
(cd /wrkdirs/usr/ports/devel/rubygem-ffi/work/ffi-1.9.18; /usr/bin/env
RB_USER_INSTALL=yes LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 /usr/local/bin/gem25
install -l --no-update-sources --install-dir
/wrkdirs/usr/ports/devel/rubygem-ffi/work/stage/usr/local/lib/ruby/gems/2.5
--ignore-dependencies
--bindir=/wrkdirs/usr/ports/devel/rubygem-ffi/work/stage/usr/local/bin --rdoc
--ri ffi-1.9.18.gem -- --build-args )
Building native extensions with: '--build-args'
This could take a while...
Successfully installed ffi-1.9.18
Parsing documentation for ffi-1.9.18
Installing ri documentation for ffi-1.9.18
Installing darkfish documentation for ffi-1.9.18
/usr/local/lib/ruby/2.5/rdoc/markup/to_html.rb:389: [BUG] Segmentation fault at
0x0020
ruby 2.5.0p0 (2017-12-25 revision 61468) [amd64-freebsd12]

-- Control frame information ---
c:0045 p: s:0279 e:000278 CFUNC  :eval
c:0044 p:0029 s:0274 e:000273 METHOD
/usr/local/lib/ruby/2.5/rdoc/markup/to_html.rb:389
c:0043 p:0026 s:0268 e:000267 METHOD
/usr/local/lib/ruby/2.5/rdoc/markup/to_html.rb:201
c:0042 p:0006 s:0258 e:000257 METHOD
/usr/local/lib/ruby/2.5/rdoc/markup/verbatim.rb:26
c:0041 p:0026 s:0253 e:000252 BLOCK 
/usr/local/lib/ruby/2.5/rdoc/markup/formatter.rb:75 [FINISH]
c:0040 p: s:0249 e:000248 CFUNC  :each
c:0039 p:0009 s:0245 e:000244 METHOD
/usr/local/lib/ruby/2.5/rdoc/markup/formatter.rb:70
c:0038 p:0012 s:0240 e:000239 METHOD
/usr/local/lib/ruby/2.5/rdoc/markup/document.rb:68
c:0037 p:0074 s:0235 e:000234 METHOD /usr/local/lib/ruby/2.5/rdoc/text.rb:105
c:0036 p:0007 s:0228 e:000227 METHOD
/usr/local/lib/ruby/2.5/rdoc/generator/markup.rb:28
c:0035 p:0610 s:0224 e:000222 EVAL  
/usr/local/lib/ruby/2.5/rdoc/generator/template/darkfish/page.rhtml:42 [FINISH]
c:0034 p: s:0220 e:000219 CFUNC  :eval
c:0033 p:0041 s:0212 e:000211 METHOD /usr/local/lib/ruby/2.5/erb.rb:885
c:0032 p:0018 s:0207 e:000206 METHOD
/usr/local/lib/ruby/2.5/rdoc/generator/darkfish.rb:753
c:0031 p:0031 s:0199 e:000198 BLOCK 
/usr/local/lib/ruby/2.5/rdoc/generator/darkfish.rb:732 [FINISH]
c:0030 p: s:0195 e:000194 CFUNC  :open
c:0029 p: s:0192 e:000191 CFUNC  :open
c:0028 p:0100 s:0186 e:000185 METHOD
/usr/local/lib/ruby/2.5/rdoc/generator/darkfish.rb:727
c:0027 p:0162 s:0176 E:001208 METHOD
/usr/local/lib/ruby/2.5/rdoc/generator/darkfish.rb:481
c:0026 p:0025 s:0165 e:000164 BLOCK 
/usr/local/lib/ruby/2.5/rdoc/generator/darkfish.rb:417 [FINISH]
c:0025 p: s:0157 e:000156 CFUNC  :each
c:0024 p:0108 s:0153 e:000152 METHOD
/usr/local/lib/ruby/2.5/rdoc/generator/darkfish.rb:413
c:0023 p:0024 s:0142 e:000141 METHOD
/usr/local/lib/ruby/2.5/rdoc/generator/darkfish.rb:247
c:0022 p:0023 s:0137 e:000136 BLOCK 
/usr/local/lib/ruby/2.5/rdoc/rubygems_hook.rb:137 [FINISH]
c:0021 p: s:0134 e:000133 CFUNC  :chdir
c:0020 p:0163 s:0129 e:000128 METHOD
/usr/local/lib/ruby/2.5/rdoc/rubygems_hook.rb:134
c:0019 p:0385 s:0121 e:000120 METHOD
/usr/local/lib/ruby/2.5/rdoc/rubygems_hook.rb:196
c:0018 p:0014 s:0113 e:000112 BLOCK 
/usr/local/lib/ruby/2.5/rdoc/rubygems_hook.rb:56 [FINISH]
c:0017 p: s:0109 e:000108 CFUNC  :each
c:0016 p:0043 s:0105 e:000104 METHOD
/usr/local/lib/ruby/2.5/rdoc/rubygems_hook.rb:55 [FINISH]
c:0015 p: s:0093 e:92 IFUNC 
c:0014 p:0015 s:0090 e:89 BLOCK 
/usr/local/lib/ruby/site_ruby/2.5/rubygems/commands/install_command.rb:242
[FINISH]
c:0013 p: s:0086 e:85 CFUNC  :each
c:0012 p:0264 s:0082 e:81 METHOD
/usr/local/lib/ruby/site_ruby/2.5/rubygems/commands/install_command.rb:241
c:0011 p:0075 s:0069 e:68 METHOD
/usr/local/lib/ruby/site_ruby/2.5/rubygems/commands/install_command.rb:191
c:0010 p:0028 s:0060 e:59 BLOCK 
/usr/local/lib/ruby/site_ruby/2.5/rubygems/commands/install_command.rb:255
[FINISH]
c:0009 p: s:0053 e:52 CFUNC  :each
c:0008 p:0011 s:0049 e:48 METHOD
/usr/local/lib/ruby/site_ruby/2.5/rubygems/commands/install_command.rb:251
c:0007 p:0083 s:0044 e:43 METHOD
/usr/local/lib/ruby/site_ruby/2.5/rubygems/commands/install_command.rb:158
c:0006 p:0094 s:0039 e:38 METHOD
/usr/local/lib/ruby/site_ruby/2.5/rubygems/command.rb:313