Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Ruby woes and GitlabHQ version bump
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Carel
n00b
n00b


Joined: 26 Jun 2010
Posts: 18

PostPosted: Thu Mar 04, 2021 10:57 am    Post subject: [SOLVED] Ruby woes and GitlabHQ version bump Reply with quote

I am having trouble upgrading my GitlabHq package. I was a tad slack and left it on version 12.8 or so for a while. The package maintainer changed the e-build structure around version 13.8.2 and one must now install "gitlab" rather then "gitlabhq' going forwards.

My rational is bump the old version from 12.8 to version 13.8.2 on the "old" e-builds and then bump across to the newer structure as the maintainer has instructed within a recent news item. To do this I have unmasked the 13.8.2 version but am having trouble actually installing it. Presently my emerge commands are locked with the following block which I'm not sure how to resolve at this point in time :

Code:

emerge: there are no ebuilds to satisfy ">=dev-ruby/net-telnet-0.2.0[ruby_targets_ruby27]".
(dependency required by "dev-lang/ruby-2.7.2::gentoo" [ebuild])
(dependency required by "dev-vcs/gitlab-gitaly-13.8.2::gitlab" [ebuild])
(dependency required by "www-apps/gitlabhq-13.8.2::gitlab" [ebuild])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])


Previously I had set the Ruby version explicitly to `ruby25` and `ruby26` in `make.conf` and I believe I have now limited this to `ruby26`, one is never too certain with ruby. While trying to resolve this I also tried including `ruby27` in the mix to no avail. My `eselect ruby list` currently lists version 2.5 and 2.6 with 2.6 being the system ruby, 2.7 is not mentioned. I can't seem to change the ruby version with out running up against the above block so I figure I'm stuck with 2.6 for now.

My emerge --info is available here https://dpaste.com/GFAS4ZA2Q

If I must furnish any additional information please let me know otherwise if you have a hint as to how to break this block short of removing everything and starting afresh I would be interested to know it. I will try blocking net-telnet-0.2.0 (Supports Ruby 2.4/2.5/2.6/2.7) now quickly, reverting to 0.1.1-r1 (Supports Ruby 2.2/2.3/2.4/2.5), in the hopes that this resolves the issue but I don't think it will; if that fails I will try and intermediate GitbalHq, but I seem to run across the above block no matter what I do for the moment.


Last edited by Carel on Thu Mar 04, 2021 12:16 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31257
Location: here

PostPosted: Thu Mar 04, 2021 11:27 am    Post subject: Reply with quote

This happens because ruby27 is a masked use flag in a stable system.
You can unmask use flag using /etc/portage/profile/use.mask, but I don't know the situation for ruby27 and if is ready for production.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Carel
n00b
n00b


Joined: 26 Jun 2010
Posts: 18

PostPosted: Thu Mar 04, 2021 12:15 pm    Post subject: Thanks ! Reply with quote

@fedeliallalinea Thanks for the help, I added the following line to `/etc/portage/profile/use.stable.mask` and unblocked `dev-ruby/net-telnet-0.2.0`. Portage was only happy to proceed again once these amendments were made.
Code:

-ruby_targets_ruby27


My mistake was assuming that Ruby 3.0 should be considered unstable; and that I had better bump to Ruby 2.7 once I had a working system again. I had enabled ruby_25/26/27 all over my `package.accept_keywords|use` files to no avail.

Interested parties reading my original post might need to know that rolling back to `dev-ruby/net-telnet-0.1.1-r1` simply returned the same error after portage asked me to enable a bunch of Ruby25/27 flags. I didn't manage to try an intermediate GitlabHQ version in the interim.

Thanks once again @fedeliallalinea
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum