[gentoo-user] KDE: wtf

2018-07-27 Thread Alan Grimes
Kde is still broken here, I want to reboot before declaring Steam still
dead...

I read some vomit just now and it's like:

###
-- Found PkgConfig: x86_64-pc-linux-gnu-pkg-config (found version "0.29.2")
-- Found XCB_XCB: /usr/lib/libxcb.so (found version "1.13")
-- Found XCB_KEYSYMS: /usr/lib/libxcb-keysyms.so (found version "0.4.0")
-- Found XCB: /usr/lib/libxcb.so;/usr/lib/libxcb-keysyms.so (found
version "1.13") found components:  XCB KEYSYMS
CMake Error at /usr/lib64/cmake/Qt5/Qt5Config.cmake:28 (find_package):
  Could not find a package configuration file provided by "Qt5X11Extras"
with
  any of the following names:

    Qt5X11ExtrasConfig.cmake
    qt5x11extras-config.cmake

  Add the installation prefix of "Qt5X11Extras" to CMAKE_PREFIX_PATH or set
  "Qt5X11Extras_DIR" to a directory containing one of the above files.  If
  "Qt5X11Extras" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:58 (find_package)


-- Configuring incomplete, errors occurred!
See also
"/var/tmp/portage/kde-frameworks/kwindowsystem-5.48.0/work/kwindowsystem-5.48.0_build/CMakeFiles/CMakeOutput.log".
 * ERROR: kde-frameworks/kwindowsystem-5.48.0::gentoo failed (configure
phase):
 *   cmake failed
 *
 * Call stack:
 * ebuild.sh, line  124:  Called src_configure
 *   environment, line 3762:  Called kde5_src_configure
###


Okay I'm a bit dumbfounded right now. =(

I tried
emerge --oneshot kde-frameworks/extra-cmake-modules

and that didn't help

-- 
Please report bounces from this address to a...@numentics.com

