ibex-team / ibex-lib

IBEX is a C++ library for constraint processing over real numbers.
http://ibex-team.github.io/ibex-lib/
GNU Lesser General Public License v3.0
69 stars 51 forks source link

parallelized build failure #286

Open ilovezfs opened 7 years ago

ilovezfs commented 7 years ago

log is here https://gist.github.com/ilovezfs/5a91cc26e0692b6e4607435727fb9714

error is

Making install in gaol
/bin/sh ../mkinstalldirs /private/tmp/ibex-20171009-62173-18q6a9j/ibex-lib-ibex-2.6.0/__build__/3rd/include/gaol/sysdeps
 .././install-sh -c -d '/private/tmp/ibex-20171009-62173-18q6a9j/ibex-lib-ibex-2.6.0/__build__/3rd/lib'
 .././install-sh -c -d '/private/tmp/ibex-20171009-62173-18q6a9j/ibex-lib-ibex-2.6.0/__build__/3rd/include/gaol'
mkdir -p -- /private/tmp/ibex-20171009-62173-18q6a9j/ibex-lib-ibex-2.6.0/__build__/3rd/include/gaol/sysdeps
/usr/bin/install -c -m 644 ./sysdeps/*.h /private/tmp/ibex-20171009-62173-18q6a9j/ibex-lib-ibex-2.6.0/__build__/3rd/include/gaol/sysdeps
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libgaol.la '/private/tmp/ibex-20171009-62173-18q6a9j/ibex-lib-ibex-2.6.0/__build__/3rd/lib'
libtool: install: /usr/bin/install -c .libs/libgaol.lai /private/tmp/ibex-20171009-62173-18q6a9j/ibex-lib-ibex-2.6.0/__build__/3rd/lib/libgaol.la
libtool: install: /usr/bin/install -c .libs/libgaol.a /private/tmp/ibex-20171009-62173-18q6a9j/ibex-lib-ibex-2.6.0/__build__/3rd/lib/libgaol.a
libtool: install: chmod 644 /private/tmp/ibex-20171009-62173-18q6a9j/ibex-lib-ibex-2.6.0/__build__/3rd/lib/libgaol.a
libtool: install: ranlib /private/tmp/ibex-20171009-62173-18q6a9j/ibex-lib-ibex-2.6.0/__build__/3rd/lib/libgaol.a

err: mkdir: /private/tmp/ibex-20171009-62173-18q6a9j/ibex-lib-ibex-2.6.0/__build__/3rd/include/gaol: File exists
make[2]: *** [install-library_includeHEADERS] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [install-am] Error 2
make: *** [install-recursive] Error 1
gchabert commented 7 years ago

@ilovezfs is it under a Windows machine? It seems that MinGW does not support very well these parallelized file access performed by waf (see #257, but it's all in French, sorry!). This is an already known issue. If so, can you try with Filib instead (--interval-lib=filib) ? The problem appears less frequently with filib.

ilovezfs commented 7 years ago

It's macOS :)

cyrilbouvier commented 7 years ago

The problem seems to come from the make install command from Gaol and that the culprit is the install-sh script from Gaol. I do not see how it is linked with parallelism (only make is called with the -j option and it exits successfully).

gchabert commented 7 years ago

@ilovezfs: is this problem still occurring with the last release?

ilovezfs commented 6 years ago

@gchabert seems to still be a problem. It failed on 1 of 3 nodes

https://jenkins.brew.sh/job/Homebrew%20Core%20Pull%20Requests/13449/version=el_capitan/testReport/junit/brew-test-bot/el_capitan/install_ibex/

https://jenkins.brew.sh/job/Homebrew%20Core%20Pull%20Requests/13449/