* [ruby-core:91569] [Ruby trunk Bug#15607] RuntimeError (can't get Master/Slave device) using PTY.open
[not found] <redmine.issue-15607.20190215120715@ruby-lang.org>
@ 2019-02-15 12:07 ` milo974
2019-02-20 1:27 ` [ruby-core:91597] " merch-redmine
` (2 subsequent siblings)
3 siblings, 0 replies; 4+ messages in thread
From: milo974 @ 2019-02-15 12:07 UTC (permalink / raw)
To: ruby-core
Issue #15607 has been reported by milo974 (Wesley Mouedine Assaby).
----------------------------------------
Bug #15607: RuntimeError (can't get Master/Slave device) using PTY.open
https://bugs.ruby-lang.org/issues/15607
* Author: milo974 (Wesley Mouedine Assaby)
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-openbsd]
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
Hi
I use OpenBSD 6.4 (amd64) with ruby 2.5.3p105
All code that use PTY module doesn't work, i get RuntimeError(can't get Master/Slave device).
In a console IRB :
>> require 'pty'
==>true
>> master, slave = PTY.open
Traceback (most recent call last):
3: from /usr/local/bin/irb:11:in `<main>'
2: from (irb):2
1: from (irb):2:in `open'
RuntimeError (can't get Master/Slave device)
I can provide you ssh access to OpenBSD if you need.
Thank you very much.
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ruby-core:91597] [Ruby trunk Bug#15607] RuntimeError (can't get Master/Slave device) using PTY.open
[not found] <redmine.issue-15607.20190215120715@ruby-lang.org>
2019-02-15 12:07 ` [ruby-core:91569] [Ruby trunk Bug#15607] RuntimeError (can't get Master/Slave device) using PTY.open milo974
@ 2019-02-20 1:27 ` merch-redmine
2019-03-06 9:50 ` [ruby-core:91699] " naruse
2019-03-06 11:32 ` [ruby-core:91702] " nagachika00
3 siblings, 0 replies; 4+ messages in thread
From: merch-redmine @ 2019-02-20 1:27 UTC (permalink / raw)
To: ruby-core
Issue #15607 has been updated by jeremyevans0 (Jeremy Evans).
Backport changed from 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN to 2.4: REQUIRED, 2.5: REQUIRED, 2.6: REQUIRED
File 0001-Fix-PTY.open-on-OpenBSD.patch added
Attached is a fix to this issue, by just adding `|| defined(__OpenBSD__)`.
The example in the PTY document works correctly with this patch.
----------------------------------------
Bug #15607: RuntimeError (can't get Master/Slave device) using PTY.open
https://bugs.ruby-lang.org/issues/15607#change-76859
* Author: milo974 (Wesley Mouedine Assaby)
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-openbsd]
* Backport: 2.4: REQUIRED, 2.5: REQUIRED, 2.6: REQUIRED
----------------------------------------
Hi
I use OpenBSD 6.4 (amd64) with ruby 2.5.3p105
All code that use PTY module doesn't work, i get RuntimeError(can't get Master/Slave device).
In a console IRB :
>> require 'pty'
==>true
>> master, slave = PTY.open
Traceback (most recent call last):
3: from /usr/local/bin/irb:11:in `<main>'
2: from (irb):2
1: from (irb):2:in `open'
RuntimeError (can't get Master/Slave device)
I can provide you ssh access to OpenBSD if you need.
Thank you very much.
---Files--------------------------------
0001-Fix-PTY.open-on-OpenBSD.patch (948 Bytes)
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ruby-core:91699] [Ruby trunk Bug#15607] RuntimeError (can't get Master/Slave device) using PTY.open
[not found] <redmine.issue-15607.20190215120715@ruby-lang.org>
2019-02-15 12:07 ` [ruby-core:91569] [Ruby trunk Bug#15607] RuntimeError (can't get Master/Slave device) using PTY.open milo974
2019-02-20 1:27 ` [ruby-core:91597] " merch-redmine
@ 2019-03-06 9:50 ` naruse
2019-03-06 11:32 ` [ruby-core:91702] " nagachika00
3 siblings, 0 replies; 4+ messages in thread
From: naruse @ 2019-03-06 9:50 UTC (permalink / raw)
To: ruby-core
Issue #15607 has been updated by naruse (Yui NARUSE).
Backport changed from 2.4: REQUIRED, 2.5: REQUIRED, 2.6: REQUIRED to 2.4: REQUIRED, 2.5: REQUIRED, 2.6: DONE
ruby_2_6 r67184 merged revision(s) 67183.
----------------------------------------
Bug #15607: RuntimeError (can't get Master/Slave device) using PTY.open
https://bugs.ruby-lang.org/issues/15607#change-76965
* Author: milo974 (Wesley Mouedine Assaby)
* Status: Closed
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-openbsd]
* Backport: 2.4: REQUIRED, 2.5: REQUIRED, 2.6: DONE
----------------------------------------
Hi
I use OpenBSD 6.4 (amd64) with ruby 2.5.3p105
All code that use PTY module doesn't work, i get RuntimeError(can't get Master/Slave device).
In a console IRB :
>> require 'pty'
==>true
>> master, slave = PTY.open
Traceback (most recent call last):
3: from /usr/local/bin/irb:11:in `<main>'
2: from (irb):2
1: from (irb):2:in `open'
RuntimeError (can't get Master/Slave device)
I can provide you ssh access to OpenBSD if you need.
Thank you very much.
---Files--------------------------------
0001-Fix-PTY.open-on-OpenBSD.patch (948 Bytes)
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ruby-core:91702] [Ruby trunk Bug#15607] RuntimeError (can't get Master/Slave device) using PTY.open
[not found] <redmine.issue-15607.20190215120715@ruby-lang.org>
` (2 preceding siblings ...)
2019-03-06 9:50 ` [ruby-core:91699] " naruse
@ 2019-03-06 11:32 ` nagachika00
3 siblings, 0 replies; 4+ messages in thread
From: nagachika00 @ 2019-03-06 11:32 UTC (permalink / raw)
To: ruby-core
Issue #15607 has been updated by nagachika (Tomoyuki Chikanaga).
Backport changed from 2.4: REQUIRED, 2.5: REQUIRED, 2.6: DONE to 2.4: REQUIRED, 2.5: DONE, 2.6: DONE
ruby_2_5 r67186 merged revision(s) 67183.
----------------------------------------
Bug #15607: RuntimeError (can't get Master/Slave device) using PTY.open
https://bugs.ruby-lang.org/issues/15607#change-76969
* Author: milo974 (Wesley Mouedine Assaby)
* Status: Closed
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-openbsd]
* Backport: 2.4: REQUIRED, 2.5: DONE, 2.6: DONE
----------------------------------------
Hi
I use OpenBSD 6.4 (amd64) with ruby 2.5.3p105
All code that use PTY module doesn't work, i get RuntimeError(can't get Master/Slave device).
In a console IRB :
>> require 'pty'
==>true
>> master, slave = PTY.open
Traceback (most recent call last):
3: from /usr/local/bin/irb:11:in `<main>'
2: from (irb):2
1: from (irb):2:in `open'
RuntimeError (can't get Master/Slave device)
I can provide you ssh access to OpenBSD if you need.
Thank you very much.
---Files--------------------------------
0001-Fix-PTY.open-on-OpenBSD.patch (948 Bytes)
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-03-06 11:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <redmine.issue-15607.20190215120715@ruby-lang.org>
2019-02-15 12:07 ` [ruby-core:91569] [Ruby trunk Bug#15607] RuntimeError (can't get Master/Slave device) using PTY.open milo974
2019-02-20 1:27 ` [ruby-core:91597] " merch-redmine
2019-03-06 9:50 ` [ruby-core:91699] " naruse
2019-03-06 11:32 ` [ruby-core:91702] " nagachika00
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).