Re: [gentoo-user] nvidia-firmware for GT520

2020-11-15 Thread J. Roeleveld
On 12 November 2020 08:57:37 CET, Raffaele BELARDI  
wrote:
>According to [1] my Nvidia GT520 needs FW for VP4.2 video acceleration
>support. I found there is a Gentoo package which seems to provide the
>Nvidia FW. According to [2] my card should be part of NVC0 family
>(Fermi), in particular code name NVD9 (GF119). Nvidia-firmware contains
>binaries with names that somehow resemble the nvc0 of the family name
>(e.g. nvc0_bsp, nvc0_fuc084, nvco_fuc085, nvc0_ppp...) but I am not at
>all sure how should I use them.
>
>Should I embed them in the kernel as I do for e.g. the AMD drivers?
>How do I verify they are correctly loaded when needed?
>
>Thanks,
>
>Raffaele
>
>[1] https://nouveau.freedesktop.org/VideoAcceleration.html
>[2] https://nouveau.freedesktop.org/CodeNames.html

Have you tried simply installing the firmware and nvidia drivers and see if it 
works?

Normally drivers are expected to load any firmware it needs that it can find. 
The location of the firmware is pretty standard.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] cant change MAC address

2020-11-15 Thread J. Roeleveld
On 13 November 2020 00:40:38 CET, William Kenworthy  wrote:
>Hi,
>
>    I am trying to change the mac address of a realtek wifi card using
>either mac_wlan0=""  in /etc/conf.d/net (which is in
>the handbook) or manually using ifconfig wlan0 hw ether  address> and its not working.  Is there another way or am I stuck?
>
>BillK

Based on the name, I am assuming this is a wireless card. Not sure if this has 
changed yet, but not all wifi cards actually support changing the MAC address.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



[gentoo-user] odd issue with RTKIT syslog-ng

2020-11-15 Thread Jack
As usual, I've got what seems to be a really obscure problem, and I  
have not found any reference to it searching the interwebs.


The suspect package is sys-auth/rtkit-0/13-r1 (which has nothing to do  
with chkrootkit) and I'm using app-admin/syslog-ng-3.26.1-r1.


As a typical example from /var/log/messages (extract, and having  
reconfigured syslog-ng to us iso timestamps)


2020-11-15T18:30:01-05:00 localhost CROND[7320]: (root) CMD  
(/usr/lib/sa/sa1 1 1)
2020-11-15T23:34:10-05:00 localhost rtkit-daemon[6263]: Supervising 0  
threads of 0 processes of 0 users.
2020-11-15T23:36:38-05:00 localhost rtkit-daemon[6263]: Supervising 0  
threads of 0 processes of 0 users.
2020-11-15T18:40:01-05:00 localhost CROND[15943]: (root) CMD (test -x  
/usr/sbin/run-crons && /usr/sbin/run-crons)


All rtkit messages to syslog seem to be in UTC, or at least five hours  
off from my local Americas/New York timezone.  rtkit uses the syslog()  
call for all logging, and there is nothing in those calls that even  
mentions timezone.


However, in digging further, I found two log entries from rtkit which  
do appear to be using local time.  In looking at the rtkit source,  
those two use the LOG_INFO and LOG_NOTICE as their levels.  All other  
logging in rtkit uses LOG_ERR, LOG_DEBUG, or LOG_WARNING, with one  
exception:  I see one LOG_INFO message (repeated, scattered across the  
log) which does show the UTC time.


So, does anyone have an idea what is going on?

I have one theory so far, but I a bit stuck on how to test it.  I'm not  
sure where in the boot process rtkit gets started, but I think it's  
automatically started when Dbus starts.  As part of the daemon's  
startup routine, it drops some privileges.  Is it possible that the  
applicable timezone gets changed when it drops privileges?  As far as I  
can tell, the log messages with the correct time are all produced  
before it drops privs.  Am I barking up the right tree, or am I barking  
mad?


Thanks for any thoughts.

Jack



Re: [gentoo-user] sqlite3 not available in python3?

2020-11-15 Thread n952162

On 11/16/20 12:43 AM, Dale wrote:

n952162 wrote:

On 11/16/20 12:00 AM, n952162 wrote:

I'm trying to convert python2 scripts to python3.  A script which
works under python2 gives me this under python3:

 ModuleNotFoundError: No module named 'sqlite3'

Any ideas?


Just by way of comparison:


$ python -m pdb ~/p/it/bookmarks/brep -A add-on -p '*default'

.../brep(10)()

-> import sys
(Pdb) n

.../brep(11)()

-> import getopt
(Pdb) n

.../brep(12)()

-> import json
(Pdb) n

.../brep(13)()

-> import re
(Pdb) n

.../brep(14)()

-> import glob
(Pdb) n

.../brep(15)()

-> import os
(Pdb) n

.../brep(16)()

-> import sqlite3
(Pdb) n
ModuleNotFoundError: No module named 'sqlite3'

.../brep(16)()

-> import sqlite3



Just some additional info.  I monitor -dev and I think python 3.6 and
3.7 is going away soon.  I'm not sure about 3.8.  I recall seeing a few
mentions about updating to one of the latest versions instead of just
going up one and then having to repeat in the not so distant future to
the next higher slot.  I say that because of this.  If you are updating
your scripts, may as well go to the highest version you can so that you
can be done with this for a much longer time period than just going up
one step.

Someone else, a dev maybe, may be able to shed more details on this.
Just thought it might be something you would want to look into and
perhaps save yourself some time and effort.

Dale

:-)  :-)



Good to think ahead.  Thank you.




Re: [gentoo-user] sqlite3 not available in python3?

2020-11-15 Thread Dale
n952162 wrote:
> On 11/16/20 12:00 AM, n952162 wrote:
>>
>> I'm trying to convert python2 scripts to python3.  A script which
>> works under python2 gives me this under python3:
>>
>> ModuleNotFoundError: No module named 'sqlite3'
>>
>> Any ideas?
>>
> Just by way of comparison:
>
>
> $ python -m pdb ~/p/it/bookmarks/brep -A add-on -p '*default'
> > .../brep(10)()
> -> import sys
> (Pdb) n
> > .../brep(11)()
> -> import getopt
> (Pdb) n
> > .../brep(12)()
> -> import json
> (Pdb) n
> > .../brep(13)()
> -> import re
> (Pdb) n
> > .../brep(14)()
> -> import glob
> (Pdb) n
> > .../brep(15)()
> -> import os
> (Pdb) n
> > .../brep(16)()
> -> import sqlite3
> (Pdb) n
> ModuleNotFoundError: No module named 'sqlite3'
> > .../brep(16)()
> -> import sqlite3
>


Just some additional info.  I monitor -dev and I think python 3.6 and
3.7 is going away soon.  I'm not sure about 3.8.  I recall seeing a few
mentions about updating to one of the latest versions instead of just
going up one and then having to repeat in the not so distant future to
the next higher slot.  I say that because of this.  If you are updating
your scripts, may as well go to the highest version you can so that you
can be done with this for a much longer time period than just going up
one step. 

Someone else, a dev maybe, may be able to shed more details on this. 
Just thought it might be something you would want to look into and
perhaps save yourself some time and effort. 

Dale

:-)  :-) 



Re: [gentoo-user] sqlite3 not available in python3?

2020-11-15 Thread n952162

On 11/16/20 12:29 AM, n952162 wrote:

On 11/16/20 12:26 AM, cal wrote:

On 11/15/20 3:20 PM, n952162 wrote:

On 11/16/20 12:17 AM, cal wrote:

On 11/15/20 3:10 PM, n952162 wrote:

On 11/16/20 12:06 AM, Manuel McLure wrote:



On Sun, Nov 15, 2020 at 2:59 PM n952162 mailto:n952...@web.de>> wrote:

    I'm trying to convert python2 scripts to python3.  A script
