[gentoo-user] Running 3rd-party Ubuntu apps on Gentoo

2018-01-06 Thread Grant Edwards
What's a good way to run 3rd party apps packaged for Ubuntu?

There are a few third-party binary applications on which I depend.

They're usually distributed as .rpm for RedHat and .deb for Ubuntu.

AFAICT, Gentoo and Ubuntu library names generally match, while RedHat
seems to slightly munge many (all?) library names.  So, I've always
had better luck with .deb than with .rpm.  Usually I try unpacking the
.deb file into it's own tree under /opt and then running the app.

Sometimes it requires a shell wrapper to set LD_LIBRARY_PATH,
sometimes the app is smart enough to locate it's libraries.

This has always been a bit fragile.

For example, one app I use frequently requires qt4 webkit.  It works
at the moment, but the qt4 webkit ebuild has been masked and is
scheduled for removal. In other cases, the Gentoo libraries don't have
quite the same features expected by the app.  In cases like this I've
ended up copying .so files from an Ubuntu machine into the app's
directory in /opt.  Figuring out which libraries you need to copy can
be a bit tedious.  It's simple enough to figure out when you're
_missing_ a library, but incompatibilities can be very difficult to
figure out.

I'm looking for a more robust way to deal with this.  I haven't tried
any of these options yet...

 1) Create a docker container for each of the apps and share the X
server Unix domain socket with the container (they're almost
always GUI apps).  Will this stop working under Wayland since it
doesn't support "remote" applications.  [I really don't want to
deal with a remote desktop -- I just want the app to open a window
on my normal desktop.]

 2) Install Ubuntu in a second partition and install the apps there.
Then under Gentoo, mount that partition and run the app binaries
in situ after setting LD_LIBRARY_PATH to make sure the app finds
the Ubuntu libraries instead of the Gentoo ones.  Or instead of
setting LD_LIBRARY_PATH, run the apps in a chroot environment that
shares the X11 Unix domain socket and some directories with the
Gentoo portion?

 3) Run the apps in a VM that's running Ubuntu using a TCP connection
between the Ubuntu app (X11 client), and the X11 server on Gentoo.
Booting up a VM each time I want to run one of the apps seems
pretty heavyweight.

Any other suggestions?

-- 
Grant




Re: [OT] Re: [gentoo-user] Re: LINGUAS make.conf variable being ignored?

2018-01-06 Thread Walter Dnes
On Sat, Jan 06, 2018 at 09:50:59PM +, Peter Humphrey wrote
> On Saturday, 6 January 2018 18:34:36 GMT Neil Bothwick wrote:
> > On Sat, 06 Jan 2018 16:00:14 +, Peter Humphrey wrote:
> > > > grep linguas_en /var/portage/profiles/use.desc
> > > > linguas_en - English locale
> > > > linguas_en_AU - English locale for Australia
> > > > linguas_en_CA - English locale for Canada
> > > > linguas_en_GB - English locale for Britain
> > > > linguas_en_US - English locale
> > > 
> > > I object to that (not you, Neil, some dev or other). I live in England;
> > > I speak English. People who live in America speak their own version of
> > > it, adapted from the original.
> > 
> > Indeed, en_US is a fork of the original.
> > 
> > I guess that's why, in the old cowboy films, the native Americans used to
> > say "white man speak with forked tongue" ;-)
> 
> Then there's that old one about the Native American chief who observed that 
> only a white man could think that cutting a foot off the bottom of a blanket 
> and sewing it onto the top would give him a longer blanket.

  That was apparently after the white man tried to explain to him the
"advantages" of Daylight Saving Time.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] Re: emerge @preserved-rebuild failure

2018-01-06 Thread Mart Raudsepp
On Sat, 2018-01-06 at 23:42 +0200, zless wrote:
> În ziua de sâmbătă, 6 ianuarie 2018, la 23:25:32 EET, Hartmut Figge a
> scris:
> > zless:
> > > Could you also take a look at the file
> > > /var/lib/portage/preserved_libs_registry ?
> > 
> > hafi@i5-64 ~ $ cat /var/lib/portage/preserved_libs_registry
> > {
> > "sys-libs/readline:0": [
> > "sys-libs/readline-7.0_p3",
> > "10658",
> > [
> > "/lib64/libreadline.so.6.3",
> > "/lib64/libreadline.so.6"
> > ]
> > ]
> > 
> 
> To me this reads as readline-7.0_p3 depends on libs from readline-
> 6.3.
> 
> Smells a bit as some sort of bug. Try rebuilding readline?
> 
> This didn't happen here when readline was bumped.

This is no bug here. It's just storing the fact that it preserved these
/lib64/libreadline.so.6{,.3} under the replacing newer version package.
That is, readline-7.0_p3 now owns these files, but based on this
registry, they will be deleted and removed from its CONTENTS, once
there are no more consumers of it based on essentially NEEDED.ELF.2
contents in the VDB (/var/db/pkg/*/*/NEEDED.ELF.2).
That is, what is keeping them from being removed is not stored in this
registry.

> > > It's like this when there are no preserved libs:
> > > 
> > > # cat preserved_libs_registry
> > 
> > I'm currently running 'find . -name '*preserved*' on / in the hope
> > of
> > finding the set with the preserverd libs *g* Well, I will let it
> > continue.

Maybe there is just an old ruby:2.1 SLOT installed, that hasn't been
properly depcleaned?


Mart



Re: [gentoo-user] Re: emerge @preserved-rebuild failure

2018-01-06 Thread zless
În ziua de sâmbătă, 6 ianuarie 2018, la 23:51:59 EET, Hartmut Figge a scris:
> Hrm. Replacing the obviously corrupt preserved_libs_registry with the
> clean one from my backup? That would be the end of the investigation.

You could also check if those readline-6 preserved libs really exist:

/lib64/libreadline.so.6.3
/lib64/libreadline.so.6

Try renaming them or backing them up somewhere else and see if realine 
applications (bash) still work fine after that.

Other than that... I'd fill a bug about this ;)





[gentoo-user] Re: [OT] Re: Re: LINGUAS make.conf variable being ignored?

2018-01-06 Thread Grant Edwards
On 2018-01-06, Peter Humphrey  wrote:

> Then there's that old one about the Native American chief who
> observed that only a white man could think that cutting a foot off
> the bottom of a blanket and sewing it onto the top would give him a
> longer blanket.

I'm pretty sure that's one of the basic underlying principles of the
US GOP's tax bill.

-- 
Grant Edwards   grant.b.edwardsYow! BARRY ... That was
  at   the most HEART-WARMING
  gmail.comrendition of "I DID IT MY
   WAY" I've ever heard!!




[gentoo-user] Re: emerge @preserved-rebuild failure

2018-01-06 Thread Hartmut Figge
zless:

>Smells a bit as some sort of bug. Try rebuilding readline?

That's what I hesitated to do in fear of blurring clues. Done.

i5-64 /home/hafi # emerge -q readline
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) sys-libs/readline-7.0_p3::gentoo
>>> Installing (1 of 1) sys-libs/readline-7.0_p3::gentoo
>>> Recording sys-libs/readline in "world" favorites file...

