Summary: | dev-ruby/concurrent-ruby-1.0.2 fails tests on alpha | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Tobias Klausmann (RETIRED) <klausman> |
Component: | Current packages | Assignee: | Gentoo Ruby Team <ruby> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alpha |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/ruby-concurrency/concurrent-ruby/pull/549 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 587756 | ||
Attachments: | build log |
Description
Tobias Klausmann (RETIRED)
![]() This happens since the code that tries to determine the processor_count does not have a special case for alpha and none of the default methods work. I've created a patch using /usr/bin/nproc (as recommended by Tobias on IRC). This has been applied to dev-ruby/concurrent-ruby-1.0.2-r1. I'll create a pull request upstream if this works as expected. The -r1 variant works fine on alpha. I'll leave this bug open so we can co-track inclusion/fixing of upstream code. PR has been accepted upstream. |