[gentoo-user] Re: go to a no-x console from failed X + lxde install

2016-12-10 Thread Harry Putnam
Neil Bothwick  writes:

> On Sat, 10 Dec 2016 00:17:13 -0500, Harry Putnam wrote:
>
>> > Instead of setting USE=-gtk in your `/etc/portage/make.conf` try
>> > setting `sys-auth/consolekit-1.1.0-r1 -gtk` in
>> > `/etc/portage/package.use/polkit`  
>> 
>> I guessed you meant to say polkit  so:
>> root # cat /etc/portage/package.use/polkit
>>   sys-auth/polkit-0.113-r -gtk
>> 
>> And boy did those changes you've been posting really make a difference
>
> Stop messing arund with package.use, trying to turn the flag off one
> package at a time. Either use the default/linux/x86/13.0 profile, which
> has a bare minimum set of USE flags set, or set -gtk in make.conf.
>
> The developer profiles are for Gentoo developers and set options for
> those creating ebuilds, you don't need that, use the base profile only.

Made that change soon as Andre and Dale spoke up.

Thanks for the tips and commentary about profiles... good to know.

Maybe you missed this from back up the thread:

Harry wrote:
> Also, I thought it might help to stick a use flag of `-gtk' in
> make.conf. But when I did that just now as an experiment instead of
> the output below I got a huge list of x11- pkgs to be installed.
> Now changed back I get the output below.

But that was before setting the profile to:
[...]/default/linux/x86/13.0
as suggested by several posters now.

Now under the new profile what you suggest... removing the polkit -gtk
from /etc/portage/package.use and putting `-gtk' in make.conf had a
good effect on emerge -vuNDp world.

Thanks for bringing it backup... made difference under the proper
profile.





Re: [gentoo-user] Re: go to a no-x console from failed X + lxde install

2016-12-10 Thread Neil Bothwick
On Sat, 10 Dec 2016 00:17:13 -0500, Harry Putnam wrote:

> > Instead of setting USE=-gtk in your `/etc/portage/make.conf` try
> > setting `sys-auth/consolekit-1.1.0-r1 -gtk` in
> > `/etc/portage/package.use/polkit`  
> 
> I guessed you meant to say polkit  so:
> root # cat /etc/portage/package.use/polkit
>   sys-auth/polkit-0.113-r -gtk
> 
> And boy did those changes you've been posting really make a difference

Stop messing arund with package.use, trying to turn the flag off one
package at a time. Either use the default/linux/x86/13.0 profile, which
has a bare minimum set of USE flags set, or set -gtk in make.conf.

The developer profiles are for Gentoo developers and set options for
those creating ebuilds, you don't need that, use the base profile only.

There used to be a server profile but it was dropped in favour of using
the base profile and adding the relevant flags for the type of server you
are using. "Server" is to vague a description for a single profile.


-- 
Neil Bothwick

Deja Foobar: A feeling of having made the same mistake before.


pgpZu4NjpLGlo.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: go to a no-x console from failed X + lxde install

2016-12-09 Thread Dale
Dale wrote:
>
> The way to read that above is this.  The package at the top,
> virtual/ssh, is pulling in pciutils, libudev and eudev.  Note how it is
> indented.  After that, sys-fs/udev-init-scripts is pulling in udev,
> eudev and on down the list.  So, if you want to know what is pulling in
> shared-mime-info, it would be glib which is right above it.  In this
> case, you can see mime as a USE flag.  It may be that you can turn that
> off.  You may can do it for just that one package or you may have to
> globally.  Everyone has a different way to tackle that.  Just pick
> whatever works for you.  Personally, I try to go global when I can.  On
> occasion tho, I do packages separately.  Just keep in mind, sometimes
> you can have several packages pulling in another package.  At times, it
> can get pretty deep. 
>
> If you have colors turned on, watch those.  The colors can sort of point
> out the problem sometimes too. 
>
> And nomerge means it is already installed and there is no changes, it
> won't recompile it or anything.  It is just showing you what is pulling
> in what.  Also, if you are using -a and say yes, it runs that list
> backwards if I recall correctly. 
>
> Maybe that will get you a little bit further.  ;-) 
>
> Dale
>
> :-)  :-) 
>

I forgot to add this little tidbit. 

root@fireball / # euse -i mime
global use flags (searching: mime)

[-  ] mime - Add MIME support

local use flags (searching: mime)

[-  ] mime
dev-libs/glib: Pull in shared MIME database that many glib-based
applications require at runtime to detect or open files. Warning: do
not disable this flag unless installing on a headless server.
  (1) 1.2.10-r6 [gentoo]
[+ B] (2) 2.44.1-r1 [gentoo]
[+ B] (2) 2.46.2-r3 [gentoo]
[+ B] (2) 2.48.2 [gentoo]
[+ B] (2) 2.50.0 [gentoo]
[+ B] (2) 2.50.1 [gentoo]
[+ B] (2) 2.50.2 [gentoo]

root@fireball / #

So, unless you are running a headless server, you may want to give
disabling that a good thinking over. 

Dale

:-)  :-)



Re: [gentoo-user] Re: go to a no-x console from failed X + lxde install

2016-12-09 Thread Dale
Harry Putnam wrote:
> Andrej Rode  writes:
>
>> Hi,
>>
>>> (dependency required by "gnome-extra/polkit-gnome-0.105-r1::gentoo" 
>>> [installed])
>>> (dependency required by "sys-auth/polkit-0.113-r1::gentoo[gtk]" [installed])
>>> (dependency required by "sys-auth/consolekit-1.1.0-r1::gentoo[policykit]" 
>>> [installed])
>>> (dependency required by "sys-auth/pambase-20150213::gentoo[consolekit]" 
>>> [installed])
>>> (dependency required by "net-misc/openssh-7.3_p1-r8::gentoo[pam]" [ebuild])
>>> (dependency required by "virtual/ssh-0::gentoo[-minimal]" [installed])
>>> (dependency required by "@system" [set])
>>> (dependency required by "@world" [argument])
>>> These are the packages that would be merged, in order:
>> This output now shows us that `> (dependency required by
>> "sys-auth/polkit-0.113-r1::gentoo[gtk]" [installed])` polkit has the gtk
>> useflag and therefore it tries to build `polkit-gnome` which in fact
>> requires gtk.
>>
>> Instead of setting USE=-gtk in your `/etc/portage/make.conf` try setting
>> `sys-auth/consolekit-1.1.0-r1 -gtk` in `/etc/portage/package.use/polkit`
> I guessed you meant to say polkit  so:
> root # cat /etc/portage/package.use/polkit
>   sys-auth/polkit-0.113-r -gtk
>
> And boy did those changes you've been posting really make a difference
>
> I have a nice hefty list of nearly all non-x stuff ...
>
> One item puzzles me a bit:
>
>   [ebuild  N ] x11-misc/shared-mime-info-1.7::gentoo  USE="{-test}" 0 KiB
>
> Using Dales suggestion of --tree I see a whole list of stuff pulling
> that in.  The closest culprit seems to be:
>   dev-libs/glib-2.50.2:[...] USE+"mime [...]"
>   
>   But maybe `shared-mime-info' is something one might use reading mail
>   or such?
>   
> I guess the `nomerge' part means its already installed?
>
> Its a bit confusing seeing what is actually doing the pulling:
> Is it `virtual/ssh-0'
>
> [ebuild   R] virtual/ssh-0::gentoo  USE="minimal*" 0 KiB
> [nomerge   ] sys-apps/pciutils-3.5.2::gentoo  USE="kmod [...]
> [nomerge   ]  virtual/libudev-232:0/1::gentoo  USE="-static-libs[...]
> [ebuild   R]   sys-fs/eudev-3.2::gentoo  USE="hwdb kmod [...]
> [nomerge   ] sys-fs/udev-init-scripts-32::gentoo
> [nomerge   ]  virtual/udev-217::gentoo  USE="-systemd"
> [nomerge   ]   sys-fs/eudev-3.2::gentoo  USE="hwdb kmod [...]
> [nomerge   ]virtual/pkgconfig-0-r1::gentoo
> [nomerge   ] dev-util/pkgconfig-0.29.1::gentoo  USE="-hardened [...]
> [nomerge   ]  dev-libs/glib-2.50.2:2::gentoo  USE="mime xattr [...]
> [ebuild  N ]   x11-misc/shared-mime-info-1.7::gentoo  
> USE="{-test}"[...]
>
>
> Thanks for the help and the url pointers I snipped.
>

The way to read that above is this.  The package at the top,
virtual/ssh, is pulling in pciutils, libudev and eudev.  Note how it is
indented.  After that, sys-fs/udev-init-scripts is pulling in udev,
eudev and on down the list.  So, if you want to know what is pulling in
shared-mime-info, it would be glib which is right above it.  In this
case, you can see mime as a USE flag.  It may be that you can turn that
off.  You may can do it for just that one package or you may have to
globally.  Everyone has a different way to tackle that.  Just pick
whatever works for you.  Personally, I try to go global when I can.  On
occasion tho, I do packages separately.  Just keep in mind, sometimes
you can have several packages pulling in another package.  At times, it
can get pretty deep. 

If you have colors turned on, watch those.  The colors can sort of point
out the problem sometimes too. 

And nomerge means it is already installed and there is no changes, it
won't recompile it or anything.  It is just showing you what is pulling
in what.  Also, if you are using -a and say yes, it runs that list
backwards if I recall correctly. 

Maybe that will get you a little bit further.  ;-) 

Dale

:-)  :-) 



Re: [gentoo-user] Re: go to a no-x console from failed X + lxde install

2016-12-09 Thread Dale
Andrej Rode wrote:
>> EMERGE_DEFAULT_OPTS="--with-bdeps y --backtrack=100 --keep-going -v -j8
>> --quiet-build=n -1" 
> Hm, backtrack and -1 seem reasonable, I guess I'll update my default
> conf! Thanks
>

Welcome.  That has been there so long, I don't even remember what it
does now.   :/


>> Alan and Neil has a amazing ability to decrypt the output of emerge. 
>> Sometimes I have to post and wait for one of them.  I'm getting better
>> at it.  I figure by the time I get as good as Alan and Neil, they will
>> change the way it spits out data and we will all have to learn it
>> again.   lol 
> As I said you have to know what to look for. And I don't think libraries
> and USE flags will change too quickly so we should be able to keep up ;)
>
> Cheers,
> Andrej
>

Yea, one thing I have learned, read it backwards.  Start at the bottom
and work your way back up.  A lot of times, that helps. 

Still, once a lot of us get it, some dev will change it, hopefully for
the better.  ;-) 

Dale

:-)  :-) 



[gentoo-user] Re: go to a no-x console from failed X + lxde install

2016-12-09 Thread Harry Putnam
Andrej Rode  writes:

> Hi,
>
>> (dependency required by "gnome-extra/polkit-gnome-0.105-r1::gentoo" 
>> [installed])
>> (dependency required by "sys-auth/polkit-0.113-r1::gentoo[gtk]" [installed])
>> (dependency required by "sys-auth/consolekit-1.1.0-r1::gentoo[policykit]" 
>> [installed])
>> (dependency required by "sys-auth/pambase-20150213::gentoo[consolekit]" 
>> [installed])
>> (dependency required by "net-misc/openssh-7.3_p1-r8::gentoo[pam]" [ebuild])
>> (dependency required by "virtual/ssh-0::gentoo[-minimal]" [installed])
>> (dependency required by "@system" [set])
>> (dependency required by "@world" [argument])
>> These are the packages that would be merged, in order:
>
> This output now shows us that `> (dependency required by
> "sys-auth/polkit-0.113-r1::gentoo[gtk]" [installed])` polkit has the gtk
> useflag and therefore it tries to build `polkit-gnome` which in fact
> requires gtk.
>
> Instead of setting USE=-gtk in your `/etc/portage/make.conf` try setting
> `sys-auth/consolekit-1.1.0-r1 -gtk` in `/etc/portage/package.use/polkit`

I guessed you meant to say polkit  so:
root # cat /etc/portage/package.use/polkit
  sys-auth/polkit-0.113-r -gtk

And boy did those changes you've been posting really make a difference

I have a nice hefty list of nearly all non-x stuff ...

One item puzzles me a bit:

  [ebuild  N ] x11-misc/shared-mime-info-1.7::gentoo  USE="{-test}" 0 KiB

Using Dales suggestion of --tree I see a whole list of stuff pulling
that in.  The closest culprit seems to be:
  dev-libs/glib-2.50.2:[...] USE+"mime [...]"
  
  But maybe `shared-mime-info' is something one might use reading mail
  or such?
  
I guess the `nomerge' part means its already installed?

Its a bit confusing seeing what is actually doing the pulling:
Is it `virtual/ssh-0'

[ebuild   R] virtual/ssh-0::gentoo  USE="minimal*" 0 KiB
[nomerge   ] sys-apps/pciutils-3.5.2::gentoo  USE="kmod [...]
[nomerge   ]  virtual/libudev-232:0/1::gentoo  USE="-static-libs[...]
[ebuild   R]   sys-fs/eudev-3.2::gentoo  USE="hwdb kmod [...]
[nomerge   ] sys-fs/udev-init-scripts-32::gentoo
[nomerge   ]  virtual/udev-217::gentoo  USE="-systemd"
[nomerge   ]   sys-fs/eudev-3.2::gentoo  USE="hwdb kmod [...]
[nomerge   ]virtual/pkgconfig-0-r1::gentoo
[nomerge   ] dev-util/pkgconfig-0.29.1::gentoo  USE="-hardened [...]
[nomerge   ]  dev-libs/glib-2.50.2:2::gentoo  USE="mime xattr [...]
[ebuild  N ]   x11-misc/shared-mime-info-1.7::gentoo  USE="{-test}"[...]


Thanks for the help and the url pointers I snipped.




Re: [gentoo-user] Re: go to a no-x console from failed X + lxde install