!!! existing preserved libs found

Hrm. Replacing the obviously corrupt preserved_libs_registry with the
clean one from my backup? That would be the end of the investigation.

Hartmut




[OT] Re: [gentoo-user] Re: LINGUAS make.conf variable being ignored?

2018-01-06 Thread Peter Humphrey
On Saturday, 6 January 2018 18:34:36 GMT Neil Bothwick wrote:
> On Sat, 06 Jan 2018 16:00:14 +, Peter Humphrey wrote:
> > > grep linguas_en /var/portage/profiles/use.desc
> > > linguas_en - English locale
> > > linguas_en_AU - English locale for Australia
> > > linguas_en_CA - English locale for Canada
> > > linguas_en_GB - English locale for Britain
> > > linguas_en_US - English locale
> > 
> > I object to that (not you, Neil, some dev or other). I live in England;
> > I speak English. People who live in America speak their own version of
> > it, adapted from the original.
> 
> Indeed, en_US is a fork of the original.
> 
> I guess that's why, in the old cowboy films, the native Americans used to
> say "white man speak with forked tongue" ;-)

Then there's that old one about the Native American chief who observed that 
only a white man could think that cutting a foot off the bottom of a blanket 
and sewing it onto the top would give him a longer blanket.

-- 
Regards,
Peter.




Re: [gentoo-user] Re: LINGUAS make.conf variable being ignored?

2018-01-06 Thread Peter Humphrey
On Saturday, 6 January 2018 17:33:22 GMT Mike Gilbert wrote:

> I updated the description for en_US.
> 
> linguas_en - English locale
> linguas_en_AU - English locale for Australia
> linguas_en_CA - English locale for Canada
> linguas_en_GB - English locale for Britain
> linguas_en_US - English locale for America

Decent of you. Thanks Mike.

-- 
Regards,
Peter.




[gentoo-user] Re: Connman refuses to work

2018-01-06 Thread Melleus
Neil Bothwick  writes:

> On Sat, 06 Jan 2018 18:46:25 +0200, Melleus wrote:
>
>> > What do the logs say?  
>> That's all I could find in syslog:
>> 
>> connmand[6709]: Aborting (signal 11) [/usr/sbin/connmand]
>> 
>> > Can you start it manually?  
>> 
>> No, it pretends to start but fails silently.
>
> Looking at the man page, try adding --debug=DEBUG and --nodaemon

Thank you for helping me.

--debug=DEBUG is almost silent, but just --debug is more verbose.

All I see is that something wrong is happening here:

connmand[2434]: src/iptables.c:__connman_iptables_append() -t mangle -A 
connman-INPUT -j CONNMARK --restore-mark
connmand[2434]: Aborting (signal 11) [connmand]




Re: [gentoo-user] Re: emerge @preserved-rebuild failure

