CaPTk
CaPTk copied to clipboard
Superbuild fails on Linux -- qt.zip fails to extract
Describe the bug When running the superbuild on a clean installation after configuring CMake, an error is produced stating that the Qt files cannot be found. In the superbuild folder, qt.zip (765 MB) does not extract automatically or manually into the "qt" folder (which remains empty). In order to continue, you must manually take the linux.zip (1.4 GB) folder from the sources and replace/overwrite qt.zip with it (I also extracted it into the qt folder).
To Reproduce Steps to reproduce the behavior:
- Configure the CaPTk superbuild (CMAKE_SUPERBUILD and CMAKE_SUPERBUILD_FORCE checked) on a fresh install with the required dependencies.
- Generate the make files and start the build with make
- Wait for the error to occur.
Expected behavior The superbuild was expected to complete successfully.
CaPTk Version 1.7.3
Desktop: Ubuntu 18.04
Other info It seems like the qt.zip file becomes corrupted.
@CBICA/devteam I faced this also recently when setting up the builds on crete and the VM The bundled qt.zip doesn't get extracted.
Extraction is happening here: https://github.com/CBICA/CaPTk/blob/master/cmake_modules/External-Qt.cmake#L100
For some weird reason, even though Azure DevOps is using the same mechanism, it doesn't trip up...