[RTEMS Project] #2540: RSB has problems building into existing directory

RTEMS trac trac at rtems.org
Thu Oct 5 22:13:58 UTC 2017


#2540: RSB has problems building into existing directory
----------------------------+----------------------------
 Reporter:  Simon Williams  |       Owner:  Needs Funding
     Type:  defect          |      Status:  assigned
 Priority:  normal          |   Milestone:  Indefinite
Component:  RSB             |     Version:  4.12
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+----------------------------

Comment (by Chris Johns):

 Replying to [comment:3 Sebastian Huber]:
 > The autotools are installed before the other stuff which is installed in
 one big chunk.

 The autotools should be installed to an internally path to be available
 for the build if required and installed at the end when the build
 finishes. It is a tricky dependence issue that has been in the RSB from
 its early days.

 > Maybe this sequence should be changed to install each component as soon
 as possible, e.g. Binutils before GCC.

 This is dangerous and it should never happen. I will not be supporting any
 change to do this.

 An RSB buildset build must be viewed as a single transaction that must
 succeed to ensure we are able to say the build installed meets the
 configuration management requirements. We need to know what we have
 described in the build is install. If the build fails in any way no part
 should be installed.

 If you are installing over an existing installation you could end up with
 a hybrid of unknown versions which are not configuration controlled. They
 may appear to work and subtlety fail and that is dangerous or the failures
 maybe major such as code not building and we would need to field those
 report and figure out what is wrong and that is an overhead I would not
 like the project to have.

 The RSB provides the `sb-build` command that lets you step down from the
 build sets to control specific parts. It is more complicated and may not
 work given some the way the build sets have developed over the last 5 or
 so years.

 In respect to this ticket I wonder if the user's path has the install
 prefix's `bin` directory in it and this is effecting the packaging being
 built by referencing the already installed tools.

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


More information about the bugs mailing list