2016-12-09 Thread Andrej Rode

> EMERGE_DEFAULT_OPTS="--with-bdeps y --backtrack=100 --keep-going -v -j8
> --quiet-build=n -1" 

Hm, backtrack and -1 seem reasonable, I guess I'll update my default
conf! Thanks

> 
> Alan and Neil has a amazing ability to decrypt the output of emerge. 
> Sometimes I have to post and wait for one of them.  I'm getting better
> at it.  I figure by the time I get as good as Alan and Neil, they will
> change the way it spits out data and we will all have to learn it
> again.   lol 

As I said you have to know what to look for. And I don't think libraries
and USE flags will change too quickly so we should be able to keep up ;)

Cheers,
Andrej



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: go to a no-x console from failed X + lxde install

2016-12-09 Thread Dale
Andrej Rode wrote:
> Hi,
>
>> I see in that list that polkit has the gtk USE flag.  That could be some
>> of the problem.  What I usually do, I add the -t option and it lists the
>> packages in a way that shows what is pulling in what.  Sometimes, the
>> only way to make sense of the portage output is to see how portage got
>> to the output it gives.  If I recall correctly, I think it lists them
>> backwards.  It should tell you if it does.  It's been a while since I've
>> had to do that. 
> What helped me alot to start out with portage/emerge is a line like:
> `EMERGE_DEFAULT_OPTS="--ask --ask-enter-invalid --keep-going --verbose
> --tree --jobs 10 --quiet-build --buildpkg --usepkg`
>
> You shouldn't be copying this line blindly into your
> `/etc/portage/make.conf` but see if you like to have some of these
> options always enabled when you call emerge and add them to your config. ;)
> Especially quiet-build lets you keep track of what portage is actually
> doing right now.
>
> Cheers,
> Andrej
>

This is my settings:

EMERGE_DEFAULT_OPTS="--with-bdeps y --backtrack=100 --keep-going -v -j8
--quiet-build=n -1" 

I been using Gentoo for well over a decade.  Over the years, I found
settings that work with few problems and when I do have a problem, I can
figure it out, generally.  I may have to add -t at times but generally,
it just works.  It's been a while since I had to change those.  The last
change was increasing the backtrack.  I used to have it set to 30 but on
occasion, it just didn't allow portage to dig deep enough.  Setting it
to 100 seems to have fixed that. 

Alan and Neil has a amazing ability to decrypt the output of emerge. 
Sometimes I have to post and wait for one of them.  I'm getting better
at it.  I figure by the time I get as good as Alan and Neil, they will
change the way it spits out data and we will all have to learn it
again.   lol 

Dale 

:-)  :-) 



Re: [gentoo-user] Re: go to a no-x console from failed X + lxde install

2016-12-09 Thread Andrej Rode
Hi,

> I see in that list that polkit has the gtk USE flag.  That could be some
> of the problem.  What I usually do, I add the -t option and it lists the
> packages in a way that shows what is pulling in what.  Sometimes, the
> only way to make sense of the portage output is to see how portage got
> to the output it gives.  If I recall correctly, I think it lists them
> backwards.  It should tell you if it does.  It's been a while since I've
> had to do that. 

What helped me alot to start out with portage/emerge is a line like:
`EMERGE_DEFAULT_OPTS="--ask --ask-enter-invalid --keep-going --verbose
--tree --jobs 10 --quiet-build --buildpkg --usepkg`

You shouldn't be copying this line blindly into your
`/etc/portage/make.conf` but see if you like to have some of these
options always enabled when you call emerge and add them to your config. ;)
Especially quiet-build lets you keep track of what portage is actually
doing right now.

Cheers,
Andrej




Re: [gentoo-user] Re: go to a no-x console from failed X + lxde install

2016-12-09 Thread Dale
Harry Putnam wrote:
> Andrej Rode  writes:
>
>> Hi Harry,
>>
>> On 09/12/16 18:23, Harry Putnam wrote:
>>> # required by x11-libs/gtk+-2.24.31-r1::gentoo
>>> # required by x11-libs/gtksourceview-2.10.5-r3::gentoo
>>> # required by dev-python/pygtksourceview-2.10.1-r1::gentoo
>>> # required by dev-vcs/git-2.11.0::gentoo[python,gtk]
>> This tells me that you may have the gtk use flag for git set. Try to
>> unset it and rerun emerge.
> Yup, there was and must still be for some other things because the
> changes after both the moves you suggested, running
> emerge -vuDNp world was a few lines less output... but otherwise
> pretty much the same. (posted at the end) 
>
> cat /etc/portage/package.use/git
> dev-vcs/git -gtk -webdav
>
>> Also set your profile `eselect profile {set,list}` to a non-desktop
>> version. This should configure your base system not to use X.
>> Keep track if anything else in your package.use contains gtk.
> I did look at doing that very thing before posting OP but I had a hard
> time figuring out what to pick.
>
> I went ahead and set [...]/defauilt/linux/x86/13.0/developer
>
> Even though I am a very far cry from that lofty status.  Am I creating
> more problems with that?  Does that setting also hark of X
>
> There aren't that many that aren't desktop related or selenix or
> hardened or something else like uclibc or musl.. that I don't know
> anything about.
>
> Maybe the very first choice would be better:
>   [1]   default/linux/x86/13.0
>   

For a server setup with no GUI, that would be my pick.  I think that is
about as minimal as you can get.  The developer profile may not be what
you think. 


> Seems like that might expect X as well
> I expected to find a choice of `server' but don't see that.
>
>
> Even with the leg up you gave me, I'm still not real sure what the output
> is telling me:
>
> Like where it says something is required by an x11- pkg .. well those
> are all unmerged.
>
> Or the chunk at the bottom listing quite a few non-X pkgs but saying:
>
> (dependency required by "net-misc/openssh-7.3_p1-r8::gentoo[pam]" [ebuild])
>
>What dependancy.. use use flag of X?
>
> Also, I thought it might help to stick a use flag of `-gtk' in
> make.conf. But when I did that just now as an experiment instead of
> the output below I got a huge list of x11- pkgs to be installed.
> Now changed back I get the output below.
>
> ---   ---   ---=---   ---   --- 
> emerge -vuNDp
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
>
> The following USE changes are necessary to proceed:
>  (see "package.use" in the portage(5) man page for more details)
> # required by x11-libs/gtk+-2.24.31-r1::gentoo
> # required by x11-themes/gtk-engines-adwaita-3.20.2::gentoo
>> =x11-libs/cairo-1.14.6 X
> # required by x11-libs/gtk+-2.24.31-r1::gentoo
> # required by x11-themes/gtk-engines-adwaita-3.20.2::gentoo
>> =x11-libs/gdk-pixbuf-2.36.0 X
> !!! The ebuild selected to satisfy "x11-libs/gtk+:3" has unmet requirements.
> - x11-libs/gtk+-3.22.4::gentoo USE="introspection -X (-aqua) -broadway 
> -cloudprint -colord -cups -examples -test -vim-syntax -wayland -xinerama"
>
>   The following REQUIRED_USE flag constraints are unsatisfied:
> any-of ( aqua wayland X )
>
>   The above constraints are a subset of the following complete expression:
> any-of ( aqua wayland X ) xinerama? ( X )
>
> (dependency required by "gnome-extra/polkit-gnome-0.105-r1::gentoo" 
> [installed])
> (dependency required by "sys-auth/polkit-0.113-r1::gentoo[gtk]" [installed])
> (dependency required by "sys-auth/consolekit-1.1.0-r1::gentoo[policykit]" 
> [installed])
> (dependency required by "sys-auth/pambase-20150213::gentoo[consolekit]" 
> [installed])
> (dependency required by "net-misc/openssh-7.3_p1-r8::gentoo[pam]" [ebuild])
> (dependency required by "virtual/ssh-0::gentoo[-minimal]" [installed])
> (dependency required by "@system" [set])
> (dependency required by "@world" [argument])
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
>
> The following USE changes are necessary to proceed:
>  (see "package.use" in the portage(5) man page for more details)
> # required by x11-libs/gtk+-2.24.31-r1::gentoo
> # required by x11-themes/gtk-engines-adwaita-3.20.2::gentoo
>> =x11-libs/cairo-1.14.6 X
> # required by x11-libs/gtk+-2.24.31-r1::gentoo
> # required by x11-themes/gtk-engines-adwaita-3.20.2::gentoo
>> =x11-libs/gdk-pixbuf-2.36.0 X
> !!! The ebuild selected to satisfy "x11-libs/gtk+:3" has unmet requirements.
> - x11-libs/gtk+-3.22.4::gentoo USE="introspection -X (-aqua) -broadway 
> -cloudprint -colord -cups -examples -test -vim-syntax -wayland -xinerama"
>
>   The following REQUIRED_USE flag constraints are unsatisfied:
> any-of ( aqua wayland X )
>
>   The above constraints are a subset of the following complete expression:
> any-of ( aqua wayland X ) xinerama? ( X )
>

Re: [gentoo-user] Re: go to a no-x console from failed X + lxde install

2016-12-09 Thread Andrej Rode
Hi,

> (dependency required by "gnome-extra/polkit-gnome-0.105-r1::gentoo" 
> [installed])
> (dependency required by "sys-auth/polkit-0.113-r1::gentoo[gtk]" [installed])
> (dependency required by "sys-auth/consolekit-1.1.0-r1::gentoo[policykit]" 
> [installed])
> (dependency required by "sys-auth/pambase-20150213::gentoo[consolekit]" 
> [installed])
> (dependency required by "net-misc/openssh-7.3_p1-r8::gentoo[pam]" [ebuild])
> (dependency required by "virtual/ssh-0::gentoo[-minimal]" [installed])
> (dependency required by "@system" [set])
> (dependency required by "@world" [argument])
> These are the packages that would be merged, in order:

This output now shows us that `> (dependency required by
"sys-auth/polkit-0.113-r1::gentoo[gtk]" [installed])` polkit has the gtk
useflag and therefore it tries to build `polkit-gnome` which in fact
requires gtk.

Instead of setting USE=-gtk in your `/etc/portage/make.conf` try setting
`sys-auth/consolekit-1.1.0-r1 -gtk` in `/etc/portage/package.use/polkit`

Then rerun emerge and see if it craps up again. You have to read those
prints often enough to quickly identify things that are causing
problems. Just go from the bottom to the top of the dependency list and
look if everything on each line looks sane to you.

`[1]   default/linux/x86/13.0` as a profile without X is about right.
And installing this profile means you get a system up and running
without unnecessary stuff ;)

You should definitively take a look at [0] and other pages in the Gentoo
Handbook regarding portage and its prints on stdout.

Cheers,
Andrej

[0] https://wiki.gentoo.org/wiki/Gentoo_Cheat_Sheet



[gentoo-user] Re: go to a no-x console from failed X + lxde install

2016-12-09 Thread Harry Putnam
Andrej Rode  writes:

> Hi Harry,
>
> On 09/12/16 18:23, Harry Putnam wrote:
>> # required by x11-libs/gtk+-2.24.31-r1::gentoo
>> # required by x11-libs/gtksourceview-2.10.5-r3::gentoo
>> # required by dev-python/pygtksourceview-2.10.1-r1::gentoo
>> # required by dev-vcs/git-2.11.0::gentoo[python,gtk]
>
> This tells me that you may have the gtk use flag for git set. Try to
> unset it and rerun emerge.

Yup, there was and must still be for some other things because the
changes after both the moves you suggested, running
emerge -vuDNp world was a few lines less output... but otherwise
pretty much the same. (posted at the end) 

cat /etc/portage/package.use/git
dev-vcs/git -gtk -webdav

