Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#48922 - [ruby] Executing Resolv::IPv6.create leads to RuntimeError

Attached to Project: Arch Linux
Opened by Anatoly (ch1c0t) - Wednesday, 13 April 2016, 09:17 GMT
Last edited by Anatol Pomozov (anatolik) - Tuesday, 17 May 2016, 16:33 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Anatol Pomozov (anatolik)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Executing Resolv::IPv6.create from the standard library leads to RuntimeError.
It is fixed in the upstream(see https://github.com/ruby/ruby/commit/a3b53cd9919ff01567ef04af4057b3dec3192471).

Additional info:
* ruby 2.3.0-2

Steps to reproduce:
[1] pry(main)> require 'resolv'
true
[2] pry(main)> Resolv::IPv6.create '::1'
RuntimeError: can't modify frozen String
from /usr/lib/ruby/2.3.0/resolv.rb:2463:in `block in create'
This task depends upon

Closed by  Anatol Pomozov (anatolik)
Tuesday, 17 May 2016, 16:33 GMT
Reason for closing:  Upstream
Additional comments about closing:  fixed in ruby 2.3.1
Comment by Anatol Pomozov (anatolik) - Tuesday, 26 April 2016, 16:34 GMT
It is fixed in ruby 2.3.1 (currently in [testing])

Loading...