Summary: | app-text/htmltidy-5.8.0-r1 fails tests: - Test execution failed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Marek Szuba <marecki> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | marecki, ruby, unhappy-ending |
Priority: | Normal | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
app-text:htmltidy-5.8.0-r1:20211118-032141.log emerge-history.txt environment etc.portage.tar.bz2 |
Description
Toralf Förster
2021-11-18 14:00:12 UTC
Created attachment 752542 [details]
emerge-info.txt
Created attachment 752546 [details]
app-text:htmltidy-5.8.0-r1:20211118-032141.log
Created attachment 752550 [details]
emerge-history.txt
Created attachment 752554 [details]
environment
Created attachment 752558 [details]
etc.portage.tar.bz2
Update summary. [something] is used when something refers to an overlay According to emerge-history.txt dev-ruby/tty-editor IS installed, and RUBY_TARGETS in htmltidy and tty-editor match. Adding the Ruby team to Cc, maybe they'll have some ideas. I had a similar problem to this but it was thor that was missing from locally installed gems. Thor is on my system, and is compiled with ruby27. I have both ruby27 and rub31 installed. I noticed Toralf has the ruby30 profile selected. When I changed the profile from 31 to 27 htmltidy passed the tests without the error, but when profile 31 is selected, it will fail to find thor. It seems multiple ruby profiles will cause test failures for some ruby packages even if the required test dependencies are available with the correct ruby versions. Following up, I wanted to have more similar variables to Toralf. I removed Ruby 3.1 and installed Ruby 3.0. Set my profile to 3.0, and got the same exact error. tty-editor does not have a Ruby 3.0, only 2.7, and of course like with thor eselect ruby set ruby27 fixes the issue. Thor has a ruby30, but no ruby31, which seems to be why htmltidy is failing. If the required ruby modules for the test doesn't have a version that you have selected, htmltidy will fail so you need to fallback. Looking at the ruby flags for htmltidy, it looks like it requires ruby27 anyway. Yes, unfortunately there is no runtime check to ensure that the ruby version you've eselected matches what is installed. We'd probably need a mechanism like with python for that. I've added ruby30 to tty-editor. |