> Also set your profile `eselect profile {set,list}` to a non-desktop
> version. This should configure your base system not to use X.
> Keep track if anything else in your package.use contains gtk.

I did look at doing that very thing before posting OP but I had a hard
time figuring out what to pick.

I went ahead and set [...]/defauilt/linux/x86/13.0/developer

Even though I am a very far cry from that lofty status.  Am I creating
more problems with that?  Does that setting also hark of X

There aren't that many that aren't desktop related or selenix or
hardened or something else like uclibc or musl.. that I don't know
anything about.

Maybe the very first choice would be better:
  [1]   default/linux/x86/13.0
  
Seems like that might expect X as well
I expected to find a choice of `server' but don't see that.


Even with the leg up you gave me, I'm still not real sure what the output
is telling me:

Like where it says something is required by an x11- pkg .. well those
are all unmerged.

Or the chunk at the bottom listing quite a few non-X pkgs but saying:

(dependency required by "net-misc/openssh-7.3_p1-r8::gentoo[pam]" [ebuild])

   What dependancy.. use use flag of X?

Also, I thought it might help to stick a use flag of `-gtk' in
make.conf. But when I did that just now as an experiment instead of
the output below I got a huge list of x11- pkgs to be installed.
Now changed back I get the output below.

---   ---   ---=---   ---   --- 
emerge -vuNDp

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

Calculating dependencies... done!

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by x11-libs/gtk+-2.24.31-r1::gentoo
# required by x11-themes/gtk-engines-adwaita-3.20.2::gentoo
>=x11-libs/cairo-1.14.6 X
# required by x11-libs/gtk+-2.24.31-r1::gentoo
# required by x11-themes/gtk-engines-adwaita-3.20.2::gentoo
>=x11-libs/gdk-pixbuf-2.36.0 X

!!! The ebuild selected to satisfy "x11-libs/gtk+:3" has unmet requirements.
- x11-libs/gtk+-3.22.4::gentoo USE="introspection -X (-aqua) -broadway 
-cloudprint -colord -cups -examples -test -vim-syntax -wayland -xinerama"

  The following REQUIRED_USE flag constraints are unsatisfied:
any-of ( aqua wayland X )

  The above constraints are a subset of the following complete expression:
any-of ( aqua wayland X ) xinerama? ( X )

(dependency required by "gnome-extra/polkit-gnome-0.105-r1::gentoo" [installed])
(dependency required by "sys-auth/polkit-0.113-r1::gentoo[gtk]" [installed])
(dependency required by "sys-auth/consolekit-1.1.0-r1::gentoo[policykit]" 
[installed])
(dependency required by "sys-auth/pambase-20150213::gentoo[consolekit]" 
[installed])
(dependency required by "net-misc/openssh-7.3_p1-r8::gentoo[pam]" [ebuild])
(dependency required by "virtual/ssh-0::gentoo[-minimal]" [installed])
(dependency required by "@system" [set])
(dependency required by "@world" [argument])
These are the packages that would be merged, in order:

Calculating dependencies... done!

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by x11-libs/gtk+-2.24.31-r1::gentoo
# required by x11-themes/gtk-engines-adwaita-3.20.2::gentoo
>=x11-libs/cairo-1.14.6 X
# required by x11-libs/gtk+-2.24.31-r1::gentoo
# required by x11-themes/gtk-engines-adwaita-3.20.2::gentoo
>=x11-libs/gdk-pixbuf-2.36.0 X

!!! The ebuild selected to satisfy "x11-libs/gtk+:3" has unmet requirements.
- x11-libs/gtk+-3.22.4::gentoo USE="introspection -X (-aqua) -broadway 
-cloudprint -colord -cups -examples -test -vim-syntax -wayland -xinerama"

  The following REQUIRED_USE flag constraints are unsatisfied:
any-of ( aqua wayland X )

  The above constraints are a subset of the following complete expression:
any-of ( aqua wayland X ) xinerama? ( X )

(dependency required by "gnome-extra/polkit-gnome-0.105-r1::gentoo" [installed])
(dependency required by "sys-auth/polkit-0.113-r1::gentoo[gtk]" [installed])
(dependency required by "sys-auth/consolekit-1.1.0-r1::gentoo[policykit]" 
[installed])
(dependency required by "sys-auth/pambase-20150213::gentoo[consolekit]" 
[installed])
(dependency required by