2018-01-06 Thread zless
În ziua de sâmbătă, 6 ianuarie 2018, la 23:25:32 EET, Hartmut Figge a scris:
> zless:
> >Could you also take a look at the file
> >/var/lib/portage/preserved_libs_registry ?
> 
> hafi@i5-64 ~ $ cat /var/lib/portage/preserved_libs_registry
> {
> "sys-libs/readline:0": [
> "sys-libs/readline-7.0_p3",
> "10658",
> [
> "/lib64/libreadline.so.6.3",
> "/lib64/libreadline.so.6"
> ]
> ]
> 

To me this reads as readline-7.0_p3 depends on libs from readline-6.3.

Smells a bit as some sort of bug. Try rebuilding readline?

This didn't happen here when readline was bumped.


> >It's like this when there are no preserved libs:
> >
> ># cat preserved_libs_registry
> 
> I'm currently running 'find . -name '*preserved*' on / in the hope of
> finding the set with the preserverd libs *g* Well, I will let it continue.
> 
> Hartmut







[gentoo-user] Re: emerge @preserved-rebuild failure

2018-01-06 Thread Hartmut Figge
zless:

>Could you also take a look at the file
>/var/lib/portage/preserved_libs_registry ?

hafi@i5-64 ~ $ cat /var/lib/portage/preserved_libs_registry
{
"sys-libs/readline:0": [
"sys-libs/readline-7.0_p3",
"10658",
[
"/lib64/libreadline.so.6.3",
"/lib64/libreadline.so.6"
]
]

>It's like this when there are no preserved libs:
>
># cat preserved_libs_registry

I'm currently running 'find . -name '*preserved*' on / in the hope of
finding the set with the preserverd libs *g* Well, I will let it continue.

Hartmut




Re: [gentoo-user] Re: emerge @preserved-rebuild failure

2018-01-06 Thread zless
În ziua de sâmbătă, 6 ianuarie 2018, la 23:04:21 EET, Hartmut Figge a scris:
> There is no rest. I can give the whole output for the last emerge
> command which ended with the above line. Doubt that will be helpful.

Could you also take a look at the file
/var/lib/portage/preserved_libs_registry ?

It's like this when there are no preserved libs:

# cat preserved_libs_registry
{}







[gentoo-user] Re: emerge @preserved-rebuild failure

2018-01-06 Thread Hartmut Figge
Neil Bothwick:
>On Sat, 6 Jan 2018 21:21:16 +0100, Hartmut Figge wrote:

>> Mostly stable Gentoo. After having fun with linguas *g*
>> 
>> !!! existing preserved libs found
>
>What's the rest of this output, it should list the packages and files
>involved.

There is no rest. I can give the whole output for the last emerge
command which ended with the above line. Doubt that will be helpful.

i5-64 /home/hafi # USE="linguas_de linguas_en linguas_en_US" emerge -pq
-uDN @world
[ebuild   R   ] sys-apps/pv-1.6.0-r1
[ebuild   R   ] net-analyzer/nmap-7.40
[ebuild   R   ] sys-apps/shadow-4.5
[ebuild   R   ] media-video/vlc-2.2.8
[ebuild   R   ] app-emulation/wine-vanilla-2.22
[ebuild   R   ] app-emulation/wine-d3d9-2.21
[ebuild   R   ] app-emulation/wine-any-2.21
[ebuild   R   ] app-text/qpdfview-0.4.16
[ebuild   R   ] sys-apps/lshw-02.18b
[ebuild  rR   ] app-crypt/gnupg-2.2.0
[ebuild U ] sys-block/gparted-0.29.0 [0.27.0]
[ebuild   R   ] media-gfx/gimp-2.8.22
[ebuild U ] app-crypt/gpgme-1.10.0 [1.8.0-r3]
[ebuild  rR   ] net-print/gutenprint-5.2.12
i5-64 /home/hafi # USE="linguas_de linguas_en linguas_en_US" emerge -q
-uDN --keep-going @world
[ebuild   R   ] sys-apps/pv-1.6.0-r1
[ebuild   R   ] net-analyzer/nmap-7.40
[ebuild   R   ] sys-apps/shadow-4.5
[ebuild   R   ] media-video/vlc-2.2.8
[ebuild   R   ] app-emulation/wine-vanilla-2.22
[ebuild   R   ] app-emulation/wine-d3d9-2.21
[ebuild   R   ] app-emulation/wine-any-2.21
[ebuild   R   ] app-text/qpdfview-0.4.16
[ebuild   R   ] sys-apps/lshw-02.18b
[ebuild  rR   ] app-crypt/gnupg-2.2.0
[ebuild U ] sys-block/gparted-0.29.0 [0.27.0]
[ebuild   R   ] media-gfx/gimp-2.8.22
[ebuild U ] app-crypt/gpgme-1.10.0 [1.8.0-r3]
[ebuild  rR   ] net-print/gutenprint-5.2.12
>>> Verifying ebuild manifests
>>> Running pre-merge checks for app-emulation/wine-vanilla-2.22
>>> Running pre-merge checks for app-emulation/wine-d3d9-2.21
>>> Running pre-merge checks for app-emulation/wine-any-2.21
>>> Emerging (1 of 14) sys-apps/pv-1.6.0-r1::gentoo
>>> Installing (1 of 14) sys-apps/pv-1.6.0-r1::gentoo
>>> Emerging (2 of 14) net-analyzer/nmap-7.40::gentoo
>>> Installing (2 of 14) net-analyzer/nmap-7.40::gentoo
>>> Emerging (3 of 14) sys-apps/shadow-4.5::gentoo
>>> Installing (3 of 14) sys-apps/shadow-4.5::gentoo
>>> Emerging (4 of 14) media-video/vlc-2.2.8::gentoo
>>> Installing (4 of 14) media-video/vlc-2.2.8::gentoo
>>> Emerging (5 of 14) app-emulation/wine-vanilla-2.22::x-portage
>>> Installing (5 of 14) app-emulation/wine-vanilla-2.22::x-portage
>>> Emerging (6 of 14) app-emulation/wine-d3d9-2.21::x-portage
>>> Installing (6 of 14) app-emulation/wine-d3d9-2.21::x-portage
>>> Emerging (7 of 14) app-emulation/wine-any-2.21::x-portage
>>> Installing (7 of 14) app-emulation/wine-any-2.21::x-portage
>>> Emerging (8 of 14) app-text/qpdfview-0.4.16::gentoo
>>> Installing (8 of 14) app-text/qpdfview-0.4.16::gentoo
>>> Emerging (9 of 14) sys-apps/lshw-02.18b::gentoo
>>> Installing (9 of 14) sys-apps/lshw-02.18b::gentoo
>>> Emerging (10 of 14) app-crypt/gnupg-2.2.0::gentoo
>>> Installing (10 of 14) app-crypt/gnupg-2.2.0::gentoo
>>> Emerging (11 of 14) sys-block/gparted-0.29.0::gentoo
>>> Installing (11 of 14) sys-block/gparted-0.29.0::gentoo
>>> Emerging (12 of 14) media-gfx/gimp-2.8.22::gentoo
>>> Installing (12 of 14) media-gfx/gimp-2.8.22::gentoo
>>> Emerging (13 of 14) app-crypt/gpgme-1.10.0::gentoo
>>> Installing (13 of 14) app-crypt/gpgme-1.10.0::gentoo
>>> Emerging (14 of 14) net-print/gutenprint-5.2.12::gentoo
>>> Installing (14 of 14) net-print/gutenprint-5.2.12::gentoo

 * Messages for package net-print/gutenprint-5.2.12:

 * Updating installed printer ppd files
 * Did not update any PPD files

!!! existing preserved libs found

>> i5-64 /home/hafi # emerge -q @preserved-rebuild
>> 
>> emerge: there are no ebuilds to satisfy "dev-lang/ruby:2.1".
>> (dependency required by "@preserved-rebuild" [argument])
>
>Something appears to be asking for an old Ruby, hopefully the output will
>show why.

Sadly there is no more output. Even 'emerge -v @preserved-rebuild' does
not give more.

>Also, what does emerge --info show for RUBY_TARGETS

RUBY_TARGETS="ruby22"

>and do you have asetting fo r it in make.conf?

No.

Another info:
hafi@i5-64 ~ $ emerge --version
Portage 2.3.13 (python 2.7.14-final-0, default/linux/amd64/17.0,
gcc-6.4.0, glibc-2.25-r9, 4.9.72-gentoo x86_64)

Hartmut




Re: [gentoo-user] emerge @preserved-rebuild failure

2018-01-06 Thread Neil Bothwick
On Sat, 6 Jan 2018 21:21:16 +0100, Hartmut Figge wrote:

> Mostly stable Gentoo. After having fun with linguas *g*
> 
> !!! existing preserved libs found

What's the rest of this output, it should list the packages and files
involved.

> i5-64 /home/hafi # emerge -q @preserved-rebuild
> 
> emerge: there are no ebuilds to satisfy "dev-lang/ruby:2.1".
> (dependency required by "@preserved-rebuild" [argument])

Something appears to be asking for an old Ruby, hopefully the output will
show why.

Also, what does emerge --info show for RUBY_TARGETS and do you have a
setting for it in make.conf?


-- 
Neil Bothwick

It may be that your sole purpose in life is simply to serve as a warning
to others.


pgpUOsT0BL6uF.pgp
Description: OpenPGP digital signature


[gentoo-user] emerge @preserved-rebuild failure

2018-01-06 Thread Hartmut Figge
Greetings,

Mostly stable Gentoo. After having fun with linguas *g*

!!! existing preserved libs found
i5-64 /home/hafi # emerge -q @preserved-rebuild

emerge: there are no ebuilds to satisfy "dev-lang/ruby:2.1".
(dependency required by "@preserved-rebuild" [argument])

[?] dev-lang/ruby
 Available versions:
 (2.2)  2.2.8 2.2.9
 (2.3)  ~2.3.5 ~2.3.6
 (2.4)  ~2.4.2 ~2.4.3
 (2.5)  ~2.5.0 ~2.5.0-r1

hafi@i5-64 ~ $ eselect profile show
Current /etc/make.profile symlink:
  default/linux/amd64/17.0
hafi@i5-64 ~ $ eselect ruby show
Current Ruby version:
  ruby22
Current Rubygems version:
  gem22

Bug?

Hartmut




Re: [gentoo-user] Re: LINGUAS make.conf variable being ignored?

2018-01-06 Thread allan gottlieb
On Sat, Jan 06 2018, Neil Bothwick wrote:

> On Sat, 06 Jan 2018 16:00:14 +, Peter Humphrey wrote:
>
>> I object to that (not you, Neil, some dev or other). I live in England;
>> I speak English. People who live in America speak their own version of
>> it, adapted from the original.
>
> Indeed, en_US is a fork of the original.
>
> I guess that's why, in the old cowboy films, the native Americans used to
> say "white man speak with forked tongue" ;-)

Terrific--made my day.
allan



Re: [gentoo-user] Re: Connman refuses to work

2018-01-06 Thread Neil Bothwick
On Sat, 06 Jan 2018 18:46:25 +0200, Melleus wrote:

> > What do the logs say?  
> That's all I could find in syslog:
> 
> connmand[6709]: Aborting (signal 11) [/usr/sbin/connmand]
> 
> > Can you start it manually?  
> 
> No, it pretends to start but fails silently.

Looking at the man page, try adding --debug=DEBUG and --nodaemon


-- 
Neil Bothwick

Physics is like sex: sure, it may give some practical results, but
  that's not why we do it.Richard Feynman


pgpidG_aRP2Tb.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: LINGUAS make.conf variable being ignored?

2018-01-06 Thread Neil Bothwick
On Sat, 06 Jan 2018 16:00:14 +, Peter Humphrey wrote:

> > grep linguas_en /var/portage/profiles/use.desc
> > linguas_en - English locale
> > linguas_en_AU - English locale for Australia
> > linguas_en_CA - English locale for Canada
> > linguas_en_GB - English locale for Britain
> > linguas_en_US - English locale  
> 
> I object to that (not you, Neil, some dev or other). I live in England;
> I speak English. People who live in America speak their own version of
> it, adapted from the original.

Indeed, en_US is a fork of the original.

I guess that's why, in the old cowboy films, the native Americans used to
say "white man speak with forked tongue" ;-)


-- 
Neil Bothwick

WinErr 01E: Timing error - Please wait. And wait. And wait. And wait.


pgpAlqfII5eki.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: LINGUAS make.conf variable being ignored?

2018-01-06 Thread Mike Gilbert
On Sat, Jan 6, 2018 at 11:00 AM, Peter Humphrey  wrote:
> On Saturday, 6 January 2018 15:50:56 GMT Neil Bothwick wrote:
>> On Sat, 6 Jan 2018 15:39:45 + (UTC), Grant Edwards wrote:
>> > > Ahem! American "English", I think you mean.
>> >
>> > Yes, though for most programs [spell-checkers being the obvious
>> > exception] and most non-US English speakers who expected en_GB, I
>> > doubt they'd have any problems using programs that were speaking US
>> > English instead of British English (are there others in use besides
>> > en_GB?).
>>
>> Indeed there are, there's a whole world out there beyond the borders of
>> the USA ;-)
>>
>> grep linguas_en /var/portage/profiles/use.desc
>> linguas_en - English locale
>> linguas_en_AU - English locale for Australia
>> linguas_en_CA - English locale for Canada
>> linguas_en_GB - English locale for Britain
>> linguas_en_US - English locale
>
> I object to that (not you, Neil, some dev or other). I live in England; I
> speak English. People who live in America speak their own version of it,
> adapted from the original. The list should be:
>
> linguas_en_AU - English locale for Australia
> linguas_en_CA - English locale for Canada
> linguas_en_GB - English locale
> linguas_en_US - English locale for USA

I updated the description for en_US.

linguas_en - English locale
linguas_en_AU - English locale for Australia
linguas_en_CA - English locale for Canada
linguas_en_GB - English locale for Britain
linguas_en_US - English locale for America



[gentoo-user] Re: Connman refuses to work

2018-01-06 Thread Melleus
Neil Bothwick  writes:

> On Sat, 06 Jan 2018 17:37:37 +0200, Melleus wrote:
>
>> I use openrc. Connman pretends to start, but when checking its status
>> with:
>> 
>> /etc/init.d/connman status
>> 
>> I get
>> 
>> * status: crashed
>> 
>> message. So for some unclear reason it cannot start properly.
>
> What do the logs say?
That's all I could find in syslog:

connmand[6709]: Aborting (signal 11) [/usr/sbin/connmand]

> Can you start it manually?

No, it pretends to start but fails silently.




Re: [gentoo-user] Switching from Seamonkey to Firefox and Thunderbird

