Skip to content

root build fails in clad when using more than one job #17978

Closed
@cgleggett

Description

@cgleggett

Check duplicate issues.

  • Checked for duplicates

Description

When building root (have tried versions 6.33.01, 6.32.08, 6.32.02) with gcc13.3, building the clad component fails with an error of bad file descriptor, if -jN is used when N > 1:

> cat interpreter/cling/tools/plugins/clad/clad-prefix/src/clad-stamp/clad-build-err.log 
gmake[4]: *** read jobs pipe: Bad file descriptor.  Stop.
gmake[4]: *** Waiting for unfinished jobs....
gmake[5]: *** read jobs pipe: Bad file descriptor.  Stop.
gmake[5]: *** Waiting for unfinished jobs....
gmake[4]: *** [CMakeFiles/Makefile2:266: lib/Differentiator/CMakeFiles/cladDifferentiator.dir/all] Error 2
gmake[3]: *** [Makefile:136: all] Error 2

If I continue the build with just 1 job, it works fine. I can in fact kill the build after clad finishes building, and resume with -j20, and it will finish properly.

Reproducer

cmake -Dxrootd=OFF -DCMAKE_INSTALL_PREFIX=/opt/root/v6-33-01_gcc133 ../src

ROOT version

multiple. tried
6.33.01
6.32.08
6.32.02

Installation method

git clone

Operating system

linux alma 9

Additional context

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions