From: paul@... Date: 2018-06-05T19:55:49+00:00 Subject: [ruby-core:87417] [Ruby trunk Bug#14827] Fails to compile on GNU/Hurd: IOV_MAX undefined Issue #14827 has been reported by paulusASol (Paul Sonnenschein). ---------------------------------------- Bug #14827: Fails to compile on GNU/Hurd: IOV_MAX undefined https://bugs.ruby-lang.org/issues/14827 * Author: paulusASol (Paul Sonnenschein) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.6.0dev (2018-06-05 trunk 63572) [i686-gnu0.9] * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN ---------------------------------------- **Description** The existence of the `writev()` syscall does not imply that the `IOV_MAX` macro exists. Because on GNU/Hurd operating systems the `IOV_MAX` macro does not exist, Ruby fails to compile there. **Reproduce** Install a GNU/Hurd operating system and try to compile Ruby. **The patch** The patch simply ignores `IOV_MAX` if it is not defined. ---Files-------------------------------- ruby-changes.patch (465 Bytes) -- https://bugs.ruby-lang.org/ Unsubscribe: