CBICA / CaPTk

Cancer Imaging Phenomics Toolkit (CaPTk) is a software platform to perform image analysis and predictive modeling tasks. Documentation: https://cbica.github.io/CaPTk
https://www.cbica.upenn.edu/captk
Other
179 stars 64 forks source link

Superbuild fails on Linux -- qt.zip fails to extract #772

Open Getkablue opened 4 years ago

Getkablue commented 4 years ago

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:

  1. Configure the CaPTk superbuild (CMAKE_SUPERBUILD and CMAKE_SUPERBUILD_FORCE checked) on a fresh install with the required dependencies.
  2. Generate the make files and start the build with make
  3. 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.

ashishsingh18 commented 4 years ago

@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.

sarthakpati commented 4 years ago

Extraction is happening here: https://github.com/CBICA/CaPTk/blob/master/cmake_modules/External-Qt.cmake#L100

sarthakpati commented 4 years ago

For some weird reason, even though Azure DevOps is using the same mechanism, it doesn't trip up...