[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Parallel build error with 4.4-rc1

From: Chris Staub
Subject: Parallel build error with 4.4-rc1
Date: Sat, 5 Mar 2016 05:05:25 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

When building Bash 4.4-rc1 with "make -j4", it is possible to get a make error due to the build system attempting to copy a file to a directory before that directory has been created. It will try to copy "Makefile.inc" to $(loadablesdir), but the command to actually create $(loadablesdir) might not be run until later. Specifically, the make output looks like this:

make[1]: Entering directory '/usr/src/bash/xxxbuild/bash-4.4-rc1/examples/loadables' /usr/bin/install: cannot create regular file '/usr/lib/bash/Makefile.inc': No such file or directory
Makefile:238: recipe for target 'install-dev' failed
make[1]: *** [install-dev] Error 1
make[1]: *** Waiting for unfinished jobs....
mkdir -p -- /usr/lib/bash
make[1]: Leaving directory '/usr/src/bash/xxxbuild/bash-4.4-rc1/examples/loadables'

This can be fixed by requiring the "installdirs" target as a prerequisite for "install-dev" in examples/loadables/Makefile.

Attachment: bash-4.4-rc1-parallel_fix.patch
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]