Transition of nightly build to Qt5, VTK9, CMake 3.9 and C++11

Looks like the package was built but couldn’t upload. Getting closer…

From the log:

CPack: - package: /Volumes/Dashboards/Nightly/Slicer-0-build/Slicer-build/Slicer-4.9.0-2018-02-02-macosx-amd64.dmg generated.

Uploading [Slicer-4.9.0-2018-02-02-macosx-amd64.dmg] on [http://slicer.kitware.com/midas3]
CMake Warning at /Volumes/Dashboards/Nightly/Slicer-0/CMake/MIDASAPILogin.cmake:69 (message):
  Failed to login to MIDAS server

    url: http://slicer.kitware.com/midas3
    email: MIDAS_PACKAGE_EMAIL-NOTDEFINED
    apikey: MIDAS_PACKAGE_API_KEY-NOTDEFINED
    response: {"stat":"fail","message":"Unable to authenticate. Please check credentials.","code":"-150"}
Call Stack (most recent call first):
  /Volumes/Dashboards/Nightly/Slicer-0/CMake/MIDASAPIUploadPackage.cmake:59 (midas_api_login)
  /Volumes/Dashboards/Nightly/Slicer-0/CMake/SlicerPackageAndUploadTarget.cmake:234 (midas_api_upload_package)


CMake Error at /Volumes/Dashboards/Nightly/Slicer-0/CMake/SlicerPackageAndUploadTarget.cmake:250 (message):
  Upload of [Slicer-4.9.0-2018-02-02-macosx-amd64.dmg] failed !

  Check that:

  (1) you have been granted permission to upload

  (2) your email and api key are correct

This was fixed this morning

I also manually triggered the upload and the latest package can be found here: http://slicer.kitware.com/midas3/item/341826 (But for some reason, it didn’t show up on the download website … )

This package also includes a fix for the cocoa packaging. See r26882

Getting even closer… But a new issue:

$ /Volumes/Slicer-4.9.0-2018-02-03-macosx-amd64/Slicer.app/Contents/MacOS/Slicer 
Could not find QtWebEngineProcess
Abort trap: 6
Application Specific Information:
abort() called

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00007fff6eb8ce3e __pthread_kill + 10
1   libsystem_pthread.dylib       	0x00007fff6eccb150 pthread_kill + 333
2   libsystem_c.dylib             	0x00007fff6eae9312 abort + 127
3   org.qt-project.QtCore         	0x000000011b8909a9 0x11b87a000 + 92585
4   org.qt-project.QtCore         	0x000000011b892239 QMessageLogger::fatal(char const*, ...) const + 233
5   org.qt-project.Qt.QtWebEngineCore	0x000000010e209b57 0x10e197000 + 469847
6   org.qt-project.Qt.QtWebEngineCore	0x000000010e2066c8 0x10e197000 + 456392
7   org.qt-project.Qt.QtWebEngineCore	0x000000010e205d7b 0x10e197000 + 454011
8   org.qt-project.Qt.QtWebEngineCore	0x000000010e1aa0c8 QtWebEngineCore::BrowserContextAdapter::BrowserContextAdapter(QString const&) + 248
9   org.qt-project.QtWebEngineWidgets	0x000000010d2a493c 0x10d290000 + 84284
10  org.qt-project.QtWebEngineWidgets	0x000000010d2a4887 QWebEngineProfile::QWebEngineProfile(QString const&, QObject*) + 71
11  libqSlicerBaseQTGUI.dylib     	0x000000010c386d6f qSlicerWebWidgetPrivate::init() + 111
12  libqSlicerBaseQTGUI.dylib     	0x000000010c38798a qSlicerWebWidget::qSlicerWebWidget(QWidget*) + 74
13  libqSlicerBaseQTGUI.dylib     	0x000000010c38a25f qSlicerExtensionsInstallWidget::qSlicerExtensionsInstallWidget(QWidget*) + 15
14  libqSlicerBaseQTGUI.dylib     	0x000000010c399ede Ui_qSlicerExtensionsManagerWidget::setupUi(QWidget*) + 878
15  libqSlicerBaseQTGUI.dylib     	0x000000010c399073 qSlicerExtensionsManagerWidgetPrivate::init() + 35
16  libqSlicerBaseQTGUI.dylib     	0x000000010c39aa4b qSlicerExtensionsManagerWidget::qSlicerExtensionsManagerWidget(QWidget*) + 91
17  libqSlicerBaseQTGUI.dylib     	0x000000010c397c81 Ui_qSlicerExtensionsManagerDialog::setupUi(QDialog*) + 417
18  libqSlicerBaseQTGUI.dylib     	0x000000010c397353 qSlicerExtensionsManagerDialogPrivate::init() + 35
19  libqSlicerBaseQTGUI.dylib     	0x000000010c398173 qSlicerExtensionsManagerDialog::qSlicerExtensionsManagerDialog(QWidget*) + 99
20  libqSlicerBaseQTGUI.dylib     	0x000000010c325998 qSlicerApplicationPrivate::init() + 2408
21  libqSlicerBaseQTGUI.dylib     	0x000000010c32718c qSlicerApplication::qSlicerApplication(int&, char**) + 220
22                                	0x000000010bfc50f3 (anonymous namespace)::SlicerAppMain(int, char**) + 803
23  libdyld.dylib                 	0x00007fff6ea3d115 start + 1

Great. I already addressed this for Linux. Will work on fix for macOS on Monday or sooner if
possible.

1 Like

Here is a work in progress topic: https://github.com/Slicer/Slicer/compare/master...jcfr:macos-qt5-fixup-qtwebengineprocess

I plan on finalizing later tonight.

1 Like

Packaging of QtWebEngineProcess on macOS should now be addressed in r26892

Since I already disabled the regular nightly build on macOS for this evening, I will manually trigger it after:

Before doing so, I will have a look at Launch error message in Qt5 debug build

As already summarized in the corresponding topic, r26893 addresses this problem.

Next step will be to address the FloatingPointExceptions are not supported on this platform. error reported when running CLI tests.

1 Like

This should be fixed by r26894. Waiting the topic proposed to upstream ITK is integrated, changes specific to the Slicer fork of ITK were pushed.

Mac nightly is working today :+1:

1 Like