Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2021-03-05 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+-
 Reporter:  pierre.labastie  |   Owner:  allblfseditors
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  hold
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+-

Comment (by pierre.labastie):

 - Little CMS 1.19 can only use python2. Default is to not use it. The only
 package that reference it is xsane, and it is an optional dependency.
 Let's keep the ref to python2.
 - Newt uses both python2 and python3 if they are present. This can be
 prevented with ''--with-python=python3.9'' (you have to indicate where the
 modules are found). If nothing is done, and python2 is installed, you get:
 {{{
 checking for python versions... python2.7 python3.9
 }}}

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2021-03-05 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+-
 Reporter:  pierre.labastie  |   Owner:  allblfseditors
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  hold
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+-

Comment (by pierre.labastie):

 - vim can use python3: it needs ''--enable-python3interp=dynamic",
 otherwise, the tests have segmentation faults. Do not advertise python2
 anymore.
 - brotli can use python3: do not advertise python2.
 - for libxml2, the python2 binding is built at another place: remove
 dependency on P2.
 - talloc does not accept python2 anymore: when calling configure with
 PYTHON=python2, I get:
 {{{
 Checking for program 'python3'   : python2
 Checking for program 'python': python2
 Checking for program 'python3'   : /usr/bin/python3
 Checking for python version >= 3.6.0 : 2.7.18
 The python version is too old, expecting (3, 6, 0)
 }}}

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2021-03-03 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+-
 Reporter:  pierre.labastie  |   Owner:  allblfseditors
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  hold
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+-

Comment (by renodr):

 I caught libqmi attempting to use python2 and ignoring python3 when
 present. Note that there is no dependency recorded in the book on it, but
 it is there:


 {{{
 checking for GLIB... yes
 checking for python... no
 checking for python2... /usr/bin/python2
 checking for python version... 2.7
 checking for python platform... linux2
 checking for python script directory... ${prefix}/lib/python2.7/site-
 packages
 checking for python extension module directory...
 ${exec_prefix}/lib/python2.7/site-packages
 }}}

 When specifying PYTHON=python3 at the configure line, things work
 properly. I've added that in at r24333

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2021-03-03 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+-
 Reporter:  pierre.labastie  |   Owner:  allblfseditors
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  hold
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+-

Comment (by pierre.labastie):

 do not advertise python for:
   - gpgme
   - lipwquality
   - volume_key

 btrfs-progs cannot use python with version <3.4 anymore.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2021-03-02 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+-
 Reporter:  pierre.labastie  |   Owner:  allblfseditors
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  hold
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+-

Comment (by pierre.labastie):

 PYTHON=python3 can be passed to cracklib to force python3. But for
 configure to enable python, one python include file has to be modified.

 cryptsetup python bindings have been removed at version 2.1 (it is
 presently at 2.3.4).

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2021-03-02 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+-
 Reporter:  pierre.labastie  |   Owner:  allblfseditors
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  hold
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+-

Comment (by pierre.labastie):

 it looks like there are several packages where python2 is deemed optional,
 with the meaning that the package needs python and can use python3, but
 could use python2 if desired. I propose to remove this type of
 dependencies: nobody should use python2 if it is possible to use python3
 nowadays. Or at least, we shouldn't promote that...

 I'll remove those dependencies in the next days, unless somebody speaks
 up.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2021-03-02 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+-
 Reporter:  pierre.labastie  |   Owner:  allblfseditors
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  hold
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+-
Changes (by pierre.labastie):

 * Attachment "python-dep-2021-03-02" added.

 Dependencies on python2 as of March 2nd, 2021

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2021-02-04 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+-
 Reporter:  pierre.labastie  |   Owner:  allblfseditors
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  hold
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+-

Comment (by renodr):

 nghttp2's python module was ported to Python3. As part of the update to
 nghttp2-1.43.0, the python2 dependency was removed at r24176

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2020-11-03 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+-
 Reporter:  pierre.labastie  |   Owner:  allblfseditors
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  hold
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+-

Comment (by renodr):

 telepathy-glib ported to python3 at r23863

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2020-10-30 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+-
 Reporter:  pierre.labastie  |   Owner:  allblfseditors
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  hold
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+-

Comment (by renodr):

 node.js has been converted to Python3 at r23855

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2020-10-24 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+-
 Reporter:  pierre.labastie  |   Owner:  allblfseditors
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  hold
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+-

Comment (by ken@…):

 I've just noticed that seamonkey still requires python2.7, it is probably
 (at the moment) picked up via llvm or rustc. The Makefile looks for 2.7.
 Looking at fedora, they require 2.7.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2020-10-22 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+-
 Reporter:  pierre.labastie  |   Owner:  allblfseditors
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  hold
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+-

Comment (by renodr):

 In nfs-utils, several scripts were converted to python3 at the last
 release (2.5.2)

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2020-10-13 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+-
 Reporter:  pierre.labastie  |   Owner:  allblfseditors
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  hold
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+-

Comment (by xry111):

 js68 archived.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2020-10-08 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+-
 Reporter:  pierre.labastie  |   Owner:  allblfseditors
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  hold
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+-

Comment (by renodr):

 The python2 module for pycryptodome has been removed at r23794. Samba uses
 python3 now.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2020-09-23 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+-
 Reporter:  pierre.labastie  |   Owner:  allblfseditors
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  hold
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+-

