[RTEMS Project] #2525: RSB Python scripts may refer to Python3

RTEMS trac trac at rtems.org
Thu Jan 14 19:40:34 UTC 2016


#2525: RSB Python scripts may refer to Python3
--------------------+--------------------------------
 Reporter:  darnir  |      Owner:
     Type:  defect  |     Status:  new
 Priority:  normal  |  Milestone:  4.11.1
Component:  RSB     |    Version:  4.10
 Severity:  minor   |   Keywords:  RSB, python, build
--------------------+--------------------------------
 The RSB python scripts all have the same shebang line:

     #!/usr/bin/env python

 However, on certain systems, most notably Arch Linux, the default python
 environment is Python3. This causes all the RSB scripts to fail. Instead,
 a simple approach would be to explicitly invoke the Python2 environment.
 All systems that ship only Python2 also have the python2 symlink.

 I've attached patch I made by changing all the shebang lines to python2.
 With these changes, I am still unable to completely build the SPARC tools
 on my machine. Some more Python related issues it seems. I shall debug
 those and either ask for further help later, or provide a patch
 Do let me know if anything else is required.

--
Ticket URL: <http://devel.rtems.org/ticket/2525>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list