Kitware / paraviewweb

Web framework for building interactive visualization relying on VTK or ParaView to produce visualization data
http://kitware.github.io/paraviewweb/
BSD 3-Clause "New" or "Revised" License
165 stars 51 forks source link

paraview-osmesa docker build fails to build mesa #486

Closed hellkite500 closed 5 years ago

hellkite500 commented 6 years ago

Cloned from master, an attempt to build the osmesa docker image fails with:

-- verifying file...
       file='/opt/paraview/build/downloads/mesa-18.2.2.tar.xz'
-- Downloading... done
-- extracting...
     src='/opt/paraview/build/downloads/mesa-18.2.2.tar.xz'
     dst='/opt/paraview/build/superbuild/osmesa/src'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 27%] No patch step for 'osmesa'
[ 27%] Revert autoconf dist-xz to dist-bzip2
[ 27%] Fix incompatible sed flags in configure
[ 27%] Fix llvm7 build failure for swr
error: patch failed: src/gallium/drivers/swr/rasterizer/jitter/streamout_jit.cpp:306
error: src/gallium/drivers/swr/rasterizer/jitter/streamout_jit.cpp: patch does not apply
make[2]: *** [superbuild/osmesa/stamp/osmesa-osmesa-patch-swr-llvm7-support] Error 1
superbuild/CMakeFiles/osmesa.dir/build.make:141: recipe for target 'superbuild/osmesa/stamp/osmesa-osmesa-patch-swr-llvm7-support' failed
make[2]: Leaving directory '/opt/paraview/build'
CMakeFiles/Makefile2:7539: recipe for target 'superbuild/CMakeFiles/osmesa.dir/all' failed
make[1]: *** [superbuild/CMakeFiles/osmesa.dir/all] Error 2
make[1]: Leaving directory '/opt/paraview/build'
make: *** [all] Error 2
Makefile:129: recipe for target 'all' failed
make: Leaving directory '/opt/paraview/build'
jourdain commented 6 years ago

@chuckatkins any idea?

https://github.com/Kitware/paraviewweb/blob/master/tools/docker/paraview-osmesa/Dockerfile

jourdain commented 5 years ago

Should be fixed now.