Bug 388627 - releaseme: Unable to fetch translations with ruby 2.5 (Arch Linux)
Summary: releaseme: Unable to fetch translations with ruby 2.5 (Arch Linux)
Status: RESOLVED FIXED
Alias: None
Product: releaseme
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Harald Sitter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-06 18:21 UTC by jan neumann
Modified: 2018-01-08 01:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jan neumann 2018-01-06 18:21:32 UTC
After updating ruby 2.43 -> 2.5 packages using 'make fetch-translations' does not build anymore.

(Build Log)[https://pastebin.com/xD9hzMeC]
Comment 1 Michael Pyne 2018-01-07 00:09:57 UTC
releaseme is its own repository, reassigning
Comment 2 Pawel 2018-01-07 19:23:39 UTC
(In reply to jan neumann from comment #0)
> After updating ruby 2.43 -> 2.5 packages using 'make fetch-translations'
> does not build anymore.
> 
> (Build Log)[https://pastebin.com/xD9hzMeC]

Then just try to install ruby2.4 package (in repo).
Comment 3 jan neumann 2018-01-07 19:57:39 UTC
Ok this would be a temporarily workaround. But unfortunately releaseme tries still to use ruby 2.5. 
Is there a way to tell releasme to use ruby at /opt/ruby2.4/bin and not ruby at /usr/bin ?
Comment 4 Harald Sitter 2018-01-08 01:46:36 UTC
export PATH

also, you actually have to tell cmake/ecm as *it* calls ruby not releaseme 

```
kde-modules/KDECMakeSettings.cmake:        COMMAND ruby "${CMAKE_BINARY_DIR}/releaseme/fetchpo.rb"
```
Comment 5 Harald Sitter 2018-01-08 01:49:46 UTC
Git commit 87bedd85b4cc158cc895efdeebeedd50325b9344 by Harald Sitter.
Committed on 08/01/2018 at 01:44.
Pushed by sitter into branch 'master'.

add 2.5 as supported

all tests pass as expected

M  +1    -0    .travis.yml
M  +1    -1    lib/releaseme/requirement_checker.rb
M  +4    -2    test/requirement_checker_test.rb

https://commits.kde.org/releaseme/87bedd85b4cc158cc895efdeebeedd50325b9344