Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
use, keyword & license changes. I have no idea what to do
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
karl6994
n00b
n00b


Joined: 23 Jul 2017
Posts: 8
Location: Barrie Ontario

PostPosted: Sun Jul 23, 2017 2:48 pm    Post subject: use, keyword & license changes. I have no idea what to d Reply with quote

Hi everyone. I've been a Linux user for the past year-ish, I just started using Gentoo on my Raspberry Pi 3B as it seems to be one of the few good ARM64 distros.
I keep trying to install guake or kodi & I'm running into problems... I SOMEHOW installed LXDE okay.. But I get these weird messages on emerge about use/keyword/license changes & I honestly have no idea what I'm supposed to do.
I've tried reading a whole lot of different forum posts, I tried a few "solutions" but it doesn't seem to be working out :( Can anyone put this stuff in really easy to understand terms for me?
Emerge is not easy to figure out :| I'd really love to be able to start using Gentoo, maybe if I can figure it out on my Pi then I'll eventually install it as my desktop OS - I'm using Fedora for my desktop OS now.

Apparently 34 config files in /etc/portage need updating but I have no idea how to do this :| I tried doing it but I think I must be doing something wrong..
If someone could tell me how this is done in the most simple of terms that'd be so awesome. I really wanna learn how this stuff works but this is very hard.. I've already spent hours reading things but I still don't know what to do :(
Some stuff will install.. other stuff won't.. I managed to get "porthole" a gui frontend for emerge installed, I think...

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


Code:
The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by x11-terms/guake-9999::gentoo
# required by x11-terms/guake (argument)
=dev-python/gconf-python-2.28.1-r1 **
# required by x11-terms/guake (argument)
=x11-terms/guake-9999 **
# required by x11-terms/guake-9999::gentoo
# required by x11-terms/guake (argument)
=dev-python/notify-python-0.1.1-r3 **
# required by dev-python/gconf-python-2.28.1-r1::gentoo
# required by x11-terms/guake-9999::gentoo
# required by x11-terms/guake (argument)
=dev-python/gnome-python-base-2.28.1-r1 ** 


[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Jul 23, 2017 3:23 pm    Post subject: Reply with quote

karl6994,

USE lets you select build time optional features of packages.
It can get complex and lead to packages being rebuilt because USE settings on one package may require USE changes to things you already have installed.
emerge can't forecast this because it can't tell what you are going to install in the future.

However, choosing the right profile helps a lot as profiles provide preset USE settings for the thing they are aimed at.

You should never see requests for KEYWORD settings on a default install. KEYWORDS are Gentoos way of specifying how well tested you want your packages.
The default is stable. next is testing, identified as ~arch, e.g. ~amd64, then there is live, which lets you use the code from the upstream repository.
On a pure stable system, its a bug to be asked to use testing packages.

Gentoo provides tools to mix and match from these various versions.

ACCEPT_LICENCE= lets you tell the package manager what licences it may accept.
The default is "* -@EULA" which is any licence that does not have an End User Licence Agreement.
This means that you cannot install some packages, until you specifically tell the package manager that you accept the licence.

On the Pi3, with a 64 bit install, its a bit more like the wild west and there are a lot of rough edges. arm64 is considered experimental.

A step in the right direction would be to install Gentoo as a guest in Virtualbox in your Fedora install. Virtualbox is a program that emulates an entire system, from the BIOS up.
A mainline guest install in Virtualbox will give you the feel of how Gentoo is supposed to work, it will let you use cross distcc with your Pi, which helps the build speed because your amd64 system will build things for the Pi.
_________________
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
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Jul 23, 2017 3:25 pm    Post subject: Reply with quote

Moved from Portage & Programming to Gentoo on Alternative Architectures.

Pi 3 64 bit, so is better here.
_________________
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
karl6994
n00b
n00b


Joined: 23 Jul 2017
Posts: 8
Location: Barrie Ontario

PostPosted: Sun Jul 23, 2017 3:51 pm    Post subject: Reply with quote

Hi Ned, thanks so much for taking the time to reply to my post! I still am totally unsure of how to solve this issue though :(
I realize arm64 are experimental, but it seems to work better than all the other distros I've tried on my Pi.. I still have no idea how to make emerge install stuff.. Is there a command I can enter with emerge so it'll ignore this stuff???
And how can I make it auto-accept all licenses?? Like I have no idea what to do, I'm completely clueless after hours of reading.. If someone could show me how its done then I might be able to get the hang of this.. but I don't understand a lot of the directions..
If anyone could explain this stuff to me in the most basic of ways that'd be really cool.. And I have a spare computer I use to test distros, so I guess that'll be the next thing I'll be doing - I think I'm going to start with Sabayon then work my way to pure Gentoo.
But... I just really wanna install Guake, Kodi & Qupzilla on my Pi!! Can you please help me figure out how to do this?? I'm stumped, I have no idea where to even begin :| how am I supposed to edit these files?? Like what am I supposed to write??
I know I'm asking for everyone else to "do the work for me" but its just so I can figure out HOW and learn from the examples....
Please I just really wanna get a few programs installed I have no idea what I'm doing, this is really frustrating.. I need this stuff to be explained in complete novice terms...

I can use --ask, -a, -av, -a1, -1, and just emerge without the dashes and it all does the same thing :(


Code:
sudo emerge --ask guake
--2017-07-23 16:45:30--  https://isshoni.org/pi64/Packages
Resolving isshoni.org... 82.221.139.201
Connecting to isshoni.org|82.221.139.201|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1665176 (1.6M)
Saving to: ‘/tmp/tmpvwa3vqlk’
/tmp/tmpvwa3vqlk                          100%[===================================================================================>]   1.59M   486KB/s    in 3.6s

2017-07-23 16:45:35 (447 KB/s) - ‘/tmp/tmpvwa3vqlk’ saved [1665176/1665176]


 * IMPORTANT: 37 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.

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] dev-python/pyxdg-0.25-r1  USE="{-test}" PYTHON_TARGETS="python2_7 python3_4 (-pypy) -python3_5 -python3_6"
[ebuild   R    ] x11-libs/vte-0.28.2-r208  USE="python*"
[ebuild  N    *] dev-python/gnome-python-base-2.28.1-r1
[ebuild  N    *] dev-python/notify-python-0.1.1-r3  USE="-examples" PYTHON_TARGETS="python2_7"
[ebuild  N    *] dev-python/gconf-python-2.28.1-r1  USE="-examples" PYTHON_TARGETS="python2_7"
[ebuild  N    *] x11-terms/guake-9999  PYTHON_TARGETS="python2_7"

The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by x11-terms/guake-9999::gentoo
# required by guake (argument)
=dev-python/notify-python-0.1.1-r3 **
# required by guake (argument)
=x11-terms/guake-9999 **
# required by dev-python/gconf-python-2.28.1-r1::gentoo
# required by x11-terms/guake-9999::gentoo
# required by guake (argument)
=dev-python/gnome-python-base-2.28.1-r1 **
# required by x11-terms/guake-9999::gentoo
# required by guake (argument)
=dev-python/gconf-python-2.28.1-r1 **

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by x11-terms/guake-9999::gentoo
# required by guake (argument)
>=x11-libs/vte-0.28.2-r208:0 python

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

Would you like to add these changes to your config files? [Yes/No] yes

Autounmask changes successfully written.

* IMPORTANT: 39 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.

 sudo emerge --ask kodi
--2017-07-23 16:47:17--  https://isshoni.org/pi64/Packages
Resolving isshoni.org... 82.221.139.201
Connecting to isshoni.org|82.221.139.201|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1665176 (1.6M)
Saving to: ‘/tmp/tmp5aa724u3’

/tmp/tmp5aa724u3                          100%[===================================================================================>]   1.59M   484KB/s    in 3.7s

2017-07-23 16:47:22 (445 KB/s) - ‘/tmp/tmp5aa724u3’ saved [1665176/1665176]


 * IMPORTANT: 39 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.

These are the packages that would be merged, in order:

Calculating dependencies... done!


[ebuild  N    *] media-tv/kodi-9999::gentoo  USE="X alsa bluetooth css dbus opengl (system-ffmpeg) udev udisks upower xslt -airplay (-bluray) -caps -cec -debug (-dvd) -gles (-libressl) -libusb (-lirc) (-mysql) -nfs -pulseaudio (-samba) -sftp -systemd {-test} (-upnp) -vaapi (-vdpau) -webserver -zeroconf" PYTHON_TARGETS="python2_7" 343 KiB
[nomerge       ]  virtual/jre-1.8.0-r1:1.8::gentoo
[nomerge       ]   virtual/jdk-1.8.0-r3:1.8::gentoo
[ebuild  N     ]    dev-java/icedtea-3.4.0:8::gentoo  USE="alsa cups gtk jbootstrap pch source sunec webstart (-cacao) (-doc) -examples -headless-awt (-jamvm) (-kerberos) (-libressl) -nsplugin -pax_kernel -pulseaudio (-sctp) (-selinux) -shenandoah -smartcard {-test} -zero" 59,388 KiB
[ebuild  N     ]     dev-java/icedtea-7.2.6.10:7::gentoo  USE="alsa cups gtk jbootstrap sunec webstart (-cacao) -cjk -debug (-doc) -examples -headless-awt (-jamvm) -javascript (-kerberos) (-libressl) -nsplugin -nss -pax_kernel -pulseaudio (-sctp) (-selinux) -smartcard -source {-test} -zero" 54,043 KiB
[ebuild  N     ]      dev-java/ant-core-1.9.2::gentoo  USE="(-doc) -source" 3,338 KiB
[ebuild  N     ]      dev-java/icedtea-web-1.6.2::gentoo  USE="(-doc) -javascript -nsplugin -tagsoup {-test}" 1,782 KiB
[ebuild  N     ]       virtual/jre-1.8.0-r1:1.8::gentoo  0 KiB
[ebuild  N     ]        virtual/jdk-1.8.0-r3:1.8::gentoo  0 KiB

Total: 7 packages (7 new), Size of downloads: 118,892 KiB

 * Error: circular dependencies:

(dev-java/icedtea-3.4.0:8/8::gentoo, ebuild scheduled for merge) depends on
 (dev-java/icedtea-7.2.6.10:7/7::gentoo, ebuild scheduled for merge) (buildtime)
  (dev-java/ant-core-1.9.2:0/0::gentoo, ebuild scheduled for merge) (buildtime)
   (virtual/jdk-1.8.0-r3:1.8/1.8::gentoo, ebuild scheduled for merge) (buildtime)
    (dev-java/icedtea-3.4.0:8/8::gentoo, ebuild scheduled for merge) (runtime)

 * Note that circular dependencies can often be avoided by temporarily
 * disabling USE flags that trigger optional dependencies.

The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by media-tv/kodi-9999::gentoo
# required by kodi (argument)
=dev-libs/rapidjson-9999 **
# required by media-tv/kodi-9999::gentoo[udisks]
# required by kodi (argument)
=sys-fs/udisks-1.0.5-r1 **
# required by media-tv/kodi-9999::gentoo
# required by kodi (argument)
=dev-libs/crossguid-0_pre20150817 **
# required by kodi (argument)
=media-tv/kodi-9999 **
# required by media-tv/kodi-9999::gentoo
# required by kodi (argument)
=dev-libs/libfmt-9999 **

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by media-tv/kodi-9999::gentoo
# required by kodi (argument)
>=media-video/ffmpeg-3.3.2 openssl
# required by dev-java/gcj-jdk-5.4.0-r1::gentoo
# required by dev-java/icedtea-7.2.6.10::gentoo
# required by dev-java/icedtea-3.4.0::gentoo
# required by virtual/jdk-1.8.0-r3::gentoo
# required by virtual/jre-1.8.0-r1::gentoo
# required by dev-java/icedtea-web-1.6.2::gentoo
>=sys-devel/gcc-5.4.0-r3:5.4.0 gcj

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

Would you like to add these changes to your config files? [Yes/No] yes

Autounmask changes successfully written.

 * IMPORTANT: 41 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.

 * In order to avoid wasting time, backtracking has terminated early
 * due to the above autounmask change(s). The --autounmask-backtrack=y
 * option can be used to force further backtracking, but there is no
 * guarantee that it will produce a solution.


[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
karl6994
n00b
n00b


Joined: 23 Jul 2017
Posts: 8
Location: Barrie Ontario

PostPosted: Sun Jul 23, 2017 4:00 pm    Post subject: Reply with quote

Can somebody PLEASE just tell me how to install these things???? I feel like I'm never going to get anywhere like this, I could really really use a hand with this stuff then I'll know what to do next time..
I'm begging you all, please just show me how to install these things, this is the only distro I've found for the Pi that doesn't suck completely.. Devuan arm64 isn't too bad but the packages are extremely old & I can't even make Kodi work on it..
please please please I just really wanna know how this stuff works... I can't figure this out on my own which is why I have come here!!! I've been trying for days now non-stop somebody just please give me the commands I'm supposed to enter to solve this issue :(
some stuff will install but the things I need most won't... I have no idea what to do.. Arch arm64 sucks too, the GUI keeps going away by itself & I have to toggle the ctrl alt f1-4 keys..
I've been trying for days, I've looked all up & down the cheat sheets.. I feel really overwhelmed...



Code:
 sudo emerge qupzilla
--2017-07-23 16:58:13--  https://isshoni.org/pi64/Packages
Resolving isshoni.org... 82.221.139.201
Connecting to isshoni.org|82.221.139.201|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1665176 (1.6M)
Saving to: ‘/tmp/tmptgd9il4y’

/tmp/tmptgd9il4y                          100%[===================================================================================>]   1.59M   182KB/s    in 14s

2017-07-23 16:58:30 (118 KB/s) - ‘/tmp/tmptgd9il4y’ saved [1665176/1665176]


 * IMPORTANT: 41 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     ] media-libs/libvpx-1.6.1  USE="highbitdepth postproc svc threads (-doc) -static-libs {-test}"
[binary  N     ] dev-libs/libevent-2.1.8  USE="ssl threads -debug (-libressl) -static-libs {-test}"
[ebuild  N     ] dev-util/scons-2.5.1  USE="(-doc)" PYTHON_TARGETS="python2_7 (-pypy)"
[ebuild  N     ] dev-libs/double-conversion-2.0.1  USE="-static-libs"
[ebuild  N     ] net-libs/libsrtp-1.5.4  USE="-aesicm -console -debug (-doc) (-libressl) -openssl -static-libs -syslog {-test}"
[ebuild  N     ] dev-libs/protobuf-3.3.0  USE="zlib (-emacs) -examples -java -python -static-libs {-test}" PYTHON_TARGETS="python2_7 python3_4 -python3_5"
[ebuild  N     ] media-libs/opus-1.2.1  USE="-ambisonics -custom-modes (-doc) -static-libs" CPU_FLAGS_ARM="(neon)"
[ebuild  NS    ] dev-qt/qtcore-5.7.1-r3 [4.8.7-r2] USE="-debug -icu -systemd {-test}"
[binary  N     ] dev-qt/qtnetwork-5.7.1  USE="bindist ssl -connman -debug (-libproxy) -networkmanager {-test}"
[ebuild  N     ] dev-qt/qtwebchannel-5.7.1  USE="qml -debug {-test}"
[ebuild  NS    ] dev-qt/qtsql-5.7.1 [4.8.7-r1] USE="sqlite -debug -freetds (-mysql) (-oci8) -odbc -postgres {-test}"
[binary  N     ] dev-qt/qtconcurrent-5.7.1  USE="-debug {-test}"
[ebuild  N     ] dev-qt/qttest-5.7.1  USE="-debug {-test}"
[ebuild  N     ] app-arch/snappy-1.1.6  USE="(-static-libs) {-test}"
[ebuild  N     ] media-libs/freeglut-3.0.0  USE="-debug -static-libs"
[binary  N     ] dev-qt/qtxml-5.7.1  USE="-debug {-test}"
[ebuild  N     ] dev-qt/linguist-tools-5.7.1  USE="-debug -qml {-test}"
[ebuild  N     ] dev-qt/qtxmlpatterns-5.7.1  USE="-debug {-test}"
[ebuild  N     ] media-libs/libwebp-0.5.2  USE="gif jpeg opengl png tiff -experimental -neon -static-libs -swap-16bit-csp"
[binary  NS    ] dev-qt/qtdbus-5.7.1 [4.8.7] USE="-debug {-test}"
[ebuild  NS    ] dev-qt/qtgui-5.7.1-r1 [4.8.7] USE="dbus egl gif gles2 gtk jpeg png udev xcb -accessibility -debug -eglfs -evdev -ibus -libinput {-test} -tslib -tuio"
[binary  N     ] dev-qt/qtwidgets-5.7.1  USE="gles2 png xcb -debug {-test}"
[ebuild  N     ] dev-qt/qtx11extras-5.7.1  USE="-debug {-test}"
[ebuild  N     ] dev-qt/qtdeclarative-5.7.1  USE="gles2 widgets xml -debug (-jit) -localstorage {-test}"
[binary  N     ] dev-qt/qtprintsupport-5.7.1  USE="cups gles2 -debug {-test}"
[ebuild  N     ] dev-qt/qtwebengine-5.7.1-r1  USE="alsa bindist system-ffmpeg system-icu widgets -debug -geolocation -pax_kernel -pulseaudio {-test}"
[ebuild  N    *] www-client/qupzilla-2.1.2  USE="dbus -debug -gnome-keyring -kwallet (-libressl) -nonblockdialogs" LINGUAS="-ar_SA -bg_BG -ca_ES -cs_CZ -da_DK -de_DE -el_GR -es_ES -es_MX -es_VE -eu_ES -fa_IR -fi_FI -fr_FR -gl_ES -he_IL -hr_HR -hu_HU -id_ID -is -it_IT -ja_JP -ka_GE -lg -lt -lv_LV -nl_NL -nqo -pl_PL -pt_BR -pt_PT -ro_RO -ru_RU -sk_SK -sr -sr@ijekavian -sr@ijekavianlatin -sr@latin -sv_SE -tr_TR -uk_UA -uz@Latn -zh_CN -zh_HK -zh_TW"

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

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by dev-qt/qtwebengine-5.7.1-r1::gentoo
# required by www-client/qupzilla-2.1.2::gentoo
# required by qupzilla (argument)
>=media-libs/libvpx-1.6.1 svc
# required by dev-qt/qtwebengine-5.7.1-r1::gentoo
# required by www-client/qupzilla-2.1.2::gentoo
# required by qupzilla (argument)
>=dev-qt/qtwebchannel-5.7.1 qml
# required by www-client/qupzilla-2.1.2::gentoo
# required by qupzilla (argument)
>=dev-qt/qtwebengine-5.7.1-r1 widgets

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.

 * In order to avoid wasting time, backtracking has terminated early
 * due to the above autounmask change(s). The --autounmask-backtrack=y
 * option can be used to force further backtracking, but there is no
 * guarantee that it will produce a solution.


[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Sun Jul 23, 2017 4:29 pm    Post subject: Reply with quote

Quote:
* IMPORTANT: 41 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.

That's a HUGE number of updates. As the message said, try running "man emerge". Honestly, I don't know how cryptic or clear that is.

I would run "etc-update". This tool, probably mentioned in the man page, will step you through changing existing configuration files for your packages that have a different default than what you have installed. Two simple choices are to reject everything or accept everything. If you never manually changed a config file, just accept everything. If your config files are highly ediited, reject everything. I always look at the changes and decide to accept or reject (usually reject). It should be clear. run the tool. Amongst the choices are to bailout without doing anything.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sun Jul 23, 2017 4:30 pm    Post subject: Reply with quote

karl6994,

Gentoo is DIY Linux, the learning curve is steep. There is no way around it. You feel overwhelmed. That's normal, I think it is safe to say we all have felt it in some occasions. Still, YOU need to dig into it. There is Gentoo Wiki and there are man pages. For instance, don't you feel alarmed by this message "* IMPORTANT: 41 config files in '/etc/portage' need updating"? But you should. You need to interact with your Gentoo, otherwise it is not for you.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Sun Jul 23, 2017 4:38 pm    Post subject: Reply with quote

I'm going to gloss over some things and give you a leg-up (see below), but you really need to study the Gentoo Wiki for the full details, as it's not advisable to use Portage without understanding what you're doing or you'll end up in more of a mess than you are now.

1. Updating config files

karl6994 wrote:
Apparently 34 config files in /etc/portage need updating but I have no idea how to do this :| I tried doing it but I think I must be doing something wrong..

Code:
root # etc-update

or:
Code:
root # dispatch-conf


See https://wiki.gentoo.org/wiki/Handbook:X86/Portage/Tools


2. Specifying local USE flags

Code:
"The following USE changes are necessary to proceed:
(Read "package.use" in the portage(5) man page for more details) "


See https://wiki.gentoo.org/wiki/Handbook:Parts/Working/USE


Global USE flags are specified in /etc/portage/make.conf (See https://wiki.gentoo.org/wiki//etc/portage/make.conf)

Local (per-package) USE flags are specified as follows (I'm glossing over a few things):

If you prefer to specify the local USE flags for several packages in one file, create the file: /etc/portage/package.use/package.use

(Just to confuse matters, you could create a file /etc/portage/package.use instead.)

Or, if you prefer to specify the local USE flags for <packagename> in a separate file, create the file /etc/portage/package.use/<packagename>

Examples:

Either:
Code:
# cat /etc/portage/package.use/package.use
=net-im/skypeforlinux-5.4.0.1 -pax_kernel

or:
Code:
# cat /etc/portage/package.use/skypeforlinux
=net-im/skypeforlinux-5.4.0.1 -pax_kernel


If you want to use the same USE flags for every version of the package, omit the "=" and the version:

Either:
Code:
# cat /etc/portage/package.use/package.use
net-im/skypeforlinux -pax_kernel

or:
Code:
# cat /etc/portage/package.use/skypeforlinux
net-im/skypeforlinux -pax_kernel


See https://wiki.gentoo.org/wiki//etc/portage/package.use

If you really are still unsure what to do after studying all the above, specify the local USE flags in a file /etc/portage/package.use/package.use and have done with it.


3. Keywords

The concept is similar for test (a.k.a. 'unstable') packages that you want to keyword, i.e. that you want to allow Portage to install in your Stable installation:

If you prefer to keyword several packages in one file, create the file /etc/portage/package.accept_keywords/package.accept_keywords

(Just to confuse matters, you could create a file /etc/portage/package.accept_keywords instead.)

Or, if you prefer to specify the keywords for <packagename> in a separate file, create the file /etc/portage/package.accept_keywords/<packagename>

Examples for ~amd64 arch:

Either:
Code:
# cat /etc/portage/package.accept_keywords/package.accept_keywords
=net-im/skypeforlinux-5.4.0.1 ~amd64

or:
Code:
# cat /etc/portage/package.accept_keywords/skypeforlinux
=net-im/skypeforlinux-5.4.0.1 ~amd64


See https://wiki.gentoo.org/wiki//etc/portage/package.accept_keywords


4. Package licences

The concept for licences is also similar. See https://wiki.gentoo.org/wiki//etc/portage/package.license for details.

I put ACCEPT_LICENSE="*" in /etc/portage/make.conf (see https://wiki.gentoo.org/wiki//etc/portage/make.conf#ACCEPT_LICENSE) although some people prefer to accept licences per package or FOSS licences only. See the Wiki articles for details.
_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
karl6994
n00b
n00b


Joined: 23 Jul 2017
Posts: 8
Location: Barrie Ontario

PostPosted: Sun Jul 23, 2017 4:38 pm    Post subject: Reply with quote

Jaglover wrote:
Gentoo is DIY Linux, the learning curve is steep. There is no way around it. You feel overwhelmed. That's normal, I think it is safe to say we all have felt it in some occasions. Still, YOU need to dig into it. There is Gentoo Wiki and there are man pages. For instance, don't you feel alarmed by this message "* IMPORTANT: 41 config files in '/etc/portage' need updating"? But you should. You need to interact with your Gentoo, otherwise it is not for you.


I have dug into it, I have read the wikis & man pages, I still don't understand what to do... 41 config files need updating, yes, I am saying I have no idea how this is done! What are the forums for if you're going to just tell everyone to go read a manual??
I just wanna have some clear examples to follow so I can begin learning!

[Moderator edit: changed bare double quotes to [quote] tags. -Hu]
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Sun Jul 23, 2017 4:41 pm    Post subject: Reply with quote

You are trying to emerge bleeding edge "live ebuilds" instead of the latest main tree stable or testing versions. This requires special handling.

See this forum thread https://forums.gentoo.org/viewtopic-p-7068724.html

Notice that you have five kodi choices https://packages.gentoo.org/packages/media-tv/kodi

I know NeddySeagoon wants you to learn how to figure this out by yourself and he's right. But it's sort of overwhelming at first.
Those links and the types of links they are should give you an idea how to proceed.

Hint: The search function on the forum is pretty useless. You with get better results from Google using forums.gentoo.org as the first search time.
Back to top
View user's profile Send private message
karl6994
n00b
n00b


Joined: 23 Jul 2017
Posts: 8
Location: Barrie Ontario

PostPosted: Sun Jul 23, 2017 4:55 pm    Post subject: Reply with quote

Thanks Fitz, I am now running into these errors though.
I spent all yesterday reading wikis & man pages & I don't understand a great deal of it.. :(
Seriously though the condescending replies from some people are really unnecessary & its doing no one any favours.. I'm really new to gentoo and I don't have anyone that can help me learn.. this is all really new to me, I have to start somewhere don't I???
It seems like Arch & Gentoo forums are full of people that just like to be rude to people that are struggling to learn..


Code:
[ebuild  N    *] media-tv/kodi-9999::gentoo  USE="X alsa bluetooth css dbus opengl (system-ffmpeg) udev udisks upower xslt -airplay (-bluray) -caps -cec -debug (-dvd) -gles (-libressl) -libusb (-lirc) (-mysql) -nfs -pulseaudio (-samba) -sftp -systemd {-test} (-upnp) -vaapi (-vdpau) -webserver -zeroconf" PYTHON_TARGETS="python2_7" 343 KiB
[nomerge       ] dev-java/icedtea-7.2.6.10:7::gentoo  USE="alsa cups gtk jbootstrap sunec webstart (-cacao) -cjk -debug (-doc) -examples -headless-awt (-jamvm) -javascript (-kerberos) (-libressl) -nsplugin -nss -pax_kernel -pulseaudio (-sctp) (-selinux) -smartcard -source {-test} -zero"
[nomerge       ]  dev-java/icedtea-web-1.6.2::gentoo  USE="(-doc) -javascript -nsplugin -tagsoup {-test}"
[nomerge       ]   virtual/jre-1.8.0-r1:1.8::gentoo
[nomerge       ]    virtual/jdk-1.8.0-r3:1.8::gentoo
[ebuild  N     ]     dev-java/icedtea-3.4.0:8::gentoo  USE="alsa cups gtk jbootstrap pch source sunec webstart (-cacao) (-doc) -examples -headless-awt (-jamvm) (-kerberos) (-libressl) -nsplugin -pax_kernel -pulseaudio (-sctp) (-selinux) -shenandoah -smartcard {-test} -zero" 59,388 KiB
[ebuild  N     ]      dev-java/icedtea-7.2.6.10:7::gentoo  USE="alsa cups gtk jbootstrap sunec webstart (-cacao) -cjk -debug (-doc) -examples -headless-awt (-jamvm) -javascript (-kerberos) (-libressl) -nsplugin -nss -pax_kernel -pulseaudio (-sctp) (-selinux) -smartcard -source {-test} -zero" 54,043 KiB
[ebuild  N     ]       dev-java/ant-core-1.9.2::gentoo  USE="(-doc) -source" 3,338 KiB
[ebuild  N     ]       dev-java/icedtea-web-1.6.2::gentoo  USE="(-doc) -javascript -nsplugin -tagsoup {-test}" 1,782 KiB
[ebuild  N     ]        virtual/jre-1.8.0-r1:1.8::gentoo  0 KiB
[ebuild  N     ]         virtual/jdk-1.8.0-r3:1.8::gentoo  0 KiB

Total: 7 packages (7 new), Size of downloads: 118,892 KiB

 * Error: circular dependencies:

(dev-java/icedtea-7.2.6.10:7/7::gentoo, ebuild scheduled for merge) depends on
 (dev-java/ant-core-1.9.2:0/0::gentoo, ebuild scheduled for merge) (buildtime)
  (virtual/jdk-1.8.0-r3:1.8/1.8::gentoo, ebuild scheduled for merge) (buildtime)
   (dev-java/icedtea-3.4.0:8/8::gentoo, ebuild scheduled for merge) (runtime)
    (dev-java/icedtea-7.2.6.10:7/7::gentoo, ebuild scheduled for merge) (buildtime)

 * Note that circular dependencies can often be avoided by temporarily
 * disabling USE flags that trigger optional dependencies.
pi64 /etc/portage/package.use # dispatch-conf
pi64 /etc/portage/package.use # emerge kodi
--2017-07-23 17:51:19--  https://isshoni.org/pi64/Packages
Resolving isshoni.org... 82.221.139.201
Connecting to isshoni.org|82.221.139.201|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1665176 (1.6M)
Saving to: ‘/tmp/tmpkpezo7ct’


[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Jul 23, 2017 4:56 pm    Post subject: Reply with quote

karl6994,

Less haste more speed. Learn how Gentoo works on a more mainstream Gentoo install.
If you have a spare system, great. If not virtualbox, on Fedora is good too.

As you learn on your mainstream install both by following the handbook and trying things,
so you can apply the ideas to the Pi.
There is no arm64 handbook but a lot of the ideas are common. Portage in the same, so the part about Working with Portage is good for the Pi too.

Very few people here will spoon feed you. The Gentoo community does not work that way. Rather we will help you learn to fish.
That mostly means pointing you in the right direction and encouraging you to work out the detail. It means the help way be pitched over your head to start with but as we work together, it will get adjusted to stretch what you know.

Where did you get your 64 bit Gentoo from?
I know of two premade systems, mine and Sakakis, so I guess you have one of those?

Lets start with
Code:
* IMPORTANT: 41 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.

It means what in says, IMPORTANT If you have man pages installed, read
Code:
man emerge


The files in /etc/portage are what controls how emerge works. You have 41 files to update there, that means your portage control files are currently out of date.
You are going to use that man page a lot but having just looked at it, I don't see a CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS section any more.

Choose a tool to learn. There is etc-update or dispatch-conf. etc-update is old school and unforgiving of mistakes. Its what I use as its all there was at one time.
dispatch-conf can do backups, so you can back out changes when you need to.

You have 41 files to go through. Don't even think of accepting all the changes. That's likely to break your install.
Some rough rules of thumb.

Files in /etc/init.d/ are startup scripts. You can accept those.
Files in /etc/conf.d/ are configuration settings for the startup scripts. They may have been changed from the default settings. It would be a bad thing to revert them.
Some changes will only be to lines starting with a #.
If thats the *only* changes in a file, accept them too.
Skip over anything else as you need to understand what the changes will do.

Code:
The following keyword changes are necessary to proceed:
(see "package.accept_keywords" in the portage(5) man page for more details)
# required by qupzilla (argument)
=www-client/qupzilla-2.1.2 **


The =www-client/qupzilla-2.1.2 ** means that www-client/qupzilla has not been tested on arm64, or its been tested and is known to be broken.
You can be the first to find out.

package.accept_keywords is a directory inside /etc/portage. It may not exist yet. Create it if you need to.
Make a file called qupzilla inside the diriectory.

Add two lines to te file
Code:
# does www-client/qupzilla build on arm64?
<www-client/qupzilla-9999 **


Homework.
What would =www-client/qupzilla-2.1.2 ** do in that file?
Why is <www-client/qupzilla-9999 ** better?

It still won't emerge because the
Code:
The following USE changes are necessary to proceed:
(see "package.use" in the portage(5) man page for more details) ...
have not been addressed but the idea is similar.

You are doing this with no understanding of what you are doing.
The knowledge is transferable from a mainstream Gentoo install.

Checking my Pi3_64 install,
Code:
[ebuild     U *] media-tv/kodi-17.3-r2::gentoo [17.3::gentoo]
I cas see that kodi is masked, is currently installed but needs an update.
_________________
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
karl6994
n00b
n00b


Joined: 23 Jul 2017
Posts: 8
Location: Barrie Ontario

PostPosted: Sun Jul 23, 2017 5:02 pm    Post subject: Reply with quote

Tony0945 wrote:
You are trying to emerge bleeding edge "live ebuilds" instead of the latest main tree stable or testing versions. This requires special handling.

See this forum thread https://forums.gentoo.org/viewtopic-p-7068724.html

Notice that you have five kodi choices https://packages.gentoo.org/packages/media-tv/kodi

I know NeddySeagoon wants you to learn how to figure this out by yourself and he's right. But it's sort of overwhelming at first.
Those links and the types of links they are should give you an idea how to proceed.


I have tried doing emerge media-tv/kodi also! As well as x11-terms/guake (was it terms or something else? I forget... I'm trying to emerge bleeding edge live ebuilds? :S I don't know what that really means.. I know what emerge & bleeding edge means.. I'm just unsure of how I'm doing this.. I try to install a few of these dependencies but still no luck..

Circular dependencies can often be avoided by temporarily disabling USE flags that trigger optional dependencies?? So would I do emerge -1 or -a1 or something like that? :S I have guesses of what to do but I'm still really really unsure.. I've already done tons of reading for the past couple days.. I just wanna install Kodi, Guake & Qupzilla so I can use my Pi, then once I figure that out, I'll end up doing more reading/learning. I just wanna make things work so I can use my Pi....

Code:
emerge virtual/jdk
--2017-07-23 17:59:13--  https://isshoni.org/pi64/Packages
Resolving isshoni.org... 82.221.139.201
Connecting to isshoni.org|82.221.139.201|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1665176 (1.6M)
Saving to: ‘/tmp/tmpg721yn4s’

/tmp/tmpg721yn4s                          100%[===================================================================================>]   1.59M   569KB/s    in 2.9s

2017-07-23 17:59:18 (569 KB/s) - ‘/tmp/tmpg721yn4s’ saved [1665176/1665176]

Calculating dependencies... done!


[nomerge       ] virtual/jdk-1.8.0-r3:1.8::gentoo
[ebuild  N     ]  dev-java/icedtea-3.4.0:8::gentoo  USE="alsa cups gtk jbootstrap pch source sunec webstart (-cacao) (-doc) -examples -headless-awt (-jamvm) (-kerberos) (-libressl) -nsplugin -pax_kernel -pulseaudio (-sctp) (-selinux) -shenandoah -smartcard {-test} -zero" 59,388 KiB
[ebuild  N     ]   dev-java/icedtea-7.2.6.10:7::gentoo  USE="alsa cups gtk jbootstrap sunec webstart (-cacao) -cjk -debug (-doc) -examples -headless-awt (-jamvm) -javascript (-kerberos) (-libressl) -nsplugin -nss -pax_kernel -pulseaudio (-sctp) (-selinux) -smartcard -source {-test} -zero" 54,043 KiB
[ebuild  N     ]    dev-java/ant-core-1.9.2::gentoo  USE="(-doc) -source" 3,338 KiB
[ebuild  N     ]    dev-java/icedtea-web-1.6.2::gentoo  USE="(-doc) -javascript -nsplugin -tagsoup {-test}" 1,782 KiB
[ebuild  N     ]     virtual/jre-1.8.0-r1:1.8::gentoo  0 KiB
[ebuild  N     ]      virtual/jdk-1.8.0-r3:1.8::gentoo  0 KiB

Total: 6 packages (6 new), Size of downloads: 118,549 KiB

 * Error: circular dependencies:

(dev-java/icedtea-7.2.6.10:7/7::gentoo, ebuild scheduled for merge) depends on
 (dev-java/ant-core-1.9.2:0/0::gentoo, ebuild scheduled for merge) (buildtime)
  (virtual/jdk-1.8.0-r3:1.8/1.8::gentoo, ebuild scheduled for merge) (buildtime)
   (dev-java/icedtea-3.4.0:8/8::gentoo, ebuild scheduled for merge) (runtime)
    (dev-java/icedtea-7.2.6.10:7/7::gentoo, ebuild scheduled for merge) (buildtime)

 * Note that circular dependencies can often be avoided by temporarily
 * disabling USE flags that trigger optional dependencies.


[Moderator edit: changed bare double quotes to [quote] tags; added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
karl6994
n00b
n00b


Joined: 23 Jul 2017
Posts: 8
Location: Barrie Ontario

PostPosted: Sun Jul 23, 2017 5:15 pm    Post subject: Reply with quote

Code:
emerge qupzilla
--2017-07-23 18:05:10--  https://isshoni.org/pi64/Packages
Resolving isshoni.org... 82.221.139.201
Connecting to isshoni.org|82.221.139.201|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1665176 (1.6M)
Saving to: ‘/tmp/tmpk07rb86x’

/tmp/tmpk07rb86x                          100%[===================================================================================>]   1.59M   560KB/s    in 2.9s

2017-07-23 18:05:14 (560 KB/s) - ‘/tmp/tmpk07rb86x’ saved [1665176/1665176]

Calculating dependencies... done!
[ebuild  N     ] media-libs/libvpx-1.6.1  USE="highbitdepth postproc svc threads (-doc) -static-libs {-test}"
[binary  N     ] dev-libs/libevent-2.1.8  USE="ssl threads -debug (-libressl) -static-libs {-test}"
[ebuild  N     ] dev-util/scons-2.5.1  USE="(-doc)" PYTHON_TARGETS="python2_7 (-pypy)"
[ebuild  N     ] dev-libs/double-conversion-2.0.1  USE="-static-libs"
[ebuild  N     ] dev-libs/protobuf-3.3.0  USE="zlib (-emacs) -examples -java -python -static-libs {-test}" PYTHON_TARGETS="python2_7 python3_4 -python3_5"
[ebuild  N     ] media-libs/opus-1.2.1  USE="-ambisonics -custom-modes (-doc) -static-libs" CPU_FLAGS_ARM="(neon)"
[ebuild  N     ] net-libs/libsrtp-1.5.4  USE="-aesicm -console -debug (-doc) (-libressl) -openssl -static-libs -syslog {-test}"
[ebuild  NS    ] dev-qt/qtcore-5.7.1-r3 [4.8.7-r2] USE="-debug -icu -systemd {-test}"
[binary  N     ] dev-qt/qtnetwork-5.7.1  USE="bindist ssl -connman -debug (-libproxy) -networkmanager {-test}"
[binary  N     ] dev-qt/qtconcurrent-5.7.1  USE="-debug {-test}"
[ebuild  NS    ] dev-qt/qtsql-5.7.1 [4.8.7-r1] USE="sqlite -debug -freetds (-mysql) (-oci8) -odbc -postgres {-test}"
[ebuild  N     ] dev-qt/qttest-5.7.1  USE="-debug {-test}"
[ebuild  N     ] app-arch/snappy-1.1.6  USE="(-static-libs) {-test}"
[ebuild  N     ] media-libs/freeglut-3.0.0  USE="-debug -static-libs"
[binary  N     ] dev-qt/qtxml-5.7.1  USE="-debug {-test}"
[ebuild  N     ] dev-qt/linguist-tools-5.7.1  USE="-debug -qml {-test}"
[ebuild  N     ] dev-qt/qtxmlpatterns-5.7.1  USE="-debug {-test}"
[ebuild  N     ] media-libs/libwebp-0.5.2  USE="gif jpeg opengl png tiff -experimental -neon -static-libs -swap-16bit-csp"
[binary  NS    ] dev-qt/qtdbus-5.7.1 [4.8.7] USE="-debug {-test}"
[ebuild  NS    ] dev-qt/qtgui-5.7.1-r1 [4.8.7] USE="dbus egl gif gles2 gtk jpeg png udev xcb -accessibility -debug -eglfs -evdev -ibus -libinput {-test} -tslib -tuio"
[binary  N     ] dev-qt/qtwidgets-5.7.1  USE="gles2 png xcb -debug {-test}"
[ebuild  N     ] dev-qt/qtx11extras-5.7.1  USE="-debug {-test}"
[ebuild  N     ] dev-qt/qtdeclarative-5.7.1  USE="gles2 widgets xml -debug (-jit) -localstorage {-test}"
[binary  N     ] dev-qt/qtprintsupport-5.7.1  USE="cups gles2 -debug {-test}"
[ebuild  N     ] dev-qt/qtwebchannel-5.7.1  USE="qml -debug {-test}"
[ebuild  N     ] dev-qt/qtwebengine-5.7.1-r1  USE="alsa bindist system-ffmpeg system-icu widgets -debug -geolocation -pax_kernel -pulseaudio {-test}"
[ebuild  N    *] www-client/qupzilla-2.1.2  USE="dbus -debug -gnome-keyring -kwallet (-libressl) -nonblockdialogs" LINGUAS="-ar_SA -bg_BG -ca_ES -cs_CZ -da_DK -de_DE -el_GR -es_ES -es_MX -es_VE -eu_ES -fa_IR -fi_FI -fr_FR -gl_ES -he_IL -hr_HR -hu_HU -id_ID -is -it_IT -ja_JP -ka_GE -lg -lt -lv_LV -nl_NL -nqo -pl_PL -pt_BR -pt_PT -ro_RO -ru_RU -sk_SK -sr -sr@ijekavian -sr@ijekavianlatin -sr@latin -sv_SE -tr_TR -uk_UA -uz@Latn -zh_CN -zh_HK -zh_TW"

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by www-client/qupzilla-2.1.2::gentoo
# required by qupzilla (argument)
>=dev-qt/qtwebengine-5.7.1-r1 widgets
# required by dev-qt/qtwebengine-5.7.1-r1::gentoo
# required by www-client/qupzilla-2.1.2::gentoo
# required by qupzilla (argument)
>=media-libs/libvpx-1.6.1 svc
# required by dev-qt/qtwebengine-5.7.1-r1::gentoo
# required by www-client/qupzilla-2.1.2::gentoo
# required by qupzilla (argument)
>=dev-qt/qtwebchannel-5.7.1 qml

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.

 * In order to avoid wasting time, backtracking has terminated early
 * due to the above autounmask change(s). The --autounmask-backtrack=y
 * option can be used to force further backtracking, but there is no
 * guarantee that it will produce a solution.




I'm using Sakakis prebuilt Gentoo image.. I guess I'll have to use a different operating system... I didn't think a package manager would be this difficult to use :(
this is just too complicated & it seems everyone wants to force me to learn everything there is about Gentoo just in order to use some really basic programs...
This seems to be the most smoothest running operating system for my Pi I can find where drivers actually work, but I can't make it work the way I want it to... so unless there's some kind of tool that does the hard stuff for me, I'll just give up.
I've already spent all my free time this week reading Gentoo wikis & manpages, I guess I'm just too stupid.. I had this crazy assumption that I'd just be able to install programs normally like I can on every other Linux distro without having to worry about all of these weird commands and config files.. I shouldn't have to know everything there is about a distro just to make some simple programs work.

[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Jul 23, 2017 5:17 pm    Post subject: Reply with quote

Guys, this is Aarch64 also known as arm64, not amd64.


karl6994,

icedtea on arm64 needs special care. There is no icedtea-bin. It may sound silly but you need java to build java.
There are some details at Building Java
_________________
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
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Jul 23, 2017 5:37 pm    Post subject: Reply with quote

karl6994,

I've spent 18 months on 64 bit Gentoo on Raspberry Pi 3. Its difficult for me and I'm an experienced Gentoo user.

There are two problems.
Your lack of Gentoo knowledge. This means you won't spot things you can fix and things you can't.
The complexity of Gentoo. Gentoo is a set of tools you use to build your own distro, It exposes all the controls the binary distro hide, because they choose settings the settings you.
Think of it as Linux from Scratch with a package manager.
This complexity is compounded by arm64 being experimental, broken in parts, if you like.

I've been trying to encourage you to learn Gentoo on a well tested architecture, then transfer your skills.
That will still work.

Another thing that I've only touched on is the RAM and speed constraints of actually building things on a rasbberry pi.
distcc helps with that.

Using a prebuilt image actually works against the learning process as installing teaches you the skills you are lacking now.
_________________
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
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21489

PostPosted: Sun Jul 23, 2017 5:52 pm    Post subject: Reply with quote

NeddySeagoon wrote:
You are going to use that man page a lot but having just looked at it, I don't see a CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS section any more.
I do, in man 1 emerge, line 1260 (when formatted on a 80x24 xterm) with =sys-apps/portage-2.3.6. There are a lot of hits for configuration before that, though, so it's easy not to get there if you don't visit every single hit (or if you use the wrong amount of whitespace, it may skip the section entirely).

OP: assuming you are using an 80-column terminal, at a prompt, type: man 1 emerge
1260g
. The first is a command to your shell, which will open the manual page. The second is a command to the viewer. Assuming your viewer is less (this is default on desktops, but I don't know about exotic architectures), 1260g tells it to jump to line 1260. Further assuming you have the same manpage I do, that will take you to the section you need to read.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Jul 23, 2017 5:59 pm    Post subject: Reply with quote

Thanks Hu
_________________
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
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Sun Jul 23, 2017 7:06 pm    Post subject: Reply with quote

NeddySeagoon wrote:
Guys, this is Aarch64 also known as arm64, not amd64.

IOW, live ebuilds might be the only thing that works. Fair enough.

Karl, portage contains so-called "tested and testing" aka "stable and unstable" ebuilds. In General, one selects an archictecture with or without a tilde. In my case, I use the amd64 architecture and my selected profile, "default/linux/amd64/13.0/desktop", selects certain USE flags and variables including ACCEPT_KEYWORDS="amd64". Portage will only offer to update packages with the amd64 keyword. These are called "stable" ebuilds and on the kodi webpage I gave you before are indicated in Green.

More adventurous souls, add "ACCEPT_KEYWORDS="~amd64" to their make.conf file. Note the tilde. This tells portage to offer and accept packages that are marked with the ~amd64 keyword. These are the ebuilds marked in yellow on that webpage. An ~amd64 installation will also accept stable packages. The difference is that a standard profile will try to protect you from unstable (in the usual sense) packages that may cause you troubles. A live ebuild, indicated by version 9999, installs whatever is at the top of the package developers git tree. It may not even run. You are running bleeding edge and should keep your Blue Cross card handy. To run them you have to let portage know that you accept the risk by following the procedure in the other link I gave you. On an "bleeding edge architecture like pi3, you may need to run bleeding edge software, as NeddySeagoon reminded us.

Now, how does portage work? I doubt anyone but developer DOL-SEN really understands, but I'll tell you what I know.
An ebuild is a bash script for automated fetching, building, and installing a software package. "emerge" is a python program (actually a symbolic link) that reads and launches the ebuild provided on the command line. It quits with various error messages as circumstances require.

One of the environment variables specified in an ebuild is the keywords that are to be accepted. Live ebuilds don't accept any keywords, therefore a special procedure is needed to tell portage (emerge program) that it's all right, you really want to do this.
example:
Code:
X3 ~ # grep 9999 /etc/portage/package.unmask/monolithic
#=x11-wm/lumina-9999
#=sys-apps/busybox-9999
The whole file is too long to post here because I have many unmasked packages on that particular machine.
The lines are proceeded with a crosshatch making them a comment because I no longer run those live ebuilds. Instead of erasing those lines, I commented them out to make it easier to reinstall them. So, at one time I tried the live ebuild of window manager lumina. As it matured, I stuck with the numbered "unstable" version (upstream considers it stable). At one time (recently) I tried the upstream development version of busybox to solve a problem. It looks to be a hardware problem, so I reverted to the stable version of busybox, I don't really like experimenting with boot code unless it's to solve a problem.


So, now, as a general procedure, on ANY system, I would say "first clean up any known problems or errors". So, I would say first handle those 41 config files to put your system on a solid footing. Then, make sure that "emerge -puvND @world" does not indicate any problems. Fix those to put portage in a stable state. Finally, try to emerge kodi or some other package. Each step, we'll help you, but realize that many problems are very common so people here expect you to look the up and see how other people solved them first.
It's not like we're getting paid.

One final thought. The wiki unequivocally says dispatch-conf is easier than etc-update. I don't think so. I think dispatch-conf is practically incomprehensible. Your mileage may vary. Opinions are pretty split, see https://forums.gentoo.org/viewtopic-t-478783.html
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sun Jul 23, 2017 7:11 pm    Post subject: Reply with quote

karl wrote:
I've already spent all my free time this week reading Gentoo wikis & manpages, I guess I'm just too stupid.. I had this crazy assumption that I'd just be able to install programs normally like I can on every other Linux distro without having to worry about all of these weird commands and config files.. I shouldn't have to know everything there is about a distro just to make some simple programs work.

I'm afraid he is gone ... at least for now.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Sun Jul 23, 2017 7:22 pm    Post subject: Reply with quote

Jaglover wrote:
I'm afraid he is gone ... at least for now.


Yeah. he really didn't understand the difference between Gentoo/Arch/Funtoo/LFS and Debian/Ubuntu/Redhat.

Another soul lost to the dark side.

I'll bookmark my spiel to use again later.
Back to top
View user's profile Send private message
karl6994
n00b
n00b


Joined: 23 Jul 2017
Posts: 8
Location: Barrie Ontario

PostPosted: Tue Jul 25, 2017 7:08 pm    Post subject: Reply with quote

Tony0945 wrote:
Yeah. he really didn't understand the difference between Gentoo/Arch/Funtoo/LFS and Debian/Ubuntu/Redhat.


What? I don't understand how emerge works... I understand the difference between gentoo, arch, funtoo, LFS, debian, ubuntu, redhat.. I know what deb, rpm distros are..
I don't really want to be part of a community that verbally abuses people genuinely looking for help, looking to learn. Same goes for Arch forums, thankfully I have Manjaro. I couldn't make QTSIXA work on any Arch-based systems, apparently that's not a valid question either I guess, even though I explained I already tried several methods, including bluez-utils-compat..

I just wanted to get some simple programs installed so I can do what I need to do while learning. If that's too much to ask then fine, gentoo community is already small enough, go ahead & make it smaller by scaring everyone off with your elitist bullshit attitude.

[Moderator edit: changed bare double quotes to [quote] tags. -Hu]
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Jul 25, 2017 7:39 pm    Post subject: Reply with quote

karl6994,

Nothing on arm64 is simple. Its under heavy development. You don't have the skills to cope with that yet.
If you did, you would be posting about what you have done, the failure and the build log.

kodi is not keyworded on arm64, nor are 9 other packages it depends on.
I'm not counting packages that those 9 other packages in turn depend on.

A 64 bit install on a Raspberry is not an install to learn Gentoo on. I'll go further than that.
Any install you have not performed yourself is not an install to learn Gentoo on.

If you really want to learn, do a mainstream Gentoo install on an AMD/Intel system.
Its a well trodden path, you can be sure of lots of help when (not if) you mess up and you can be sure it works because lots of people use it.

For kodi on 64 bit Raspberry Pi, if the build fails, there are probably less than 10 people in Gentoo who can help.
There might only be one person that's actually done kodi on 64 bit Raspberry pi on Gentoo.

You already appear to be discouraged by the advice you receive. Maybe because you don't follow it?
Beginners start ---> here
_________________
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
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21489

PostPosted: Wed Jul 26, 2017 1:14 am    Post subject: Reply with quote

karl6994 wrote:
What are the forums for if you're going to just tell everyone to go read a manual??
Forums are to solve problems for which no manual exists. When you get a build failure, or output you cannot interpret, you ask on the forums. Someone explains it. When you get a problem for which the solution is in the manual, it makes more sense for us to point you to that manual so that you can read the canonical instructions for the issue at hand, rather than letting us paraphrase it or provide quotes from the manual. If you read the manual and it is still unclear, ask. Some people have trouble understanding the text in the manual. That is fine. We can help with that. No one wants to spend time restating what the manual says and rephrasing large sections of it in the hope that they solve a problem you have not adequately described.

In this case, the output you showed indicates that there is pending work you need to resolve before you try to do anything new. Pushing on without resolving it may dig you a deeper hole.
karl6994 wrote:
What? I don't understand how emerge works... I understand the difference between gentoo, arch, funtoo, LFS, debian, ubuntu, redhat.. I know what deb, rpm distros are..
If you do not understand the tools of the system, and you choose not to learn those tools, you will always be at a disadvantage.
karl6994 wrote:
I don't really want to be part of a community that verbally abuses people genuinely looking for help, looking to learn.
That is a somewhat serious allegation, so I reread earlier posts in this thread to try to identify such abuse. I do not see it. If you feel you have a grievance with someone here, please articulate it specifically.
karl6994 wrote:
I just wanted to get some simple programs installed so I can do what I need to do while learning. If that's too much to ask then fine, gentoo community is already small enough, go ahead & make it smaller by scaring everyone off with your elitist bullshit attitude.
As several others have stated, and I will reiterate here, you picked a terrible place to start. In aquatic terms, you tried to start with deep-sea diving, completely bypassing learning to swim in a pool.

Since you are reluctant to read the documentation, I will rephrase one thing Neddy said immediately above me. His message makes sense as-is if you know Gentoo terminology, but since you are reluctant, you might not understand the full impact of what he said.
NeddySeagoon wrote:
kodi is not keyworded on arm64
This means that the maintainers for kodi have not reached the point that they are comfortable inviting power users to run Kodi on arm64. karl6994, do you feel adventurous enough to try to use it despite this warning?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures 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