Tomorrow, we plan to initiate the update the build machine responsible to build:
Implications for users
- Preview Slicer package and extensions may not be available for one or two days
Implications for developers
This should allow us to update the minimum deployment target to 10.13 and build against the latest version of Qt5. See https://github.com/Slicer/Slicer/pull/4940
Update: The upgrade process has been initiated. Thanks for your patience
The upgrade has been completed of both the firmware and the operating system have been completed (see below)
I re-initiated the XCode update on the
factory-south-macos build machine.
Once this is done I will start the Qt build using 5.15.0 branch doing the following:
$ ./Build-qt.sh -s macosx10.14 -d 10.13 -j 4
This script will build Qt for Darwin system
QT_VERSION : 5.15.0
OPENSSL_VERSION : 1.1.1d
Script options (macOS):
-a OSX architectures ............................ x86_64
-d OSX deployment target ........................ 10.13
-s OSX sysroot .................................. macosx10.14
It looks like the XCode update is incompatible
Now downloading XCode 10.1 from https://developer.apple.com/download/more/
That seems to be the latest version supporting 10.13.6 (see here)
Indeed, version 10.2 and beyond requires macOS 10.14.3 or later (see here)
For the record, the version currently installed is:
Build version 8C1002
After downloading the file
Xcode_10.1.xip it will be available in
~/Downloads, then here are the steps:
- double-click on it from finder, it extracts to
sudo mv /Application/Xcode.app /Applications/Xcode-8.2.1.app
sudo mv ~/Downloads/Xcode.app /Applications/
Nest step is to download and install the command line tool:
Once the file is downloaded, double-click on the
.dmg file, and then double click again on the
.pkg file and following instructions.
After starting Xcode, you will be prompted with additional installation instructions.
XCode 10.1 is now installed:
$ /usr/bin/xcodebuild -version
Build version 10B61
$ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 10.0.0 (clang-1000.11.45.5)
Thread model: posix
Qt5 build is moving along. I edited the instruction posted above.
macosx10.14 had to be specified as the SDK root (instead of
The corresponding dashboard script have also been updated.
Note: Build of Slicer ‘Stable’ release extensions has been disabled on macOS
Assuming the Qt5 build completes, we should expect tonight Slicer preview build to complete without issues.
It turns out that Qt has been built in the wrong directory which caused the regular build to fail.
Qt is now being rebuilt following these instructions:
./qt-easy-build/Build-qt.sh -s macosx10.14 -d 10.13 -j 4
This will ensure the Qt will be available in the expected directory
I haven’t tried myself, but as of 5.14.0 Qt is relocatable. See https://www.qt.io/blog/qt-is-relocatable
Good to know. It turns out I deleted the previous directory and restarted the build.
- Reducing the path addressed some more issues there are remaining
malformed mach-o: load commands size errors
- Evaluate these options:
- (1) Further reduce the path length by renaming the volume from
- (2) Look into adapting the
ld wrapper developed to address similar issue in NixOS:
I will probably go with option (1), this means we will have to rebuild Qt5, update cronjobs, …
We should look into (2) if we still have these issues after transitioning to the latest VTK, in this case we will have less libraries (no more
- Volume has been renamed from
- Cronjobs updated
- Misc python virtual env recreated
- Dashboard scripts updated (see Slicer/DashboardScripts@2e56a8b)
- Qt5 build in progress
If the timing is right, and we forgot nothing … tomorrow build should look better !