Powers are not rights.




Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-07-27 Thread Mick
On Friday, 27 July 2018 19:49:45 BST gevisz wrote:
> 2018-07-27 18:29 GMT+03:00 Mick :
> > On Friday, 27 July 2018 14:00:43 BST gevisz wrote:
> >> 2018-07-27 15:44 GMT+03:00 gevisz :
> >> > Updating world without global -pam, -polkit and -consolekit use flags
> >> > in /etc/portage/make.conf have not changed the behaviour of Fireforx
> >> > described above: it is still cannot display the page
> >> > https://www.privat24.ua/ and shows "Gah. Your tab just crashed."
> >> > message.
> >> > 
> >> > So, I will probably revert changes tomorrow.
> >> > 
> >> > Playing with strace has been put on todo list.
> >> 
> >> Last lines of the log file after runnig the following command
> >> 
> >> $ strace -o strace.log qupzilla https://www.privat24.ua/
> >> QupZilla: 0 extensions loaded
> >> [15707:15725:0727/155144.939329:ERROR:nss_util.cc(808)] After loading
> >> Root Certs, loaded==false: NSS error code: -8018
> >> [15707:15719:0727/155145.900259:ERROR:nss_ocsp.cc(591)] No
> >> URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
> > 
> > Mozilla is using libnss to check the validity of the website certificate
> > with the OCSP of the CA issuer of the certificate (digicert.com).  For
> > some reason it seems the connection is interrupted.  See lines 605 to 621
> > here:
> > 
> > https://code.woboq.org/qt5/qtwebengine/src/3rdparty/chromium/net/cert_net/
> > nss_ocsp.cc.html
> > 
> > The connection may be interrupted because the browser/tab crashes (see
> > below).> 
> >> r300 FP: Compiler Error:
> >> /var/tmp/portage/media-libs/mesa-17.3.9/work/mesa-17.3.9/src/gallium/driv
> >> ers /r300/compiler/r300_fragprog_emit.c::translate_rgb_opcode():
> >> translate_rgb_opcode: Unknown opcode DDY
> >> Using a dummy shader instead.
> >> QupZilla: Crashed :( Saving backtrace in
> >> /home/gevis/.config/qupzilla/crashlog ...
> >> Backtrace successfully saved in
> >> /home/gevis/.config/qupzilla/crashlog/Crash-2018-07-27T15:51:49.txt
> >> zsh: abort  strace -o strace.log qupzilla https://www.privat24.ua/
> >> 
> >> are the following:
> >> 
> >> clock_gettime(CLOCK_MONOTONIC, {tv_sec=1167, tv_nsec=68524671}) = 0
> >> ioctl(8, DRM_IOCTL_RADEON_GEM_MMAP, 0x7ffd31773280) = 0
> >> mmap(NULL, 6868992, PROT_READ|PROT_WRITE, MAP_SHARED, 8, 0x107616000)
> >> = 0x7f22f565
> >> +++ killed by SIGABRT +++
> > 
> > This looks like a radeon video driver problem.  You could go into a loop
> > of
> > rebuilding xorg, mesa, dev-libs/nss, what-ever and see if things improve,
> > or you could wait for/keyword later versions of these packages.
> 
> Thank you for the tip. In this case, I should first try reconfigure the
> kernel.
> > Alternatively, you could try reporting this to the application devs and
> > see
> > what they say.
> 
> Do you mean developpers of FF/QZ?

Yes, although unless this is a known bug they may point you to the devs of the 
radeon drivers.  I've been around this loop a couple of times (sigh ...)
-- 
Regards,
Mick

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


Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-07-27 Thread gevisz
2018-07-27 18:29 GMT+03:00 Mick :
> On Friday, 27 July 2018 14:00:43 BST gevisz wrote:
>> 2018-07-27 15:44 GMT+03:00 gevisz :
>> > Updating world without global -pam, -polkit and -consolekit use flags
>> > in /etc/portage/make.conf have not changed the behaviour of Fireforx
>> > described above: it is still cannot display the page
>> > https://www.privat24.ua/ and shows "Gah. Your tab just crashed." message.
>> >
>> > So, I will probably revert changes tomorrow.
>> >
>> > Playing with strace has been put on todo list.
>>
>> Last lines of the log file after runnig the following command
>>
>> $ strace -o strace.log qupzilla https://www.privat24.ua/
>> QupZilla: 0 extensions loaded
>> [15707:15725:0727/155144.939329:ERROR:nss_util.cc(808)] After loading
>> Root Certs, loaded==false: NSS error code: -8018
>> [15707:15719:0727/155145.900259:ERROR:nss_ocsp.cc(591)] No
>> URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
>
> Mozilla is using libnss to check the validity of the website certificate with
> the OCSP of the CA issuer of the certificate (digicert.com).  For some reason
> it seems the connection is interrupted.  See lines 605 to 621 here:
>
> https://code.woboq.org/qt5/qtwebengine/src/3rdparty/chromium/net/cert_net/
> nss_ocsp.cc.html
>
> The connection may be interrupted because the browser/tab crashes (see below).
>
>
>> r300 FP: Compiler Error:
>> /var/tmp/portage/media-libs/mesa-17.3.9/work/mesa-17.3.9/src/gallium/drivers
>> /r300/compiler/r300_fragprog_emit.c::translate_rgb_opcode():
>> translate_rgb_opcode: Unknown opcode DDY
>> Using a dummy shader instead.
>> QupZilla: Crashed :( Saving backtrace in
>> /home/gevis/.config/qupzilla/crashlog ...
>> Backtrace successfully saved in
>> /home/gevis/.config/qupzilla/crashlog/Crash-2018-07-27T15:51:49.txt
>> zsh: abort  strace -o strace.log qupzilla https://www.privat24.ua/
>>
>> are the following:
>>
>> clock_gettime(CLOCK_MONOTONIC, {tv_sec=1167, tv_nsec=68524671}) = 0
>> ioctl(8, DRM_IOCTL_RADEON_GEM_MMAP, 0x7ffd31773280) = 0
>> mmap(NULL, 6868992, PROT_READ|PROT_WRITE, MAP_SHARED, 8, 0x107616000)
>> = 0x7f22f565
>> +++ killed by SIGABRT +++
>
>
> This looks like a radeon video driver problem.  You could go into a loop of
> rebuilding xorg, mesa, dev-libs/nss, what-ever and see if things improve, or
> you could wait for/keyword later versions of these packages.

Thank you for the tip. In this case, I should first try reconfigure the kernel.

> Alternatively, you could try reporting this to the application devs and see
> what they say.

Do you mean developpers of FF/QZ?



Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-07-27 Thread Mick
On Friday, 27 July 2018 14:00:43 BST gevisz wrote:
> 2018-07-27 15:44 GMT+03:00 gevisz :
> > Updating world without global -pam, -polkit and -consolekit use flags
> > in /etc/portage/make.conf have not changed the behaviour of Fireforx
> > described above: it is still cannot display the page
> > https://www.privat24.ua/ and shows "Gah. Your tab just crashed." message.
> > 
> > So, I will probably revert changes tomorrow.
> > 
> > Playing with strace has been put on todo list.
> 
> Last lines of the log file after runnig the following command
> 
> $ strace -o strace.log qupzilla https://www.privat24.ua/
> QupZilla: 0 extensions loaded
> [15707:15725:0727/155144.939329:ERROR:nss_util.cc(808)] After loading
> Root Certs, loaded==false: NSS error code: -8018
> [15707:15719:0727/155145.900259:ERROR:nss_ocsp.cc(591)] No
> URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com

Mozilla is using libnss to check the validity of the website certificate with 
the OCSP of the CA issuer of the certificate (digicert.com).  For some reason 
it seems the connection is interrupted.  See lines 605 to 621 here:

https://code.woboq.org/qt5/qtwebengine/src/3rdparty/chromium/net/cert_net/
nss_ocsp.cc.html

The connection may be interrupted because the browser/tab crashes (see below).


> r300 FP: Compiler Error:
> /var/tmp/portage/media-libs/mesa-17.3.9/work/mesa-17.3.9/src/gallium/drivers
> /r300/compiler/r300_fragprog_emit.c::translate_rgb_opcode():
> translate_rgb_opcode: Unknown opcode DDY
> Using a dummy shader instead.
> QupZilla: Crashed :( Saving backtrace in
> /home/gevis/.config/qupzilla/crashlog ...
> Backtrace successfully saved in
> /home/gevis/.config/qupzilla/crashlog/Crash-2018-07-27T15:51:49.txt
> zsh: abort  strace -o strace.log qupzilla https://www.privat24.ua/
> 
> are the following:
> 
> clock_gettime(CLOCK_MONOTONIC, {tv_sec=1167, tv_nsec=68524671}) = 0
> ioctl(8, DRM_IOCTL_RADEON_GEM_MMAP, 0x7ffd31773280) = 0
> mmap(NULL, 6868992, PROT_READ|PROT_WRITE, MAP_SHARED, 8, 0x107616000)
> = 0x7f22f565
> +++ killed by SIGABRT +++


This looks like a radeon video driver problem.  You could go into a loop of 
rebuilding xorg, mesa, dev-libs/nss, what-ever and see if things improve, or 
you could wait for/keyword later versions of these packages.

Alternatively, you could try reporting this to the application devs and see 
what they say.

-- 
Regards,
Mick

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


Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-07-27 Thread gevisz
2018-07-27 15:44 GMT+03:00 gevisz :
> Updating world without global -pam, -polkit and -consolekit use flags
> in /etc/portage/make.conf have not changed the behaviour of Fireforx
> described above: it is still cannot display the page https://www.privat24.ua/
> and shows "Gah. Your tab just crashed." message.
>
> So, I will probably revert changes tomorrow.
>
> Playing with strace has been put on todo list.

Last lines of the log file after runnig the following command

$ strace -o strace.log qupzilla https://www.privat24.ua/
QupZilla: 0 extensions loaded
[15707:15725:0727/155144.939329:ERROR:nss_util.cc(808)] After loading
Root Certs, loaded==false: NSS error code: -8018
[15707:15719:0727/155145.900259:ERROR:nss_ocsp.cc(591)] No
URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[15707:15719:0727/155145.900327:ERROR:nss_ocsp.cc(591)] No
URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[15707:15719:0727/155145.900384:ERROR:nss_ocsp.cc(591)] No
URLRequestContext for NSS HTTP handler. host: crl4.digicert.com
[15707:15719:0727/155145.904387:ERROR:nss_ocsp.cc(591)] No
URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[15707:15719:0727/155145.904448:ERROR:nss_ocsp.cc(591)] No
URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[15707:15719:0727/155145.904496:ERROR:nss_ocsp.cc(591)] No
URLRequestContext for NSS HTTP handler. host: crl4.digicert.com
r300 FP: Compiler Error:
/var/tmp/portage/media-libs/mesa-17.3.9/work/mesa-17.3.9/src/gallium/drivers/r300/compiler/r300_fragprog_emit.c::translate_rgb_opcode():
translate_rgb_opcode: Unknown opcode DDY
Using a dummy shader instead.
QupZilla: Crashed :( Saving backtrace in
/home/gevis/.config/qupzilla/crashlog ...
Backtrace successfully saved in
/home/gevis/.config/qupzilla/crashlog/Crash-2018-07-27T15:51:49.txt
zsh: abort  strace -o strace.log qupzilla https://www.privat24.ua/

are the following:

read(5, "\1\0\0\0\0\0\0\0", 16) = 8
clock_gettime(CLOCK_MONOTONIC, {tv_sec=1166, tv_nsec=988321461}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=1166, tv_nsec=988368394}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=1166, tv_nsec=988415817}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=1166, tv_nsec=988467639}) = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=12,
events=POLLIN}, {fd=44, events=POLLIN}], 4, 0) = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {tv_sec=1166, tv_nsec=988568839}) = 0
write(5, "\1\0\0\0\0\0\0\0", 8) = 8
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=12,
events=POLLIN}, {fd=44, events=POLLIN}], 4, 0) = 1 ([{fd=5,
revents=POLLIN}])
read(5, "\1\0\0\0\0\0\0\0", 16) = 8
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{iov_base="&\0\2\0y\2\0\0", iov_len=8}], 1) = 8
futex(0x55f78fcb7c08, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x55f78fcb7c08, FUTEX_WAKE_PRIVATE, 1) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=1166, tv_nsec=990082928}) = 0
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{iov_base="\231\7\5\0\21\0\300\1\1\0\0\0\1\0\0\0\30\0\0\0",
iov_len=20}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3)
= 20
futex(0x55f78fcb7c08, FUTEX_WAKE_PRIVATE, 1) = 1
ioctl(8, DRM_IOCTL_RADEON_GEM_CREATE, 0x7ffd31773080) = 0
ioctl(8, DRM_IOCTL_RADEON_GEM_SET_TILING, 0x7ffd3177311c) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=1166, tv_nsec=995358529}) = 0
ioctl(8, DRM_IOCTL_RADEON_GEM_WAIT_IDLE, 0x7ffd31773250) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=1166, tv_nsec=995480262}) = 0
ioctl(8, DRM_IOCTL_RADEON_GEM_MMAP, 0x7ffd31773280) = 0
mmap(NULL, 6868992, PROT_READ|PROT_WRITE, MAP_SHARED, 8, 0x1073e4000)
= 0x7f22f585
futex(0x55f78fd2d4f4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x55f78fd2d4a0, FUTEX_WAKE_PRIVATE, 1) = 1
munmap(0x7f22f585, 6868992) = 0
ioctl(8, DRM_IOCTL_GEM_CLOSE, 0x7ffd31773358) = 0
futex(0x55f78fe276a8, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x55f78fe276a8, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
futex(0x55f78fe276a8, FUTEX_WAKE_PRIVATE, 1) = 0
ioctl(8, DRM_IOCTL_RADEON_GEM_WAIT_IDLE, 0x7ffd31773900) = 0
ioctl(8, DRM_IOCTL_GEM_CLOSE, 0x7ffd317738d8) = 0
ioctl(8, DRM_IOCTL_RADEON_GEM_CREATE, 0x7ffd317737a0) = 0
futex(0x55f78fd2d4f4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x55f78fd2d4a0, FUTEX_WAKE_PRIVATE, 1) = 1
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, 
[{iov_base="\231\10\10\0\21\0\300\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",
iov_len=32}], 1) = 32
futex(0x55f78fcb7c08, FUTEX_WAKE_PRIVATE, 1) = 1
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{iov_base="+\7\1\0", iov_len=4}, {iov_base=NULL,
iov_len=0}, {iov_base="", iov_len=0}], 3) = 4
futex(0x55f78fcb7c08, FUTEX_WAKE_PRIVATE, 1) = 1
write(5, "\1\0\0\0\0\0\0\0", 8) = 8
clock_gettime(CLOCK_MONOTONIC, {tv_sec=1167, tv_nsec=5347019}) = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=12,
events=POLLIN}, {fd=44, 

Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-07-27 Thread gevisz
2018-07-27 14:13 GMT+03:00 gevisz :
> 2018-07-27 13:57 GMT+03:00 Mick :
>> On Friday, 27 July 2018 11:44:08 BST gevisz wrote:
>>> 2018-07-27 12:44 GMT+03:00 Mick :
>>
>>> > PAM is used to separate applications from the underlying
>>> > authentication mechanisms.  It checks OS user/account/passwd/session
>>> > authentications when required by applications.  This is the backbone
>>> > of managing Linux authentications today, although some applications
>>> > retain their own application level authentication mechanism (e.g. SSH).
>>>
>>> So, do you think that global -pam use flag can cause Firefox
>>> and QupZilla to crash on loging web-pages?
>>
>> You can run them with strace to see if they are trying to access any pam
>> modules, but I would think it unlikely.
>
> Thank you for the tip. I will try to use strace after reading about it.
>
> However, currently I already deleted grobal -pam use flag and
> started to update world with the new settings. Some new packages
> are currently installing and some other are recompiling.

Updating world without global -pam, -polkit and -consolekit use flags
in /etc/portage/make.conf have not changed the behaviour of Fireforx
described above: it is still cannot display the page https://www.privat24.ua/
and shows "Gah. Your tab just crashed." message.

So, I will probably revert changes tomorrow.

Playing with strace has been put on todo list.

Any more adeas?



Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-07-27 Thread gevisz
2018-07-27 13:57 GMT+03:00 Mick :
> On Friday, 27 July 2018 11:44:08 BST gevisz wrote:
>> 2018-07-27 12:44 GMT+03:00 Mick :
>
>> > PAM is used to separate applications from the underlying
>> > authentication mechanisms.  It checks OS user/account/passwd/session
>> > authentications when required by applications.  This is the backbone
>> > of managing Linux authentications today, although some applications
>> > retain their own application level authentication mechanism (e.g. SSH).
>>
>> So, do you think that global -pam use flag can cause Firefox
>> and QupZilla to crash on loging web-pages?
>
> You can run them with strace to see if they are trying to access any pam
> modules, but I would think it unlikely.

Thank you for the tip. I will try to use strace after reading about it.

However, currently I already deleted grobal -pam use flag and
started to update world with the new settings. Some new packages
are currently installing and some other are recompiling.

> I bet this is something to do with the graphics drivers.  Later versions of
> browsers are heavy on hardware acceleration and can stress some graphics
> drivers causing crashes like this.  Geolocation and other pop ups use the GPU
> to create rendering effects and this could be the cause of the crash.

I doubt this because the same works on old Gentoo intallation on
the same computer. But I can not be sure, of course. :)



Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-07-27 Thread Mick
On Friday, 27 July 2018 11:44:08 BST gevisz wrote:
> 2018-07-27 12:44 GMT+03:00 Mick :