Comment (by renodr):

 Cleaned up pyatspi2 by removing lingering references to python2 module in
 r23756

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2020-09-19 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+-
 Reporter:  pierre.labastie  |   Owner:  allblfseditors
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  hold
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+-

Comment (by renodr):

 dbus tests were ported to python3 at r23731 in preparation for the removal
 of pygobject3's python2 module. Note that this does *not* affect
 pygobject2, which is used for pygtk.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2020-09-07 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+-
 Reporter:  pierre.labastie  |   Owner:  allblfseditors
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  hold
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+-

Comment (by pierre.labastie):

 telepathy-mission-control used to require python2 (not noted in the book).
 It now can be built and tested with python3.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2020-07-22 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+-
 Reporter:  pierre.labastie  |   Owner:  allblfseditors
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  hold
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+-
Changes (by bdubbs):

 * owner:  all-editors => allblfseditors


--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2020-07-22 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+--
 Reporter:  pierre.labastie  |   Owner:  all-editors
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  hold
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+--
Changes (by bdubbs):

 * owner:  alleditors => all-editors


--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2020-07-07 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+-
 Reporter:  pierre.labastie  |   Owner:  alleditors
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  hold
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+-

Comment (by renodr):

 Seamonkey doesn't seem to want py2 anymore:

 {{{
 checking for Python 3... /usr/bin/python3 (3.8.3)
 }}}

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2020-06-25 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+-
 Reporter:  pierre.labastie  |   Owner:  alleditors
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  hold
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+-

Comment (by renodr):

 I don't believe our build uses it, but nspr's buildscript was ported to
 Python3 with NSPR-4.26.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2020-06-15 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+-
 Reporter:  pierre.labastie  |   Owner:  alleditors
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  hold
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+-
Changes (by bdubbs):

 * owner:  blfs-book => alleditors
 * status:  reopened => new


--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2020-06-04 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  reopened
 Priority:  normal   |   Milestone:  hold
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 asciidoc-9.0.0 dropped P2.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2020-05-29 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  reopened
 Priority:  normal   |   Milestone:  hold
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by thomas):

 Dropped P2 from subversion. For svn-1.14.0 it was required to add **py3c**
 as a new (tiny) module.
 The swig/py3c/subversion combo compiles fine and tested ok without P2
 (afaiks).

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2020-05-02 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  reopened
 Priority:  normal   |   Milestone:  hold
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by renodr):

 I made mercurial python3 at r23066. There may be a potential performance
 regression though, but everything seems to be running OK. Only one test
 failed, and the documentation generated properly too. I ran "hg
 debuginstall" and "hg" just to verify that those functions worked as well.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2020-05-02 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  reopened
 Priority:  normal   |   Milestone:  hold
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by ken@…):

 Just a note that I tried a firefox-76 beta last month on a system without
 python2, and it absolutely requires python2.7. Whether firefox-78 (next
 esr) will be any better remains to be seen.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2020-05-02 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  reopened
 Priority:  normal   |   Milestone:  hold
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by thomas):

 mercurial-5.4 compiles without P2 (test with docutils and 'make check'
 outstanding)

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2020-04-26 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  reopened
 Priority:  normal   |   Milestone:  hold
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+
Changes (by pierre.labastie):

 * Attachment "python-dep-2020-04-26" added.

 Python 2 dependencies as of April 26th, 2020

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-12-12 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  reopened
 Priority:  normal   |   Milestone:  hold
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by bdubbs):

 I removed py2 from boost earlier today.  It was only used for tests, but
 all tests pass now with py3:

 python3 test_all.py

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-12-12 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  reopened
 Priority:  normal   |   Milestone:  hold
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by ken@…):

 On a fresh svn system where python2 has not been installed, git-2.24.1
 passed its tests. I did a "clean build", i.e. don't pass PYTHON=python2,
 merely add '--with-python=/usr/bin/python3'.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-12-10 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  reopened
 Priority:  normal   |   Milestone:  hold
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by ken@…):

 For git-2.24.1 I've now installed it on a development box where python2 is
 already present, using

 {{{
 PYTHON=python3 ./configure ... --with-python=/usr/bin/python3
 }}}

 and

 {{{
 PYTHON=python3 make $MAKEFLAGS test
 }}}

 and on BLFS-svn from 9th December the tests passed and it seems to work as
 expected (but I've no real idea how much python is used in it, google just
 gives me results for python-git).

 Currently trying on my home server (9.0) which takes a bit longer - that
 too has now passed.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-12-10 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  reopened
 Priority:  normal   |   Milestone:  hold
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by ken@…):

 When I was looking at firefox the other week, I took a look at what fedora
 are doing more generally, and one of the things that cropped up was gimp.
 Apparently upstream will require python2 for gimp-2.10. The gimp
 development branch (to be 3.0) already uses python3 but is not yet ready
 for prime-time, so fedora will be looking for a dispensation for python2.7
 and a few modules  for fedora32. One of those modules was pygtk, which
 apparently now has a maintainer but does not expect to release until
 gtk-4.0 is released.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-08-09 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  reopened
 Priority:  normal   |   Milestone:  hold
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+
Changes (by xry111):

 * milestone:  9.0 => hold


--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-08-08 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  reopened
 Priority:  normal   |   Milestone:  9.0
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by xry111):

 krb5 now uses Python 3 for its test suite.  Removed P2 at r21913.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-07-04 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  9.0
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by xry111):

 Added the way to run harfbuzz testsuite with P3, at r21803.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-05-16 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  8.5
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by xry111):

 xcb-proto test suite can be ran with P3 now.  Removed P2 at r21596.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-05-06 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  8.5
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by xry111):

 Now P3 with six is recommended for gdb, as Pierre suggested.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-04-20 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  8.5
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 Replying to [comment:71 xry111]:
 > If GDB is built with P3, many scripts would require six (P3 module) to
 work.
 >
 > So I decided not to add `--with-python=/usr/bin/python3` into the
 command, but explain it in Command Explanation.  And, I appended six to
 optional dependency list of GDB.

 Hmm, I am not sure I understand: why not recommend six, rather? It is a
 small module, and it is in the book.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-04-20 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  8.5
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 About inkscape: If nothing is done and P2 is not installed (it is
 recommended for scour, but scour is a runtime dep, so P2 can be built
 after inkscape), inkscape cannot be built... The reason is that "python"
 is hardcoded in some CMakeLists.txt. It seems that:
 {{{
 find . -name CMakeLists.txt | xargs sed -i 's/python/&3/'
 }}}
 allows the build to pass. Now, I am not sure whether all the
 functionalities are enabled.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-04-16 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  8.5
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by xry111):

 Replying to [comment:69 xry111]:

 > I don't know if there are other BLFS packages shipping Python scripts
 for GDB.

 I forgot rustc.  Just checked its GDB scripts.  They can work with P3 too.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-04-13 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  8.5
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by xry111):

 For GDB:

 1.  I'm sure the Python scripts shipped with gdb-8.2.1 can work with
 Python 3.
 2.  I'm sure the GDB scripts shipped with libstdc++ (in gcc-8.3.0) and
 glib-2.60.0 can work with Python 3.

 I don't know if there are other BLFS packages shipping Python scripts for
 GDB.

 I think I'll proceed to add `--with-python=/usr/bin/python3` for GDB, if
 nobody disagrees.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-04-04 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  8.5
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by xry111):

 wget prefers python 3 for test suite now.  Fixed at r21424.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-03-27 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  8.5
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by renodr):

 {{{
   * Ported data generator utilities to python3
   * Ported functional tests to python3, reformatted to PEP-8
 }}}

 Tracker no longer needs Python 2.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-03-27 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  8.5
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by xry111):

 Replying to [comment:65 xry111]:
 > evolution-data-server favors Python 3 since 3.27.91.

 Now it actually doesn't need python at all (for both 3.30 and 3.32).
 Removed in r21398.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-03-21 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  8.5
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by xry111):

 evolution-data-server favors Python 3 since 3.27.91.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-03-15 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  8.5
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 Replying to [comment:63 thomas]:
 > Samba 4.10.0 will be the first Python3 version.  It is scheduled for
 Tuesday (March, 19th). 4.11 will be P3-only.
 >
 > From Release notes (4.10.0rc1):
 > {{{
 > ...
 > This is the first release of Samba which has full support for Python 3.
 > Samba 4.10 still has support for Python 2, however, Python 3 will be
 used by
 > default, i.e. 'configure' & 'make' will execute using python3.
 > ...
 > }}}

 Very good news. Thanks. Note that I have no means to test samba, so
 hopefully, somebody will be able to test builds with P3 only.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-03-15 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  8.5
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by thomas):

 Samba 4.10.0 will be the first Python3 version.  It is scheduled for
 Tuesday (March, 19th). 4.11 will be P3-only.

 From Release notes (4.10.0rc1):
 {{{
 ...
 This is the first release of Samba which has full support for Python 3.
 Samba 4.10 still has support for Python 2, however, Python 3 will be used
 by
 default, i.e. 'configure' & 'make' will execute using python3.
 ...
 }}}

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-03-06 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  8.5
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by xry111):

 Replying to [comment:61 pierre.labastie]:
 > Replying to [comment:60 xry111]:
 > > Replying to [comment:19 pierre.labastie]:
 > > > gdb's python backend is P2 only, too. This backend is optional, but
 this backend must have been built if gdb is present when running rustc
 tests, otherwise, 3 tests (in the debuginfo series) fail.
 > >
 > > Are you sure?
 > >
 > >
 
https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/gdb
 >
 > Hmmm,
 > that was some time ago, so I do not remember the details. I guess I'll
 have to try again...
 > If I try to recall what I did, I think passing ''--with-
 python=/usr/bin/python3'' does not prevent the build, but the backend
 cannot be loaded into gdb. Maybe Archlinux don't care...

 I just built a GDB-8.2.1 with python3.  It seems working well.  (At least
 libstdc++.so.6.0.25-gdb.py works with it).

 > Actually, I do not understand why they need ''--with-
 python=/usr/bin/python3 ''. Don't they rename python3 to python?

 Maybe to prevent some systems with `/usr/local/bin/python` or
 `/opt/anaconda/bin/python`?  My girlfriend once got stuck because a
 version conflict between system Python and Anaconda.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-03-06 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  8.5
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 Replying to [comment:60 xry111]:
 > Replying to [comment:19 pierre.labastie]:
 > > gdb's python backend is P2 only, too. This backend is optional, but
 this backend must have been built if gdb is present when running rustc
 tests, otherwise, 3 tests (in the debuginfo series) fail.
 >
 > Are you sure?
 >
 >
 
