[RTEMS Project] #2495: RSB 4.11 tool build broken

RTEMS trac trac at rtems.org
Sun Jan 24 04:22:15 UTC 2016


#2495: RSB 4.11 tool build broken
---------------------------+---------------------
 Reporter:  joel.sherrill  |       Owner:  chrisj
     Type:  defect         |      Status:  new
 Priority:  highest        |   Milestone:  4.11.1
Component:  RSB            |     Version:  4.11
 Severity:  blocker        |  Resolution:
 Keywords:                 |
---------------------------+---------------------

Comment (by pggauvin):

 I am also seeing this failure, on both Arch Linux and Ubuntu 14.04. I've
 created a patch against the 4.11 branch of the RSB, here is my
 explanation:

 In rtems/config/tools/rtems-tools-common-1.cfg '%source setup ...'
 requires that 'source_dir_rtems_tools' be defined beforehand to create a
 symlink properly (source-builder/sb/build.py:216). Otherwise, the
 generated doit script fails since the symlink it creates is named rtems-
 tools.git rather than rtems-tools-4.11, since ln receives no second
 argument. This is the invocation I use:

 {{{
 ../source-builder/sb-set-builder --log=l-arm.txt --jobs 9 \
   --without-rtems --prefix=$HOME/development/rtems/4.11 \
   4.11/rtems-arm
 }}}

 If this is an acceptable patch, would you prefer it be against master? I
 can submit to the mailing list once that is determined. If you need more
 documentation I can provide excerpts from generated doit files.

 (I've put the patch here as plaintext but will attach is as well, not sure
 what the convention is)
 {{{
 diff --git a/rtems/config/tools/rtems-tools-common-1.cfg
 b/rtems/config/tools/rtems-tools-common-1.cfg
 index 0de16ba..eecd121 100644
 --- a/rtems/config/tools/rtems-tools-common-1.cfg
 +++ b/rtems/config/tools/rtems-tools-common-1.cfg
 @@ -22,12 +22,11 @@ License:   BSD-2-Caluse + GPL-2.0
    build_top=$(pwd)

    rtems_tools_source="rtems-tools-%{rtems_tools_version}"
 +  source_dir_rtems_tools=${rtems_tools_source}

    %source setup rtems-tools -q -n ${rtems_tools_source}
    %patch setup rtems-tools -p1

 -  source_dir_rtems_tools=${rtems_tools_source}
 -
    cd ${build_top}

  %build
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/2495#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list