which
    works under python2 gives me this under python3:

    ModuleNotFoundError: No module named 'sqlite3'

    Any ideas?

You might need to add "sqlite" to the USE flags for dev-lang/python
and reinstall.

--
Manuel A. McLure WW1FA mailto:man...@mclure.org>>
>
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.                       -- H.P. Lovecraft


$ equery uses python
[ Legend : U - final flag setting for installation]
[    : I - package is installed with flag ]
[ Colors : set, unset ]
  * Found these USE flags for dev-lang/python-3.8.5:
  U I
  - - bluetooth : Build Bluetooth protocol support in socket module
  - - build : !!internal use only!! DO NOT SET THIS FLAG
YOURSELF!,
used for creating build images and the first half of bootstrapping
[make
stage1]
  - - examples  : Install examples, usually source code
  + + gdbm  : Add support for sys-libs/gdbm (GNU database
libraries)
  - - hardened  : Activate default security enhancements for
toolchain
(gcc, glibc, binutils)
  + + ipv6  : Add support for IP version 6
  - - libressl  : Use dev-libs/libressl instead of
dev-libs/openssl when
applicable (see also the ssl useflag)
  + + ncurses   : Add ncurses support (console display library)
  + + readline  : Enable support for libreadline, a GNU line-editing
library that almost everyone wants
* + + sqlite    : Add support for sqlite - embedded sql database*
  + + ssl   : Add support for SSL/TLS connections (Secure Socket
Layer / Transport Layer Security)
  - - test  : Enable dependencies and/or preparations
necessary to
run tests (usually controlled by FEATURES=test but can be toggled
independently)
  - - tk    : Add support for Tk GUI toolkit
  - - wininst   : Install Windows executables required to create an
executable installer for MS Windows.
  + + xml   : Add support for XML files





(My apologies, forgot to include the list on my previous reply)
What is the output of `python --version` for the interpreter you are
using to execute this script?  Is it possible that your default
python3 interpreter is not 3.8.5 and has different USE flags?  (Keep
in mind, there may be multiple versions of python3 installed in
different slots).

For example, on my machine, /usr/bin/python points to Python 3.6.12,
while equery uses python displays the USE flags for 3.9.0:

$ python --version
Python 3.6.12
$ equery uses python
 * Found these USE flags for dev-lang/python-3.9.0:
[...]
$ equery uses dev-lang/python:3.6
 * Found these USE flags for dev-lang/python-3.6.12:
[...]

You can set the default Python interpreter with eselect python list /
eselect python set.

Cal


$  python --version
Python 3.7.9

$ python
Python 3.7.9 (default, Oct 21 2020, 22:22:16)
...


And what is the output of `equery uses dev-lang/python:3.7`? Your
output earlier in the thread is displaying the USE flags for the 3.8
slot.

If you wish to enable sqlite3 for all python interpreters, you can
add `dev-lang/python sqlite` to your package.use.

Cal



Yes, I was just following up on that, and it looks like you figured it
out:

$ equery uses python:3.7
[ Legend : U - final flag setting for installation]
[    : I - package is installed with flag ]
[ Colors : set, unset ]
 * Found these USE flags for dev-lang/python-3.7.9:
 U I
 - - bluetooth : Build Bluetooth protocol support in socket module
 - - build : !!internal use only!! DO NOT SET THIS FLAG YOURSELF!,
used for creating build images and the first half of bootstrapping
[make stage1]
 - - examples  : Install examples, usually source code
 + + gdbm  : Add support for sys-libs/gdbm (GNU database libraries)
 - - hardened  : Activate default security enhancements for toolchain
(gcc, glibc, binutils)
 + + ipv6  : Add support for IP version 6
 - - libressl  : Use dev-libs/libressl instead of dev-libs/openssl
when applicable (see also the ssl useflag)
 + + ncurses   : Add ncurses support (console display library)
 + + readline  : Enable support for libreadline, a GNU line-editing
library that almost everyone wants
*+ - *sqlite : Add support for sqlite - embedded sql database



I accumulate all the use flags from all my machines when I do, e.g. a
re-installation (this case).  This is what I currently have  :-)

$ grep python * | grep sqlite
all:>=dev-lang/python-3.8.5 sqlite
use-flags-201110:>=dev-lang/python-2.7.14-r1:2.7 sqlite
use-flags-201110:>=dev-lang/python-2.7.16:2.7 sqlite
use-flags-201110:>=dev-lang/python-2.7.17:2.7 sqlite

Re: [gentoo-user] sqlite3 not available in python3?

2020-11-15 Thread n952162

On 11/16/20 12:26 AM, cal wrote:

On 11/15/20 3:20 PM, n952162 wrote:

On 11/16/20 12:17 AM, cal wrote:

On 11/15/20 3:10 PM, n952162 wrote:

On 11/16/20 12:06 AM, Manuel McLure wrote:



On Sun, Nov 15, 2020 at 2:59 PM n952162 mailto:n952...@web.de>> wrote:

    I'm trying to convert python2 scripts to python3.  A script which
    works under python2 gives me this under python3:

    ModuleNotFoundError: No module named 'sqlite3'

    Any ideas?

You might need to add "sqlite" to the USE flags for dev-lang/python
and reinstall.

--
Manuel A. McLure WW1FA mailto:man...@mclure.org>>
>
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.                       -- H.P. Lovecraft


$ equery uses python
[ Legend : U - final flag setting for installation]
[    : I - package is installed with flag ]
[ Colors : set, unset ]
  * Found these USE flags for dev-lang/python-3.8.5:
  U I
  - - bluetooth : Build Bluetooth protocol support in socket module
  - - build : !!internal use only!! DO NOT SET THIS FLAG
YOURSELF!,
used for creating build images and the first half of bootstrapping
[make
stage1]
  - - examples  : Install examples, usually source code
  + + gdbm  : Add support for sys-libs/gdbm (GNU database
libraries)
  - - hardened  : Activate default security enhancements for toolchain
(gcc, glibc, binutils)
  + + ipv6  : Add support for IP version 6
  - - libressl  : Use dev-libs/libressl instead of dev-libs/openssl
when
applicable (see also the ssl useflag)
  + + ncurses   : Add ncurses support (console display library)
  + + readline  : Enable support for libreadline, a GNU line-editing
library that almost everyone wants
* + + sqlite    : Add support for sqlite - embedded sql database*
  + + ssl   : Add support for SSL/TLS connections (Secure Socket
Layer / Transport Layer Security)
  - - test  : Enable dependencies and/or preparations necessary to
run tests (usually controlled by FEATURES=test but can be toggled
independently)
  - - tk    : Add support for Tk GUI toolkit
  - - wininst   : Install Windows executables required to create an
executable installer for MS Windows.
  + + xml   : Add support for XML files





(My apologies, forgot to include the list on my previous reply)
What is the output of `python --version` for the interpreter you are
using to execute this script?  Is it possible that your default
python3 interpreter is not 3.8.5 and has different USE flags? (Keep
in mind, there may be multiple versions of python3 installed in
different slots).

For example, on my machine, /usr/bin/python points to Python 3.6.12,
while equery uses python displays the USE flags for 3.9.0:

$ python --version
Python 3.6.12
$ equery uses python
 * Found these USE flags for dev-lang/python-3.9.0:
[...]
$ equery uses dev-lang/python:3.6
 * Found these USE flags for dev-lang/python-3.6.12:
[...]

You can set the default Python interpreter with eselect python list /
eselect python set.

Cal


$  python --version
Python 3.7.9

$ python
Python 3.7.9 (default, Oct 21 2020, 22:22:16)
...


And what is the output of `equery uses dev-lang/python:3.7`?  Your
output earlier in the thread is displaying the USE flags for the 3.8
slot.

If you wish to enable sqlite3 for all python interpreters, you can add
`dev-lang/python sqlite` to your package.use.

Cal



