There is a race condition in ncurses installation. Two targets (install.libs 
and install.includes)
install the same files, resulting in a race condition when running parallel 
make.
One way to fix the race is to install the targets sequentially. 
The other way is to ensure only one of the targets actually installs the files. 
 
The second approach is more invasive, but more efficient: Not only we are still
able to use parallel make, but also the files are installed only once.
This race is addressed in a patch file, making sure only one of the targets 
(install.includes) installes the include files.
This will work properly (i.e.ncurses will install as intended by the recipe) as 
long as we always install both targets.


Juro Bystricky (1):
  ncurses_6: Fix an install race condition

 .../ncurses/files/fix-include-files-race.patch     | 32 ++++++++++++++++++++++
 meta/recipes-core/ncurses/ncurses_6.0+20160213.bb  |  1 +
 2 files changed, 33 insertions(+)
 create mode 100644 meta/recipes-core/ncurses/files/fix-include-files-race.patch

-- 
1.9.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to