https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/gdb

 Hmmm,
 that was some time ago, so I do not remember the details. I guess I'll
 have to try again...
 If I try to recall what I did, I think passing ''--with-
 python=/usr/bin/python3'' does not prevent the build, but the backend
 cannot be loaded into gdb. Maybe Archlinux don't care...
 Actually, I do not understand why they need ''--with-
 python=/usr/bin/python3 ''. Don't they rename python3 to python?

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-03-06 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  8.5
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by xry111):

 Replying to [comment:19 pierre.labastie]:
 > gdb's python backend is P2 only, too. This backend is optional, but this
 backend must have been built if gdb is present when running rustc tests,
 otherwise, 3 tests (in the debuginfo series) fail.

 Are you sure?

 
https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/gdb

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-03-04 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  8.5
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by bdubbs):

 Just a comment here.  I was upgrading bind and they now need a module
 'ply' for dnssec-keymgr.

 It is easy enough to install ply with 'sudo pip install ply'

 When I did this I got a message:

 DEPRECATION: Python 2.7 will reach the end of its life on January 1st,
 2020. Please upgrade your Python as Python 2.7 won't be maintained after
 that date. A future version of pip will drop support for Python 2.7.

 So this gives some emphasis to trying to minimize python2.

 I also noticed that we have a pip3.7, but not a pip3.  Perhaps we should
 add

 ln -svf pip3.7 /usr/bin/pip3

 when we install python3 in LFS.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-02-21 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  8.5
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 P2 build of PyGobject3 reinstated at r21223

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-02-20 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  8.5
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+
Changes (by pierre.labastie):

 * milestone:  x-future => 8.5


