Re: [gentoo-user] Re: problem dropping Python 2.7

2019-09-13 Thread Philip Webb
190912 David Haller wrote:
> On Thu, 12 Sep 2019, Philip Webb wrote:
>> I'm now left with  5  problem pkgs :
>>  llvm-7.1.0 fetchmail-6.3.26-r4 qtwebkit-5.212.0_pre20180120
> For fetchmail, unset the 'tk'-useflag:
> + + tk : Enable support for Tk GUI toolkit,
>  in particular it installs fetchmailconf

I just remerged Fetchmail to be sure, but 'fetchmailconf' doesn't work :

  669: ~> fetchmailconf
  Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/fetchmailconf.py", line 2103, in 

  hostname = socket.gethostbyaddr(socket.gethostname())[0]
socket.error: unknown address family

I suspect Fetchmail is somewhat neglected : is there an alternative ?

Otherwise, thanks for the various responses.
I now understand what's going on & will defer Python 2.7 till year-end.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] Re: problem dropping Python 2.7

2019-09-13 Thread David Haller
Hello,

On Thu, 12 Sep 2019, Philip Webb wrote:
>I'm now left with  5  problem pkgs :
>
>  llvm-7.1.0 fetchmail-6.3.26-r4 qtwebkit-5.212.0_pre20180120
[..]
>Can anyone explain (1) how to get around the 1st  3  ebuilds

For fetchmail, unset the 'tk'-useflag:

+ + tk   : Enable support for Tk GUI toolkit, in
   particular it installs fetchmailconf

HTH,
-dnh

-- 
Speed doesn't kill... Impact does.   -- David Wilcox



Re: [gentoo-user] Re: problem dropping Python 2.7

2019-09-13 Thread David Haller
Hello,

On Fri, 13 Sep 2019, Philip Webb wrote:
>190913 Franz Fellner wrote:
>> 190913 schrieb Philip Webb
[..]
>>> What is telling Portage that Firefox needs Python-2.7 ?
>> python:2.7 DEP in firefox is coming from mozcoreconf-v6.eclass
>> (through mozconfig-v6.60.eclass):
>>   DEPEND="virtual/pkgconfig
>> dev-lang/python:2.7[ncurses,sqlite,ssl,threads(+)]
>> ${PYTHON_DEPS}"
>
>Thanks ! -- in  16 years  using Gentoo, I've never come across eclasses.
>I see they are listed in  /usr/portage/eclass .
>Is there a doc which describes what they are & what they do ?

$ qfile `man -w mozcoreconf-v6.eclass`
app-doc/eclass-manpages (/usr/share/man/man5/mozcoreconf-v6.eclass.5.gz)

HTH,
-dnh

-- 
Less is more or less more



Re: [gentoo-user] Re: problem dropping Python 2.7

2019-09-13 Thread Walter Dnes
On Fri, Sep 13, 2019 at 01:24:48AM -0400, Philip Webb wrote
> 190912 Holger Hoffstätte wrote:
> > At least spidermonkey aka mozjs is required by polkit and only builds
> > with python-2.7, thanks to their own !"§$% home-grown build system.
> > Mozilla are working on it and it should be fixed "by the end of the year".
> 
> What about Firefox ?
> -- trying to unmerge Python-2.7 tells me that Firefox-60.8.0 requires
> "python 2.7.5-r2:2.7[ncurses sqlite ssl threads]".

  Is that a build-time dependency or is it needed for Firefox to
actually run?  I suppose you could unmerge Firefox, and install
Firefox-bin to find out.

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



Re: [gentoo-user] Re: problem dropping Python 2.7

2019-09-13 Thread Francesco Turco
On Fri, Sep 13, 2019, at 09:21, Philip Webb wrote:
> Thanks ! -- in  16 years  using Gentoo, I've never come across eclasses.
> I see they are listed in  /usr/portage/eclass .
> Is there a doc which describes what they are & what they do ?

https://wiki.gentoo.org/wiki/Eclass
https://devmanual.gentoo.org/

-- 
https://fturco.net/



Re: [gentoo-user] Re: problem dropping Python 2.7

2019-09-13 Thread Philip Webb
190913 Franz Fellner wrote:
> 190913 schrieb Philip Webb
>> What about Firefox ?
>> -- trying to unmerge Python-2.7 tells me that Firefox-60.8.0 requires
>> "python 2.7.5-r2:2.7[ncurses sqlite ssl threads]".
>> That Firefox ebuild does indeed require those flags,
>> but it also contains "PYTHON_COMPAT=( python3_{5,6,7} )".
>> What is telling Portage that Firefox needs Python-2.7 ?
> python:2.7 DEP in firefox is coming from mozcoreconf-v6.eclass
> (through mozconfig-v6.60.eclass):
>   DEPEND="virtual/pkgconfig
> dev-lang/python:2.7[ncurses,sqlite,ssl,threads(+)]
> ${PYTHON_DEPS}"

Thanks ! -- in  16 years  using Gentoo, I've never come across eclasses.
I see they are listed in  /usr/portage/eclass .
Is there a doc which describes what they are & what they do ?

Let's hope everyone involved gets their acts together
before Python 2.7 becomes unsupported 2020-01-01 ...

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca