# Fail to build 5.12.0-RC2 with superbuild when complie QT

**URL:** https://discourse.paraview.org/t/fail-to-build-5-12-0-rc2-with-superbuild-when-complie-qt/14193
**Category:** ParaView Support
**Created:** [March 19, 2024, 8:21am UTC](https://discourse.paraview.org/t/fail-to-build-5-12-0-rc2-with-superbuild-when-complie-qt/14193 "2024-03-19T08:21:38Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![mahb](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/m/c89c15/32.png) [@mahb](https://discourse.paraview.org/u/mahb)
#### Post date: [March 19, 2024, 8:21am UTC](https://discourse.paraview.org/t/fail-to-build-5-12-0-rc2-with-superbuild-when-complie-qt/14193/1 "2024-03-19T08:21:38Z")

</div>

now I build linux version with docker image kitware/paraview:ci-superbuild-centos7-20201028, fails when compiling QT . but succeed when compiling paraview 5.9.0. anyone knows the reason?

Info: creating super cache file /home/path/superbuild/qt5/build/.qmake.super  
Info: creating cache file /home/path/superbuild/qt5/build/.qmake.cache  
Info: creating stash file /home/path/superbuild/qt5/build/.qmake.stash

This is the Qt Open Source Edition.

You have already accepted the terms of the Open Source license.

Running configuration tests…  
Checking for machine tuple… yes  
Checking for valid makespec… yes  
Checking for target architecture… x86\_64  
Checking for SSE2 instructions… yes  
Checking for AES new instructions… yes  
Checking for alloca() in alloca.h… yes  
Checking for SSE3 instructions… yes  
Checking for SSSE3 instructions… yes  
Checking for SSE4.1 instructions… yes  
Checking for SSE4.2 instructions… yes  
Checking for AVX instructions… yes  
Checking for AVX2 instructions… yes  
Checking for AVX512 F instructions… yes  
Checking for AVX512 BW instructions… yes  
Checking for AVX512 CD instructions… yes  
Checking for AVX512 DQ instructions… yes  
Checking for AVX512 ER instructions… yes  
Checking for AVX512 IFMA instructions… yes  
Checking for AVX512 PF instructions… yes  
Checking for AVX512 VBMI instructions… yes  
Checking for AVX512 VL instructions… yes  
Checking for C++14 support… yes  
Checking for C++17 support… yes  
Checking for C99 support… yes  
Checking for C11 support… yes  
Checking for pkg-config… yes  
Checking for dlopen()… yes  
Checking for new dtags support… yes  
Checking for F16C instructions… yes  
Checking for D-Bus \>= 1.2 (host)… yes  
Checking for Support for Intel Control-flow Enforcement Technology… no  
Checking for udev… no  
Checking for POSIX fallocate()… yes  
Checking for precompiled header support… yes  
Checking for RDRAND instruction… yes  
Checking for RDSEED instruction… no  
Checking for symbol visibility support… yes  
Checking for -Bsymbolic-functions support… yes  
Checking for SHA new instructions… yes  
Checking for Signaling NaN for doubles… yes  
Checking for STL compatibility… yes  
Checking for zlib… yes  
Checking for Intrinsics without -mXXX argument… yes  
Checking for clock\_gettime()… yes  
Checking for POSIX monotonic clock… yes  
Checking for C++11 … yes  
Checking for eventfd… yes  
Checking for futimens()… yes  
Checking for getauxval()… yes  
Checking for getentropy()… no  
Checking for GLib… no  
Checking for GNU libc… yes  
Checking for POSIX iconv… yes  
Checking for inotify… yes  
Checking for SysV IPC… yes  
Checking for linkat()… yes  
Checking for ppoll()… yes  
Checking for renameat2()… no  
Checking for slog2… no  
Checking for statx() in libc… no  
Checking for 64 bit atomics… yes  
Checking for DoubleConversion… no  
Checking for O\_CLOEXEC… yes  
Checking for C++11 … yes  
Checking for working std::atomic for function pointers… yes  
Checking for getifaddrs()… yes  
Checking for KRB5 GSSAPI Support… no  
Checking for IPv6 ifname… yes  
Checking for Linux AF\_NETLINK sockets… yes  
Checking for XCB \>= 1.11… yes  
Checking for XCB ICCCM \>= 0.3.9… no  
Checking for Desktop OpenGL… yes  
Checking for KMS… yes  
Checking for DRM Atomic API… yes  
Checking for EGL… yes  
Checking for XLib… yes  
Checking for EGL on X11… yes  
Checking for EGLDevice… yes  
Checking for GBM… no  
Checking for Mali EGL… no  
Checking for Mali 2 EGL… no  
Checking for i.Mx6 EGL… no  
Checking for XCB Xlib… yes  
Checking for evdev… yes  
Checking for FreeType… yes  
Checking for Fontconfig… yes  
Checking for LinuxFB… yes  
Checking for mtdev… no  
Checking for OpenVG… no  
Checking for default QPA platform… xcb  
Checking for HarfBuzz… no  
Checking for libpng… yes  
Checking for libmd4c… no  
Checking for tslib… no  
Checking for Vulkan… no  
Checking for xkbcommon \>= 0.5.0… yes  
Checking for xkbcommon-x11… no  
Checking for CUPS… no  
Checking for DB2 (IBM)… no  
Checking for InterBase… no  
Checking for MySQL… no  
Checking for OCI (Oracle)… no  
Checking for ODBC… no  
Checking for PostgreSQL… no  
Checking for SQLite (version 2)… no  
Checking for TDS (Sybase)… no  
Checking for Socket CAN… yes  
Checking for Socket CAN FD… yes  
Checking for 64bit pointers… yes  
Checking for python… /home/path/install/bin/python  
Checking for Direct3D 12… no  
Checking for Assimp… no  
Checking for Assimp… no  
Checking for Autodesk FBX… no  
Checking for ALSA… no  
Checking for GStreamer 1.0… no  
Checking for GStreamer 0.10… no  
Checking for Video for Linux… yes  
Checking for OpenAL… no  
Checking for PulseAudio \>= 0.9.10… no  
Checking for libresourceqt5… no  
Checking for Flite… no  
Checking for Speech Dispatcher… no  
Checking for libclang… no  
Done running configuration tests.

Configure summary:

Build type: linux-g++ (x86\_64, CPU features: mmx sse sse2)  
Compiler: gcc 8.3.1  
Configuration: sse2 aesni sse3 ssse3 sse4\_1 sse4\_2 avx avx2 avx512f avx512bw avx512cd avx512dq avx512er avx512ifma avx512pf avx512vbmi avx512vl compile\_examples enable\_new\_dtags f16c largefile precompile\_header rdrnd shani x86SimdAlways shared shared rpath release c++11 c++14 c++17 c++1z concurrent reduce\_exports reduce\_relocations stl  
Build options:  
Mode … release  
Optimize release build for size … no  
Building shared libraries … yes  
Using C standard … C11  
Using C++ standard … C++17  
Using ccache … no  
Using new DTAGS … yes  
Relocatable … yes  
Using precompiled headers … yes  
Using LTCG … no  
Target compiler supports:  
SSE … SSE2 SSE3 SSSE3 SSE4.1 SSE4.2  
AVX … AVX AVX2  
AVX512 … F ER CD PF DQ BW VL IFMA VBMI  
Other x86 … AES F16C RDRAND SHA  
Intrinsics without -mXXX option … yes  
Build parts … libs tools  
Qt modules and options:  
Qt Concurrent … yes  
Qt D-Bus … no  
Qt D-Bus directly linked to libdbus … no  
Qt Gui … yes  
Qt Network … yes  
Qt Sql … yes  
Qt Testlib … yes  
Qt Widgets … yes  
Qt Xml … yes  
Support enabled for:  
Using pkg-config … yes  
udev … no  
Using system zlib … yes  
Zstandard support … no  
Qt Core:  
DoubleConversion … yes  
Using system DoubleConversion … no  
GLib … no  
iconv … yes  
ICU … no  
Built-in copy of the MIME database … yes  
Tracing backend …   
Logging backends:  
journald … no  
syslog … no  
slog2 … no  
PCRE2 … yes  
Using system PCRE2 … no  
Qt Network:  
getifaddrs() … yes  
IPv6 ifname … yes  
libproxy … no  
Linux AF\_NETLINK … yes  
OpenSSL … no  
Qt directly linked to OpenSSL … no  
OpenSSL 1.1 … no  
DTLS … no  
OCSP-stapling … no  
SCTP … no  
Use system proxies … yes  
GSSAPI … no  
Qt Gui:  
Accessibility … yes  
FreeType … yes  
Using system FreeType … yes  
HarfBuzz … yes  
Using system HarfBuzz … no  
Fontconfig … yes  
Image formats:  
GIF … yes  
ICO … yes  
JPEG … yes  
Using system libjpeg … no  
PNG … yes  
Using system libpng … yes  
Text formats:  
HtmlParser … yes  
CssParser … yes  
OdfWriter … yes  
MarkdownReader … yes  
Using system libmd4c … no  
MarkdownWriter … yes  
EGL … yes  
OpenVG … no  
OpenGL:  
Desktop OpenGL … yes  
OpenGL ES 2.0 … no  
OpenGL ES 3.0 … no  
OpenGL ES 3.1 … no  
OpenGL ES 3.2 … no  
Vulkan … no  
Session Management … yes  
Features used by QPA backends:  
evdev … yes  
libinput … no  
INTEGRITY HID … no  
mtdev … no  
tslib … no  
xkbcommon … yes  
X11 specific:  
XLib … yes  
XCB Xlib … yes  
EGL on X11 … yes  
xkbcommon-x11 … no  
QPA backends:  
DirectFB … no  
EGLFS … yes  
EGLFS details:  
EGLFS OpenWFD … no  
EGLFS i.Mx6 … no  
EGLFS i.Mx6 Wayland … no  
EGLFS RCAR … no  
EGLFS EGLDevice … yes  
EGLFS GBM … no  
EGLFS VSP2 … no  
EGLFS Mali … no  
EGLFS Raspberry Pi … no  
EGLFS X11 … yes  
LinuxFB … yes  
VNC … yes  
Qt Sql:  
SQL item models … yes  
Qt Widgets:  
GTK+ … no  
Styles … Fusion Windows  
Qt PrintSupport:  
CUPS … no  
Qt Sql Drivers:  
DB2 (IBM) … no  
InterBase … no  
MySql … no  
OCI (Oracle) … no  
ODBC … no  
PostgreSQL … no  
SQLite2 … no  
SQLite … yes  
Using system provided SQLite … no  
TDS (Sybase) … no  
Qt Testlib:  
Tester for item models … yes  
Qt SerialBus:  
Socket CAN … yes  
Socket CAN FD … yes  
SerialPort Support … no  
Further Image Formats:  
JasPer … no  
MNG … no  
TIFF … yes  
Using system libtiff … no  
WEBP … yes  
Using system libwebp … no  
Qt QML:  
QML network support … yes  
QML debugging and profiling support … yes  
QML just-in-time compiler … yes  
QML sequence object … yes  
QML XML http request … yes  
QML Locale … yes  
Qt QML Models:  
QML list model … yes  
QML delegate model … yes  
Qt Quick:  
Direct3D 12 … no  
AnimatedImage item … yes  
Canvas item … yes  
Support for Qt Quick Designer … yes  
Flipable item … yes  
GridView item … yes  
ListView item … yes  
TableView item … yes  
Path support … yes  
PathView item … yes  
Positioner items … yes  
Repeater item … yes  
ShaderEffect item … yes  
Sprite item … yes  
QtQuick3D:  
Assimp … yes  
System Assimp … no  
Qt Scxml:  
ECMAScript data model for QtScxml … yes  
Qt 3D:  
Assimp … yes  
System Assimp … no  
Output Qt3D GL traces … no  
Use SSE2 instructions … yes  
Use AVX2 instructions … no  
Aspects:  
Render aspect … yes  
Input aspect … yes  
Logic aspect … yes  
Animation aspect … yes  
Extras aspect … yes  
Qt 3D Renderers:  
OpenGL Renderer … yes  
RHI Renderer … no  
Qt 3D GeometryLoaders:  
Autodesk FBX … no  
Qt Quick Controls 2:  
Styles … Default Fusion Imagine Material Universal  
Qt Quick Templates 2:  
Hover support … yes  
Multi-touch support … yes  
QtXmlPatterns:  
XML schema support … yes  
Qt Multimedia:  
ALSA … no  
GStreamer 1.0 … no  
GStreamer 0.10 … no  
Video for Linux … yes  
OpenAL … no  
PulseAudio … no  
Resource Policy (libresourceqt5) … no  
Windows Audio Services … no  
DirectShow … no  
Windows Media Foundation … no  
Qt TextToSpeech:  
Flite … no  
Flite with ALSA … no  
Speech Dispatcher … no  
Qt Tools:  
Qt Assistant … yes  
Qt Designer … yes  
Qt Distance Field Generator … yes  
kmap2qmap … yes  
Qt Linguist … yes  
Mac Deployment Tool … no  
makeqpf … yes  
pixeltool … yes  
qdbus … yes  
qev … yes  
Qt Attributions Scanner … yes  
qtdiag … yes  
qtpaths … yes  
qtplugininfo … yes  
Windows deployment tool … no  
WinRT Runner Tool … no  
Qt Tools:  
QDoc … no

Note: Also available for Linux: linux-clang linux-icc

WARNING: QDoc will not be compiled, probably because libclang could not be located. This means that you cannot build the Qt documentation.

Either ensure that llvm-config is in your PATH environment variable, or set LLVM\_INSTALL\_DIR to the location of your llvm installation.  
On Linux systems, you may be able to install libclang by installing the libclang-dev or libclang-devel package, depending on your distribution.  
On macOS, you can use Homebrew’s llvm package.  
On Windows, you must set LLVM\_INSTALL\_DIR to the installation path.

ERROR: Feature ‘xcb’ was enabled, but the pre-condition ‘features.thread && libs.xcb && tests.xcb\_syslibs && features.xkbcommon-x11’ failed.

Check config.log for details.  
CMake Error at /home/path/superbuild/sb-qt5-configure.cmake:47 (message):  
Failed with exit code 3

make[2]: \*\*\* [superbuild/qt5/stamp/qt5-configure] Error 1  
make[1]: \*\*\* [superbuild/CMakeFiles/qt5.dir/all] Error 2  
make[1]: \*\*\* Waiting for unfinished jobs…  
Building wheel for numpy (pyproject.toml): still running…  
Building wheel for numpy (pyproject.toml): still running…  
Building wheel for numpy (pyproject.toml): finished with status ‘done’  
Created wheel for numpy: filename=numpy-1.25.2-cp310-cp310-linux\_x86\_64.whl size=26987711 sha256=191f5e5ae819730bf0fd2fdc9611deefbc971328dcbe539a2abbbd347f520ee1  
Stored in directory: /tmp/pip-ephem-wheel-cache-9730kq9e/wheels/e6/1c/10/bdf6133f705a67eed29f2f8465ba9687339bc1f9d5b3b82ef4

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [March 19, 2024, 8:25am UTC](https://discourse.paraview.org/t/fail-to-build-5-12-0-rc2-with-superbuild-when-complie-qt/14193/2 "2024-03-19T08:25:15Z")

</div>

Can you explain what you are trying to do ? Why are you trying to build ParaView 5.12.0-RC2 in one of our CI images ?

---

<div class="post-metadata">

### Author: ![mahb](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/m/c89c15/32.png) [@mahb](https://discourse.paraview.org/u/mahb)
#### Post date: [March 19, 2024, 8:29am UTC](https://discourse.paraview.org/t/fail-to-build-5-12-0-rc2-with-superbuild-when-complie-qt/14193/3 "2024-03-19T08:29:47Z")

</div>

we try to comile our plugin with new paraviw version 5.12.0; the plugin is based on 5.9.0 before.When we do this job, RC2 is latest.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [March 19, 2024, 8:41am UTC](https://discourse.paraview.org/t/fail-to-build-5-12-0-rc2-with-superbuild-when-complie-qt/14193/4 "2024-03-19T08:41:56Z")

</div>

Do you need special option ? Kitware already provides docker images to build plugins against ParaView:

- [https://www.kitware.com/adding-ci-to-your-paraview-plugin-and-vtk-modules/](https://www.kitware.com/adding-ci-to-your-paraview-plugin-and-vtk-modules/)
- [https://www.kitware.com/building-a-paraview-plugin-for-the-binary-release-of-paraview/](https://www.kitware.com/building-a-paraview-plugin-for-the-binary-release-of-paraview/)

> RC2 is latest.

No, 5.12.0 is latest.

---

<div class="post-metadata">

### Author: ![mahb](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/m/c89c15/32.png) [@mahb](https://discourse.paraview.org/u/mahb)
#### Post date: [March 19, 2024, 8:53am UTC](https://discourse.paraview.org/t/fail-to-build-5-12-0-rc2-with-superbuild-when-complie-qt/14193/5 "2024-03-19T08:53:01Z")

</div>

thanks

---

<div class="post-metadata">

### Author: ![mahb](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/m/c89c15/32.png) [@mahb](https://discourse.paraview.org/u/mahb)
#### Post date: [March 21, 2024, 10:33am UTC](https://discourse.paraview.org/t/fail-to-build-5-12-0-rc2-with-superbuild-when-complie-qt/14193/6 "2024-03-21T10:33:07Z")

</div>

Hello, I need to compile with QT, so I use the new docker kitware/paraview-for-ci:v5.12.0,but errors also exist.

[67%] Performing configure step for ‘qt5’  
[67%] Performing install step for ‘pythonsetuptools’

- cd qtbase
- /path/superbuild/qt5/src/qtbase/configure -top-level -opensource -confirm-license -release -prefix /path/install -I /path/install/include -L /path/install/lib -skip qtconnectivity -skip qtgamepad -skip qtlocation -skip qtsensors -skip qtserialport -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebsockets -nomake examples -nomake tests -no-dbus -no-icu -qt-libjpeg -qt-pcre -system-zlib -no-openssl -no-zstd -system-libpng -fontconfig -xcb -xkbcommon  
[68%] Built target pythontomli  
[69%] Built target pythonpackaging  
[70%] Built target pythontypingextensions  
[71%] Built target pythonpyparsing  
Preparing build tree…  
Creating qmake…  
make[3]: warning: jobserver unavailable: using -j1. Add ‘+’ to parent make rule.  
Done.

This is the Qt Open Source Edition.

You have already accepted the terms of the Open Source license.

Running configuration tests…  
Processing /path/superbuild/pythonsetuptools/src  
Preparing metadata (pyproject.toml): started  
Preparing metadata (pyproject.toml): finished with status ‘error’  
error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully.  
│ exit code: 1  
╰─\> [72 lines of output]  
running dist\_info  
creating /tmp/pip-modern-metadata-njfa46bf/setuptools.egg-info  
writing /tmp/pip-modern-metadata-njfa46bf/setuptools.egg-info/PKG-INFO  
writing dependency\_links to /tmp/pip-modern-metadata-njfa46bf/setuptools.egg-info/dependency\_links.txt  
writing entry points to /tmp/pip-modern-metadata-njfa46bf/setuptools.egg-info/entry\_points.txt  
writing requirements to /tmp/pip-modern-metadata-njfa46bf/setuptools.egg-info/requires.txt  
writing top-level names to /tmp/pip-modern-metadata-njfa46bf/setuptools.egg-info/top\_level.txt  
writing manifest file ‘/tmp/pip-modern-metadata-njfa46bf/setuptools.egg-info/SOURCES.txt’  
reading manifest file ‘/tmp/pip-modern-metadata-njfa46bf/setuptools.egg-info/SOURCES.txt’  
reading manifest template ‘MANIFEST.in’  
warning: no files found matching ‘_.py’ under directory ‘tests’  
warning: no files found matching '_.txt’ under directory ‘docs’  
warning: no files found matching ‘_.conf’ under directory ‘docs’  
warning: no files found matching '_.css’ under directory ‘docs’  
warning: no files found matching ‘_.css\_t’ under directory ‘docs’  
warning: no files found matching ‘Makefile’ under directory ‘docs’  
warning: no files found matching ‘indexsidebar.html’ under directory ‘docs’  
warning: no files found matching ‘msvc-build-launcher.cmd’  
warning: no previously-included files matching '_.py[cod]’ found anywhere in distribution  
warning: no previously-included files matching ‘ **pycache** ’ found anywhere in distribution  
adding license file ‘LICENSE’  
writing manifest file ‘/tmp/pip-modern-metadata-njfa46bf/setuptools.egg-info/SOURCES.txt’  
creating ‘/tmp/pip-modern-metadata-njfa46bf/setuptools-68.1.2.dist-info’  
Traceback (most recent call last):  
File “/path/install/lib/python3.10/site-packages/pip/\_vendor/pyproject\_hooks/\_in\_process/\_in\_process.py”, line 353, in   
main()  
File “/path/install/lib/python3.10/site-packages/pip/\_vendor/pyproject\_hooks/\_in\_process/\_in\_process.py”, line 335, in main  
json\_out[‘return\_val’] = hook(\*\*hook\_input[‘kwargs’])  
File “/path/install/lib/python3.10/site-packages/pip/\_vendor/pyproject\_hooks/\_in\_process/\_in\_process.py”, line 149, in prepare\_metadata\_for\_build\_wheel  
return hook(metadata\_directory, config\_settings)  
File “/path/superbuild/pythonsetuptools/src/setuptools/build\_meta.py”, line 396, in prepare\_metadata\_for\_build\_wheel  
self.run\_setup()  
File “/path/superbuild/pythonsetuptools/src/setuptools/build\_meta.py”, line 341, in run\_setup  
exec(code, locals())  
File “”, line 92, in   
File “/path/superbuild/pythonsetuptools/src/setuptools/ **init**.py”, line 107, in setup  
return distutils.core.setup(\*\*attrs)  
File “/path/superbuild/pythonsetuptools/src/setuptools/\_distutils/core.py”, line 185, in setup  
return run\_commands(dist)  
File “/path/superbuild/pythonsetuptools/src/setuptools/\_distutils/core.py”, line 201, in run\_commands  
dist.run\_commands()  
File “/path/superbuild/pythonsetuptools/src/setuptools/\_distutils/dist.py”, line 969, in run\_commands  
self.run\_command(cmd)  
File “/path/superbuild/pythonsetuptools/src/setuptools/dist.py”, line 1233, in run\_command  
super().run\_command(command)  
File “/path/superbuild/pythonsetuptools/src/setuptools/\_distutils/dist.py”, line 988, in run\_command  
cmd\_obj.run()  
File “/path/superbuild/pythonsetuptools/src/setuptools/command/dist\_info.py”, line 112, in run  
bdist\_wheel = self.get\_finalized\_command(‘bdist\_wheel’)  
File “/path/superbuild/pythonsetuptools/src/setuptools/\_distutils/cmd.py”, line 304, in get\_finalized\_command  
cmd\_obj = self.distribution.get\_command\_obj(command, create)  
File “/path/superbuild/pythonsetuptools/src/setuptools/\_distutils/dist.py”, line 860, in get\_command\_obj  
klass = self.get\_command\_class(command)  
File “/path/superbuild/pythonsetuptools/src/setuptools/dist.py”, line 980, in get\_command\_class  
self.cmdclass[command] = cmdclass = ep.load()  
File “/path/install/lib/python3.10/importlib/metadata/ **init**.py”, line 171, in load  
module = import\_module(match.group(‘module’))  
File “/path/install/lib/python3.10/importlib/ **init**.py”, line 126, in import\_module  
return \_bootstrap.\_gcd\_import(name[level:], package, level)  
File “”, line 1050, in \_gcd\_import  
File “”, line 1027, in \_find\_and\_load  
File “”, line 1006, in \_find\_and\_load\_unlocked  
File “”, line 688, in \_load\_unlocked  
File “”, line 883, in exec\_module  
File “”, line 241, in \_call\_with\_frames\_removed  
File “/path/install/lib/python3.10/site-packages/wheel/bdist\_wheel.py”, line 28, in   
from .macosx\_libfile import calculate\_macosx\_platform\_tag  
File “/path/install/lib/python3.10/site-packages/wheel/macosx\_libfile.py”, line 43, in   
import ctypes  
File “/path/install/lib/python3.10/ctypes/ **init**.py”, line 8, in   
from \_ctypes import Union, Structure, Array  
ModuleNotFoundError: No module named ‘\_ctypes’  
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.  
error: metadata-generation-failed

× Encountered error while generating package metadata.  
╰─\> See above for output.

note: This is an issue with the package mentioned above, not pip.  
hint: See above for details.  
CMake Error at /path/superbuild/sb-pythonsetuptools-install.cmake:48 (message):  
Failed with exit code 1

make[2]: \*\*\* [superbuild/CMakeFiles/pythonsetuptools.dir/build.make:101: superbuild/pythonsetuptools/stamp/pythonsetuptools-install] Error 1  
make[1]: \*\*\* [CMakeFiles/Makefile2:2006: superbuild/CMakeFiles/pythonsetuptools.dir/all] Error 2  
make[1]: \*\*\* Waiting for unfinished jobs…  
Done running configuration tests.

Configure summary:

Build type: linux-g++ (x86\_64, CPU features: mmx sse sse2)  
Compiler: gcc 9.4.0  
Configuration: sse2 aesni sse3 ssse3 sse4\_1 sse4\_2 avx avx2 avx512f avx512bw avx512cd avx512dq avx512er avx512ifma avx512pf avx512vbmi avx512vl compile\_examples enable\_new\_dtags f16c largefile precompile\_header rdrnd rdseed shani x86SimdAlways shared shared rpath release c++11 c++14 c++17 c++1z concurrent reduce\_exports reduce\_relocations stl  
Build options:  
Mode … release  
Optimize release build for size … no  
Building shared libraries … yes  
Using C standard … C11  
Using C++ standard … C++17  
Using ccache … no  
Using new DTAGS … yes  
Relocatable … yes  
Using precompiled headers … yes  
Using LTCG … no  
Target compiler supports:  
SSE … SSE2 SSE3 SSSE3 SSE4.1 SSE4.2  
AVX … AVX AVX2  
AVX512 … F ER CD PF DQ BW VL IFMA VBMI  
Other x86 … AES F16C RDRAND SHA  
Intrinsics without -mXXX option … yes  
Build parts … libs tools  
Qt modules and options:  
Qt Concurrent … yes  
Qt D-Bus … no  
Qt D-Bus directly linked to libdbus … no  
Qt Gui … yes  
Qt Network … yes  
Qt Sql … yes  
Qt Testlib … yes  
Qt Widgets … yes  
Qt Xml … yes  
Support enabled for:  
Using pkg-config … yes  
udev … no  
Using system zlib … yes  
Zstandard support … no  
Qt Core:  
DoubleConversion … yes  
Using system DoubleConversion … no  
GLib … no  
iconv … yes  
ICU … no  
Built-in copy of the MIME database … yes  
Tracing backend …   
Logging backends:  
journald … no  
syslog … no  
slog2 … no  
PCRE2 … yes  
Using system PCRE2 … no  
Qt Network:  
getifaddrs() … yes  
IPv6 ifname … yes  
libproxy … no  
Linux AF\_NETLINK … yes  
OpenSSL … no  
Qt directly linked to OpenSSL … no  
OpenSSL 1.1 … no  
DTLS … no  
OCSP-stapling … no  
SCTP … no  
Use system proxies … yes  
GSSAPI … no  
Qt Gui:  
Accessibility … yes  
FreeType … yes  
Using system FreeType … yes  
HarfBuzz … yes  
Using system HarfBuzz … no  
Fontconfig … yes  
Image formats:  
GIF … yes  
ICO … yes  
JPEG … yes  
Using system libjpeg … no  
PNG … yes  
Using system libpng … yes  
Text formats:  
HtmlParser … yes  
CssParser … yes  
OdfWriter … yes  
MarkdownReader … yes  
Using system libmd4c … no  
MarkdownWriter … yes  
EGL … yes  
OpenVG … no  
OpenGL:  
Desktop OpenGL … yes  
OpenGL ES 2.0 … no  
OpenGL ES 3.0 … no  
OpenGL ES 3.1 … no  
OpenGL ES 3.2 … no  
Vulkan … yes  
Session Management … yes  
Features used by QPA backends:  
evdev … yes  
libinput … no  
INTEGRITY HID … no  
mtdev … no  
tslib … no  
xkbcommon … no  
X11 specific:  
XLib … yes  
XCB Xlib … no  
EGL on X11 … yes  
xkbcommon-x11 … no  
QPA backends:  
DirectFB … no  
EGLFS … yes  
EGLFS details:  
EGLFS OpenWFD … no  
EGLFS i.Mx6 … no  
EGLFS i.Mx6 Wayland … no  
EGLFS RCAR … no  
EGLFS EGLDevice … yes  
EGLFS GBM … no  
EGLFS VSP2 … no  
EGLFS Mali … no  
EGLFS Raspberry Pi … no  
EGLFS X11 … no  
LinuxFB … yes  
VNC … yes  
Qt Sql:  
SQL item models … yes  
Qt Widgets:  
GTK+ … no  
Styles … Fusion Windows  
Qt PrintSupport:  
CUPS … no  
Qt Sql Drivers:  
DB2 (IBM) … no  
InterBase … no  
MySql … no  
OCI (Oracle) … no  
ODBC … no  
PostgreSQL … no  
SQLite2 … no  
SQLite … yes  
Using system provided SQLite … no  
TDS (Sybase) … no  
Qt Testlib:  
Tester for item models … yes  
Qt SerialBus:  
Socket CAN … yes  
Socket CAN FD … yes  
SerialPort Support … no  
Further Image Formats:  
JasPer … no  
MNG … no  
TIFF … yes  
Using system libtiff … no  
WEBP … yes  
Using system libwebp … no  
Qt QML:  
QML network support … yes  
QML debugging and profiling support … yes  
QML just-in-time compiler … yes  
QML sequence object … yes  
QML XML http request … yes  
QML Locale … yes  
Qt QML Models:  
QML list model … yes  
QML delegate model … yes  
Qt Quick:  
Direct3D 12 … no  
AnimatedImage item … yes  
Canvas item … yes  
Support for Qt Quick Designer … yes  
Flipable item … yes  
GridView item … yes  
ListView item … yes  
TableView item … yes  
Path support … yes  
PathView item … yes  
Positioner items … yes  
Repeater item … yes  
ShaderEffect item … yes  
Sprite item … yes  
QtQuick3D:  
Assimp … yes  
System Assimp … no  
Qt Scxml:  
ECMAScript data model for QtScxml … yes  
Qt 3D:  
Assimp … yes  
System Assimp … no  
Output Qt3D GL traces … no  
Use SSE2 instructions … yes  
Use AVX2 instructions … no  
Aspects:  
Render aspect … yes  
Input aspect … yes  
Logic aspect … yes  
Animation aspect … yes  
Extras aspect … yes  
Qt 3D Renderers:  
OpenGL Renderer … yes  
RHI Renderer … no  
Qt 3D GeometryLoaders:  
Autodesk FBX … no  
Qt Quick Controls 2:  
Styles … Default Fusion Imagine Material Universal  
Qt Quick Templates 2:  
Hover support … yes  
Multi-touch support … yes  
QtXmlPatterns:  
XML schema support … yes  
Qt Multimedia:  
ALSA … no  
GStreamer 1.0 … no  
GStreamer 0.10 … no  
Video for Linux … yes  
OpenAL … no  
PulseAudio … no  
Resource Policy (libresourceqt5) … no  
Windows Audio Services … no  
DirectShow … no  
Windows Media Foundation … no  
Qt TextToSpeech:  
Flite … no  
Flite with ALSA … no  
Speech Dispatcher … no  
Qt Tools:  
Qt Assistant … yes  
Qt Designer … yes  
Qt Distance Field Generator … yes  
kmap2qmap … yes  
Qt Linguist … yes  
Mac Deployment Tool … no  
makeqpf … yes  
pixeltool … yes  
qdbus … yes  
qev … yes  
Qt Attributions Scanner … yes  
qtdiag … yes  
qtpaths … yes  
qtplugininfo … yes  
Windows deployment tool … no  
WinRT Runner Tool … no  
Qt Tools:  
QDoc … no

Note: Also available for Linux: linux-clang linux-icc

WARNING: QDoc will not be compiled, probably because libclang could not be located. This means that you cannot build the Qt documentation.

Either ensure that llvm-config is in your PATH environment variable, or set LLVM\_INSTALL\_DIR to the location of your llvm installation.  
On Linux systems, you may be able to install libclang by installing the libclang-dev or libclang-devel package, depending on your distribution.  
On macOS, you can use Homebrew’s llvm package.  
On Windows, you must set LLVM\_INSTALL\_DIR to the installation path.

ERROR: Feature ‘xcb’ was enabled, but the pre-condition ‘features.thread && libs.xcb && tests.xcb\_syslibs && features.xkbcommon-x11’ failed.

ERROR: Feature ‘xkbcommon’ was enabled, but the pre-condition ‘libs.xkbcommon’ failed.

Check config.log for details.  
CMake Error at /path/superbuild/sb-qt5-configure.cmake:48 (message):  
Failed with exit code 3

make[2]: \*\*\* [superbuild/CMakeFiles/qt5.dir/build.make:107: superbuild/qt5/stamp/qt5-configure] Error 1  
make[1]: \*\*\* [CMakeFiles/Makefile2:6871: superbuild/CMakeFiles/qt5.dir/all] Error 2

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [March 21, 2024, 12:26pm UTC](https://discourse.paraview.org/t/fail-to-build-5-12-0-rc2-with-superbuild-when-complie-qt/14193/7 "2024-03-21T12:26:52Z")

</div>

You are building the ParaView-Superbuild using the paraview-for-ci docker image ?

That doesnt make much sense, the docker image already contains Qt and ParaView available to use.

---

<div class="post-metadata">

### Author: ![mahb](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/m/c89c15/32.png) [@mahb](https://discourse.paraview.org/u/mahb)
#### Post date: [March 22, 2024, 6:40am UTC](https://discourse.paraview.org/t/fail-to-build-5-12-0-rc2-with-superbuild-when-complie-qt/14193/8 "2024-03-22T06:40:22Z")

</div>

could you tell me which docker image can I use to build paraview-superbuild?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [March 22, 2024, 6:58am UTC](https://discourse.paraview.org/t/fail-to-build-5-12-0-rc2-with-superbuild-when-complie-qt/14193/9 "2024-03-22T06:58:13Z")

</div>

But why do you want to build the ParaView-SuperBuild in a docker image ?

---

<div class="post-metadata">

### Author: ![mahb](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/m/c89c15/32.png) [@mahb](https://discourse.paraview.org/u/mahb)
#### Post date: [March 22, 2024, 7:07am UTC](https://discourse.paraview.org/t/fail-to-build-5-12-0-rc2-with-superbuild-when-complie-qt/14193/10 "2024-03-22T07:07:57Z")

</div>

docker image has pre installed the required sofeware and librarys. for paraview 5.9.0，I use kitware/paraview:ci-superbuild-centos7-20201028 and it make compiling easy.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [March 22, 2024, 8:00am UTC](https://discourse.paraview.org/t/fail-to-build-5-12-0-rc2-with-superbuild-when-complie-qt/14193/11 "2024-03-22T08:00:26Z")

</div>

But the image I pointed to you **already contains paraview**. Why do you **need** to build it yourself ?

---

<div class="post-metadata">

### Author: ![mahb](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/m/c89c15/32.png) [@mahb](https://discourse.paraview.org/u/mahb)
#### Post date: [March 22, 2024, 8:10am UTC](https://discourse.paraview.org/t/fail-to-build-5-12-0-rc2-with-superbuild-when-complie-qt/14193/12 "2024-03-22T08:10:05Z")

</div>

I found that paraview directory , thank you. but some cases , I modify the paraview source code , so I need to compile it .

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [March 22, 2024, 11:19am UTC](https://discourse.paraview.org/t/fail-to-build-5-12-0-rc2-with-superbuild-when-complie-qt/14193/13 "2024-03-22T11:19:22Z")

</div>

> [@mahb](#):
>
> I modify the paraview source code , so I need to compile it .

In that case, you should not even use the superbuild, just build ParaView in any standard ubuntu docker image with Qt installed in it.

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [April 1, 2024, 11:46pm UTC](https://discourse.paraview.org/t/fail-to-build-5-12-0-rc2-with-superbuild-when-complie-qt/14193/14 "2024-04-01T23:46:02Z")

</div>

If you _really_ need the superbuild, use an image for building it that is used for building 5.12: `kitware/paraview:ci-superbuild-centos7-20230915`. The 2020 image is probably missing things for a modern superbuild.