Comment:

 Replying to [comment:56 renodr]:
 > Pierre,
 >
 > Can we please get the Python 2 module for PyGObject3 back in the book?
 So far I've encountered issues with the following packages as a result of
 it's disappearance:
 >
 > - Caribou
 > - libpeas
 > - Tracker-2.2
 >
 > I'm certain that there will probably be more.

 I'll do that, because we are close to release, and we do not have time to
 look at the details. GTK+3 has moved to P3, so I am almost sure that the
 issues you see come from something else (maybe the build system finds P2,
 and then tries to use the pygobject3 module on it. Also, ISTR from our
 "tracker" discussion, that some tests are P2 only). I think we should tend
 to have only P3 installed. But that's for after the release...
 I'll move this ticket to 8.5, and work more on it after the release.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-02-20 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by renodr):

 Pierre,

 Can we please get the Python 2 module for PyGObject3 back in the book? So
 far I've encountered issues with the following packages as a result of
 it's disappearance:

 - Caribou
 - libpeas
 - Tracker-2.2

 I'm certain that there will probably be more.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-02-08 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 Qt5 done at r21106

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-02-08 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 For qtwebengine, configure.pri contains a test, which explicitly requires
 P2. I'll modify the Qt5 page to add the above sed, and tell that if the
 sed is applied, qtwebengine cannot be built.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-02-07 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 Trying to build Qt5 new version on my P3 only machine gave an error:
 {{{
 sh: python: command not found
 Building QtQml requires Python.
 }}}
 The following sed allows to build:
 {{{
 find . -name \*.pro -o -name \*.pri | xargs sed -i 's/python/&3/'
 }}}
 Not sure it would work with qtwebengine...

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-31 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 Replying to [comment:51 pierre.labastie]:
 > Replying to [comment:44 renodr]:
 > > You're going to want this for Abiword (found while trying to find a
 solution for blanking screen issues)
 > >
 > > https://git.archlinux.org/svntogit/packages.git/tree/trunk/python-
 override.patch?h=packages/abiword
 > >
 > > That forces Abiword to use Py3
 >
 > Actually, Python is not used unless ''--enable-introspection'' is passed
 to configure. The current book instructions don't pass it, and gobject-
 introspection is deemed optional. We may want to change to recommend g-i,
 but right now, I'd say the patch is not needed.

 Ah, I see we have a sed for libical, although libical is optional too...
 But trying to use --enable-introspection leads to:
 {{{
   GISCAN  Abi-3.0.gir
 Couldn't find include 'Gsf-1.gir' (search path: '['/usr/share/gir-1.0',
 '/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0']' )
 }}}
 So it seems libgsf needs ''--enable-introspection'', too. I do not know
 how many other packages do not use automatically introspection if it is
 present...

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-31 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 Replying to [comment:44 renodr]:
 > You're going to want this for Abiword (found while trying to find a
 solution for blanking screen issues)
 >
 > https://git.archlinux.org/svntogit/packages.git/tree/trunk/python-
 override.patch?h=packages/abiword
 >
 > That forces Abiword to use Py3

 Actually, Python is not used unless ''--enable-introspection'' is passed
 to configure. The current book instructions don't pass it, and gobject-
 introspection is deemed optional. We may want to change to recommend g-i,
 but right now, I'd say the patch is not needed.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-30 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by ken@…):

 Replying to [comment:49 pierre.labastie]:
 > Well not sure it is practical to change the name of the python
 executable on a running system. But for building, I suspect it could have
 some use cases...
 > (Ken has an interesting comment about gimp scripts written in python,
 but he only sent it to the blfs-book mailing list)

 Now that I'm on a system where current firefox is installed (to login to
 the wiki!), and also a version of gimp-2.10, I'll give a little more
 detail here:

 Lots of gimp users seem to prefer python (i.e. python2) for scripting.
 They seem to think that handling the vagaries of whitespace significance
 is easier than dealing with scheme - actually, they might be onto
 something there ;-)

 I said that probably all of these scripts are external. In fact there are
 a number shipped as standard in 2.10, including the python console itself
 (bottom of the filters menu, 'Python-Fu') which is /usr/lib/gimp/2.0/plug-
 ins/python-console/python-console.py.  And all of the shipped scripts
 start:

 {{{
 #!/usr/bin/env python2
 }}}

 So gimp really does want python2 available at runtime (indeed, it might
 not even configure without it - I've never tried).

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-30 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 Well not sure it is practical to change the name of the python executable
 on a running system. But for building, I suspect it could have some use
 cases...
 (Ken has an interesting comment about gimp scripts written in python, but
 he only sent it to the blfs-book mailing list)

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-30 Thread Ken Moffat via blfs-book
On Wed, Jan 30, 2019 at 04:35:29PM -, BLFS Trac wrote:
> #11549: Review dependencies on Python 2
> 
> Comment (by pierre.labastie):
> 
>  So I've been able to build KF5, plasma, and KF5 applications without P2.
>  At some point, I needed asciidoc (recommended for btrfs-progs, which is
>  itself recommendend for udisks2, which is needed at runtime by KDE
>  applications). So:
> 
>  - I installed P2
>  - I moved /usr/bin/{python,python2,python2.7} to
>  /usr/bin/{python,python2,python2.7}nouse
>  - I changed the headers of a2x and asciidoc from /usr/bin/python to
>  /usr/bin/python2.7nouse
> 
>  asciidoc is now working, but P2 is invisible to any other package... I
>  wonder if we could not use this kind of approach in the book, for packages
>  which need P2 at run time.
> 
One of the packages whose *users* use python2 at runtime is gimp.
There are many python2 scripts out there (non-programmers find it
easier to adapt py scripts than scheme scripts).  They are probably
all external, and using /usr/bin/env python (or ...2 or ...2.7).

ĸen
-- 
thread 'main' panicked at 'giraffe',
/tmp/rustc-1.32.0-src/src/test/run-fail/while-panic.rs:17:13
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-30 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 So I've been able to build KF5, plasma, and KF5 applications without P2.
 At some point, I needed asciidoc (recommended for btrfs-progs, which is
 itself recommendend for udisks2, which is needed at runtime by KDE
 applications). So:

 - I installed P2
 - I moved /usr/bin/{python,python2,python2.7} to
 /usr/bin/{python,python2,python2.7}nouse
 - I changed the headers of a2x and asciidoc from /usr/bin/python to
 /usr/bin/python2.7nouse

 asciidoc is now working, but P2 is invisible to any other package... I
 wonder if we could not use this kind of approach in the book, for packages
 which need P2 at run time.

 For packages which need P2 at build time, it is often possible to pass the
 location of the P2 executable to the build system, so passing the nouse
 name could be done in this case as well. Well, to close to freeze maybe.
 Let's wait for after 8.4.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-29 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 Note that several KF5 and plasma packages have an optional requirement on
 [https://pypi.org/project/SIP/ sip].

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-29 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 It looks like the cmake modules look for P3 first, then for P2. My guess
 is that if P3 is present (and it should, since it has been built with
 LFS), it will be used. So the second item in comment:45 is not true (I
 should have been less affirmative).

 The dependency on P2 has been on the plasma page since the very beginning
 (almost). At the time, building P3 was optional. I think it is safe to
 remove dependency on P2, and to move the PYTHONPATH to 3.7 (more exactly
 to ).

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-29 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 Replying to [comment:44 renodr]:
 > You're going to want this for Abiword (found while trying to find a
 solution for blanking screen issues)
 >
 > https://git.archlinux.org/svntogit/packages.git/tree/trunk/python-
 override.patch?h=packages/abiword
 >
 > That forces Abiword to use Py3

 Great finding, thanks. Will give it a try later, but right now, I'm
 struggling through plasma, where P2 is deemed required. Up to now, I could
 build without P2, but some modules have been installed in
 ''/opt/kf5/lib/python3.7/site-packages''. That leads to 2 issues:
 - the '''pathappend ... PYTHONPATH''' in ''/etc/profile.d/kf5.sh'' is
 wrong.
 - if P2 is present, it'll be used even if P3 is there too. We must find a
 way to prevent that, since P3 can be used in all cases.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-28 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by renodr):

 You're going to want this for Abiword (found while trying to find a
 solution for blanking screen issues)

 https://git.archlinux.org/svntogit/packages.git/tree/trunk/python-
 override.patch?h=packages/abiword

 That forces Abiword to use Py3

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-28 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 libpwquality done at r21056

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-28 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 Just found that libpwquality uses Python (not noted in the deps), and that
 default binary is '''python'''. It can be changed by passing ''--with-
 python-binary=python3'' to configure.
 Will modify the book's page.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-28 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 Replying to [comment:40 renodr]:
 > Replying to [comment:39 pierre.labastie]:
 > > Replying to [comment:38 renodr]:
 > >
 > > > I would much appreciate it. Thank you!
 > >
 > > Sent through private mail. Hope I used the right address.
 >
 > Thanks Pierre! Alright, running the tests with the package installed
 results in no FAILs and no ERRORs.

 Good to know. Feel free to adapt my wording on the tracker page.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-28 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by renodr):

 Replying to [comment:39 pierre.labastie]:
 > Replying to [comment:38 renodr]:
 >
 > > I would much appreciate it. Thank you!
 >
 > Sent through private mail. Hope I used the right address.

 Thanks Pierre! Alright, running the tests with the package installed
 results in no FAILs and no ERRORs.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-28 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 Replying to [comment:38 renodr]:

 > I would much appreciate it. Thank you!

 Sent through private mail. Hope I used the right address.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-28 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by renodr):

 Replying to [comment:37 pierre.labastie]:
 > Replying to [comment:36 renodr]:
 > > On a systemd system with Tracker pre-installed, I'm still getting the
 errors. I'm not sure what's causing them, I'll check pre-release
 >
 > For testing, I had only openbox (no other desktop manager). Of course,
 it was on SysV. A few tests were skipped: maybe they aren't skipped in
 your environment, and they fail... I fear I have trashed the test logs.
 But I can redo them (it's not that long) and send them to you.

 I would much appreciate it. Thank you!

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-28 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 Replying to [comment:36 renodr]:
 > On a systemd system with Tracker pre-installed, I'm still getting the
 errors. I'm not sure what's causing them, I'll check pre-release

 For testing, I had only openbox (no other desktop manager). Of course, it
 was on SysV. A few tests were skipped: maybe they aren't skipped in your
 environment, and they fail... I fear I have trashed the test logs. But I
 can redo them (it's not that long) and send them to you.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-28 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by renodr):

 On a systemd system with Tracker pre-installed, I'm still getting the
 errors. I'm not sure what's causing them, I'll check pre-release

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-28 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+
Changes (by pierre.labastie):

 * Attachment "python-dep-2019-01-28" added.

 Dpendencies on Python 2, updated

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-28 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 for tracker, Python is only needed for the "functional tests" which are
 disabled by default. If those tests are desired, P2 is needed. I'll move
 P2 to optional, and explain why it may be needed. Also, all the tests pass
 if in a graphical session with dbus, '''and''' tracker is installed (I
 guess at least the dbus service file is needed).

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-28 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 Replying to [comment:33 pierre.labastie]:
 > Replying to [comment:32 pierre.labastie]:
 > > For QtWebEngine, I do not have the same experience as Ken: it built
 without Python 2... (Current book instructions for both Qt5 and then
 QtWebEngine. Will try Falkon tomorrow
 >
 > Well, I may have done a mistake here. Let's do it again after ''really''
 removing Python 2!

 Yeah. Python2 '''is''' needed.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-28 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 Replying to [comment:32 pierre.labastie]:
 > For QtWebEngine, I do not have the same experience as Ken: it built
 without Python 2... (Current book instructions for both Qt5 and then
 QtWebEngine. Will try Falkon tomorrow

 Well, I may have done a mistake here. Let's do it again after ''really''
 removing Python 2!

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-27 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 For QtWebEngine, I do not have the same experience as Ken: it built
 without Python 2... (Current book instructions for both Qt5 and then
 QtWebEngine. Will try Falkon tomorrow

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-27 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 usbutils does not need P2 anymore. lsusb.py has been ported to P3 (thanks
 to Douglas for the patch), and it is the only user of Python in
 usbutils... Removed requirement for P2 at r21049.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-27 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 Poppler is in a somewhat inconsistent state: The only use of Python is for
 building the the API documentation, but gtk-doc is deemed optional, while
 P2 is deemed recommended. Actually, P3 can be used if one the header of
 ''make-glib-api-doc'' is changed from ''#!/usr/bin/env python'' to
 ''#!/usr/bin/env python3''.
 Moved P2 to optional, and added a command explanation for doc regeneration
 at r21047

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-27 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 Rustc and got done at r21045

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-27 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 git has P2 as recommended, but I do not see why:
 - python (either 2 or 3) is almost not used in git. The only script using
 python outside of the contrib directory is git-p4, which is used to
 interact with perforce repositories. To me, it seems optional.
 - git building does not need python either...

 So I'll remove P2 from the recommended deps.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-26 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 Replying to [comment:24 ken@…]:

 >
 > But I'm not sure that I associate the change from 2 to 3 with SIGSEGV -
 testing 1.32.0 has been unpleasant, I've forgotten a lot of the details
 and I'm probably confused about the order in which I tried certain things,
 but for me the rust tests which failed unexpectedly with SIGSEGV were when
 using system LLVM-7.

 The error reported in ticket #11520 was a SIGSEGV. I'm not sure it is the
 only thing which decided you to switch back to P2, but it is the only
 thing which is reported in that ticket...

 As for using P3 for the build system: my aim with this ticket is to reduce
 P2 use to a minimum, that is, use P2 only for packages which need it. SO
 I'd like to see P3 used as much as possible. With rustc in /usr, built
 with P3, firefox can be built (I'm using it right now). Of course, P2 had
 to be installed at some point (for building nodejs actually).

 I'll take responsibility to put back P3 instructions for rust ;). It
 really seems to me they do not hurt. It's development after all...

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-26 Thread Ken Moffat via blfs-book
On Sat, Jan 26, 2019 at 10:05:54PM -, BLFS Trac wrote:
> #11549: Review dependencies on Python 2
> -+
>  Reporter:  pierre.labastie  |   Owner:  blfs-book
>  Type:  enhancement  |  Status:  new
>  Priority:  normal   |   Milestone:  x-future
> Component:  BOOK | Version:  SVN
>  Severity:  normal   |  Resolution:
>  Keywords:  Python 2 |
> -+
> 
> Comment (by ken@…):
> 
>  Replying to [comment:23 pierre.labastie]:
>  Bruce to merge his changes.
>  > >
>  > > As to building rustc without python3 - we did, for a while. I reverted
>  back to python2 on 6th January, because of #11520. That was with 1.31.1.
>  As I noted earlier, fedora have a patch for python3 for (I think) only one
>  of the rust files. Somebody, probably Thanos, pointed out that some of the
>  rustc scripts specify 2.7 (I think) - can't find the mail in the archive,
>  it was probably early this month.

Obviously that was building rustc *with* python3.  If somebody wants
to change the book to do that again (after the firefox update in the
next few dats), feel free - but I still expect it to bite, and I'm
not going to take the responsibility if it does ;)

If it works, the only obvious immediate beneficiaries are people
building librsvg (firefox and thundebord need python2).  But then,
it depends why they are building it: I build it primarily for gimp
and inkscape, I suspect both are likely to remain on python2 for
the foreseeable future.

ĸen
-- 
thread 'main' panicked at 'giraffe',
/tmp/rustc-1.32.0-src/src/test/run-fail/while-panic.rs:17:13
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-26 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by ken@…):

 Replying to [comment:23 pierre.labastie]:
 >
 > Well, this seems to work for this version of rust. Fedora's patch does
 not seem to be needed. It is in a lldb_something file, and I do not think
 our build makes lldb usable.

 Forgot to comment on lldb : it is an external llvm tool (like clang, lld)
 and has at least one extra dep that is not in the book, plus although I
 thought I had doxygen installed it complained that was missing. But the
 extra dep made me stop investigating it. The rust-lldb is just a front-end
 for it.

 I'm still *vaguely* interested in trying to build rust with thin-lto
 (requires clang, llvm-ar, lld) but that would need several variations, and
 builds of the big programs which use rustc (firefox, thunderbird) to try
 different settings and to see if any make a meaningful improvement in
 build times. Seems too much effort to be worth the time in the short term.
 but I've added lld to my future llvm builds in case I change my mind.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-26 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by ken@…):

 Replying to [comment:22 bdubbs]:
 > I note that Arch is using system llvm for rust, but patches it:
 >
 >
 https://git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/llvm
 >
 > For rust they use P2:
 >
 >
 
https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/rust

 I'm glad they've now patched their llvm - that was where the problem was
 first identified. I can't remember for certain whether they ever used P3
 to build it.

 And once you've merged your changes (I assume you got my mail reply
 mentioning some details) I'll update the list of possible test failures re
 gdb and then hopefully not touch rustc for a few weeks!

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-26 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by ken@…):

 Replying to [comment:23 pierre.labastie]:
 > Replying to [comment:21 ken@…]:
 > > Replying to [comment:20 pierre.labastie]:
 > > > Confirmed that if gdb is ''not'' installed, and P2 is not present,
 there are 4 test failures in rustc.
 > >
 > > Can you be specific about which is the fourth, and is it different
 from the three certain and one possible already specified ?
 >
 > No it's not different: the four failures are issues 37131, 49851 and
 50993, and sysroot-crates-are-unstable. The latter uses a python script,
 which explicitly requires python2.7.
 >

 And all my desktop builds/upgrades build python2 at a very early stage,
 yet I have occasionally seen that failure (and I definitely had it with
 1.32.0 and system llvm-7 on my phenom, although that install appeared to
 be usable).

 Also, as to the gdb failures you mentioned earlier, I got those on another
 machine when updating 8.3, in that case python-2.7.15 was definitely
 installed when gdb-8.1.1 was installed, so I assumed that gdb-6.1.1 was
 probably too old for the tests.

 I'll add a comment that three gdb tests can fail, but I'm waiting for
 Bruce to merge his changes.
 > >
 > > As to building rustc without python3 - we did, for a while. I reverted
 back to python2 on 6th January, because of #11520. That was with 1.31.1.
 As I noted earlier, fedora have a patch for python3 for (I think) only one
 of the rust files. Somebody, probably Thanos, pointed out that some of the
 rustc scripts specify 2.7 (I think) - can't find the mail in the archive,
 it was probably early this month.
 >
 > Well, this seems to work for this version of rust. Fedora's patch does
 not seem to be needed. It is in a lldb_something file, and I do not think
 our build makes lldb usable. I'll try building firefox and let you know if
 it works. Note that if changing the python version is enough to generate
 SIGSEV, it means that there are severe flaws in the build system... The
 python scripts are supposed to run compilation commands, not to define
 memory locations...

 Personally, I have very poor experience of all python build-systems, and I
 have not found that 3 is necessarily better. Both x.py and mach havefailed
 for me in odd ways (x.py with both 2 and 3, mach still definitely needs
 2).

 But I'm not sure that I associate the change from 2 to 3 with SIGSEGV -
 testing 1.32.0 has been unpleasant, I've forgotten a lot of the details
 and I'm probably confused about the order in which I tried certain things,
 but for me the rust tests which failed unexpectedly with SIGSEGV were when
 using system LLVM-7.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-26 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 Replying to [comment:21 ken@…]:
 > Replying to [comment:20 pierre.labastie]:
 > > Confirmed that if gdb is ''not'' installed, and P2 is not present,
 there are 4 test failures in rustc.
 >
 > Can you be specific about which is the fourth, and is it different from
 the three certain and one possible already specified ?

 No it's not different: the four failures are issues 37131, 49851 and
 50993, and sysroot-crates-are-unstable. The latter uses a python script,
 which explicitly requires python2.7.

 >
 > As to building rustc without python3 - we did, for a while. I reverted
 back to python2 on 6th January, because of #11520. That was with 1.31.1.
 As I noted earlier, fedora have a patch for python3 for (I think) only one
 of the rust files. Somebody, probably Thanos, pointed out that some of the
 rustc scripts specify 2.7 (I think) - can't find the mail in the archive,
 it was probably early this month.

 Well, this seems to work for this version of rust. Fedora's patch does not
 seem to be needed. It is in a lldb_something file, and I do not think our
 build makes lldb usable. I'll try building firefox and let you know if it
 works. Note that if changing the python version is enough to generate
 SIGSEV, it means that there are severe flaws in the build system... The
 python scripts are supposed to run compilation commands, not to define
 memory locations...

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-26 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by bdubbs):

 I note that Arch is using system llvm for rust, but patches it:

 https://git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/llvm

 For rust they use P2:

 
https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/rust

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-26 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by ken@…):

 Replying to [comment:20 pierre.labastie]:
 > Confirmed that if gdb is ''not'' installed, and P2 is not present, there
 are 4 test failures in rustc.

 Can you be specific about which is the fourth, and is it different from
 the three certain and one possible already specified ?

 As to building rustc without python3 - we did, for a while. I reverted
 back to python2 on 6th January, because of #11520. That was with 1.31.1.
 As I noted earlier, fedora have a patch for python3 for (I think) only one
 of the rust files. Somebody, probably Thanos, pointed out that some of the
 rustc scripts specify 2.7 (I think) - can't find the mail in the archive,
 it was probably early this month.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-26 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 Confirmed that if gdb is 'not' installed, and P2 is not present, there are
 4 test failures in rustc.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-26 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 nodejs really needs P2. No way to escape...

 gdb's python backend is P2 only, too. This backend is optional, but this
 backend must have been built if gdb is present when running rustc tests,
 otherwise, 3 tests (in the debuginfo series) fail.

 One rustc test needs python2.7 (sysroot-crates-are-unstable). Otherwise,
 rustc can be made P3 only, by changing any occurrence of '''./x.py''' to
 '''python3 ./x.py''' in the current book instructions (not tried the
 custom rust page, but I expect the same results, since only the
 installation dir is changed). In this case, and if gdb is present and
 built without python, 7 tests fail. I'd say it is still acceptable.
 Anyway, I won't change rustc instructions unless instructed by Ken or
 Bruce...

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-24 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 Thanks Ken and Bruce.

 For asciidoc, I've found: https://github.com/asciidoc/asciidoc-py3. No
 release yet.
 There is also https://asciidoc3.org/. Looks like they are independent
 forks. The latter has releases, but the "historical" devs of asciidoc are
 on the former.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-24 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by ken@…):

 And to me.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-24 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by bdubbs):

 Sounds good to me.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-24 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 Well, let's discuss some sort of policy (I do not have the whole picture
 yet, so may need adjustments later). From Douglas and Bruce inputs, I'd
 say it could be:
 - Python modules: always build for P3, except when impossible (pygtk).
 Build for P2 only when really needed by something in the book (normally,
 already implemented).
 - Other applications:
   - Python bindings: don't prevent building bindings for P3 (but do not
 build them if upstream default is to not build them), and always prevent
 building them for P2, unless the package itself or a dependent package
 require P2.
   - Python apps: build only for P3 as much as possible. Build for P2 only
 when upstream ~~is too lazy~~ has been too busy to take the time to switch
 to P3.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-24 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by bdubbs):

 We can prevent the modules from being built but we need to explain the
 complexities of the inter dependencies in a note (or similar). If we don't
 need any of the modules in BLFS, I'd rather list swig as optional rather
 than recommended.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #11549: Review dependencies on Python 2