2018-01-06 Thread Dale
Peter Humphrey wrote:
> On Saturday, 6 January 2018 13:30:30 GMT Dale wrote:
>
>> I'm not sure that LastPass works with Palemoon so even if it does, another
>> problem pops up.
> Nope, it doesn't. At least, not the last time I tried it just a few months 
> ago.
>


I like LastPass but I even tried to find a password tool to replace it. 
I checked as a addon but also for something in portage.  I couldn't find
anything that I know will do what LastPass does.  One thing I like about
it, I can go to my neighbors and access all the accounts of sites I use
just like I'm sitting here at home on my puter.  When I'm on a website
that requires a login, I just click for it to login, and which ID if
needed, and it does its thing. 

So, I can't seem to replace the email part of Seamonkey, can't replace
LastPass and am stuck with something not working right no matter what I
do.  Jeez.  We went to the moon decades ago, build buildings that reach
the clouds, build huge airplanes and all sorts of other advanced stuff
but I can't get Thunderbird to open a link in a running instance of
Firefox as a new tab.  ROFL 

Dale

:-)  :-) 



Re: [gentoo-user] Re: LINGUAS make.conf variable being ignored?

2018-01-06 Thread Peter Humphrey
On Saturday, 6 January 2018 15:50:56 GMT Neil Bothwick wrote:
> On Sat, 6 Jan 2018 15:39:45 + (UTC), Grant Edwards wrote:
> > > Ahem! American "English", I think you mean.
> > 
> > Yes, though for most programs [spell-checkers being the obvious
> > exception] and most non-US English speakers who expected en_GB, I
> > doubt they'd have any problems using programs that were speaking US
> > English instead of British English (are there others in use besides
> > en_GB?).
> 
> Indeed there are, there's a whole world out there beyond the borders of
> the USA ;-)
> 
> grep linguas_en /var/portage/profiles/use.desc
> linguas_en - English locale
> linguas_en_AU - English locale for Australia
> linguas_en_CA - English locale for Canada
> linguas_en_GB - English locale for Britain
> linguas_en_US - English locale

I object to that (not you, Neil, some dev or other). I live in England; I 
speak English. People who live in America speak their own version of it, 
adapted from the original. The list should be:

linguas_en_AU - English locale for Australia
linguas_en_CA - English locale for Canada
linguas_en_GB - English locale
linguas_en_US - English locale for USA

-- 
Regards,
Peter.




Re: [gentoo-user] Re: LINGUAS make.conf variable being ignored?

2018-01-06 Thread Peter Humphrey
On Saturday, 6 January 2018 15:39:45 GMT Grant Edwards wrote:
> On 2018-01-06, Peter Humphrey  wrote:
> > On Friday, 5 January 2018 20:19:19 GMT Grant Edwards wrote:
> >> It looks like most of the other broken packages just get rebuilt with
> >> no languages supported (which means they probably still work for an
> >> english speaker).
> > 
> > Ahem! American "English", I think you mean.
> 
> Yes, though for most programs [spell-checkers being the obvious
> exception] and most non-US English speakers who expected en_GB, I
> doubt they'd have any problems using programs that were speaking US
> English instead of British English (are there others in use besides
> en_GB?).
> 
> --
> Grant

Well, KMail knows about Australian, Canadian and South African. It may 
inherit those from Plasma, or it may know about them itself. That's still 
just about spell-checking, though.

-- 
Regards,
Peter.




Re: [gentoo-user] Re: LINGUAS make.conf variable being ignored?

2018-01-06 Thread Neil Bothwick
On Sat, 6 Jan 2018 15:39:45 + (UTC), Grant Edwards wrote:

> > Ahem! American "English", I think you mean.  
> 
> Yes, though for most programs [spell-checkers being the obvious
> exception] and most non-US English speakers who expected en_GB, I
> doubt they'd have any problems using programs that were speaking US
> English instead of British English (are there others in use besides
> en_GB?).

Indeed there are, there's a whole world out there beyond the borders of
the USA ;-)

grep linguas_en /var/portage/profiles/use.desc
linguas_en - English locale
linguas_en_AU - English locale for Australia
linguas_en_CA - English locale for Canada
linguas_en_GB - English locale for Britain
linguas_en_US - English locale


-- 
Neil Bothwick

All generalizations are false, including this one.


pgphpFp4njSbk.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Switching from Seamonkey to Firefox and Thunderbird

2018-01-06 Thread Peter Humphrey
On Saturday, 6 January 2018 13:30:30 GMT Dale wrote:

> I'm not sure that LastPass works with Palemoon so even if it does, another
> problem pops up.

Nope, it doesn't. At least, not the last time I tried it just a few months 
ago.

-- 
Regards,
Peter.




Re: [gentoo-user] Re: Connman refuses to work

2018-01-06 Thread Neil Bothwick
On Sat, 06 Jan 2018 17:37:37 +0200, Melleus wrote:

> I use openrc. Connman pretends to start, but when checking its status
> with:
> 
> /etc/init.d/connman status
> 
> I get
> 
> * status: crashed
> 
> message. So for some unclear reason it cannot start properly.

What do the logs say?

Can you start it manually?


-- 
Neil Bothwick

Give a man a fish and you feed him for a day; teach him
to use the Net and he won't bother you for weeks.


pgp8AzdUrRvNg.pgp
Description: OpenPGP digital signature


[gentoo-user] Re: LINGUAS make.conf variable being ignored?

2018-01-06 Thread Grant Edwards
On 2018-01-06, Peter Humphrey  wrote:
> On Friday, 5 January 2018 20:19:19 GMT Grant Edwards wrote:
>
>> It looks like most of the other broken packages just get rebuilt with
>> no languages supported (which means they probably still work for an
>> english speaker).
>
> Ahem! American "English", I think you mean.

Yes, though for most programs [spell-checkers being the obvious
exception] and most non-US English speakers who expected en_GB, I
doubt they'd have any problems using programs that were speaking US
English instead of British English (are there others in use besides
en_GB?).

--
Grant








[gentoo-user] Re: Connman refuses to work

2018-01-06 Thread Melleus
Rich Freeman  writes:

> On Sat, Jan 6, 2018 at 7:33 AM, Melleus  wrote:
>> After last system update my connman refuses to work. It throws a
>> message:
>> The name net.connman was not provided by any .service files
>>
>> There is connman service installed in default runlevel. Connman version
>> is 1.29. I had not changed any configuration file before it stopped
>> working. I suspect that this is somehow tied with the questionable
>> design of the softwares related to systemd (I moved to Gentoo with
>> OpenRC to escape from systemd intervention). But I cannot really
>> understand what is happening. Does anybody have similar problem? How to
>> solve it?
>
> What service manager are you actually using?  Are you actually booted
> using openrc, or systemd?

I use openrc. Connman pretends to start, but when checking its status with:

/etc/init.d/connman status

I get

* status: crashed

message. So for some unclear reason it cannot start properly.




[gentoo-user] Re: LINGUAS make.conf variable being ignored?

2018-01-06 Thread Grant Edwards
On 2018-01-06, Mart Raudsepp  wrote:

>> How do you show the complete set of use flags including expanded
>> ones?
>
> LINGUAS is not expanded anymore.

So does euse show expanded variables?

--
Grant






Re: [gentoo-user] LINGUAS make.conf variable being ignored?

2018-01-06 Thread Mart Raudsepp
On Fri, 2018-01-05 at 18:53 +, Grant Edwards wrote:
> I haven't changed LINGUAS or L10N for ages, but I've noticed that
> suddely other packages are being rebuild without linguas_en and
> linguas_en_us.
> 
> Is make.conf's LINGUAS variable no longer being expanded?

Correct.
See https://bugs.gentoo.org/643598
and maybe https://bugs.gentoo.org/643682#c1 for a more technically
explained temporary workaround to not lose language during this
(hopefully rather short) final transition period.

> How do you show the complete set of use flags including expanded
> ones?

LINGUAS is not expanded anymore.



Re: [gentoo-user] Switching from Seamonkey to Firefox and Thunderbird

2018-01-06 Thread Dale
Neil Bothwick wrote:
> On Sat, 6 Jan 2018 07:30:30 -0600, Dale wrote:
>
>> I was able to tell it to open with Firefox.  That is as far as it would
>> go tho.  I have multiple profiles for Firefox and while it would let me
>> pick which one to use, it would only show a error that it was already in
>> use.  It wouldn't open links as a new tab for example.  I found someone
>> else wanting the same thing as me and it appears it doesn't exist.  Link
>> is above.  I may look into Palemoon.  I found a post that seems to claim
>> it works.  I'm not sure that LastPass works with Palemoon so even if it
>> does, another problem pops up.  The huge change to Firefox with version
>> 57 isn't likely to help this.  I'm also losing some addons to that
>> change. 
> Have you tried Chromium? It has none of these issues, nor does it break
> addons routinely.
>
>


I did a while back and I just didn't like it at all.  I looked at Opera
too at one point.  The browser I like most, as far as how it does its
thing user interface wise, is Seamonkey.  I like that my email and
browser is in one program.  Clicking links and such works as I expect it
too.  This is one reason I switched from Kmail to Seamonkey.  I had link
problems there as well.  My next browser choice would be Firefox.  After
that, there is no third really.  I even looked at Palemoon and it is
Firefox which is good BUT most of the addons I use won't work there.  Of
course, some won't work with the new 57+ versions of Firefox either.  I
suspect this 57+ Firefox change is what has triggered all this mess. 
The way addons work with Firefox and Seamonkey changed enough that it
requires two different methods which means more work for LastPass. 

I'll have to figure out a workaround until something good comes along,
like maybe LastPass works in Seamonkey again.  Maybe Seamonkey will
upgrade to the way Firefox does its addons and LastPass will support
both again. 

Maybe one day.  ;-)

Dale

:-)  :-) 



Re: [gentoo-user] Switching from Seamonkey to Firefox and Thunderbird

2018-01-06 Thread Neil Bothwick
On Sat, 6 Jan 2018 07:30:30 -0600, Dale wrote:

> I was able to tell it to open with Firefox.  That is as far as it would
> go tho.  I have multiple profiles for Firefox and while it would let me
> pick which one to use, it would only show a error that it was already in
> use.  It wouldn't open links as a new tab for example.  I found someone
> else wanting the same thing as me and it appears it doesn't exist.  Link
> is above.  I may look into Palemoon.  I found a post that seems to claim
> it works.  I'm not sure that LastPass works with Palemoon so even if it
> does, another problem pops up.  The huge change to Firefox with version
> 57 isn't likely to help this.  I'm also losing some addons to that
> change. 

Have you tried Chromium? It has none of these issues, nor does it break
addons routinely.


-- 
Neil Bothwick

Eat shit - 50 million flies can't be wrong
Use Microsoft . . . . .


pgpTMQzBHPYdj.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: Expect a ~15% average slowdown if you use an Intel processor

2018-01-06 Thread Rich Freeman
On Sat, Jan 6, 2018 at 8:58 AM, Walter Dnes  wrote:
>
>   I'm running openrc.  On my 32-bit install, Intel Core2 duo, I get...
>
> zgrep BPF /proc/config.gz
> CONFIG_BPF=y
> # CONFIG_BPF_SYSCALL is not set
> # CONFIG_NETFILTER_XT_MATCH_BPF is not set
> # CONFIG_TEST_BPF is not set
>
>   On my 64-bit install, Intel Silvermont (Atom), I get...
>
> zgrep BPF /proc/config.gz
> CONFIG_BPF=y
> # CONFIG_BPF_SYSCALL is not set
> # CONFIG_NETFILTER_XT_MATCH_BPF is not set
> # CONFIG_BPF_JIT is not set
> CONFIG_HAVE_EBPF_JIT=y
> # CONFIG_TEST_BPF is not set
>
>   Does this improve security at all versus meltdown/spectre?  Any
> suggestions for changes?

Intel hardware is vulnerable to Spectre variant 1, and Meltdown,
regardless of any kernel settings, unless the kernel is patched to
defeat it.  I'm less sure about whether you're vulnerable to Spectre
variant 2 with JIT BPF turned off.  PTI is required to defeat Meltdown
on Intel hardware.  I don't think a patch to Spectre is in the stable
linux kernel yet, though it seems like Redhat may have pushed out some
kind of patch for it (possibly in conjunction with a microcode update
to enable it).

Disabling BPF JIT (which is the default state) does defeat the known
Spectre attacks on AMD hardware, and AMD hardware is immune to
Meltdown.

Note that this is only talking about the kernel.  Userspace code can
also be vulnerable to cross-process Spectre attacks (particularly
browsers) and those require specific hardening as well at the software
level.  On Gentoo we would get the benefit that if a gcc-level fix is
developed we could harden everything at once with a complete rebuild.
However, at this time gcc hasn't been patched.  There is plenty of
talk of it though.  Some of the proposed solutions also need CPU
microcode updates to enable them.  The idea is that gcc would insert
instructions in sensitive locations to fence in speculative execution,
and the microcode would get the CPU to respect these boundaries.

Intel has published this regarding their hardware:
https://newsroom.intel.com/wp-content/uploads/sites/11/2018/01/Intel-Analysis-of-Speculative-Execution-Side-Channels.pdf

(This is targeted more at developers than users, including OS developers.)

-- 
Rich



Re: [gentoo-user] Re: Expect a ~15% average slowdown if you use an Intel processor

2018-01-06 Thread Walter Dnes
On Sat, Jan 06, 2018 at 11:26:43AM +1100, Adam Carter wrote
> >
> > > So, HAVE_EBPF_JIT=y just means that BPF JIT _can_ be done on x86.  There
> > > is a separate BPF_JIT setting to actually enable it.
> >
> > Well, that doesn't seem to be present here. Just the HAVE_ symbol.
> 
> 
> Careful, there's BPF and EBPF.
> 
> $ zgrep BPF /proc/config.gz
> CONFIG_CGROUP_BPF=y
> CONFIG_BPF=y
> CONFIG_BPF_SYSCALL=y
> # CONFIG_NETFILTER_XT_MATCH_BPF is not set
> # CONFIG_NET_CLS_BPF is not set
> # CONFIG_NET_ACT_BPF is not set
> # CONFIG_BPF_JIT is not set
> # CONFIG_BPF_STREAM_PARSER is not set
> CONFIG_HAVE_EBPF_JIT=y
> # CONFIG_TEST_BPF is not set

  I'm running openrc.  On my 32-bit install, Intel Core2 duo, I get...

zgrep BPF /proc/config.gz
CONFIG_BPF=y
# CONFIG_BPF_SYSCALL is not set
# CONFIG_NETFILTER_XT_MATCH_BPF is not set
# CONFIG_TEST_BPF is not set

  On my 64-bit install, Intel Silvermont (Atom), I get...

zgrep BPF /proc/config.gz
CONFIG_BPF=y
# CONFIG_BPF_SYSCALL is not set
# CONFIG_NETFILTER_XT_MATCH_BPF is not set
# CONFIG_BPF_JIT is not set
CONFIG_HAVE_EBPF_JIT=y
# CONFIG_TEST_BPF is not set

  Does this improve security at all versus meltdown/spectre?  Any
suggestions for changes?

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] Connman refuses to work

2018-01-06 Thread Rich Freeman
On Sat, Jan 6, 2018 at 7:33 AM, Melleus  wrote:
> After last system update my connman refuses to work. It throws a
> message:
> The name net.connman was not provided by any .service files
>
> There is connman service installed in default runlevel. Connman version
> is 1.29. I had not changed any configuration file before it stopped
> working. I suspect that this is somehow tied with the questionable
> design of the softwares related to systemd (I moved to Gentoo with
> OpenRC to escape from systemd intervention). But I cannot really
> understand what is happening. Does anybody have similar problem? How to
> solve it?

What service manager are you actually using?  Are you actually booted
using openrc, or systemd?

-- 
Rich



Re: [gentoo-user] Switching from Seamonkey to Firefox and Thunderbird

2018-01-06 Thread Dale
Peter Humphrey wrote:
> On Friday, 5 January 2018 21:04:30 GMT Dale wrote:
>
>> I found someone else wanting the same thing, well, close enough anyway.
>> It seems this isn't doable.  I find it odd that a email program can't be
>> configured to open links in a running browser without the two programs
>> being the same.  Linky.
>>
>> https://support.mozilla.org/en-US/questions/999493
>>
>> Without this, I'll have to copy and paste all the links I want to open.
>> That is just not a good option.  No matter which way I go, something is
>> broken.
> Doesn't the Default Applications choice in System Settings help? (I think 
> I'm right in that you use KDE.)
>

I was able to tell it to open with Firefox.  That is as far as it would
go tho.  I have multiple profiles for Firefox and while it would let me
pick which one to use, it would only show a error that it was already in
use.  It wouldn't open links as a new tab for example.  I found someone
else wanting the same thing as me and it appears it doesn't exist.  Link
is above.  I may look into Palemoon.  I found a post that seems to claim
it works.  I'm not sure that LastPass works with Palemoon so even if it
does, another problem pops up.  The huge change to Firefox with version
57 isn't likely to help this.  I'm also losing some addons to that change. 

So, Seamonkey doesn't have LastPass as a option but Firefox doesn't have
a way to open email links in a new tab if one uses multiple profiles. 
Either way, something is broken.  I'm not the only one that thinks this
is weird for Firefox/Thunderbird to not have this sort of feature. 

I think if I could tell Thunderbird to open with a command *and* I could
add options to that command, I could get it to work.  That would allow
me to tell it to open with Firefox but to do so with a new tab instead
of a new instance.  Thing is, it allows me to tell it to use Firefox but
does not allow me to add options. 

I'll come up with something.  I'm just not sure what yet.  I wish I
could just get LastPass to work with Seamonkey.  That would only leave
me with a very few sites that don't work with Seamonkey. 

Dale

:-)  :-) 



[gentoo-user] Re: Connman refuses to work

2018-01-06 Thread Melleus
Melleus  writes:

> working. I suspect that this is somehow tied with the questionable
> design of the softwares related to systemd (I moved to Gentoo with
> OpenRC to escape from systemd intervention). But I cannot really
> understand what is happening. Does anybody have similar problem? How to
> solve it?

I found that with stable keyword I have kernel version 4.9.72 and linux
headers version 4.13 installed on my system. But if they both keyworded
as stable there should not be any incompatibility? Or not?





Re: [gentoo-user] emerge -e and --resume

