#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: <http://wiki.linuxfromscratch.org/blfs/ticket/11549#comment:23>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
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

Reply via email to