mirage
mirage copied to clipboard
Mirage compiled from git does not run on Mobian (Debian Bullseye)
Description
Mirage compiles when following the instructions but does not run.
Your environment
Mobian (Debian Bullseye) arm64 Phosh 0.4.3-1mobian1 Compiled from git using the instructions at https://github.com/mirukana/mirage/blob/master/INSTALL.md#manual-installation Qt 5.14.2+dfsg-4 Python 3.8.2-3
Steps to reproduce
- Install the packages in the Ubuntu 19.04 section, swapping out
qml-module:io-thp-pyothersidewithqml-module-io-thp-pyothersideandlibjpeg-turbo8-devwithlibjpeg62-turbo-dev(latest installable version on both systems). - Go through the compilation steps
- Instead of
sudo make installrun./mirage(even if you install it, it will still give the same error)
Expected behavior
Mirage should start and show the chat window.
Actual behavior
Just a single line is printed on the terminal:
! 04:52:03 | QQmlComponent: Component is not ready
It seems like some dependency is missing but I have no idea which. It compiles just fine so perhaps it's a python dependency?
I also want to add Mirage does compile and run on my workstation running Debian Sid (after also installing qml-module-qt-labs-qmlmodels), although a few months ago it had the same issue as I'm seeing on Mobian now. I think I installed the critical dependency sometime between now and then when compiling something else.
I pulled all the installed qml packages from the workstation and installed them in Mobian. So the good news is that Mirage runs in Mobian now, the bad news is that I have to go through this list and figure out which new dependencies we need:
qml-module-qt-labs-folderlistmodel qml-module-qt-labs-platform qml-module-qt-labs-qmlmodels qml-module-qt-labs-settings qml-module-qtgraphicaleffects qml-module-qtgstreamer qml-module-qtmultimedia qml-module-qtqml qml-module-qtqml-models2 qml-module-qtquick-controls qml-module-qtquick-controls2 qml-module-qtquick-dialogs qml-module-qtquick-layouts qml-module-qtquick-localstorage qml-module-qtquick-privatewidgets qml-module-qtquick-shapes qml-module-qtquick-templates2 qml-module-qtquick-virtualkeyboard qml-module-qtquick-window2 qml-module-qtquick2 qml-module-qtwebengine qml-module-qtwebkit
I tried removing half of them at a time and it failed on both halves so it's more than one package as well...
So I ended up having to go through every package on the list.
Not needed:
qml-module-qt-labs-folderlistmodel qml-module-qt-labs-settings qml-module-qtgstreamer qml-module-qtmultimedia qml-module-qtqml qml-module-qtqml-models2 qml-module-qtquick-controls qml-module-qtquick-dialogs qml-module-qtquick-localstorage qml-module-qtquick-privatewidgets qml-module-qtquick-virtualkeyboard qml-module-qtwebengine
Needed:
qml-module-qt-labs-platform qml-module-qt-labs-qmlmodels qml-module-qtgraphicaleffects qml-module-qtquick-controls2 qml-module-qtquick-layouts qml-module-qtquick-shapes qml-module-qtquick-templates2 qml-module-qtquick-window2 qml-module-qtquick2
This works for me:
sudo apt update
sudo apt install qt5-default qt5-qmake qt5-image-formats-plugins
qml-module-qtquick2 qml-module-qtquick-window2
qml-module-qtquick-layouts qml-module-qtquick-dialogs
qml-module-qt-labs-platform
qml-module-qtquick-shapes
qtdeclarative5-dev
qtquickcontrols2-5-dev
libx11-dev libxss-dev
python3-dev python3-pip
build-essential git cmake
zlib1g-dev libtiff5-dev libwebp-dev
libopenjp2-7-dev libmediainfo-dev
libjpeg62-turbo-dev libolm-dev
qml-module-io-thp-pyotherside
qml-module-qtquick-controls2
qml-module-qtgraphicaleffects
qml-module-qt-labs-qmlmodels
export QT_SELECT=5 export MAKEFLAGS="-j$(nproc)" export CFLAGS="-march=native -O2 -pipe" export PATH=$PATH:/home/mobian/.local/bin
git clone https://github.com/mirukana/mirage cd mirage
git pull git submodule update --init submodules/* pip3 install --user -Ur requirements.txt
qmake mirage.pro make sudo make install `
There is also a ITP https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=970814 so it should be available in mobian soon !