2018-01-06 Thread allan gottlieb
On Fri, Jan 05 2018, Daniel Frey wrote:

> On 01/05/18 18:50, allan gottlieb wrote:
>> On Fri, Jan 05 2018, Daniel Frey wrote:
>>
>>> On 01/05/18 13:15, Neil Bothwick wrote:
 On Fri, 05 Jan 2018 13:00:20 -0500, allan gottlieb wrote:

> I am finally moving my production machine the the 17.0 profile.
> Currently running is
>
>   emerge -e --keep-going @world
>
> So far there is one failure (libcryptui, the fix is easy).
>
> Am I correct that when the above emerge completes, I should run
> simply
>
>   emerge --resume

 If the emerge has completed, there is nothing to resume. Just make a note
 of the packages that failed to build ans emerge --oneshot them, with any
 necessary fixes.


>>>
>>> You may also want to check for dependencies (as in: `equery depends
>>> ` and rebuild the dependencies of the failed package as well.
>>>
>>> Dan
>>
>> I don't understand.  If the dependencies didn't fail, why should I
>> rebuild them?
>>
>> thanks,
>> allan
>>
>
> If you're transitioning over to the new profile, that means the
> dependencies would be built and linked to the old profile's
> binaries. This was merely a suggestion, as I've had some mighty
> strange things happen after upgrades to gcc in the past, all solved by
> `emerge -e 
> world`, although... I didn't have packages fail back then.
>
> When I switched over to the 17 profile I had one rebuild failure, and
> it didn't have any direct dependencies fail.
>
> Dan

Now I understand that you mean packages that depend on failed builds.
I was mistakenly thinking of packages on which the failed build depends.

You are right and thanks again.
allan



[gentoo-user] Connman refuses to work

2018-01-06 Thread Melleus
After last system update my connman refuses to work. It throws a
message:
The name net.connman was not provided by any .service files

There is connman service installed in default runlevel. Connman version
is 1.29. I had not changed any configuration file before it stopped
working. I suspect that this is somehow tied with the questionable
design of the softwares related to systemd (I moved to Gentoo with
OpenRC to escape from systemd intervention). But I cannot really
understand what is happening. Does anybody have similar problem? How to
solve it?

Thanks ahead of time.




Re: [gentoo-user] Plasma device notifier shows wrong free space on USB disks

2018-01-06 Thread Flavio Cappelli
>> ...
>>
>> I tried with three different USB drives and the behavior is the same:
>>
>> - 4GB flash drive on USB2 interface, vfat formatted, 3.3GB free
>> - 128GB flash drive on USB3 interface, exfat formatted, 107GB free
>> - 500GB external HDD on USB2 interface, ext4 formatted, 468GB free
>>
>> The device notifier always shows 1.2GB of free space and I cannot
>> copy big files with dolphin to the USB disk.
>
> I bet it's to do with the FAT / VFAT formatting.
>
> If you don't get any more helpful replies here, I would take this
directly to the KDE lists.
>
> Stroller
>

Unfortunately it happens also with the ext4 filesystem (see the last
item in the above list).

Ok, thanks for the suggestion.

Flavio



Re: [gentoo-user] emerge -e and --resume

2018-01-06 Thread Neil Bothwick
On Sat, 06 Jan 2018 09:40:32 +, Peter Humphrey wrote:

> > > If the emerge has completed, there is nothing to resume. Just make a
> > > note
> > > of the packages that failed to build ans emerge --oneshot them,
> > > with any necessary fixes.  
> > 
> > Thank you.  So far (only 104 to go) just the one failure.  Will the
> >  emerge --keep-going
> > print a list of failed pkgs at the end?  
> 
> Yes, it will; it'll give you the same output from each failure as you
> would have got separately.

It will also include any reverse dependencies (I think this is what Dan
was getting at) that were skipped because a package failed to build.


-- 
Neil Bothwick

At any event, the people whose seats are furthest from
the aisle arrive last.


pgpGLNEfevDgf.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: LINGUAS make.conf variable being ignored?

2018-01-06 Thread Peter Humphrey
On Friday, 5 January 2018 20:19:19 GMT Grant Edwards wrote:

> It looks like most of the other broken packages just get rebuilt with
> no languages supported (which means they probably still work for an
> english speaker).

Ahem! American "English", I think you mean.

> I suspect that at some point, the only way you can get people to fix
> the last handful of packages is to force the issue by implementing the
> change that causes them to fail/misbehave.


-- 
Regards,
Peter.




Re: [gentoo-user] emerge -e and --resume

2018-01-06 Thread Peter Humphrey
On Saturday, 6 January 2018 02:49:53 GMT allan gottlieb wrote:
> On Fri, Jan 05 2018, Neil Bothwick wrote:
> > On Fri, 05 Jan 2018 13:00:20 -0500, allan gottlieb wrote:
> >> I am finally moving my production machine the the 17.0 profile.
> >> Currently running is
> >> 
> >> emerge -e --keep-going @world
> >> 
> >> So far there is one failure (libcryptui, the fix is easy).
> >> 
> >> Am I correct that when the above emerge completes, I should run
> >> simply
> >> 
> >> emerge --resume
> > 
> > If the emerge has completed, there is nothing to resume. Just make a
> > note
> > of the packages that failed to build ans emerge --oneshot them, with any
> > necessary fixes.
> 
> Thank you.  So far (only 104 to go) just the one failure.  Will the
>  emerge --keep-going
> print a list of failed pkgs at the end?

Yes, it will; it'll give you the same output from each failure as you would 
have got separately.


-- 
Regards,
Peter.




Re: [gentoo-user] Switching from Seamonkey to Firefox and Thunderbird

2018-01-06 Thread Peter Humphrey
On Friday, 5 January 2018 21:04:30 GMT Dale wrote:

> I found someone else wanting the same thing, well, close enough anyway.
> It seems this isn't doable.  I find it odd that a email program can't be
> configured to open links in a running browser without the two programs
> being the same.  Linky.
> 
> https://support.mozilla.org/en-US/questions/999493
> 
> Without this, I'll have to copy and paste all the links I want to open.
> That is just not a good option.  No matter which way I go, something is
> broken.

Doesn't the Default Applications choice in System Settings help? (I think 
I'm right in that you use KDE.)

-- 
Regards,
Peter.