Re: [gentoo-user] Virtualbox documentation

2016-12-09 Thread Neil Bothwick
On Fri, 09 Dec 2016 06:12:03 +, J. Roeleveld wrote:

> >VirtualBox is a Qt app and *requires* Qt to get a GUI. There is no
> >option for GTK
> >
> >USE="qt4"
> >or in more recent versions ebuilds (or ~arch)
> >USE="qt5"
> >as appropriate  
> 
> USE="-qt4" means qt5 I think.

The ebuild for VB4 builds it headless with -qt4. There is no choice of
qt4 or qt5, it's qt or headless, only the version of qt used varies
between VB releases.


-- 
Neil Bothwick

Software: (n.) That which hardware manufacturers can blame for physical
failures.


pgp0NdTMlq_z8.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Brother Printer

2016-12-09 Thread siefke_lis...@web.de
On Thu, 8 Dec 2016 22:02:51 +0100
Bertram Scharpf  wrote:

> I have a Brother MFC 7420. Yet, it's not connected to my
> Gentoo but to a FreeBSD box. There, I completely ignored the

Really on FreeBSD? Wow a few years ago I work with FreeBSD and
on mailinglist they not could help to become running. That's 
why I going to Gentoo. 

> recommended drivers. I configured lpd (/etc/printcap) to
> first pipe the PostScript/PDF documents through a
> Ghostscript command. The only real problem was to find the
> proper device driver (ljet2p).
> 
>   gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ljet2p -r600 
> -sOutputFile=- -
> 
> Then I wrap around this a simple self-written PJL frame.
> 
> For about 8 years, though not printing too much, I never had
> any problem.
> 
> You can have my PJL generator if you want (It's in Ruby).

Yes thanks if you like to share. 

Silvio
-- 
Silvio Siefke 


pgp30wB8Rsqtc.pgp
Description: PGP signature


Re: [gentoo-user] Brother Printer

2016-12-09 Thread siefke_lis...@web.de
On Thu, 8 Dec 2016 12:40:46 -0800
Daniel Frey  wrote:

> I am pretty sure the Brother drivers are in a compiled format (you don't 
> compile them when you install them) so it will require multilib. No way 
> around this unless Brother has no-multilib drivers on their website 
> (unlikely.)

That's clear extract the deb file and moved cp -rv usr/ / and so on. 
This all do, I saw brother overlay and from there I saw multilib need
to be activated. 

So I think must search a printer / scanner / fax with make the job without
any needs of driver. Postscript I think will be find and when saw forum of
Linux Users then should buy a HP. 

Silvio
-- 
Silvio Siefke 


pgpux177eCIo4.pgp
Description: PGP signature


Re: [gentoo-user] Brother Printer

2016-12-09 Thread Ian Bloss
You could try running a 32bit chroot. This is how I deal with steam
https://wiki.gentoo.org/wiki/Steam#Chroot

On Fri, Dec 9, 2016, 02:21 siefke_lis...@web.de 
wrote:

> On Thu, 8 Dec 2016 12:40:46 -0800
> Daniel Frey  wrote:
>
> > I am pretty sure the Brother drivers are in a compiled format (you don't
> > compile them when you install them) so it will require multilib. No way
> > around this unless Brother has no-multilib drivers on their website
> > (unlikely.)
>
> That's clear extract the deb file and moved cp -rv usr/ / and so on.
> This all do, I saw brother overlay and from there I saw multilib need
> to be activated.
>
> So I think must search a printer / scanner / fax with make the job without
> any needs of driver. Postscript I think will be find and when saw forum of
> Linux Users then should buy a HP.
>
> Silvio
> --
> Silvio Siefke 
>


[gentoo-user] Re: newish vbox gentoo guest crashes from startx

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

> [ebuild R ] x11-base/xorg-server-1.18.4:0/1.18.4::gentoo USE="doc
> glamor suid udev xorg -dmx -ipv6 -kdrive -libressl -minimal (-selinux)
> -static-libs -systemd -tslib -unwind -wayland -xephyr -xnest -xvfb" 0
> KiB
> [ebuild   R] x11-drivers/xf86-input-mouse-1.9.2::gentoo  0 KiB
> [ebuild R ] x11-drivers/xf86-video-virtualbox-5.1.10::gentoo USE="dri"
> PYTHON_TARGETS="python2_7" 0 KiB
> [ebuild   R] x11-drivers/xf86-input-evdev-2.10.4::gentoo  0 KiB
> [ebuild   R] x11-drivers/xf86-input-keyboard-1.9.0::gentoo  0 KiB
>
> I'm proceeding with those rebuilds now.

As posted previously there was no change in behavior following above
activity still `startlxde' gets no response, just a returned prompt
after a very brief pause (maybe 1.5 sec).

startx still causes a full bodied crash.

Further... sometimes a feeze happens when none of the logins are
active.  Can't tell what activity brings it about.

So, I'm guessing there is some underlying problem that has yet to be
uncovered.  I'm mostly out of ideas.

Still hoping someone will have some notions about how to further
diagnose this install.  I'm checking logs and watching behavior.  I'll
keep the install as command line only for mail for now...







Re: [gentoo-user] Brother Printer

2016-12-09 Thread Bertram Scharpf
On Friday, 09. Dec 2016, 11:16:18 +0100, siefke_lis...@web.de wrote:
> On Thu, 8 Dec 2016 22:02:51 +0100
> Bertram Scharpf  wrote:
> 
> > I have a Brother MFC 7420. Yet, it's not connected to my
> > Gentoo but to a FreeBSD box. There, I completely ignored the
> > recommended drivers. I configured lpd (/etc/printcap) to
> > first pipe the PostScript/PDF documents through a
> > Ghostscript command.
> > 
> > Then I wrap around this a simple self-written PJL frame.
> > 
> > You can have my PJL generator if you want (It's in Ruby).
> 
> Yes thanks if you like to share. 

Say something like

  $ sudo gem install pjl

or first examine it on .

There's a small dependency on a gem "appl" that's also
available on RubyGems and on my Github page.

However, to the present day I did not manage to make the
scanner work on FreeBSD. I plug it into a Linux machine
before I scan.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Virtualbox documentation

2016-12-09 Thread Fernando Rodriguez
On 12/09/2016 03:50 AM, Neil Bothwick wrote:
> On Fri, 09 Dec 2016 06:12:03 +, J. Roeleveld wrote:
> 
>>> VirtualBox is a Qt app and *requires* Qt to get a GUI. There is no
>>> option for GTK
>>>
>>> USE="qt4"
>>> or in more recent versions ebuilds (or ~arch)
>>> USE="qt5"
>>> as appropriate  
>>
>> USE="-qt4" means qt5 I think.
> 
> The ebuild for VB4 builds it headless with -qt4. There is no choice of
> qt4 or qt5, it's qt or headless, only the version of qt used varies
> between VB releases.

Yep. And it's a bit confusing cause you have the headless use flag that
really does nothing. Just yesterday I had to rebuild it twice in a row
because I got tricked by that. And to top it off it's been a while since
I've been able to build VirtualBox with anything other thann -j1.

Bertram, if you're still having the host crashes one possible cause is a
dirty /lib/modules/ directory. I just had the same
problem. I was setting up a new laptop so I was fiddling with the kernel
config and I switched something to built-in from module but  the module
from the previous kernel build was still there. So remove that directory
and run 'make modules_install' again.


-- 

Fernando Rodriguez



[gentoo-user] VirtualBox bridged networking and wifi problems

2016-12-09 Thread Fernando Rodriguez
Hello,

Until a few months ago I had VirtualBox bridged networking working fine
on my netbook with no ethernet port. When I would start a VM it
automatically created a virtual wired connection. I never payed
attention to the details but the NetworkManager would switch to the
"wired" icon and a connection called "Wired Connection 1" or something
of that sort was activated.

Then a few months ago it stopped working. Everything seems fine but the
guests (same for Linux, Windows, and Solaris guests) just can't get an
address from DHCP. Now I'm setting up a new laptop and I'm having the
exact same problem except this one also has an ethernet port and it
works just fine. I tried all the promiscuous mode and adapter type
settings, nothing works.

-- 

Fernando Rodriguez



Re: [gentoo-user] Brother Printer

2016-12-09 Thread Nils Freydank
Hello Silvio,

At thursday, dec 8 2016, 15:08:34 CET wrote siefke_lis...@web.de:
> Hello,
> 
> when I want use a Brother Printer (MFC 7320) it's need multilib? How can
> I fix this?
> 
> siefke@sisibox ~ $ eselect profile list
> Available profile symlink targets:
> ...
>   [11]  default/linux/amd64/13.0/no-multilib *
> ---
I’m running two brother printers with “upstream“ drivers, ebuilds copied from 
brother overlay and modified regarding my needs. The drivers are binary 32bit 
ones for x86/i686 .deb or .rpm (in my case the rpm ones), so you *definitely* 
would need to migrate to an multilib profile - and I don’t know how awful this 
would become.
> At moment I use no-multilib but what must do for use multilib with a Brother
> Multi Function Printer.
You can change your profile one *without* the term "no-multilib".

But to be honest the suggestion by Betram looks most appealing to me (and I 
consider even migrating my stuff to this one!).

> Thank you for help.
> 
> Silvio


-- 
Nils Freydank
GnuPG-Key: 0x44594171807206CF @ hkp://keys.gnupg.net
   fpr: AA2D 5CC0 0457 297F 6164  3911 4459 4171 8072 06CF

signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Re: Well, I went about updating my system again. (day 6)

2016-12-09 Thread Grant Edwards
On 2016-12-08, Kevin Monceaux  wrote:
> On Wed, Dec 07, 2016 at 06:42:21PM -0500, Alan Grimes wrote:
>
>> --> X11 would probably need to be shut down two which is equivalent to a
>> reboot on a desktop system anyway.
>
> Shutting down X11 doesn't appear to be equivalent to a reboot on my desktop.
> If I shut down X11, my uptime still keeps accumulating.  

I think he meant that from a "desktop productivity" standpoint, the
two are the same: you have to close every single program you are using
and then start over.

-- 
Grant Edwards   grant.b.edwardsYow! VICARIOUSLY experience
  at   some reason to LIVE!!
  gmail.com




Re: [gentoo-user] Virtualbox documentation

2016-12-09 Thread Bertram Scharpf
On Friday, 09. Dec 2016, 05:23:30 +0100, Bertram Scharpf wrote:
> On Friday, 09. Dec 2016, 00:46:43 +0200, Alan McKinnon wrote:
> > On 08/12/2016 22:41, Bertram Scharpf wrote:
> > > On Thursday, 08. Dec 2016, 17:35:59 +0200, Alan McKinnon wrote:
> > >> On 08/12/2016 14:36, Bertram Scharpf wrote:
> > >>> On Thursday, 08. Dec 2016, 00:21:17 +0200, Alan McKinnon wrote:
> >  On 08/12/2016 00:01, Bertram Scharpf wrote:
> > > arrgh! I just want to find a quick-start tutorial for
> > > Virtualbox on Gentoo, but Google shows up loads of tutorials
> > > for Gentoo in a Virtualbox.
> > 
> > VirtualBox is a Qt app and *requires* Qt to get a GUI. There is no
> > option for GTK

That's the solution. Works like a charm now.

Thank you!

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



[gentoo-user] Re: Brother Printer

2016-12-09 Thread Ian Zimmerman
On 2016-12-08 22:02, Bertram Scharpf wrote:

> I have a Brother MFC 7420. Yet, it's not connected to my
> Gentoo but to a FreeBSD box. There, I completely ignored the
> recommended drivers. I configured lpd (/etc/printcap) to
> first pipe the PostScript/PDF documents through a
> Ghostscript command. The only real problem was to find the
> proper device driver (ljet2p).
> 
>   gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ljet2p -r600 
> -sOutputFile=- -
> 
> Then I wrap around this a simple self-written PJL frame.

If you do something like this, you may find noqp interesting:

https://github.com/nobrowser/noqp

IIRC there are other similar programs as well - writing noqp was
definitely motivated by NIH to a fairly large degree :-)

-- 
Please *no* private Cc: on mailing lists and newsgroups
Personal signed mail: please _encrypt_ and sign
Don't clear-text sign: http://cr.yp.to/smtp/8bitmime.html



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

2016-12-09 Thread Harry Putnam
Since I've found no way to make the machine run X and grown tired of
the chase... I'm going to keep this vm as console only and it has
functioning sendmail install working on it.

How to return to a console only setup?  Although, I may have already
screwed things up.

I took a bright notion to uninstall everything with x11- in its name.

Unmerged all lxde stuff too.

Following that move, I ran revdep-rebuild... it said I had a
consistent machine.

I changed my make.conf USE= flags from X to -X so they look like this:

USE="bindist gpm mbox -X -acl -alsa -cups -eds
 -fortran -ipv6 -kde -ldap"

Removed 3 lxce pkgs from world file and made sure no other X items
were in it.

ran emerge -vuDNp world... and it appears emerge is wanting to start
re-installing some X pkgs:

How can I clean this up?

(list of uninstalled pkgs posted at the end)

---   ---   ---=---   ---   ---
# emerge -vuDNp world

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-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]
# required by @selected
# required by @world (argument)
>=x11-libs/cairo-1.14.6 X
# 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]
# required by @selected
# required by @world (argument)
>=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])

---   ---   ---=---   ---   ---
List of unmerged pkgs... (may have a few dups in there)
---   ---   ---=---   ---   ---

1481323166: === Unmerging... (x11-themes/adwaita-icon-theme-3.22.0)
1481323199: === Unmerging... (x11-themes/gnome-themes-standard-3.22.2)
1481323231: === Unmerging... (x11-themes/gtk-engines-adwaita-3.20.2)
1481323250: === Unmerging... (x11-themes/hicolor-icon-theme-0.15)
1481323270: === Unmerging... (x11-wm/openbox-3.6.1)
1481323562: === Unmerging... (x11-proto/bigreqsproto-1.1.2)
1481323583: === Unmerging... (x11-proto/compositeproto-0.4.2-r1)
1481323604: === Unmerging... (x11-proto/damageproto-1.2.1-r1)
1481323626: === Unmerging... (x11-proto/dri2proto-2.8-r1)
1481323647: === Unmerging... (x11-proto/dri3proto-1.0)
1481323669: === Unmerging... (x11-proto/fixesproto-5.0-r1)
1481323690: === Unmerging... (x11-proto/fontsproto-2.1.3)
1481323710: === Unmerging... (x11-proto/glproto-1.4.17-r1)
1481323732: === Unmerging... (x11-proto/inputproto-2.3.2)
1481323753: === Unmerging... (x11-proto/kbproto-1.0.7)
1481323775: === Unmerging... (x11-proto/presentproto-1.0)
1481323840: === Unmerging... (x11-proto/randrproto-1.5.0)
1481323861: === Unmerging... (x11-proto/recordproto-1.14.2-r1)
1481323883: === Unmerging... (x11-proto/renderproto-0.11.1-r1)
1481323904: === Unmerging... (x11-proto/resourceproto-1.2.0)
1481323924: === Unmerging... (x11-proto/scrnsaverproto-1.2.2-r1)
1481324028: === Unmerging... (x11-proto/trapproto-3.4.3)
1481324048: === Unmerging... (x11-proto/videoproto-2.3.3)
1481324069: === Unmerging... (x11-proto/xcb-proto-1.12-r2)
1481324093: === Unmerging... (x11-proto/xcmiscproto-1.2.2)
1481324114: === Unmerging... (x11-proto/xextproto-7.3.0)
1481324135: === Unmerging... (x11-proto/xf86bigfontproto-1.2.0-r1)
1481324157: === Unmerging... (x11-proto/xf86dgaproto-2.1-r2)
1481324178: === Unmerging... (x11-proto/xf86driproto-2.1.1-r1)
1481324199: === Unmerging... (x11-proto/xf86rushproto-1.1.2-r1)
1481324219: === Unmerging... (x11-proto/xf86vidmodeproto-2.3.1-r1)
1481324241: === Unmerging... (x11-proto/xineramaproto-1.2.1-r1)
1481324262: === Unmerging... (x11-proto/xproto-7.0.31)
1481324519: === Unmerging... (x11-libs/start

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

2016-12-09 Thread Andrej Rode
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.
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.

Cheers,
Andrej



[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 "net-misc/openssh-7.3_p1-r8::g

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



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 )
>
> (dependency requ

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




[gentoo-user] procps: mysterious option

2016-12-09 Thread Meino . Cramer
Hi 

for the options  "-nN" and "-d" the manpage of procps mentions
the option "-f" is implied.

For SYNOPSIS all possible options are summarized as:
procinfo [ -dDSbrhv ] [ -nN ].

Furthermore the option "-f" isn't explained anywhere.

What I don't understand here ? ;)

Cheers
Meino






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 

:-)  :-) 



[gentoo-user] Re: Well, I went about updating my system again. (day 6)

2016-12-09 Thread Kevin Monceaux
On Fri, Dec 09, 2016 at 07:41:51PM +, Grant Edwards wrote:
 
> I think he meant that from a "desktop productivity" standpoint, the
> two are the same: you have to close every single program you are using
> and then start over.

I'm old fashioned.  I use text based apps as much as possible.  I'm using
mutt and vim to compose this e-mail, for example.  They're running under
screen, which is running in an rxvt-unicode terminal under dwm.  I could
detach my screen session, exit rxvt-unicode and bounce dwm without having to
exit vim or mutt.  I also have music playing via moc in another screen
session.  Thanks to screen I could bounce my window manager without missing
a beat.  :-)



-- 

Kevin
http://www.RawFedDogs.net
http://www.Lassie.xyz
http://www.WacoAgilityGroup.org
Bruceville, TX

What's the definition of a legacy system? One that works!
Errare humanum est, ignoscere caninum.



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


[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 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

:-)  :-) 



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
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

:-)  :-)