2019-01-24 Thread BLFS Trac via blfs-book
#11549: Review dependencies on Python 2
-+
 Reporter:  pierre.labastie  |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  x-future
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:  Python 2 |
-+

Comment (by pierre.labastie):

 Replying to [comment:11 bdubbs]:
 >
 > Unless we know about a P2 dependency, then we can omit it by default if
 it takes a command to include it.  I'd say leave in the P3 bindings as we
 have P3 already in LFS, but make P2 optional and don't take explicit
 action to disable the P2 bindings.

 There is an issue with this approach:
 - suppose P2 is present. The package will then try to build say, bindings
 for P2. If in the process, a python module is needed, this module must
 have been built with P2. This means that all the python modules would have
 to be built for P2 as well a for P3. I'd rather avoid that.

 I think it's better to try to prevent P2 to come into the picture each
 time it is possible: otherwise, we'll always have to build P2 bindings
 (and so recommend P2), "just in case".

 >Looking at ./configure --help for volume_key, it looks like picking up P2
 is automatic if it is present, so we probably only need to move P2 to
 optional.

 But the problem is, in this case (for both P2 and P3 actually): if the
 build system wants to build the python bindings, it'll need swig, and
 since swig is not tested by configure, it will fail during the "make"
 stage. OK, let's do it this way:
 - P2 optional, swig recommended, others required as already noted. pass
 --without-python (disable only P2) and comment about the --without-
 python{,3} in command explanations.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

  1   2   >