Neither seems good.  It sounds like there is a race condition in the build.  Can we fix that?  Has this been fixed in newer versions of bash?

 

       brucej

 

From: Arce Moreno, Abraham [mailto:abraham.arce.moreno@intel.com]
Sent: Wednesday, June 13, 2018 2:47 PM
To: starlingx-discuss@lists.starlingx.io
Subject: [Starlingx-discuss] Build Packages: Fail to Build BASH with Simultaneous Jobs

 

During a recent compilation of StarlingX build failures happened for package bash-4.2.46-29 [0]

 

2 ways to fix:

- in a workstation with 8 CPUs, it is fixed by cleaning the component and running a second time via build-pkgs

- in a server with 88 CPUs, the failure is fixed by removing the -j option from patch [1]

 

Any advice is highly appreciated.

 

Abraham

 

[0] https://github.com/starlingx-staging/stx-gplv2/tree/master/bash

[1] https://github.com/starlingx-staging/stx-gplv2/blob/master/bash/centos/meta_patches/0001-Further-parallelize-bash-build.patch