> > PAM is used to separate applications from the underlying
> > authentication mechanisms.  It checks OS user/account/passwd/session
> > authentications when required by applications.  This is the backbone
> > of managing Linux authentications today, although some applications
> > retain their own application level authentication mechanism (e.g. SSH).
> 
> So, do you think that global -pam use flag can cause Firefox
> and QupZilla to crash on loging web-pages?

You can run them with strace to see if they are trying to access any pam 
modules, but I would think it unlikely.

I bet this is something to do with the graphics drivers.  Later versions of 
browsers are heavy on hardware acceleration and can stress some graphics 
drivers causing crashes like this.  Geolocation and other pop ups use the GPU 
to create rendering effects and this could be the cause of the crash.

PS.  My wife's FF started crashing recently whenever she closes a single tab - 
but not every time.  :-/

-- 
Regards,
Mick

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


Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-07-27 Thread gevisz
2018-07-27 12:44 GMT+03:00 Mick :
> On Friday, 27 July 2018 09:16:30 BST gevisz wrote:
>> I have two Gentoo systems on the same AMD Athlon 64 X2 computer.
>>
>> The old one was installed in July 2013 with
>> default/linux/amd64/13.0/desktop/gnome (stable)
>> profile and was updated till the middle of
>> July 2017. Initially it hosted Gnome2
>> but later I have switched to XFCE4.
>>
>> The new one was installed in January-February 2018
>> with default/linux/amd64/17.0/desktop (stable)
>> profile and was last updated yesterday. From the
>> very beginning it hosted no DE, only Awesome WM
>> and dbus.
>>
>> The home directory is the same and still remembers
>> Ubuntu 6.04 installation in 2006.
>>
>> On the old system, I had the problem that chromium
>> very often (but not always!) asked me for some
>> (keyring?) password when I opened a new www-page.
>>
>> Recompilation of it with different user flags did not help.
>
> Go to:
>
> chrome://settings/passwords
>
> Then disable "Offer to save passwords".  It should not ask
> you to save passwords thereafter.