Yes, I was just following up on that, and it looks like you figured it out:

$ equery uses python:3.7
[ Legend : U - final flag setting for installation]
[    : I - package is installed with flag ]
[ Colors : set, unset ]
 * Found these USE flags for dev-lang/python-3.7.9:
 U I
 - - bluetooth : Build Bluetooth protocol support in socket module
 - - build : !!internal use only!! DO NOT SET THIS FLAG YOURSELF!,
used for creating build images and the first half of bootstrapping [make
stage1]
 - - examples  : Install examples, usually source code
 + + gdbm  : Add support for sys-libs/gdbm (GNU database libraries)
 - - hardened  : Activate default security enhancements for toolchain
(gcc, glibc, binutils)
 + + ipv6  : Add support for IP version 6
 - - libressl  : Use dev-libs/libressl instead of dev-libs/openssl when
applicable (see also the ssl useflag)
 + + ncurses   : Add ncurses support (console display library)
 + + readline  : Enable support for libreadline, a GNU line-editing
library that almost everyone wants
*+ - *sqlite    : Add support for sqlite - embedded sql database



Re: [gentoo-user] sqlite3 not available in python3?

2020-11-15 Thread cal

On 11/15/20 3:20 PM, n952162 wrote:

On 11/16/20 12:17 AM, cal wrote:

On 11/15/20 3:10 PM, n952162 wrote:

On 11/16/20 12:06 AM, Manuel McLure wrote:



On Sun, Nov 15, 2020 at 2:59 PM n952162 mailto:n952...@web.de>> wrote:

    I'm trying to convert python2 scripts to python3.  A script which
    works under python2 gives me this under python3:

    ModuleNotFoundError: No module named 'sqlite3'

    Any ideas?

You might need to add "sqlite" to the USE flags for dev-lang/python
and reinstall.

--
Manuel A. McLure WW1FA mailto:man...@mclure.org>>
>
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.                       -- H.P. Lovecraft


$ equery uses python
[ Legend : U - final flag setting for installation]
[    : I - package is installed with flag ]
[ Colors : set, unset ]
  * Found these USE flags for dev-lang/python-3.8.5:
  U I
  - - bluetooth : Build Bluetooth protocol support in socket module
  - - build : !!internal use only!! DO NOT SET THIS FLAG YOURSELF!,
used for creating build images and the first half of bootstrapping [make
stage1]
  - - examples  : Install examples, usually source code
  + + gdbm  : Add support for sys-libs/gdbm (GNU database libraries)
  - - hardened  : Activate default security enhancements for toolchain
(gcc, glibc, binutils)
  + + ipv6  : Add support for IP version 6
  - - libressl  : Use dev-libs/libressl instead of dev-libs/openssl when
applicable (see also the ssl useflag)
  + + ncurses   : Add ncurses support (console display library)
  + + readline  : Enable support for libreadline, a GNU line-editing
library that almost everyone wants
* + + sqlite    : Add support for sqlite - embedded sql database*
  + + ssl   : Add support for SSL/TLS connections (Secure Socket
Layer / Transport Layer Security)
  - - test  : Enable dependencies and/or preparations necessary to
run tests (usually controlled by FEATURES=test but can be toggled
independently)
  - - tk    : Add support for Tk GUI toolkit
  - - wininst   : Install Windows executables required to create an
executable installer for MS Windows.
  + + xml   : Add support for XML files





(My apologies, forgot to include the list on my previous reply)
What is the output of `python --version` for the interpreter you are
using to execute this script?  Is it possible that your default
python3 interpreter is not 3.8.5 and has different USE flags?  (Keep
in mind, there may be multiple versions of python3 installed in
different slots).

For example, on my machine, /usr/bin/python points to Python 3.6.12,
while equery uses python displays the USE flags for 3.9.0:

$ python --version
Python 3.6.12
$ equery uses python
 * Found these USE flags for dev-lang/python-3.9.0:
[...]
$ equery uses dev-lang/python:3.6
 * Found these USE flags for dev-lang/python-3.6.12:
[...]

You can set the default Python interpreter with eselect python list /
eselect python set.

Cal


$  python --version
Python 3.7.9

$ python
Python 3.7.9 (default, Oct 21 2020, 22:22:16)
...


And what is the output of `equery uses dev-lang/python:3.7`?  Your 
output earlier in the thread is displaying the USE flags for the 3.8 slot.


If you wish to enable sqlite3 for all python interpreters, you can add 
`dev-lang/python sqlite` to your package.use.


Cal



Re: [gentoo-user] sqlite3 not available in python3?

2020-11-15 Thread n952162

On 11/16/20 12:17 AM, cal wrote:

On 11/15/20 3:10 PM, n952162 wrote:

On 11/16/20 12:06 AM, Manuel McLure wrote:



On Sun, Nov 15, 2020 at 2:59 PM n952162 mailto:n952...@web.de>> wrote:

    I'm trying to convert python2 scripts to python3.  A script which
    works under python2 gives me this under python3:

    ModuleNotFoundError: No module named 'sqlite3'

    Any ideas?

You might need to add "sqlite" to the USE flags for dev-lang/python
and reinstall.

--
Manuel A. McLure WW1FA mailto:man...@mclure.org>>
>
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.                       -- H.P. Lovecraft


$ equery uses python
[ Legend : U - final flag setting for installation]
[    : I - package is installed with flag ]
[ Colors : set, unset ]
  * Found these USE flags for dev-lang/python-3.8.5:
  U I
  - - bluetooth : Build Bluetooth protocol support in socket module
  - - build : !!internal use only!! DO NOT SET THIS FLAG YOURSELF!,
used for creating build images and the first half of bootstrapping [make
stage1]
  - - examples  : Install examples, usually source code
  + + gdbm  : Add support for sys-libs/gdbm (GNU database libraries)
  - - hardened  : Activate default security enhancements for toolchain
(gcc, glibc, binutils)
  + + ipv6  : Add support for IP version 6
  - - libressl  : Use dev-libs/libressl instead of dev-libs/openssl when
applicable (see also the ssl useflag)
  + + ncurses   : Add ncurses support (console display library)
  + + readline  : Enable support for libreadline, a GNU line-editing
library that almost everyone wants
* + + sqlite    : Add support for sqlite - embedded sql database*
  + + ssl   : Add support for SSL/TLS connections (Secure Socket
Layer / Transport Layer Security)
  - - test  : Enable dependencies and/or preparations necessary to
run tests (usually controlled by FEATURES=test but can be toggled
independently)
  - - tk    : Add support for Tk GUI toolkit
  - - wininst   : Install Windows executables required to create an
executable installer for MS Windows.
  + + xml   : Add support for XML files





(My apologies, forgot to include the list on my previous reply)
What is the output of `python --version` for the interpreter you are
using to execute this script?  Is it possible that your default
python3 interpreter is not 3.8.5 and has different USE flags?  (Keep
in mind, there may be multiple versions of python3 installed in
different slots).

For example, on my machine, /usr/bin/python points to Python 3.6.12,
while equery uses python displays the USE flags for 3.9.0:

$ python --version
Python 3.6.12
$ equery uses python
 * Found these USE flags for dev-lang/python-3.9.0:
[...]
$ equery uses dev-lang/python:3.6
 * Found these USE flags for dev-lang/python-3.6.12:
[...]

You can set the default Python interpreter with eselect python list /
eselect python set.

Cal


$  python --version
Python 3.7.9

$ python
Python 3.7.9 (default, Oct 21 2020, 22:22:16)
...






Re: [gentoo-user] sqlite3 not available in python3?

2020-11-15 Thread n952162

On 11/16/20 12:17 AM, cal wrote:

On 11/15/20 3:10 PM, n952162 wrote:

On 11/16/20 12:06 AM, Manuel McLure wrote:



On Sun, Nov 15, 2020 at 2:59 PM n952162 mailto:n952...@web.de>> wrote:

    I'm trying to convert python2 scripts to python3.  A script which
    works under python2 gives me this under python3:

    ModuleNotFoundError: No module named 'sqlite3'

    Any ideas?

You might need to add "sqlite" to the USE flags for dev-lang/python
and reinstall.

--
Manuel A. McLure WW1FA mailto:man...@mclure.org>>
>
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.                       -- H.P. Lovecraft


$ equery uses python
[ Legend : U - final flag setting for installation]
[    : I - package is installed with flag ]
[ Colors : set, unset ]
  * Found these USE flags for dev-lang/python-3.8.5:
  U I
  - - bluetooth : Build Bluetooth protocol support in socket module
  - - build : !!internal use only!! DO NOT SET THIS FLAG YOURSELF!,
used for creating build images and the first half of bootstrapping [make
stage1]
  - - examples  : Install examples, usually source code
  + + gdbm  : Add support for sys-libs/gdbm (GNU database libraries)
  - - hardened  : Activate default security enhancements for toolchain
(gcc, glibc, binutils)
  + + ipv6  : Add support for IP version 6
  - - libressl  : Use dev-libs/libressl instead of dev-libs/openssl when
applicable (see also the ssl useflag)
  + + ncurses   : Add ncurses support (console display library)
  + + readline  : Enable support for libreadline, a GNU line-editing
library that almost everyone wants
* + + sqlite    : Add support for sqlite - embedded sql database*
  + + ssl   : Add support for SSL/TLS connections (Secure Socket
Layer / Transport Layer Security)
  - - test  : Enable dependencies and/or preparations necessary to
run tests (usually controlled by FEATURES=test but can be toggled
independently)
  - - tk    : Add support for Tk GUI toolkit
  - - wininst   : Install Windows executables required to create an
executable installer for MS Windows.
  + + xml   : Add support for XML files





(My apologies, forgot to include the list on my previous reply)
What is the output of `python --version` for the interpreter you are
using to execute this script?  Is it possible that your default
python3 interpreter is not 3.8.5 and has different USE flags?  (Keep
in mind, there may be multiple versions of python3 installed in
different slots).

For example, on my machine, /usr/bin/python points to Python 3.6.12,
while equery uses python displays the USE flags for 3.9.0:

$ python --version
Python 3.6.12
$ equery uses python
 * Found these USE flags for dev-lang/python-3.9.0:
[...]
$ equery uses dev-lang/python:3.6
 * Found these USE flags for dev-lang/python-3.6.12:
[...]

You can set the default Python interpreter with eselect python list /
eselect python set.

Cal



Thank you for the tip on "eselect":

$ eselect python list
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.8 (fallback)
  [3]   python3.6 (fallback)






Re: [gentoo-user] sqlite3 not available in python3?

2020-11-15 Thread n952162

On 11/16/20 12:00 AM, n952162 wrote:


I'm trying to convert python2 scripts to python3.  A script which
works under python2 gives me this under python3:

ModuleNotFoundError: No module named 'sqlite3'

Any ideas?


Just by way of comparison:


$ python -m pdb ~/p/it/bookmarks/brep -A add-on -p '*default'
> .../brep(10)()
-> import sys
(Pdb) n
> .../brep(11)()
-> import getopt
(Pdb) n
> .../brep(12)()
-> import json
(Pdb) n
> .../brep(13)()
-> import re
(Pdb) n
> .../brep(14)()
-> import glob
(Pdb) n
> .../brep(15)()
-> import os
(Pdb) n
> .../brep(16)()
-> import sqlite3
(Pdb) n
ModuleNotFoundError: No module named 'sqlite3'
> .../brep(16)()
-> import sqlite3



Re: [gentoo-user] sqlite3 not available in python3?

2020-11-15 Thread cal

On 11/15/20 3:10 PM, n952162 wrote:

On 11/16/20 12:06 AM, Manuel McLure wrote:



On Sun, Nov 15, 2020 at 2:59 PM n952162 mailto:n952...@web.de>> wrote:

    I'm trying to convert python2 scripts to python3.  A script which
    works under python2 gives me this under python3:

    ModuleNotFoundError: No module named 'sqlite3'

    Any ideas?

You might need to add "sqlite" to the USE flags for dev-lang/python
and reinstall.

--
Manuel A. McLure WW1FA mailto:man...@mclure.org>>
>
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.                       -- H.P. Lovecraft


$ equery uses python
[ Legend : U - final flag setting for installation]
[    : I - package is installed with flag ]
[ Colors : set, unset ]
  * Found these USE flags for dev-lang/python-3.8.5:
  U I
  - - bluetooth : Build Bluetooth protocol support in socket module
  - - build : !!internal use only!! DO NOT SET THIS FLAG YOURSELF!,
used for creating build images and the first half of bootstrapping [make
stage1]
  - - examples  : Install examples, usually source code
  + + gdbm  : Add support for sys-libs/gdbm (GNU database libraries)
  - - hardened  : Activate default security enhancements for toolchain
(gcc, glibc, binutils)
  + + ipv6  : Add support for IP version 6
  - - libressl  : Use dev-libs/libressl instead of dev-libs/openssl when
applicable (see also the ssl useflag)
  + + ncurses   : Add ncurses support (console display library)
  + + readline  : Enable support for libreadline, a GNU line-editing
library that almost everyone wants
* + + sqlite    : Add support for sqlite - embedded sql database*
  + + ssl   : Add support for SSL/TLS connections (Secure Socket
Layer / Transport Layer Security)
  - - test  : Enable dependencies and/or preparations necessary to
run tests (usually controlled by FEATURES=test but can be toggled
independently)
  - - tk    : Add support for Tk GUI toolkit
  - - wininst   : Install Windows executables required to create an
executable installer for MS Windows.
  + + xml   : Add support for XML files





(My apologies, forgot to include the list on my previous reply)
What is the output of `python --version` for the interpreter you are 
using to execute this script?  Is it possible that your default python3 
interpreter is not 3.8.5 and has different USE flags?  (Keep in mind, 
there may be multiple versions of python3 installed in different slots).


For example, on my machine, /usr/bin/python points to Python 3.6.12, 
while equery uses python displays the USE flags for 3.9.0:


$ python --version
Python 3.6.12
$ equery uses python
 * Found these USE flags for dev-lang/python-3.9.0:
[...]
$ equery uses dev-lang/python:3.6
 * Found these USE flags for dev-lang/python-3.6.12:
[...]

You can set the default Python interpreter with eselect python list / 
eselect python set.


Cal



Re: [gentoo-user] sqlite3 not available in python3?

2020-11-15 Thread n952162

On 11/16/20 12:06 AM, Manuel McLure wrote:



On Sun, Nov 15, 2020 at 2:59 PM n952162 mailto:n952...@web.de>> wrote:

I'm trying to convert python2 scripts to python3.  A script which
works under python2 gives me this under python3:

ModuleNotFoundError: No module named 'sqlite3'

Any ideas?

You might need to add "sqlite" to the USE flags for dev-lang/python
and reinstall.

--
Manuel A. McLure WW1FA mailto:man...@mclure.org>>
>
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.                       -- H.P. Lovecraft


$ equery uses python
[ Legend : U - final flag setting for installation]
[    : I - package is installed with flag ]
[ Colors : set, unset ]
 * Found these USE flags for dev-lang/python-3.8.5:
 U I
 - - bluetooth : Build Bluetooth protocol support in socket module
 - - build : !!internal use only!! DO NOT SET THIS FLAG YOURSELF!,
used for creating build images and the first half of bootstrapping [make
stage1]
 - - examples  : Install examples, usually source code
 + + gdbm  : Add support for sys-libs/gdbm (GNU database libraries)
 - - hardened  : Activate default security enhancements for toolchain
(gcc, glibc, binutils)
 + + ipv6  : Add support for IP version 6
 - - libressl  : Use dev-libs/libressl instead of dev-libs/openssl when
applicable (see also the ssl useflag)
 + + ncurses   : Add ncurses support (console display library)
 + + readline  : Enable support for libreadline, a GNU line-editing
library that almost everyone wants
* + + sqlite    : Add support for sqlite - embedded sql database*
 + + ssl   : Add support for SSL/TLS connections (Secure Socket
Layer / Transport Layer Security)
 - - test  : Enable dependencies and/or preparations necessary to
run tests (usually controlled by FEATURES=test but can be toggled
independently)
 - - tk    : Add support for Tk GUI toolkit
 - - wininst   : Install Windows executables required to create an
executable installer for MS Windows.
 + + xml   : Add support for XML files




Re: [gentoo-user] sqlite3 not available in python3?

2020-11-15 Thread Manuel McLure
On Sun, Nov 15, 2020 at 2:59 PM n952162  wrote:

> I'm trying to convert python2 scripts to python3.  A script which works
> under python2 gives me this under python3:
>
> ModuleNotFoundError: No module named 'sqlite3'
>
> Any ideas?
>
You might need to add "sqlite" to the USE flags for dev-lang/python and
reinstall.

-- 
Manuel A. McLure WW1FA  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] sqlite3 not available in python3?

2020-11-15 Thread n952162

BTW, from "equery uses":

 + + sqlite    : Add support for sqlite - embedded sql database

On 11/16/20 12:00 AM, n952162 wrote:


I'm trying to convert python2 scripts to python3.  A script which
works under python2 gives me this under python3:

ModuleNotFoundError: No module named 'sqlite3'

Any ideas?



[gentoo-user] sqlite3 not available in python3?

2020-11-15 Thread n952162

I'm trying to convert python2 scripts to python3.  A script which works
under python2 gives me this under python3:

   ModuleNotFoundError: No module named 'sqlite3'

Any ideas?



Re: [gentoo-user] python2 really really really gone? Scripts all broken?

2020-11-15 Thread Jude DaShiell
My advice is to keep tabs on python2.7 libraries and their conversion to
python 3 and when 100% of those libraries have been converted the old
scripts may be easier to convert using existing python tools.  The sed
editor may get you part of the way through conversion but missing python
3 libraries could stop progress if such libraries are needed.

On Sun, 15 Nov 2020, n952162 wrote:

> Date: Sun, 15 Nov 2020 16:03:27
> From: n952162 
> Reply-To: gentoo-user@lists.gentoo.org
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] python2 really really really gone? Scripts all
> broken?
>
> On 11/15/20 2:39 PM, n952162 wrote:
> > Suddenly, there's no python2 on my system, anywhere.  Is that
> > intentional?
> >
> >
> >
>
> All in all, I'd say I got a lot of good feedback.
>
>
>
>

-- 
United States has 633 Billionaires with only 10 doing any annual
significant giving.




[gentoo-user] The chromium fail...

2020-11-15 Thread Alan Grimes
The lines around the apparent fail with chromium look like:



[8154/18666] x86_64-pc-linux-gnu-g++ -MMD -MF
obj/third_party/crashpad/crashpad/snapshot/snapshot/system_snapshot_minidump.o.d
-DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND
-DDYNAMIC_ANNOTATIONS_ENABLED=0
-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40
-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40
-DCRASHPAD_ZLIB_SOURCE_EXTERNAL -DUSE_SYSTEM_ZLIB=1 -I../.. -Igen
-I../../third_party/crashpad/crashpad
-I../../third_party/perfetto/include
-Igen/third_party/perfetto/build_config -Igen/third_party/perfetto
-Igen/shim_headers/zlib_shim -Igen/shim_headers/icui18n_shim
-I../../third_party/abseil-cpp -I../../third_party/boringssl/src/include
-I../../third_party/protobuf/src -Igen/protoc_out
-I../../third_party/crashpad/crashpad/compat/non_mac
-I../../third_party/crashpad/crashpad/compat/linux
-I../../third_party/crashpad/crashpad/compat/non_win
-fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector
-funwind-tables -fPIC -pipe -pthread -Wno-builtin-macro-redefined
-D__DATE__= -D__TIME__= -D__TIMESTAMP__= -Wno-unused-local-typedefs
-Wno-maybe-uninitialized -Wno-deprecated-declarations -Wno-comments
-Wno-packed-not-aligned -Wno-missing-field-initializers
-Wno-unused-parameter -fno-omit-frame-pointer -fvisibility=hidden
-I/usr/lib64/libffi/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -std=gnu++14 -Wno-narrowing
-Wno-class-memaccess -fno-exceptions -fno-rtti
-fvisibility-inlines-hidden -march=native -pipe -O2 -c
../../third_party/crashpad/crashpad/snapshot/minidump/system_snapshot_minidump.cc
-o
obj/third_party/crashpad/crashpad/snapshot/snapshot/system_snapshot_minidump.o
In file included from
../../third_party/crashpad/crashpad/minidump/minidump_extensions.h:25,
 from
../../third_party/crashpad/crashpad/snapshot/minidump/system_snapshot_minidump.h:21,
 from
../../third_party/crashpad/crashpad/snapshot/minidump/system_snapshot_minidump.cc:15:
../../third_party/crashpad/crashpad/util/misc/pdb_structures.h:44:38:
warning: multi-character character constant [-Wmultichar]
   44 |   static const uint32_t kSignature = '01BN';
  |  ^~
../../third_party/crashpad/crashpad/util/misc/pdb_structures.h:100:38:
warning: multi-character character constant [-Wmultichar]
  100 |   static const uint32_t kSignature = 'SDSR';
  |  ^~
../../third_party/crashpad/crashpad/util/misc/pdb_structures.h:134:38:
warning: multi-character character constant [-Wmultichar]
  134 |   static const uint32_t kSignature = 'BpEL';
  |  ^~
[8155/18666] touch obj/third_party/flatbuffers/compiler_files.stamp
[8156/18666] touch obj/third_party/hunspell/hunspell.inputdeps.stamp
[8157/18666] python ../../tools/protoc_wrapper/protoc_wrapper.py
test_sample.proto --protoc ./protoc --proto-in-dir
../../third_party/dom_distiller_js --cc-out-dir
gen/third_party/dom_distiller_js --py-out-dir
pyproto/third_party/dom_distiller_js --plugin
../../third_party/dom_distiller_js/protoc_plugins/json_values_converter.py
--plugin-out-dir gen/third_party/dom_distiller_js --plugin-options
output_dir=:
FAILED: pyproto/third_party/dom_distiller_js/test_sample_pb2.py
gen/third_party/dom_distiller_js/test_sample.pb.h
gen/third_party/dom_distiller_js/test_sample.pb.cc
gen/third_party/dom_distiller_js/test_sample_json_converter.h
python ../../tools/protoc_wrapper/protoc_wrapper.py test_sample.proto
--protoc ./protoc --proto-in-dir ../../third_party/dom_distiller_js
--cc-out-dir gen/third_party/dom_distiller_js --py-out-dir
pyproto/third_party/dom_distiller_js --plugin
../../third_party/dom_distiller_js/protoc_plugins/json_values_converter.py
--plugin-out-dir gen/third_party/dom_distiller_js --plugin-options
output_dir=:
Traceback (most recent call last):
  File
"../../third_party/dom_distiller_js/protoc_plugins/json_values_converter.py",
line 14, in 
    from util import plugin_protos, types, writer
  File
"/var/tmp/portage/www-client/chromium-87.0.4280.60/work/chromium-87.0.4280.60/third_party/dom_distiller_js/protoc_plugins/util/plugin_protos.py",
line 22, in 
    from google.protobuf.descriptor_pb2 import FieldDescriptorProto
