[RTEMS Project] #2275: RSB python error building arm tools on CentOS 6.6

RTEMS trac trac at rtems.org
Thu Feb 19 23:27:28 UTC 2015


#2275: RSB python error building arm tools on CentOS 6.6
----------------------+-------------------------------
 Reporter:  budhe888  |      Owner:  chrisj
     Type:  defect    |     Status:  new
 Priority:  normal    |  Milestone:  4.11
Component:  RSB       |    Version:  4.10
 Severity:  major     |   Keywords:  rsb centos python
----------------------+-------------------------------
 I am trying to set up an RTEMS development environment on a CentOS 6.6
 machine, so I am following the instructions on the rtems source builder
 page [[https://ftp.rtems.org/pub/rtems/people/chrisj/source-builder
 /source-builder.html | found here]].

 I installed all of the packages listed under CentOS. Then I cloned the
 repository and ran the sb-set-builder according to the directions. I got a
 failure when trying to build rtems-tools-HEAD-1 (See attached log). It had
 to do with using python version 2.6, instead of 2.7. So I installed python
 2.7 using the SCL feature of CentOS/Redhat. This allows me to do the
 following:

 system python install-
 {{{
 $ python -V
 Python 2.6.6
 }}}

 calling python with scl python27
 {{{
 $ scl enable python27 'python -V'
 Python 2.7.5
 }}}

 So I reran the set builder command within scl:
 {{{
 $ sudo scl enable python27 '../source-builder/sb-set-builder
 --log=l-arm.txt --prefix=/opt/rtems/4.11 4.11/rtems-arm'
 x=/opt/rtems/4.11 4.11/rtems-arm'
 [6/1854]
 RTEMS Source Builder - Set Builder, v0.5.0
 Build Set: 4.11/rtems-arm
 Build Set: 4.11/rtems-autotools.bset
 Build Set: 4.11/rtems-autotools-internal.bset
 config: tools/rtems-autoconf-2.69-1.cfg
 package: autoconf-2.69-x86_64-linux-gnu-1
 building: autoconf-2.69-x86_64-linux-gnu-1
 config: tools/rtems-automake-1.12.6-1.cfg
 package: automake-1.12.6-x86_64-linux-gnu-1
 building: automake-1.12.6-x86_64-linux-gnu-1
 cleaning: autoconf-2.69-x86_64-linux-gnu-1
 cleaning: automake-1.12.6-x86_64-linux-gnu-1
 Build Set: Time 0:00:07.565536
 Build Set: 4.11/rtems-autotools-base.bset
 config: tools/rtems-autoconf-2.69-1.cfg
 package: autoconf-2.69-x86_64-linux-gnu-1
 building: autoconf-2.69-x86_64-linux-gnu-1
 config: tools/rtems-automake-1.12.6-1.cfg
 package: automake-1.12.6-x86_64-linux-gnu-1
 building: automake-1.12.6-x86_64-linux-gnu-1
 installing: autoconf-2.69-x86_64-linux-gnu-1 -> /opt/rtems/4.11
 installing: automake-1.12.6-x86_64-linux-gnu-1 -> /opt/rtems/4.11
 cleaning: autoconf-2.69-x86_64-linux-gnu-1
 cleaning: automake-1.12.6-x86_64-linux-gnu-1
 Build Set: Time 0:00:07.465109
 Build Set: Time 0:00:15.031398
 config: devel/expat-2.1.0-1.cfg
 package: expat-2.1.0-x86_64-linux-gnu-1
 building: expat-2.1.0-x86_64-linux-gnu-1
 config: tools/rtems-binutils-2.24-1.cfg
 package: arm-rtems4.11-binutils-2.24-x86_64-linux-gnu-1
 building: arm-rtems4.11-binutils-2.24-x86_64-linux-gnu-1
 config: tools/rtems-gcc-4.9.2-newlib-2.2.0-1-1.cfg
 package: arm-rtems4.11-gcc-4.9.2-newlib-2.2.0-1-x86_64-linux-gnu-1
 building: arm-rtems4.11-gcc-4.9.2-newlib-2.2.0-1-x86_64-linux-gnu-1
 config: tools/rtems-gdb-7.8.2-1.cfg
 package: arm-rtems4.11-gdb-7.8.2-x86_64-linux-gnu-1
 warning: gdb-7.8.2.tar.xz: no hash found
 building: arm-rtems4.11-gdb-7.8.2-x86_64-linux-gnu-1
 error: building arm-rtems4.11-gdb-7.8.2-x86_64-linux-gnu-1
 Build FAILED
   See error report: rsb-report-arm-rtems4.11-gdb-7.8.2-x86_64-linux-
 gnu-1.txt
 }}}

 And now I get an error when building gdb. The error log for that is
 attached, as well.

 System info:
 {{{
 $ uname -a
 Linux 2.6.32-504.8.1.el6.x86_64 #1 SMP Wed Jan 28 21:11:36 UTC 2015 x86_64
 x86_64 x86_64 GNU/Linux
 $ cat /etc/redhat-release
 CentOS release 6.6 (Final)
 }}}

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


More information about the bugs mailing list