Thank you for your reply.

Chromium asked for a password to keyring or something like
that and did it on opening almost any page, even that that
definitely did not need any password authentication.

So, it was something else than just saving password for pages.

But it does not matter much now because I currently do not
use Chromium any more because it compiles more than 26 hours
on my computer.

>> I thought that that was because of the gnome-keyring,
>> consolekit or policykit packages but without any proof.
>
> From what I understand Chrome/ium will ask the desktop
> password manager to handle the saving of website passwords.

I guess he [Chromium] asked me for the password from
a password manager I may be used in previous intallation
of Ubuntu 5 or 10 years ago. However, I never give him
that password (because did not remember any such
password or even when I could create it in the past), so
he asked almost every time he opened new page. :)

> Policykit/polkit provides a centralised mechanism for
> non-privileged processes to communicate with privileged
> ones; e.g. when a plain user wants to hibernate/shutdown,
> disable NICs, etc.
>
>  https://lwn.net/Articles/258592/
>
> Consolekit tracks user sessions and allows switching between
> users on the same PC without logging out.

I am using my computer alone, so I guess that I do not need it.

> As far as I know with the switch to systemd and its built-in
> seat/user/session management mechanisms Consolekit
> is no longer maintained.

I do not use systemd.

>> So, while installing the new Gentoo system, I decided
>> to avoid installing any package that needs gnome-keyring,
>> consolekit or policykit packages.
>
> I think you shouldn't have needed to do all this.
>
>> I have also set -pam -consolekit and -policykit in my
>> /etc/portage/make.conf
>
> PAM is used to separate applications from the underlying
> authentication mechanisms.  It checks OS user/account/passwd/session
> authentications when required by applications.  This is the backbone
> of managing Linux authentications today, although some applications
> retain their own application level authentication mechanism (e.g. SSH).

So, do you think that global -pam use flag can cause Firefox
and QupZilla to crash on loging web-pages?

> I don't think setting USE="-pam" is advisable for most dekstop use cases.
>
>> Chromium indeed never asked me for the mentioned
>> above password on the new Gentoo system.
>>
>> But I get another problem on the new Gentoo system:
>> Firefox and Qupzilla both crash on some (login) www-pages.
>>
>> Namely, Firefox shows the "Gah. Your tab just crashed"
>> when I try to log into my Yahoo e-mail account.
>>
>> This happens only after entering login and password,
>> so not good enough to reproduce.
>>
>> However, it shows the same message just after staying
>> about 3-5 seconds on the following internet banking
>> login page: https://www.privat24.ua/#login
>> No login or password needed. :)
>>
>> The last error messages sent to terminal by FF while I
>> try to open the last www-page are the following:
>>
>> [Parent 4099] WARNING: pipe error (56): Connection reset by peer:
>
> The server disconnected you.
>
>
>> file
>> /var/tmp/portage/www-client/firefox-52.8.0/work/firefox-52.8.0esr/ipc/chromi
>> um/src/chrome/common/ipc_channel_posix.cc, line 322
>
> I'm not sure if your firefox build is the same like shown here,

Yes, the same.

> but line 322 shows a I/O message loop where it checks if a connection
> is running so that it can respond.
>
> The page in question pops up a couple of things, after loading the initial
> page, including geolocation.

Geolocation frame pops up, but on the old Gentoo system
it does not lead to the tab crash.

> It may have something to do with this.
>
>> ###!!! [Parent][MessageChannel] Error:
>> (msgtype=0x2C0083,name=PBrowser::Msg_Destroy) Channel error: cannot
>> send/recv
>
> It seems the 

Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-07-27 Thread Mick
On Friday, 27 July 2018 09:16:30 BST gevisz wrote:
> I have two Gentoo systems on the same AMD Athlon 64 X2 computer.
> 
> The old one was installed in July 2013 with
> default/linux/amd64/13.0/desktop/gnome (stable)
> profile and was updated till the middle of
> July 2017. Initially it hosted Gnome2
> but later I have switched to XFCE4.
> 
> The new one was installed in January-February 2018
> with default/linux/amd64/17.0/desktop (stable)
> profile and was last updated yesterday. From the
> very beginning it hosted no DE, only Awesome WM
> and dbus.
> 
> The home directory is the same and still remembers
> Ubuntu 6.04 installation in 2006.
> 
> On the old system, I had the problem that chromium
> very often (but not always!) asked me for some
> (keyring?) password when I opened a new www-page.
> 
> Recompilation of it with different user flags did not help.

Go to:

chrome://settings/passwords

Then disable "Offer to save passwords".  It should not ask you to save 
passwords thereafter.


> I thought that that was because of the gnome-keyring,
> consolekit or policykit packages but without any proof.

>From what I understand Chrome/ium will ask the desktop password manager to 
handle the saving of website passwords.

Policykit/polkit provides a centralised mechanism for non-privileged processes 
to communicate with privileged ones; e.g. when a plain user wants to 
hibernate/shutdown, disable NICs, etc. 

 https://lwn.net/Articles/258592/

Consolekit tracks user sessions and allows switching between users on the same 
PC without logging out.  As far as I know with the switch to systemd and its 
built-in seat/user/session management mechanisms Consolekit is no longer 
maintained.


> So, while installing the new Gentoo system, I decided
> to avoid installing any package that needs gnome-keyring,
> consolekit or policykit packages.

I think you shouldn't have needed to do all this.


> I have also set -pam -consolekit and -policykit in my
> /etc/portage/make.conf

PAM is used to separate applications from the underlying authentication 
mechanisms.  It checks OS user/account/passwd/session authentications when 
required by applications.  This is the backbone of managing Linux 
authentications today, although some applications retain their own application 
level authentication mechanism (e.g. SSH).

