Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem to install SBT on Gentoo4 - X-portage / Master
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Olscream
n00b
n00b


Joined: 13 Mar 2019
Posts: 2

PostPosted: Wed Mar 13, 2019 4:03 pm    Post subject: Problem to install SBT on Gentoo4 - X-portage / Master Reply with quote

Hello everyone !

I'm using Gentoo4 and tried to install the tree built SBT by a command line specified at https://www.scala-sbt.org/download.html :
Code:
emerge dev-java/SBT

But I got an error back that you can see on the photo :

Code:
!!! Repository 'x-portage' is missing masters attribute in '/usr/portage/metadata/layout.conf'

!!!

Set 'masters = gentoo' in this file for future compatibility

 

 

!!! /etc/portage/make.profile is not a symlink and will probably prevent most merges.

!!!

It should point into a profile within /usr/portage/profiles/

!!! (You can safely ignore this message when syncing. It's harmless.)

 

 

!!!

Your current profile is invalid. If you have just changed your profile

!!! configuration, you should revert back to the previous configuration.

!!!

Allowed actions are limited to --help, --info, --search, --sync, and

!!! --version.


Would you know how I could install properly SBT on Gentoo please ? So that I could use the command SBT xxx for example.

Thank you very much in advance for your help !

Yours sincerely,

Olscream
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22327
Location: here

PostPosted: Wed Mar 13, 2019 4:12 pm    Post subject: Reply with quote

Code:
 !!! /etc/portage/make.profile is not a symlink and will probably prevent most merges.

How you installed gentoo? What return command eselect profile list command?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Olscream
n00b
n00b


Joined: 13 Mar 2019
Posts: 2

PostPosted: Wed Mar 13, 2019 4:49 pm    Post subject: Reply with quote

Thanks first of all for your fast answer.

Gentoo is installed on a VM (VMWare more exactly).

When I try your command as admin (sudo), it returns me :
Code:
 !!! Error: Failed to get a list of valid profiles existing


Do you need more information ?
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22327
Location: here

PostPosted: Wed Mar 13, 2019 4:54 pm    Post subject: Reply with quote

But you used an image with gentoo already installed? Because seems missing the portage tree, this mean that emerge --sync has never been done
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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