MacOS installer script hangs when running Qt 5.9 installer in InstallGAUSS_OSX.sh

I am trying to install and compile the GAUSS toolbox on macOS using the repository below:

Repository: https://github.com/dilevin/GAUSS.git

README: https://github.com/dilevin/GAUSS/blob/master/README.md

I am following the macOS installation steps, and the process stops in InstallGAUSS_OSX.sh

The script gets past the DMG mount step:

sudo hdiutil attach -noverify ./qt-opensource-mac-x64-5.9.0.dmg

and then hangs on the command:

/Volumes/qt-opensource-mac-x64-5.9.0/qt-opensource-mac-x64-5.9.0.app/Contents/MacOS/qt-opensource-mac-x64-5.9.0 --platform minimal --script qt_script_osx.qs

My question is: what would cause this Qt installer command to hang indefinitely on macOS, and how can I debug it? Note while reading this question that I am not looking for a recommendation about hardware, but to get help about the script failiure.

Output from terminal (commandwindow) after running ./InstallGAUSS_OSX.sh from the root of the GAUSS repository:

Install Gauss on OSX
Download Qt
==> Updating Homebrew...
Already up-to-date.
Warning: cmake 4.3.1 is already installed and up-to-date.
To reinstall 4.3.1, run:
  brew reinstall cmake
Warning: eigen 5.0.1 is already installed and up-to-date.
To reinstall 5.0.1, run:
  brew reinstall eigen
Warning: cmake 4.3.1 already installed
Warning: eigen 5.0.1 already installed
URL transformed to HTTPS due to an HSTS policy
--2026-04-01 17:57:21--  https://download.qt.io/archive/qt/5.9/5.9.0/qt-opensource-mac-x64-5.9.0.dmg
Slår upp download.qt.io (download.qt.io)... 77.86.162.2
Ansluter till download.qt.io (download.qt.io)|77.86.162.2|:443 … ansluten.
HTTP-begäran skickad, väntar på svar... 200 OK
Längd: 3738661523 (3,5G) [application/x-apple-diskimage]
Sparar till: ”qt-opensource-mac-x64-5.9.0.dmg.3”

qt-opensource-mac-x 100%[===================>]   3,48G  9,85MB/s    om 5m 41s  

2026-04-01 18:03:04 (10,5 MB/s) - ”qt-opensource-mac-x64-5.9.0.dmg.3” sparades [3738661523/3738661523]

Enter password to install Qt
Password:
/dev/disk2              GUID_partition_scheme           
/dev/disk2s1            EFI                             
/dev/disk2s2            Apple_HFS               /Volumes/qt-opensource-mac-x64-5.9.0

Additional context:

  • The README says Qt 5.8 or later should work.

  • I am currently using Qt 5.9.0.

  • The GAUSS instructions appear to have been written around MATLAB 2017/2018, while I am using MATLAB R2021a.

  • Macbook air from 2020.