I don't think setting USE="-pam" is advisable for most dekstop use cases.


> Chromium indeed never asked me for the mentioned
> above password on the new Gentoo system.
> 
> But I get another problem on the new Gentoo system:
> Firefox and Qupzilla both crash on some (login) www-pages.
> 
> Namely, Firefox shows the "Gah. Your tab just crashed"
> when I try to log into my Yahoo e-mail account.
> 
> This happens only after entering login and password,
> so not good enough to reproduce.
> 
> However, it shows the same message just after staying
> about 3-5 seconds on the following internet banking
> login page: https://www.privat24.ua/#login
> No login or password needed. :)
> 
> The last error messages sent to terminal by FF while I
> try to open the last www-page are the following:
> 
> [Parent 4099] WARNING: pipe error (56): Connection reset by peer: 

The server disconnected you.


> file
> /var/tmp/portage/www-client/firefox-52.8.0/work/firefox-52.8.0esr/ipc/chromi
> um/src/chrome/common/ipc_channel_posix.cc, line 322

I'm not sure if your firefox build is the same like shown here, but line 322 
shows a I/O message loop where it checks if a connection is running so that it 
can respond.

The page in question pops up a couple of things, after loading the initial 
page, including geolocation.  It may have something to do with this.


> ###!!! [Parent][MessageChannel] Error:
> (msgtype=0x2C0083,name=PBrowser::Msg_Destroy) Channel error: cannot
> send/recv

It seems the connection has been reset by the server, two processes running on 
your browser using IPC can't go anywhere and are torn down, but I'm no 
developer to know for sure.


> As to the Qupzilla, it crashes on the page https://www.privat24.ua/#login
> completely, with the following messages sent to terminal:
> 
> [4376:4387:0727/105105.178569:ERROR:nss_ocsp.cc(591)] No
> URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[snip ...]

