Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lexis build system: Parallel build issue #32

Open
adevress opened this issue Oct 10, 2017 · 0 comments
Open

Lexis build system: Parallel build issue #32

adevress opened this issue Oct 10, 2017 · 0 comments

Comments

@adevress
Copy link

When executed on fast machines and with a make -j quite aggressive ( -j 32 ), the build system of Lexis fails with a duplicated file error related to a code generation issue.

Please find the job log below.

-- Looking for pthread_create in pthread
-- Build files have been written to: /tmp/nix-build-lexis-1.2.0-2017.06.drv-0/Lexis-a4e458a/build
building
make flags: SHELL=/homec/bp0/bp000022/nix-x86_64/store/store/9rqqk1zmcvvd6kiiz7zwlyfbylpyh8wz-bash-4.3-p42/bin/bash
[ 2%] Building zerobuf C++ headers for /tmp/nix-build-lexis-1.2.0-2017.06.drv-0/Lexis-a4e458a/lexis/render/viewport.fbs in /tmp/nix-build-lexis-1.2.0-2017.06.drv-0/Lexis-a4e458a/build/include/lexis/render
[ 4%] Building zerobuf C++ headers for /tmp/nix-build-lexis-1.2.0-2017.06.drv-0/Lexis-a4e458a/lexis/data/progress.fbs in /tmp/nix-build-lexis-1.2.0-2017.06.drv-0/Lexis-a4e458a/build/include/lexis/data/detail
[ 7%] Building zerobuf C++ headers for /tmp/nix-build-lexis-1.2.0-2017.06.drv-0/Lexis-a4e458a/lexis/render/imageJPEG.fbs in /tmp/nix-build-lexis-1.2.0-2017.06.drv-0/Lexis-a4e458a/build/include/lexis/render
[ 9%] Building zerobuf C++ headers for /tmp/nix-build-lexis-1.2.0-2017.06.drv-0/Lexis-a4e458a/lexis/data/cellSetBinaryOp.fbs in /tmp/nix-build-lexis-1.2.0-2017.06.drv-0/Lexis-a4e458a/build/include/lexis/data
[ 12%] Building zerobuf C++ headers for /tmp/nix-build-lexis-1.2.0-2017.06.drv-0/Lexis-a4e458a/lexis/render/stream.fbs in /tmp/nix-build-lexis-1.2.0-2017.06.drv-0/Lexis-a4e458a/build/include/lexis/render
[ 17%] Building zerobuf C++ headers for /tmp/nix-build-lexis-1.2.0-2017.06.drv-0/Lexis-a4e458a/lexis/data/frameRange.fbs in /tmp/nix-build-lexis-1.2.0-2017.06.drv-0/Lexis-a4e458a/build/include/lexis/data
[ 17%] Building zerobuf C++ headers for /tmp/nix-build-lexis-1.2.0-2017.06.drv-0/Lexis-a4e458a/lexis/render/lookOut.fbs in /tmp/nix-build-lexis-1.2.0-2017.06.drv-0/Lexis-a4e458a/build/include/lexis/render
[ 19%] Building zerobuf C++ headers for /tmp/nix-build-lexis-1.2.0-2017.06.drv-0/Lexis-a4e458a/lexis/render/frame.fbs in /tmp/nix-build-lexis-1.2.0-2017.06.drv-0/Lexis-a4e458a/build/include/lexis/render
[ 21%] Building zerobuf C++ headers for /tmp/nix-build-lexis-1.2.0-2017.06.drv-0/Lexis-a4e458a/lexis/data/selections.fbs in /tmp/nix-build-lexis-1.2.0-2017.06.drv-0/Lexis-a4e458a/build/include/lexis/data
[ 24%] Building zerobuf C++ headers for /tmp/nix-build-lexis-1.2.0-2017.06.drv-0/Lexis-a4e458a/lexis/render/histogram.fbs in /tmp/nix-build-lexis-1.2.0-2017.06.drv-0/Lexis-a4e458a/build/include/lexis/render/detail
[ 26%] Building zerobuf C++ headers for /tmp/nix-build-lexis-1.2.0-2017.06.drv-0/Lexis-a4e458a/lexis/render/clipPlanes.fbs in /tmp/nix-build-lexis-1.2.0-2017.06.drv-0/Lexis-a4e458a/build/include/lexis/render/detail
[ 29%] Building zerobuf C++ headers for /tmp/nix-build-lexis-1.2.0-2017.06.drv-0/Lexis-a4e458a/lexis/render/materialLUT.fbs in /tmp/nix-build-lexis-1.2.0-2017.06.drv-0/Lexis-a4e458a/build/include/lexis/render
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
Traceback (most recent call last):
File "/homec/bp0/bp000022/nix-x86_64/store/store/s00yvkxxxx0vxh0ifpnliy658l5168cg-zerobuf-0.5-dev201708/bin/zerobufCxx.py", line 1632, in
os.makedirs( args.outputdir )
File "/homec/bp0/bp000022/nix-x86_64/store/store/650pk416lpxly45m9v913kryy27hwvhd-python-2.7.11-env/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 17] File exists: '/tmp/nix-build-lexis-1.2.0-2017.06.drv-0/Lexis-a4e458a/build/include/lexis/render'
lexis/CMakeFiles/Lexis.dir/build.make:142: recipe for target 'include/lexis/render/stream.h' failed
make[2]: *** [include/lexis/render/stream.h] Error 1
make[2]: *** Waiting for unfinished jobs....

adevress added a commit to BlueBrain/bbp-nixpkgs that referenced this issue Oct 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant