Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How does a newbie do "keyword changes" ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
bobmon
n00b
n00b


Joined: 30 Aug 2019
Posts: 2

PostPosted: Fri Aug 30, 2019 7:48 pm    Post subject: How does a newbie do "keyword changes" ? Reply with quote

Hello, and please accept my apologies for my total ignorance...
I installed Sakaki's binary image of gentoo on a Raspberry Pi 4 successfully, but I'm having trouble adding some needed software. I used "porthole" to do a sync and an upgrade, and rebooted, then tried to add the "SciTE" editor with this command:
Code:
sudo  emerge  scite

This gives me the following output,:
Quote:


Local copy of remote index is up-to-date and will be used.

* IMPORTANT: 2 config files in '/etc/portage' need updating.
* See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
* sections of the emerge man page to learn how to update config files.
Calculating dependencies... done!
[ebuild N *] app-editors/scite-4.2.0 USE="-lua"

The following keyword changes are necessary to proceed:
(see "package.accept_keywords" in the portage(5) man page for more details)
# required by scite (argument)
=app-editors/scite-4.2.0 **

NOTE: The --autounmask-keep-masks option will prevent emerge
from creating package.unmask or ** keyword changes.

Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.


I don't even know where to begin to understand this stuff, let alone how to fix it. I gather that I'm supposed to do something to "package.accept_keywords", but I don't know what or where.
So my questions are:
  • How do I install the "SciTE" program?
  • Should I emerge "=app-editors/scite-4.2.0" instead of "scite"?
  • Iis "--autounmask-write" supposed to fix things somehow?
  • Where do I go / what do I do to understand this stuff, in small easily digestible bites?


Thanks, -bobmon
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 47572
Location: 56N 3W

PostPosted: Fri Aug 30, 2019 9:14 pm    Post subject: Reply with quote

bobmon,

Welcome to Gentoo and arm64.

A good read is Working with Portage
Its all good but you need sections 12 and 13 right now.
Code:
(see "package.accept_keywords" in the portage(5) man page for more details)
is worth a read too.

man pages in general do not tell you how to do what you want to do. They are references that tell what a command does.
If you are lucky there might be an example that covers your use case.

Code:

* IMPORTANT: 2 config files in '/etc/portage' need updating.
* See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
* sections of the emerge man page to learn how to update config files.
Calculating dependencies... done!
[ebuild N *] app-editors/scite-4.2.0 USE="-lua"

The following keyword changes are necessary to proceed:
(see "package.accept_keywords" in the portage(5) man page for more details)

# required by scite (argument)
=app-editors/scite-4.2.0 **


Code:
* IMPORTANT: 2 config files in '/etc/portage' need updating.
really is important.
Read the man page.

That says that portage has worked out that
Code:
sudo  emerge  scite
means app-editors/scite, so far so good.
The last line says that portage would like to install app-editors/scite-4.2.0 but is not allowed to as its not keyworded for arm64 or ~arm64.

Reading the ebuild
/usr/portage/app-editors/scite/scite-4.2.0.ebuild:

KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
we see that arm64 is not mentioned.
This means that the package is not yet tested on arm64. That's not the same as does not work, it means that nobody knows.

While I've been writing this, I've built app-editors/scite-4.2.0 on arm64, so we now know it builds.
Its in my binhost under the gcc-9.x

-- edit --

Ignorance is fine here. We all enjoy fixing that in one another. :)
We all remember getting started.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.


Last edited by NeddySeagoon on Fri Aug 30, 2019 9:20 pm; edited 2 times in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 47572
Location: 56N 3W

PostPosted: Fri Aug 30, 2019 9:15 pm    Post subject: Reply with quote

Moved from Portage & Programming to Gentoo on ARM.
Its one of these.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
bobmon
n00b
n00b


Joined: 30 Aug 2019
Posts: 2

PostPosted: Fri Aug 30, 2019 11:24 pm    Post subject: Reply with quote

Neddy, thanks. I'll look things over in the (my) morning.

-Bob,mon.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM 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