ImportError: No module named protobuf.descriptor_pb2
--plugin_out: protoc-gen-plugin: Plugin failed with status code 1.
Protoc has returned non-zero status: 1
[8158/18666] x86_64-pc-linux-gnu-g++ -MMD -MF
obj/third_party/crashpad/crashpad/snapshot/snapshot/debug_rendezvous.o.d
-DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND
-DDYNAMIC_ANNOTATIONS_ENABLED=0
-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40

Re: [gentoo-user] python2 really really really gone? Scripts all broken?

2020-11-15 Thread n952162

On 11/15/20 2:39 PM, n952162 wrote:

Suddenly, there's no python2 on my system, anywhere.  Is that
intentional?





All in all, I'd say I got a lot of good feedback.




[gentoo-user] Re: python2 really really really gone? Scripts all broken?

2020-11-15 Thread Grant Edwards
On 2020-11-15, Jude DaShiell  wrote:

> The sed editor might be helpful doing migrations from python 2.7 into
> python 3.  This would need a sed expert knowing both flavors of python to
> write those scripts though and I don't know if any of that was already
> done.

There are all sorts of existing tools to help migrating from 2 to 3.

  https://docs.python.org/3/howto/pyporting.html
  https://docs.python.org/3.8/library/2to3.html
  https://python-modernize.readthedocs.io/en/latest/
  http://python-future.org/automatic_conversion.html
  https://pypi.org/project/pylint/

It seems to me that writing sed scripts would be a huge waste of time
-- and I'm somebody who _does_ write (short) sed scripts occasionally.

-- 
Grant Edwards   grant.b.edwardsYow! I was making donuts
  at   and now I'm on a bus!
  gmail.com




Re: [gentoo-user] gentoo handbook

2020-11-15 Thread Neil Bothwick
On Sun, 15 Nov 2020 15:46:58 +, Michael wrote:

> On Sunday, 15 November 2020 14:34:09 GMT Jude DaShiell wrote:
> > Totally blind people without technical support equipped with working
> > eyes do not have and never will have useable access to any mo bo
> > menu.  
> 
> Right, in this case the first step to set up the boot mode on a UEFI
> MoBo will require help by a non-blind person.  Alternatively, someone
> with the same MoBo willing to help can record the number of various key
> strokes and provide a rubric to follow.
> 
> Either way, booting in UEFI is thankfully not a necessity.  Legacy BIOS
> works just as nice to be able to install and run Gentoo.  I still run 3
> legacy BIOS systems here.  :-)

In my experience, UEFI systems use UEFI boot by default. The problem with
installing Linux on them is usually the need to disable secure boot.


-- 
Neil Bothwick

Three kinds of people: Those who can count, and those who can't.


pgphlM2mI1UGD.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] python2 really really really gone? Scripts all broken?

2020-11-15 Thread Neil Bothwick
On Sun, 15 Nov 2020 09:38:53 -0500, Jude DaShiell wrote:

> The sed editor might be helpful doing migrations from python 2.7 into
> python 3.  This would need a sed expert knowing both flavors of python
> to write those scripts though and I don't know if any of that was
> already done.

There are already the 2to3 scripts for converting Python2 scripts to work
with Python3. The main issue with migrating is if you are using a library
that hasn't be ported to Python3.


-- 
Neil Bothwick

Few women admit their age. Few men act theirs.


pgpkFPQD0arl1.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] gentoo handbook

2020-11-15 Thread Michael
On Sunday, 15 November 2020 14:34:09 GMT Jude DaShiell wrote:
> Totally blind people without technical support equipped with working
> eyes do not have and never will have useable access to any mo bo menu.

Right, in this case the first step to set up the boot mode on a UEFI MoBo will 
require help by a non-blind person.  Alternatively, someone with the same MoBo 
willing to help can record the number of various key strokes and provide a 
rubric to follow.

Either way, booting in UEFI is thankfully not a necessity.  Legacy BIOS works 
just as nice to be able to install and run Gentoo.  I still run 3 legacy BIOS 
systems here.  :-)

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


Re: [gentoo-user] python2 really really really gone? Scripts all broken?

2020-11-15 Thread Mark Knecht
On Sun, Nov 15, 2020 at 6:39 AM n952162  wrote:
>
> Suddenly, there's no python2 on my system, anywhere.  Is that intentional?
>
>

python2.7 is circa 2010 with updates through 2019

https://www.python.org/downloads/release/python-2716/

You should be able to install it in a segregated user virtualenv. Once
safely there portage won't touch it and backups are a breeze because it's
in your account.

While I don't use it I imagine there's almost got to be a way to do
something similar with Anaconda.

If worse comes to worse then set up a VM with an older distro version and
run it in the VM. 2.7 isn't on any of my Ubuntu systems but it appears to
be in the repo.

HTH,
Mark


Re: [gentoo-user] python2 really really really gone? Scripts all broken?

2020-11-15 Thread Rich Freeman
On Sun, Nov 15, 2020 at 9:38 AM Jude DaShiell  wrote:
>
> The sed editor might be helpful doing migrations from python 2.7 into
> python 3.  This would need a sed expert knowing both flavors of python to
> write those scripts though and I don't know if any of that was already
> done.

Nobody is forbidden from trying to fork broken packages whose
upstreams are dead and fixing them.  I'm sure there are tools to help
with migrations.

Stuff that ends up going away is probably unpopular enough or complex
enough that nobody can be bothered to do this.

However, if you want to take some v2-only package and fork the
upstream and make your only v3 package, Gentoo would have no policy
against having it in the repository.  You're just another upstream,
and plenty of stuff in the repository was forked from something else.

Sometimes Gentoo devs do the forking, but this is generally a matter
of personal interest like anything else.  It isn't a Gentoo policy to
prop up stuff with dead upstreams for some period of time.  A product
like RHEL might be a better choice if that is what you're into, but
obviously going that route has its cons as well as its pros, and I'm
sure like with most commercial products the more money you spend the
more of an ear you get with the engineering team.

-- 
Rich



Re: [gentoo-user] python2 really really really gone? Scripts all broken?

2020-11-15 Thread Dale
n952162 wrote:
> On 11/15/20 2:53 PM, Alessandro Barbieri wrote:
>> You are 5 years late
>>
>> >So, in 2008, we announced that we >would sunset Python 2 in 2015,
>> and >asked people to upgrade before then. >Some did, but many did
>> not. So, in 2014, >we extended that sunset till 2020.
>>
>> See also
>> https://www.python.org/doc/sunset-python-2/
>> https://www.python.org/dev/peps/pep-0373/
>> https://pythonclock.org/
>>
>> Il Dom 15 Nov 2020, 14:39 n952162 > > ha scritto:
>>
>> Suddenly, there's no python2 on my system, anywhere.  Is that
>> intentional?
>>
>>
>>
>
> "Python 2.7 will not be maintained past 2020
> ."
>
> There are no unmaintained packages in gentoo?
>
>



Eventually unmaintained packages get treecleaned.  If a package fails to
build and someone files a bug report, that can easily trigger the
treecleaning.  Of course, there are systems that test these sorts of
things and sometimes it catches packages that fail to build with the
same result.  They got names for those systems but I can't recall them. 
>From my understanding, they build various packages and look for build
failures and report problems. 

So, while there may be a few that have no maintainer but still work,
there is likely very, very few that have no maintainer and fail to
build.  I monitor -dev and I see last rites for packages all the time
for just that reason. On occasion someone picks up a package and fixes
them but quite often, the package is dead upstream and been replaced by
something newer, just like python 2.7 is doing.  It's just that python
is going to newer versions that aren't compatible with the old ways. 

I've seen so many posts about python 2.7 going away, I'm pretty glad it
is gone.  The devs have been posting and working on this for a long,
long time now.  I might add, it took quite a lot of effort on their part
as well. 

Dale

:-)  :-) 



Re: [gentoo-user] python2 really really really gone? Scripts all broken?

2020-11-15 Thread Ralph Seichter
* n952...@web.de:

> I confess, I never really read the fine print to the end because it
> never occurred to me that python would be so gratuitously
> authoritarian as that.

Now look at you. Hiding behind an anonymous freemail address, not paying
attention (for years), whining that the makers of a free programming
language wisely decided to abandon an outdated version for which free
updates have been available (for years), so as to better focus their
efforts.

You don't get to whine about things like that. It is that simple.

-Ralph



Re: [gentoo-user] python2 really really really gone? Scripts all broken?

2020-11-15 Thread Jude DaShiell
On Sun, 15 Nov 2020, Rich Freeman wrote:

> Date: Sun, 15 Nov 2020 09:32:37
> From: Rich Freeman 
> Reply-To: gentoo-user@lists.gentoo.org
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] python2 really really really gone? Scripts all
> broken?
>
> On Sun, Nov 15, 2020 at 9:03 AM n952162  wrote:
> >
> > I'm trying to think of another language that just tossed it's whole body of 
> > legacy code out the window ... okay Microsoft word does that to its 
> > user-base regularly, it's true...
> >
>
> I'm sure MS has done it, but they're not really a good example to
> pick.  MS actually has a really strong history of planned software
> lifecycles, and their core stuff has incredibly long support
> schedules.  I'm not sure how the evergreen Win10 strategy has impacted
> things, but historically on OSes MS's policy is that they will
> security support an OS for 10 years after obsolescence (not
> introduction).  Windows XP was supported until 2014.
>
> The complaints about end-of-support for MS are usually the result of
> the fact that those timelines are so incredibly long.  People just
> take for granted that their stuff will be around forever and deploy
> software without any thought to how OS changes will work, lay off the
> entire development team a few years later, and then after half a
> decade scratch their heads about what they're going to do since nobody
> has any idea how to fix it and the end-of-life that was known to the
> day a full decade prior has arrived.
>
> If you're using technology you should be aware that basically all
> software has some kind of lifecycle policy.  If it isn't written down,
> then you should assume that the policy is that it will stop working
> without any promises or warning.
>
> If you're willing to just keep migrating to the latest and greatest
> then you don't have to worry about it so much.  However, if you like
> to keep using the same stuff and manage your changes, then you need to
> plan around this stuff.
>
> You could always use a distro like RHEL that has a distro-level
> support policy.  They would probably backport security fixes and such
> for anything they're distributing where they're promised.  When you
> buy into an OS with more formal support processes one of the things
> you're buying into is defined timelines that you can plan your own
> work around.  That doesn't necessarily mean that those timelines will
> be as long as you want them to be - they're just written down.
>
The sed editor might be helpful doing migrations from python 2.7 into
python 3.  This would need a sed expert knowing both flavors of python to
write those scripts though and I don't know if any of that was already
done.

>

-- United States has 633 Billionaires with only 10 doing any annual
significant giving.




Re: [gentoo-user] gentoo handbook

2020-11-15 Thread Jude DaShiell
Totally blind people without technical support equipped with working
eyes do not have and never will have useable access to any mo bo menu.

On Sun, 15 Nov 2020, Michael wrote:
That is my situation for the rest of this life.

> Date: Sun, 15 Nov 2020 07:45:17
> From: Michael 
> Reply-To: gentoo-user@lists.gentoo.org
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] gentoo handbook
>
> On Saturday, 14 November 2020 18:48:57 GMT Jude DaShiell wrote:
> > On 2020-11-14, Jude DaShiell  wrote:
> > > On Sat, 14 Nov 2020, Grant Edwards wrote:
> > >> Date: Sat, 14 Nov 2020 17:30:51
> > >> From: Grant Edwards 
> > >> Reply-To: gentoo-user@lists.gentoo.org
> > >> To: gentoo-user@lists.gentoo.org
> > >> Subject: [gentoo-user] Re: gentoo handbook
> > >>
> > >> On 2020-11-14, Jude DaShiell  wrote:
> > >> > # eselect profile show
> > >>>
> > >>> during a new install is what you run to find what distribution
> > >>> your distribution iso uses.
> > >>>
> > >>> Also you will do best to select a matching profile for first time
> > >>> installation.
> > >>
> > >> I don't understand what you mean above.  What is a "distribution
> > >> ISO"?
> > >
> > > In your case it probably starts with install-minimal and you got it
> > > off the gentoo downloads page.
> >
> > I've installed Gentoo using variety of distros: systemrescuecd,
> > Ubuntu, install-minimal, etc.  I never noticed that it mattered what
> > init system was in use during the install.
>
> Same here.  I even used to cook my own systemrescuecd to include some wireless
> and video firmwares to suit different MoBos.  Booting and installing in UEFI
> Vs Legacy BIOS boils down to selecting any Linux LiveISO suitable for UEFI
> booting and in the MoBo's UEFI GUI menu setting the boot mode to EFI or Legacy
> BIOS.
>
> During installation you should download the appropriate stage3 tarball[1] to
> correspond to the desired Gentoo profile[2].  Choosing a profile after you
> chroot is part of the installation steps.  If you decide to switch profile
> later on it is usually easy (except for no-multilib), but be prepared for some
> reconfiguring of your compile options and rebuilding of your @world set.
>
> [1] https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/
> Stage#Choosing_a_stage_tarball
>
> [2] https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/
> Base#Choosing_the_right_profile
>

-- 
United States has 633 Billionaires with only 10 doing any annual
significant giving.




Re: [gentoo-user] python2 really really really gone? Scripts all broken?

2020-11-15 Thread Rich Freeman
On Sun, Nov 15, 2020 at 9:03 AM n952162  wrote:
>
> I'm trying to think of another language that just tossed it's whole body of 
> legacy code out the window ... okay Microsoft word does that to its user-base 
> regularly, it's true...
>

I'm sure MS has done it, but they're not really a good example to
pick.  MS actually has a really strong history of planned software
lifecycles, and their core stuff has incredibly long support
schedules.  I'm not sure how the evergreen Win10 strategy has impacted
things, but historically on OSes MS's policy is that they will
security support an OS for 10 years after obsolescence (not
introduction).  Windows XP was supported until 2014.

The complaints about end-of-support for MS are usually the result of
the fact that those timelines are so incredibly long.  People just
take for granted that their stuff will be around forever and deploy
software without any thought to how OS changes will work, lay off the
entire development team a few years later, and then after half a
decade scratch their heads about what they're going to do since nobody
has any idea how to fix it and the end-of-life that was known to the
day a full decade prior has arrived.

If you're using technology you should be aware that basically all
software has some kind of lifecycle policy.  If it isn't written down,
then you should assume that the policy is that it will stop working
without any promises or warning.

If you're willing to just keep migrating to the latest and greatest
then you don't have to worry about it so much.  However, if you like
to keep using the same stuff and manage your changes, then you need to
plan around this stuff.

You could always use a distro like RHEL that has a distro-level
support policy.  They would probably backport security fixes and such
for anything they're distributing where they're promised.  When you
buy into an OS with more formal support processes one of the things
you're buying into is defined timelines that you can plan your own
work around.  That doesn't necessarily mean that those timelines will
be as long as you want them to be - they're just written down.

-- 
Rich



Re: [gentoo-user] python2 really really really gone? Scripts all broken?

2020-11-15 Thread Consus

On Sun, Nov 15, 2020 at 03:25:28PM +0100, n952162 wrote:

"Python 2.7 will not be maintained past 2020
."

There are no unmaintained packages in gentoo?


You are more then welcome to support your own overlay gentoo-python2!



Re: [gentoo-user] python2 really really really gone? Scripts all broken?

2020-11-15 Thread Neil Bothwick
On Sun, 15 Nov 2020 15:25:28 +0100, n952162 wrote:

> "Python 2.7 will not be maintained past 2020
> ."
> 
> There are no unmaintained packages in gentoo?

A few, such as Python 2.7.


