#3893 closed defect (fixed)

RSB staging changes have broken building a 3rd party package

Reported by: Chris Johns Owned by: Chris Johns
Priority: normal Milestone: 5.1
Component: tool/rsb Version: 5
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

The staging changes let a fully staged vertical stack to build however building the packages for an installed tool chain and BSP is broken.

../source-builder/sb-set-builder --log=bbb-pkg.txt --prefix=/build/rtems/install/5 --host=arm-rtems5 --with-rtems-bsp=beagleboneblack 5/rtems-packages

Change History (6)

comment:1 Changed on Mar 3, 2020 at 2:01:26 AM by Chris Johns <chrisj@…>

In 175ce0b/rtems-source-builder:

sb/config: Expanded nested shell commands

Updates #3893

comment:2 Changed on Mar 3, 2020 at 2:01:28 AM by Chris Johns <chrisj@…>

In 4295d3d/rtems-source-builder:

sb/config: Add paths checks to %{path ...}

Updates #3893

comment:3 Changed on Mar 3, 2020 at 2:01:31 AM by Chris Johns <chrisj@…>

In 96d55ab/rtems-source-builder:

sb/pkgconfig: Cache pkgconfig based on a file name not name

  • Caching on name falsely assumed checks across different config instances in nested build sets as used in vertical stack building was valid. This stopped a valid check for a prefix seeing if a valid BSP config was present.

Updates #3893

comment:4 Changed on Mar 3, 2020 at 2:01:33 AM by Chris Johns <chrisj@…>

Resolution: fixed
Status: assignedclosed

In abd98a2/rtems-source-builder:

rtems/bsps: Fix building 3rd party packages with various options

  • Fix locating valid tools and BSP. If either is found in the staging area use that else use the specific --with-* option and if not present use the --prefix.
  • Locate the tools by checking if the arch's C compiler is a valid file. No other checks are made on the tools.
  • Locate a BSB by checking for a valid pkgconfig file for the BSP.
  • Only filter flags if the BSP is in the staging area

Closes #3893

comment:5 Changed on Mar 3, 2020 at 10:39:27 AM by Chris Johns

Resolution: fixed
Status: closedreopened

The change is broken on Python 3. This has cause the m2003 snapshot to fail.

comment:6 Changed on Mar 3, 2020 at 11:22:05 PM by Chris Johns <chrisj@…>

Resolution: fixed
Status: reopenedclosed

In 9e49d20/rtems-source-builder:

sb/pkgconfig: Fix python2 issue with caching changes

Closes #3893

Note: See TracTickets for help on using tickets.