The browser is trying to check ocsp.digicert.com for the validity of the 
certificate, but there is some error with the URL.  Then (I'm guessing) 
there's some pop up in the browser to inform you of this error, which causes a 
mesa rendering fault with the output shown below:

> r300 FP: Compiler Error:
> /var/tmp/portage/media-libs/mesa-17.3.9/work/mesa-17.3.9/src/gallium/drivers
> /r300/compiler/r300_fragprog_emit.c::translate_rgb_opcode():
> translate_rgb_opcode: Unknown opcode DDY
> Using a dummy shader instead.
> QupZilla: Crashed :( Saving backtrace in
> /home/user/.config/qupzilla/crashlog ...
> Backtrace successfully saved in
> /home/user/.config/qupzilla/crashlog/Crash-2018-07-27T10:51:11.txt
> 
> The 

[gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-07-27 Thread gevisz
I have two Gentoo systems on the same AMD Athlon 64 X2 computer.

The old one was installed in July 2013 with
default/linux/amd64/13.0/desktop/gnome (stable)
profile and was updated till the middle of
July 2017. Initially it hosted Gnome2
but later I have switched to XFCE4.

The new one was installed in January-February 2018
with default/linux/amd64/17.0/desktop (stable)
profile and was last updated yesterday. From the
very beginning it hosted no DE, only Awesome WM
and dbus.

The home directory is the same and still remembers
Ubuntu 6.04 installation in 2006.

On the old system, I had the problem that chromium
very often (but not always!) asked me for some
(keyring?) password when I opened a new www-page.

Recompilation of it with different user flags did not help.

I thought that that was because of the gnome-keyring,
consolekit or policykit packages but without any proof.

So, while installing the new Gentoo system, I decided
to avoid installing any package that needs gnome-keyring,
consolekit or policykit packages.

I have also set -pam -consolekit and -policykit in my
/etc/portage/make.conf

Chromium indeed never asked me for the mentioned
above password on the new Gentoo system.

But I get another problem on the new Gentoo system:
Firefox and Qupzilla both crash on some (login) www-pages.

Namely, Firefox shows the "Gah. Your tab just crashed"
when I try to log into my Yahoo e-mail account.

This happens only after entering login and password,
so not good enough to reproduce.

However, it shows the same message just after staying
about 3-5 seconds on the following internet banking
login page: https://www.privat24.ua/#login
No login or password needed. :)

The last error messages sent to terminal by FF while I
try to open the last www-page are the following:

[Parent 4099] WARNING: pipe error (56): Connection reset by peer: file
/var/tmp/portage/www-client/firefox-52.8.0/work/firefox-52.8.0esr/ipc/chromium/src/chrome/common/ipc_channel_posix.cc,
line 322
[Parent 4099] WARNING: pipe error (57): Connection reset by peer: file
/var/tmp/portage/www-client/firefox-52.8.0/work/firefox-52.8.0esr/ipc/chromium/src/chrome/common/ipc_channel_posix.cc,
line 322

###!!! [Parent][MessageChannel] Error:
(msgtype=0x2C0083,name=PBrowser::Msg_Destroy) Channel error: cannot
send/recv

[Parent 4099] WARNING: pipe error (44): Connection reset by peer: file
/var/tmp/portage/www-client/firefox-52.8.0/work/firefox-52.8.0esr/ipc/chromium/src/chrome/common/ipc_channel_posix.cc,
line 322

###!!! [Parent][MessageChannel] Error:
(msgtype=0x2C0083,name=PBrowser::Msg_Destroy) Channel error: cannot
send/recv

[Parent 4099] WARNING: pipe error (47): Connection reset by peer: file
/var/tmp/portage/www-client/firefox-52.8.0/work/firefox-52.8.0esr/ipc/chromium/src/chrome/common/ipc_channel_posix.cc,
line 322
[Parent 4099] WARNING: pipe error (49): Connection reset by peer: file
/var/tmp/portage/www-client/firefox-52.8.0/work/firefox-52.8.0esr/ipc/chromium/src/chrome/common/ipc_channel_posix.cc,
line 322

###!!! [Parent][MessageChannel] Error:
(msgtype=0x2C0083,name=PBrowser::Msg_Destroy) Channel error: cannot
send/recv

tabs.onUpdated event fired after context unloaded.
tabs.onUpdated event fired after context unloaded.
tabs.onUpdated event fired after context unloaded.
...

As to the Qupzilla, it crashes on the page https://www.privat24.ua/#login
completely, with the following messages sent to terminal:

[4376:4387:0727/105105.178569:ERROR:nss_ocsp.cc(591)] No
URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[4376:4387:0727/105105.178676:ERROR:nss_ocsp.cc(591)] No
URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[4376:4387:0727/105105.178734:ERROR:nss_ocsp.cc(591)] No
URLRequestContext for NSS HTTP handler. host: crl4.digicert.com
[4376:4387:0727/105105.182973:ERROR:nss_ocsp.cc(591)] No
URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[4376:4387:0727/105105.183033:ERROR:nss_ocsp.cc(591)] No
URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[4376:4387:0727/105105.183086:ERROR:nss_ocsp.cc(591)] No
URLRequestContext for NSS HTTP handler. host: crl4.digicert.com
r300 FP: Compiler Error:
/var/tmp/portage/media-libs/mesa-17.3.9/work/mesa-17.3.9/src/gallium/drivers/r300/compiler/r300_fragprog_emit.c::translate_rgb_opcode():
translate_rgb_opcode: Unknown opcode DDY
Using a dummy shader instead.
QupZilla: Crashed :( Saving backtrace in
/home/user/.config/qupzilla/crashlog ...
Backtrace successfully saved in
/home/user/.config/qupzilla/crashlog/Crash-2018-07-27T10:51:11.txt

The mentioned above crashlog file contains only the following:

Time: Fri Jul 27 10:51:11 2018
Qt version: 5.9.6 (compiled with 5.9.4)
QupZilla version: 2.2.5
Rendering engine: QtWebEngine

== BACKTRACE ==
#0: qupzilla(+0x355b) [0x55691e37055b]
#1: /lib64/libc.so.6(+0x35c60) [0x7f3a568c3c60]
#2: [0x7f3a3c18d2c9]

Strange enough, but on the old Gentoo system Firefox does not crash on
the said 

Re: [gentoo-user] Any real need to switch python targets back and forth every month?

2018-07-27 Thread Neil Bothwick
On Fri, 27 Jul 2018 09:50:34 +0800, Bill Kenworthy wrote:

> Yes there was the original news item - but nothing about the problems
> this caused, and the back and forwarding which is causing me grief.  It
> is only switching targets, but when you have problems and decide to
> remove 3.6 and recompile, then having to go through it all again
> without  proper information it has impact.  A news item is supposed to
> give information ... I am not criticising the changes itself (sh..
> happens), but being left in the dark about it.

Agreed, the switch back occurred with no explanation, a news item should
have been written for that, and maybe a brief warning one when
reinstating the 3.6 setting.


-- 
Neil Bothwick

Give a man a fish and you have fed him for a day, but give him a case of
dynamite and soon the village will be showered with mud and seaweed and
unidentifiable chunks of fish.


pgpyVi7nXkr1o.pgp
Description: OpenPGP digital signature