-- 
Neil Bothwick

"What I need is a list of specific unknown problems we will encounter."


pgpsQNKRUaaUb.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] python2 really really really gone? Scripts all broken?

2020-11-15 Thread n952162

On 11/15/20 2:53 PM, Alessandro Barbieri wrote:

You are 5 years late

>So, in 2008, we announced that we >would sunset Python 2 in 2015, and
>asked people to upgrade before then. >Some did, but many did not. So,
in 2014, >we extended that sunset till 2020.

See also
https://www.python.org/doc/sunset-python-2/

https://www.python.org/dev/peps/pep-0373/

https://pythonclock.org/ 

Il Dom 15 Nov 2020, 14:39 n952162 mailto:n952...@web.de>> ha scritto:

Suddenly, there's no python2 on my system, anywhere.  Is that
intentional?





"Python 2.7 will not be maintained past 2020
."

There are no unmaintained packages in gentoo?




Re: [gentoo-user] python2 really really really gone? Scripts all broken?

2020-11-15 Thread n952162



On 11/15/20 2:52 PM, Miles Malone wrote:
> Well yeah, after a *lot* of news items to that effect, and of course
the fact it's been deprecated for years anyway, it's gone. If you need
the interpreter only for some scripts just select it in your world file,
it'll be around a wee while longer, but the entire ecosystem is kaput,
dead, gone, not coming back, so if your scripts are using any py2.7
libraries you're probably hot out of luck. Just the interpreter will be
around a little bit longer because there's a few packages that for
annoying reasons still need it just as a build dependency.  Notably chromium
>
> On Sun, 15 Nov 2020 at 23:39, n952162  wrote:
>
> Suddenly, there's no python2 on my system, anywhere.  Is that
intentional?


On 11/15/20 3:07 PM, n952162 wrote:


I confess, I never really read the fine print to the end because it
never occurred to me that python would be so gratuitously
authoritarian as that.




But I admit, there was a nasty sense of that authoritarianism in the
various warnings/threats over the years.




Re: [gentoo-user] python2 really really really gone? Scripts all broken?

2020-11-15 Thread n952162

I confess, I never really read the fine print to the end because it
never occurred to me that python would be so gratuitously authoritarian
as that.


On 11/15/20 2:52 PM, Miles Malone wrote:

Well yeah, after a *lot* of news items to that effect, and of course
the fact it's been deprecated for years anyway, it's gone.  If you
need the interpreter only for some scripts just select it in your
world file, it'll be around a wee while longer, but the entire
ecosystem is kaput, dead, gone, not coming back, so if your scripts
are using any py2.7 libraries you're probably hot out of luck. Just
the interpreter will be around a little bit longer because there's a
few packages that for annoying reasons still need it just as a build
dependency. Notably chromium

On Sun, 15 Nov 2020 at 23:39, n952162 mailto:n952...@web.de>> wrote:

Suddenly, there's no python2 on my system, anywhere.  Is that
intentional?





Re: [gentoo-user] python2 really really really gone? Scripts all broken?

2020-11-15 Thread n952162

I'm trying to think of another language that just tossed it's whole body
of legacy code out the window ... okay Microsoft word does that to its
user-base regularly, it's true...

On 11/15/20 2:52 PM, Miles Malone wrote:

Well yeah, after a *lot* of news items to that effect, and of course
the fact it's been deprecated for years anyway, it's gone.  If you
need the interpreter only for some scripts just select it in your
world file, it'll be around a wee while longer, but the entire
ecosystem is kaput, dead, gone, not coming back, so if your scripts
are using any py2.7 libraries you're probably hot out of luck. Just
the interpreter will be around a little bit longer because there's a
few packages that for annoying reasons still need it just as a build
dependency. Notably chromium

On Sun, 15 Nov 2020 at 23:39, n952162 mailto:n952...@web.de>> wrote:

Suddenly, there's no python2 on my system, anywhere.  Is that
intentional?





Re: [gentoo-user] python2 really really really gone? Scripts all broken?

2020-11-15 Thread Alessandro Barbieri
You are 5 years late

>So, in 2008, we announced that we >would sunset Python 2 in 2015, and
>asked people to upgrade before then. >Some did, but many did not. So, in
2014, >we extended that sunset till 2020.

See also
https://www.python.org/doc/sunset-python-2/
https://www.python.org/dev/peps/pep-0373/
https://pythonclock.org/

Il Dom 15 Nov 2020, 14:39 n952162  ha scritto:

> Suddenly, there's no python2 on my system, anywhere.  Is that intentional?
>
>
>
>


Re: [gentoo-user] python2 really really really gone? Scripts all broken?

2020-11-15 Thread n952162

This link in the wiki (https://wiki.gentoo.org/wiki/Python) is dead:

Python 2.7 has reached its end-of-life by 2019-12-31. See news item
.


On 11/15/20 2:39 PM, n952162 wrote:

Suddenly, there's no python2 on my system, anywhere.  Is that
intentional?





Re: [gentoo-user] python2 really really really gone? Scripts all broken?

2020-11-15 Thread Miles Malone
Well yeah, after a *lot* of news items to that effect, and of course the
fact it's been deprecated for years anyway, it's gone.  If you need the
interpreter only for some scripts just select it in your world file, it'll
be around a wee while longer, but the entire ecosystem is kaput, dead,
gone, not coming back, so if your scripts are using any py2.7 libraries
you're probably hot out of luck. Just the interpreter will be around a
little bit longer because there's a few packages that for annoying reasons
still need it just as a build dependency.  Notably chromium

On Sun, 15 Nov 2020 at 23:39, n952162  wrote:

> Suddenly, there's no python2 on my system, anywhere.  Is that intentional?
>
>
>
>


[gentoo-user] python2 really really really gone? Scripts all broken?

2020-11-15 Thread n952162

Suddenly, there's no python2 on my system, anywhere.  Is that intentional?





Re: [gentoo-user] gentoo handbook

2020-11-15 Thread Michael
On Saturday, 14 November 2020 18:48:57 GMT Jude DaShiell wrote:
> On 2020-11-14, Jude DaShiell  wrote:
> > On Sat, 14 Nov 2020, Grant Edwards wrote:
> >> Date: Sat, 14 Nov 2020 17:30:51
> >> From: Grant Edwards 
> >> Reply-To: gentoo-user@lists.gentoo.org
> >> To: gentoo-user@lists.gentoo.org
> >> Subject: [gentoo-user] Re: gentoo handbook
> >> 
> >> On 2020-11-14, Jude DaShiell  wrote:
> >> > # eselect profile show
> >>> 
> >>> during a new install is what you run to find what distribution
> >>> your distribution iso uses.
> >>> 
> >>> Also you will do best to select a matching profile for first time
> >>> installation.
> >> 
> >> I don't understand what you mean above.  What is a "distribution
> >> ISO"?
> > 
> > In your case it probably starts with install-minimal and you got it
> > off the gentoo downloads page.
> 
> I've installed Gentoo using variety of distros: systemrescuecd,
> Ubuntu, install-minimal, etc.  I never noticed that it mattered what
> init system was in use during the install.

Same here.  I even used to cook my own systemrescuecd to include some wireless 
and video firmwares to suit different MoBos.  Booting and installing in UEFI 
Vs Legacy BIOS boils down to selecting any Linux LiveISO suitable for UEFI 
booting and in the MoBo's UEFI GUI menu setting the boot mode to EFI or Legacy 
BIOS.

During installation you should download the appropriate stage3 tarball[1] to 
correspond to the desired Gentoo profile[2].  Choosing a profile after you 
chroot is part of the installation steps.  If you decide to switch profile 
later on it is usually easy (except for no-multilib), but be prepared for some 
reconfiguring of your compile options and rebuilding of your @world set.

[1] https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/
Stage#Choosing_a_stage_tarball

[2] https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/
Base#Choosing_the_right_profile


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