# Building ParaView v5.10.0 keeps failing

**URL:** https://discourse.paraview.org/t/building-paraview-v5-10-0-keeps-failing/9531
**Category:** ParaView Support
**Created:** [April 28, 2022, 9:42am UTC](https://discourse.paraview.org/t/building-paraview-v5-10-0-keeps-failing/9531 "2022-04-28T09:42:26Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![nopech](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nopech/32/2137_2.png) [@nopech](https://discourse.paraview.org/u/nopech)
#### Post date: [April 28, 2022, 9:42am UTC](https://discourse.paraview.org/t/building-paraview-v5-10-0-keeps-failing/9531/1 "2022-04-28T09:42:26Z")

</div>

Hello everyone

I’ve done this in the past a few times on different Linux versions and with different ParaView versions but with the current combination it just keeps failing.  
I’m using the paraview-superbuild repository and want to compile with osmesa und system OpenMPI. The environment ist AlmaLinux 8.5 with GCC9.2 und OpenMPI 4.1.1. No matter the configuration with ccmake, i’ll end up with the following result:

 ![image](https://discourse.paraview.org/uploads/default/original/2X/8/83b7f93cfa4b7d64c78925f36cbc41379c8f1751.png)

Does anyone have any hints that could help me?

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [April 28, 2022, 1:29pm UTC](https://discourse.paraview.org/t/building-paraview-v5-10-0-keeps-failing/9531/2 "2022-04-28T13:29:28Z")

</div>

There is discussion about this issue at [https://gitlab.kitware.com/vtk/vtk/-/merge\_requests/8868](https://gitlab.kitware.com/vtk/vtk/-/merge_requests/8868)

---

<div class="post-metadata">

### Author: ![nopech](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nopech/32/2137_2.png) [@nopech](https://discourse.paraview.org/u/nopech)
#### Post date: [April 29, 2022, 5:59am UTC](https://discourse.paraview.org/t/building-paraview-v5-10-0-keeps-failing/9531/3 "2022-04-29T05:59:32Z")

</div>

Thank you Cory for your reply.

Unfortunately I don’t quite understand what is going on in the issue you posted. All I see is that there are still problems. I read something like pyi is not available at the build stage is is used etc. but somehow 5.10.0 and 5.10.1 got released so it should be possible to build it.  
In short summary, is there something I can do about this? Install something in my environment that helps the build?

Thank you for your patience, especially with non-developers like me 🙂

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [April 29, 2022, 2:32pm UTC](https://discourse.paraview.org/t/building-paraview-v5-10-0-keeps-failing/9531/4 "2022-04-29T14:32:30Z")

</div>

> [@nopech](#):
>
> somehow 5.10.0 and 5.10.1 got released so it should be possible to build it

5.10.0 and 5.10.1 are based on branches before the .pyi files were introduced. David Gobbi is working on resolving these issues, so hopefully if you just wait it will be resolved in a week or two.

In the meantime, you could have the superbuild build a slightly older version of ParaView (it builds the lastest ParaView from the `master` branch). Or if you are trying to build 5.10.0, then set `paraview_SOURCE_SELECTION` to `5.10.0`. You shouldn’t run into this problem if you do that.

---

<div class="post-metadata">

### Author: ![nopech](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nopech/32/2137_2.png) [@nopech](https://discourse.paraview.org/u/nopech)
#### Post date: [May 3, 2022, 5:51am UTC](https://discourse.paraview.org/t/building-paraview-v5-10-0-keeps-failing/9531/5 "2022-05-03T05:51:47Z")

</div>

Thank you Cory, setting paraview\_SOURCE\_SELECTION did the trick. I was able to build 5.10.1.
