Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install appimage on Crostini #150

Open
traek opened this issue Sep 16, 2019 · 14 comments
Open

Unable to install appimage on Crostini #150

traek opened this issue Sep 16, 2019 · 14 comments

Comments

@traek
Copy link

traek commented Sep 16, 2019

I could really use some help figuring out what dependencies I may be missing or if I'm barking up the wrong tree altogether: I'm trying to install on ChromeOS (an ASUS Chromebox 3, as it happens) that has GPU acceleration turned on for Linux (Crostini).

I downloaded the appimage and ran:

chmod +x Minecraft_Bedrock_Launcher.AppImage
./Minecraft_Bedrock_Launcher.AppImage

installation_screenshotSo far, so good, right?

Looking back at the Terminal, I see this since starting it:

qrc:/qml/ThemedControls/PlayButton.qml:8:30: Unable to assign null to QString
Version list loaded, entry count: 150

Clicking on 'Sign in with Google', I get this in the Terminal and the installer window just disappears:

[2955:3002:0916/103354.450833:ERROR:nss_util.cc(712)] Error initializing NSS with a persistent database (sql:/home/traek/.pki/nssdb): libsoftokn3.so: cannot open shared object file: No such file or directory
[2955:3002:0916/103354.451114:ERROR:nss_util.cc(201)] Error initializing NSS without a persistent database: NSS error code: -5925
[2955:3002:0916/103354.451135:FATAL:nss_util.cc(203)] nss_error=-5925, os_error=0
#0 0x7919d0a5b16e <unknown>
#1 0x7919d0a6d8ae <unknown>
#2 0x7919d122a2da <unknown>
#3 0x7919d122a6e0 <unknown>
#4 0x7919d1158dc5 <unknown>
#5 0x7919d10457e7 <unknown>
#6 0x7919d1010ad7 <unknown>
#7 0x7919d01a789a <unknown>
#8 0x7919d01a8e06 <unknown>
#9 0x7919d01aadd7 <unknown>
#10 0x7919d0383857 <unknown>
#11 0x7919d06ba0b0 <unknown>
#12 0x7919d0ad0c59 <unknown>
#13 0x7919d0a75ff0 <unknown>
#14 0x7919d0a77cbd <unknown>
#15 0x7919d0a78178 <unknown>
#16 0x7919d0a79610 <unknown>
#17 0x7919d0a75095 <unknown>
#18 0x7919d0a91bba <unknown>
#19 0x7919d03bca68 <unknown>
#20 0x7919d03bcc4b <unknown>
#21 0x7919d0aa9890 <unknown>
#22 0x7919d0aa596d <unknown>
#23 0x7919cd6d94a4 start_thread
#24 0x7919ccb7ed0f clone

Aborted

Thinking there is some kind of permissions issue, I also tried (and failed) to use sudo as a workaround:

sudo ./Minecraft_Bedrock_Launcher.AppImage 
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
No protocol specified
qt.qpa.screen: QXcbConnection: Could not connect to display :0
Could not connect to any X display.

Lastly, I tried supplying several APKs to work around this issue, all of which gave me the following error message:

error_message

Honestly, it should be fairly simple to do this on a ChromeOS device given they now have nativeish Google Play Store support. However, since they seem to arbitrarily disable Minecraft on every ChromeOS device I own (6 device types, 9 in total), this project seems to be the best way to go. I already use this on my two Ubuntu machines and absolutely love it!

Any pointers and/or experience with getting Minecraft Bedrock Edition and Xbox Live sign-in working on ChromeOS would be greatly appreciated.

@Mhowser
Copy link

Mhowser commented Sep 16, 2019 via email

@traek
Copy link
Author

traek commented Sep 17, 2019

Sorry for not looking at the docs, first. I obviously assumed there was more in the appimage. Going through the docs was educational. Forgive me for pasting this mess but all seems to go quite well until the tail end...

traek@penguin:~$ git clone --recursive https://github.com/minecraft-linux/msa-manifest.git msa && cd msa
Cloning into 'msa'...
remote: Enumerating objects: 12, done.
remote: Counting objects: 100% (12/12), done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 71 (delta 5), reused 10 (delta 3), pack-reused 59
Unpacking objects: 100% (71/71), done.
Submodule 'arg-parser' (https://github.com/minecraft-linux/arg-parser.git) registered for path 'arg-parser'
Submodule 'base64' (https://github.com/minecraft-linux/base64.git) registered for path 'base64'
Submodule 'daemon-utils' (https://github.com/minecraft-linux/daemon-utils.git) registered for path 'daemon-utils'
Submodule 'file-util' (https://github.com/minecraft-linux/file-util.git) registered for path 'file-util'
Submodule 'logger' (https://github.com/minecraft-linux/logger.git) registered for path 'logger'
Submodule 'msa' (https://github.com/minecraft-linux/msa.git) registered for path 'msa'
Submodule 'msa-daemon' (https://github.com/minecraft-linux/msa-daemon.git) registered for path 'msa-daemon'
Submodule 'msa-daemon-client' (https://github.com/minecraft-linux/msa-daemon-client.git) registered for path 'msa-daemon-client'
Submodule 'msa-ui-gtk' (https://github.com/minecraft-linux/msa-ui-gtk.git) registered for path 'msa-ui-gtk'
Submodule 'msa-ui-qt' (https://github.com/minecraft-linux/msa-ui-qt.git) registered for path 'msa-ui-qt'
Submodule 'rapidxml' (https://github.com/minecraft-linux/rapidxml.git) registered for path 'rapidxml'
Submodule 'simple-ipc' (https://github.com/MCMrARM/simple-ipc.git) registered for path 'simple-ipc'
Cloning into '/home/traek/msa/arg-parser'...
remote: Enumerating objects: 23, done.        
remote: Total 23 (delta 0), reused 0 (delta 0), pack-reused 23        
Cloning into '/home/traek/msa/base64'...
remote: Enumerating objects: 17, done.        
remote: Total 17 (delta 0), reused 0 (delta 0), pack-reused 17        
Cloning into '/home/traek/msa/daemon-utils'...
remote: Enumerating objects: 137, done.        
remote: Total 137 (delta 0), reused 0 (delta 0), pack-reused 137        
Receiving objects: 100% (137/137), 16.42 KiB | 0 bytes/s, done.
Resolving deltas: 100% (41/41), done.
Cloning into '/home/traek/msa/file-util'...
remote: Enumerating objects: 65, done.        
remote: Total 65 (delta 0), reused 0 (delta 0), pack-reused 65        
Cloning into '/home/traek/msa/logger'...
remote: Enumerating objects: 29, done.        
remote: Total 29 (delta 0), reused 0 (delta 0), pack-reused 29        
Cloning into '/home/traek/msa/msa'...
remote: Enumerating objects: 652, done.        
remote: Total 652 (delta 0), reused 0 (delta 0), pack-reused 652        
Receiving objects: 100% (652/652), 110.51 KiB | 196.00 KiB/s, done.
Resolving deltas: 100% (377/377), done.
Cloning into '/home/traek/msa/msa-daemon'...
remote: Enumerating objects: 206, done.        
remote: Total 206 (delta 0), reused 0 (delta 0), pack-reused 206        
Receiving objects: 100% (206/206), 30.60 KiB | 0 bytes/s, done.
Resolving deltas: 100% (109/109), done.
Cloning into '/home/traek/msa/msa-daemon-client'...
remote: Enumerating objects: 94, done.        
remote: Total 94 (delta 0), reused 0 (delta 0), pack-reused 94        
Cloning into '/home/traek/msa/msa-ui-gtk'...
remote: Enumerating objects: 232, done.        
remote: Total 232 (delta 0), reused 0 (delta 0), pack-reused 232        
Receiving objects: 100% (232/232), 47.61 KiB | 0 bytes/s, done.
Resolving deltas: 100% (142/142), done.
Cloning into '/home/traek/msa/msa-ui-qt'...
remote: Enumerating objects: 128, done.        
remote: Total 128 (delta 0), reused 0 (delta 0), pack-reused 128        
Receiving objects: 100% (128/128), 34.52 KiB | 0 bytes/s, done.
Resolving deltas: 100% (70/70), done.
Cloning into '/home/traek/msa/rapidxml'...
remote: Enumerating objects: 25, done.        
remote: Total 25 (delta 0), reused 0 (delta 0), pack-reused 25        
Cloning into '/home/traek/msa/simple-ipc'...
remote: Enumerating objects: 19, done.        
remote: Counting objects: 100% (19/19), done.        
remote: Compressing objects: 100% (14/14), done.        
remote: Total 779 (delta 4), reused 15 (delta 4), pack-reused 760        
Receiving objects: 100% (779/779), 84.76 KiB | 0 bytes/s, done.
Resolving deltas: 100% (394/394), done.
Submodule path 'arg-parser': checked out '96c5e2412fed0e8968aed77f630daae521f613ce'
Submodule path 'base64': checked out '1cf21f742e7fda79ff34b60c5d156e290ca7b6c6'
Submodule path 'daemon-utils': checked out 'db43d0b919e5bc079b61fc47acb0fa81f99cf569'
Submodule path 'file-util': checked out '2e0d2f911144cae16e8f59e8ca63064dac6c8997'
Submodule path 'logger': checked out 'e882405e4e254ae26bfd512927cd8a2bbb5c408d'
Submodule path 'msa': checked out 'be51e43efc8e66cba34c542844a2bfbe85e5aab3'
Submodule path 'msa-daemon': checked out 'd5922bad7d11b1ebba706de2a1f924a1f1a9676c'
Submodule path 'msa-daemon-client': checked out '2f2130d72f999ab971c764d9ffc3167c8ee761da'
Submodule path 'msa-ui-gtk': checked out '65e4761a9e6552377f0afae803b631b961a790a1'
Submodule path 'msa-ui-qt': checked out '41ac171c387e7c47f5d77680587c10ad1454b542'
Submodule path 'rapidxml': checked out '8a5078a97903a91f0931373f3dc04332e19dbd9e'
Submodule path 'simple-ipc': checked out '62c1d5c8040cfbecf5728d901bf066d8fcab5657'
traek@penguin:~/msa$ mkdir -p build && cd build
traek@penguin:~/msa/build$ cmake -DENABLE_MSA_QT_UI=ON ..
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.0k") 
-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version "7.52.1") 
MSA UI app path has been set to: .:../msa-ui-qt
-- Configuring done
-- Generating done
-- Build files have been written to: /home/traek/msa/build
traek@penguin:~/msa/build$ make -j12
Scanning dependencies of target msa-ui-qt_automoc
Scanning dependencies of target logger
Scanning dependencies of target nlohmann_json_ext
Scanning dependencies of target file-util
Scanning dependencies of target base64
[  1%] Automatic moc and rcc for target msa-ui-qt
[  2%] Building CXX object logger/CMakeFiles/logger.dir/src/log.cpp.o
[  3%] Creating directories for 'nlohmann_json_ext'
[  5%] Building CXX object file-util/CMakeFiles/file-util.dir/src/FileUtil.cpp.o
[  6%] Building CXX object base64/CMakeFiles/base64.dir/src/base64.cpp.o
[  7%] Building CXX object file-util/CMakeFiles/file-util.dir/src/EnvPathUtil.cpp.o
Generating moc source msa-ui-qt_automoc.dir/moc_loginipcservic_PALYH4SE57LXK2.cpp
Generating moc source msa-ui-qt_automoc.dir/moc_loginuihandler_4DGCHDK44KUQQC.cpp
[  8%] Performing download step (download, verify and extract) for 'nlohmann_json_ext'
-- Downloading...
   dst='/home/traek/msa/build/nlohmann_json_ext-prefix/src/include.zip'
   timeout='none'
-- Using src='https://github.com/nlohmann/json/releases/download/v3.1.2/include.zip'
Generating moc source msa-ui-qt_automoc.dir/moc_materialbusyin_U32AENWITWS5F7.cpp
[ 10%] Linking CXX static library liblogger.a
Generating moc source msa-ui-qt_automoc.dir/moc_pickaccountwin_PJMYKCJPQ6IOEQ.cpp
[ 10%] Built target logger
[ 11%] Linking CXX static library libbase64.a
[ 12%] Linking CXX static library libfile-util.a
Generating moc source msa-ui-qt_automoc.dir/moc_profilepicture_AW2QUV5LCO2ML7.cpp
[ 12%] Built target base64
[ 12%] Built target file-util
Scanning dependencies of target msa
[ 14%] Building CXX object msa/CMakeFiles/msa.dir/src/device_auth.cpp.o
[ 15%] Building CXX object msa/CMakeFiles/msa.dir/src/account.cpp.o
[ 16%] Building CXX object msa/CMakeFiles/msa.dir/src/network/server_config.cpp.o
[ 19%] Building CXX object msa/CMakeFiles/msa.dir/src/login_manager.cpp.o
[ 19%] Building CXX object msa/CMakeFiles/msa.dir/src/network/server_time.cpp.o
[ 20%] Building CXX object msa/CMakeFiles/msa.dir/src/network/request.cpp.o
[ 21%] Building CXX object msa/CMakeFiles/msa.dir/src/network/device_authenticate_request.cpp.o
[ 24%] Building CXX object msa/CMakeFiles/msa.dir/src/network/device_add_request.cpp.o
[ 24%] Building CXX object msa/CMakeFiles/msa.dir/src/network/service_exception.cpp.o
[ 25%] Building CXX object msa/CMakeFiles/msa.dir/src/network/security_token_request.cpp.o
Generating moc source msa-ui-qt_automoc.dir/moc_webloginwindow_NCGUBI3MAUU756.cpp
-- [download 0% complete]
-- [download 14% complete]
-- [download 28% complete]
-- [download 29% complete]
-- [download 43% complete]
-- [download 44% complete]
-- [download 58% complete]
-- [download 59% complete]
-- [download 73% complete]
-- [download 74% complete]
Generating moc compilation msa-ui-qt_automoc.cpp
Generating qrc source msa-ui-qt_automoc.dir/qrc_msaui_EHTZ2TXCTFJFFK.cpp
-- [download 88% complete]
-- [download 100% complete]
-- Downloading... done
[ 25%] Built target msa-ui-qt_automoc
[ 26%] Building CXX object msa/CMakeFiles/msa.dir/src/token.cpp.o
-- extracting...
     src='/home/traek/msa/build/nlohmann_json_ext-prefix/src/include.zip'
     dst='/home/traek/msa/build/nlohmann_json_ext-prefix/src/nlohmann_json_ext'
[ 28%] Building CXX object msa/CMakeFiles/msa.dir/src/legacy_token.cpp.o
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 29%] No patch step for 'nlohmann_json_ext'
[ 30%] Building CXX object msa/CMakeFiles/msa.dir/src/compact_token.cpp.o
[ 32%] No update step for 'nlohmann_json_ext'
[ 33%] No configure step for 'nlohmann_json_ext'
[ 34%] No build step for 'nlohmann_json_ext'
[ 35%] Building CXX object msa/CMakeFiles/msa.dir/src/token_response.cpp.o
[ 37%] No install step for 'nlohmann_json_ext'
[ 38%] Completed 'nlohmann_json_ext'
[ 39%] Building CXX object msa/CMakeFiles/msa.dir/src/network/account_token_request.cpp.o
[ 39%] Built target nlohmann_json_ext
Scanning dependencies of target simpleipc
[ 41%] Building CXX object simple-ipc/CMakeFiles/simpleipc.dir/src/common/connection_internal.cpp.o
[ 42%] Building CXX object simple-ipc/CMakeFiles/simpleipc.dir/src/server/default_rpc_handler.cpp.o
[ 43%] Building CXX object msa/CMakeFiles/msa.dir/src/network/request_utils.cpp.o
[ 44%] Building CXX object msa/CMakeFiles/msa.dir/src/network/crypto_utils.cpp.o
[ 46%] Building CXX object msa/CMakeFiles/msa.dir/src/network/xml_sign_context.cpp.o
[ 47%] Building CXX object msa/CMakeFiles/msa.dir/src/xml_utils.cpp.o
[ 48%] Building CXX object msa/CMakeFiles/msa.dir/src/simple_storage_manager.cpp.o
[ 50%] Building CXX object msa/CMakeFiles/msa.dir/src/simple_token_cache.cpp.o
[ 51%] Building CXX object msa/CMakeFiles/msa.dir/src/account_manager.cpp.o
[ 52%] Building CXX object msa/CMakeFiles/msa.dir/src/network/soap_exception.cpp.o
[ 53%] Building CXX object simple-ipc/CMakeFiles/simpleipc.dir/src/unix/common/unix_connection.cpp.o
[ 55%] Building CXX object simple-ipc/CMakeFiles/simpleipc.dir/src/unix/server/unix_service_impl.cpp.o
[ 56%] Building CXX object simple-ipc/CMakeFiles/simpleipc.dir/src/unix/client/unix_service_client.cpp.o
[ 57%] Building CXX object simple-ipc/CMakeFiles/simpleipc.dir/src/common/encoding/encodings.cpp.o
[ 58%] Building CXX object simple-ipc/CMakeFiles/simpleipc.dir/src/common/encoding/encoding_json.cpp.o
[ 60%] Building CXX object simple-ipc/CMakeFiles/simpleipc.dir/src/common/encoding/encoding_json_cbor.cpp.o
[ 61%] Building CXX object simple-ipc/CMakeFiles/simpleipc.dir/src/common/encoding/varint.cpp.o
[ 62%] Building CXX object simple-ipc/CMakeFiles/simpleipc.dir/src/server/rpc_handler.cpp.o
[ 64%] Building CXX object simple-ipc/CMakeFiles/simpleipc.dir/src/common/message/error_code.cpp.o
[ 65%] Building CXX object simple-ipc/CMakeFiles/simpleipc.dir/src/client/service_client.cpp.o
[ 66%] Building CXX object simple-ipc/CMakeFiles/simpleipc.dir/src/client/rpc_json_call.cpp.o
[ 67%] Building CXX object simple-ipc/CMakeFiles/simpleipc.dir/src/unix/epoll_io_handler.cpp.o
[ 69%] Linking CXX static library libmsa.a
[ 69%] Built target msa
[ 70%] Linking CXX static library libsimpleipc.a
[ 70%] Built target simpleipc
Scanning dependencies of target daemon-client-utils
Scanning dependencies of target daemon-server-utils
[ 71%] Building CXX object daemon-utils/client/CMakeFiles/daemon-client-utils.dir/src/daemon_launcher.cpp.o
[ 73%] Building CXX object daemon-utils/server/CMakeFiles/daemon-server-utils.dir/src/auto_shutdown_service.cpp.o
[ 74%] Linking CXX static library libdaemon-server-utils.a
[ 74%] Built target daemon-server-utils
[ 75%] Linking CXX static library libdaemon-client-utils.a
[ 75%] Built target daemon-client-utils
Scanning dependencies of target msa-daemon
Scanning dependencies of target msa-daemon-client
[ 76%] Building CXX object msa-daemon/CMakeFiles/msa-daemon.dir/src/MsaService.cpp.o
[ 78%] Building CXX object msa-daemon-client/CMakeFiles/msa-daemon-client.dir/src/token.cpp.o
[ 79%] Building CXX object msa-daemon/CMakeFiles/msa-daemon.dir/src/MsaUiClient.cpp.o
[ 80%] Building CXX object msa-daemon/CMakeFiles/msa-daemon.dir/src/MsaUiHelper.cpp.o
[ 82%] Building CXX object msa-daemon/CMakeFiles/msa-daemon.dir/src/main.cpp.o
[ 83%] Building CXX object msa-daemon-client/CMakeFiles/msa-daemon-client.dir/src/service_client.cpp.o
[ 84%] Linking CXX static library libmsa-daemon-client.a
[ 84%] Built target msa-daemon-client
Scanning dependencies of target msa-ui-qt
[ 85%] Building CXX object msa-ui-qt/CMakeFiles/msa-ui-qt.dir/src/materialbusyindicator.cpp.o
[ 87%] Building CXX object msa-ui-qt/CMakeFiles/msa-ui-qt.dir/src/main.cpp.o
[ 88%] Building CXX object msa-ui-qt/CMakeFiles/msa-ui-qt.dir/src/profilepicturemanager.cpp.o
[ 89%] Building CXX object msa-ui-qt/CMakeFiles/msa-ui-qt.dir/src/webloginwindow.cpp.o
[ 91%] Building CXX object msa-ui-qt/CMakeFiles/msa-ui-qt.dir/src/msadaemonmanager.cpp.o
[ 92%] Building CXX object msa-ui-qt/CMakeFiles/msa-ui-qt.dir/src/loginuihandler.cpp.o
[ 93%] Building CXX object msa-ui-qt/CMakeFiles/msa-ui-qt.dir/src/loginipcservice.cpp.o
[ 94%] Building CXX object msa-ui-qt/CMakeFiles/msa-ui-qt.dir/src/pickaccountwindow.cpp.o
[ 96%] Building CXX object msa-ui-qt/CMakeFiles/msa-ui-qt.dir/msa-ui-qt_automoc.cpp.o
[ 97%] Building CXX object msa-ui-qt/CMakeFiles/msa-ui-qt.dir/msa-ui-qt_automoc.dir/qrc_msaui_EHTZ2TXCTFJFFK.cpp.o
/home/traek/msa/msa-ui-qt/src/webloginwindow.cpp: In constructor ‘WebLoginWindow::WebLoginWindow(QUrl, QWidget*)’:
/home/traek/msa/msa-ui-qt/src/webloginwindow.cpp:15:29: error: ‘setWindowFlag’ was not declared in this scope
     setWindowFlag(Qt::Dialog);
                             ^
/home/traek/msa/msa-ui-qt/src/msadaemonmanager.cpp: In member function ‘QSharedPointer<msa::client::ServiceClient> MsaDaemonManager::connectToMsa()’:
/home/traek/msa/msa-ui-qt/src/msadaemonmanager.cpp:10:16: error: could not convert ‘nullptr’ from ‘std::nullptr_t’ to ‘QSharedPointer<msa::client::ServiceClient>’
         return nullptr;
                ^~~~~~~
/home/traek/msa/msa-ui-qt/src/msadaemonmanager.cpp:14:16: error: could not convert ‘nullptr’ from ‘std::nullptr_t’ to ‘QSharedPointer<msa::client::ServiceClient>’
         return nullptr;
                ^~~~~~~
msa-ui-qt/CMakeFiles/msa-ui-qt.dir/build.make:86: recipe for target 'msa-ui-qt/CMakeFiles/msa-ui-qt.dir/src/webloginwindow.cpp.o' failed
make[2]: *** [msa-ui-qt/CMakeFiles/msa-ui-qt.dir/src/webloginwindow.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
msa-ui-qt/CMakeFiles/msa-ui-qt.dir/build.make:206: recipe for target 'msa-ui-qt/CMakeFiles/msa-ui-qt.dir/src/msadaemonmanager.cpp.o' failed
make[2]: *** [msa-ui-qt/CMakeFiles/msa-ui-qt.dir/src/msadaemonmanager.cpp.o] Error 1
[ 98%] Linking CXX executable msa-daemon
/home/traek/msa/msa-ui-qt/src/pickaccountwindow.cpp: In constructor ‘PickAccountWindow::PickAccountWindow(QVector<PickAccountEntry>, QWidget*)’:
/home/traek/msa/msa-ui-qt/src/pickaccountwindow.cpp:13:29: error: ‘setWindowFlag’ was not declared in this scope
     setWindowFlag(Qt::Dialog);
                             ^
msa-ui-qt/CMakeFiles/msa-ui-qt.dir/build.make:182: recipe for target 'msa-ui-qt/CMakeFiles/msa-ui-qt.dir/src/pickaccountwindow.cpp.o' failed
make[2]: *** [msa-ui-qt/CMakeFiles/msa-ui-qt.dir/src/pickaccountwindow.cpp.o] Error 1
/usr/bin/ld: warning: libcrypto.so.1.0.2, needed by /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libcurl.so, may conflict with libcrypto.so.1.1
[ 98%] Built target msa-daemon
CMakeFiles/Makefile2:681: recipe for target 'msa-ui-qt/CMakeFiles/msa-ui-qt.dir/all' failed
make[1]: *** [msa-ui-qt/CMakeFiles/msa-ui-qt.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2

To be clear, I had to add a couple of packages to get Crostini a bit closer. For posterity, these were added to the top of the Ubuntu 18.04+ commands (I figured it was closest) in Compiling MSA:

sudo apt install build-essential cmake libnss3

Since everything seems to start breaking at 97%, could this really be a simple issue of another dependency or am I seeing something introduced in a recent change? This seems super stable so I'm assuming it's yet another dependency issue. Hopefully this is a little easier to parse now that most of the dependencies are here (I thought all). Any other pointers before I wear out my welcome here?

Since there seems to be a lot of standardization around Crostini for ChromeOS Linux Beta support, this might approach something useful for others trying to get these cheap devices working for some Minecraft goodness! Thanks again.

@MCMrARM
Copy link
Member

MCMrARM commented Sep 17, 2019

Does Crostini even support gfx acceleration?

@traek
Copy link
Author

traek commented Sep 17, 2019

Does Crostini even support gfx acceleration?

crostini_flag
Yep!

@Mhowser
Copy link

Mhowser commented Sep 17, 2019 via email

@traek
Copy link
Author

traek commented Sep 17, 2019

What does apt-cache search libcrypto yeild?

libcryptokit-ocaml - cryptographic algorithm library for OCaml - runtime
libcryptokit-ocaml-dev - cryptographic algorithm library for OCaml - development
libcrypto++-dev - General purpose cryptographic library - C++ development
libcrypto++-doc - General purpose cryptographic library - documentation
libcrypto++-utils - General purpose cryptographic library - utilities and data files
libcrypto++6 - General purpose cryptographic library - shared library
libcrypto++6-dbg - General purpose cryptographic library - debug symbols
libssl-dev - Secure Sockets Layer toolkit - development files
libssl-doc - Secure Sockets Layer toolkit - development documentation
libssl1.1 - Secure Sockets Layer toolkit - shared libraries
libssl1.0-dev - Secure Sockets Layer toolkit - development files
libssl1.0.2 - Secure Sockets Layer toolkit - shared libraries
r-cran-openssl - GNU R toolkit for encryption, signatures and certificates based on OpenSSL

@MCMrARM
Copy link
Member

MCMrARM commented Sep 17, 2019

@traek I looked at your compile log, what is your Qt version? You probably will want to get a newer Qt version.

@traek
Copy link
Author

traek commented Sep 17, 2019

Interestingly, I got an error:

traek@penguin:~$ qmake --version
qmake: could not find a Qt installation of ''

So I installed qt5-default:

traek@penguin:~$ sudo apt install qt5-default
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  qt5-default
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 43.4 kB of archives.
After this operation, 140 kB of additional disk space will be used.
Get:1 https://cdn-aws.deb.debian.org/debian stretch/main amd64 qt5-default amd64 5.7.1+dfsg-3+deb9u1 [43.4 kB]
Fetched 43.4 kB in 2s (19.1 kB/s)
Selecting previously unselected package qt5-default.
(Reading database ... 60710 files and directories currently installed.)
Preparing to unpack .../qt5-default_5.7.1+dfsg-3+deb9u1_amd64.deb ...
Unpacking qt5-default (5.7.1+dfsg-3+deb9u1) ...
Setting up qt5-default (5.7.1+dfsg-3+deb9u1) ...
traek@penguin:~$ qmake --version
QMake version 3.0
Using Qt version 5.7.1 in /usr/lib/x86_64-linux-gnu

I tried the make-j12 again and got the same errors. Just for kicks, I also tried blowing away the entire build and started with another git clone and unfortunately got the same results as before. Did I get the correct version of Qt? If not, do you have a minimum target I should be shooting for?

@MCMrARM
Copy link
Member

MCMrARM commented Sep 17, 2019

This project requires Qt 5.9, you have to install 5.9 or newer somehow.

@MCMrARM
Copy link
Member

MCMrARM commented Sep 17, 2019

Preferably just migrate to Debian 10.

@traek
Copy link
Author

traek commented Sep 18, 2019

I finally got through the MSA build!

[ 97%] Building CXX object msa-ui-qt/CMakeFiles/msa-ui-qt.dir/src/msadaemonmanager.cpp.o
[ 98%] Linking CXX executable msa-daemon
[ 98%] Built target msa-daemon
[100%] Linking CXX executable msa-ui-qt
[100%] Built target msa-ui-qt

For anyone looking for instructions on an admittedly pretty straightforward way to upgrade Crostini from Stretch to Buster, check this out: https://www.aboutchromebooks.com/news/linux-debian-10-buster-upgrade-chromebooks-chrome-os-project-crostini-how-to/

I was also able to install libnss3 and start the Launcher!

LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libnss3.so ./Minecraft_Bedrock_Launcher.AppImage

Debian 10 seemed to do the trick!

launcher

Now that I have that, I was able to log in to Google, download the latest copy of Minecraft and start running. However, I started getting this message:

launcher_error

Dumb question: does the appimage include the actual launcher (I mean it's in the name, so I assume so)? If so, I'm not finding it... what was also unclear in the error message was where I would expect to find the binary as it showed the build location, assuming I'd be building from source instead of pulling it from the appimage.

@RianFC RianFC mentioned this issue Nov 1, 2019
@Mhowser
Copy link

Mhowser commented Nov 16, 2019

Try launching the game manually. mcpelauncher-client -dg ~/.local/share/mcpelauncher/versions/1.2.3.4 Replace 1.2.3.4 with the version of Minecraft you want to run.

@ChristopherHX
Copy link
Member

ChristopherHX commented Nov 29, 2019

@traek You need to install the yet undokumented appimage minimal dependencies of the Appimage

minimal dependences - Gamelauncher not found (Debian (ChromeOS Linux) / Ubuntu / AMD64)

sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt install libc6-i386 libegl1-mesa:i386 zlib1g:i386 libstdc++6:i386 libgl1-mesa-dri:i386

@alexfornuto
Copy link

alexfornuto commented Dec 22, 2019

This thread has helped me immensely. Currently stuck trying to install the Appimage deps on Crostini with Deb10:

The following packages have unmet dependencies:
 libgl1-mesa-dri:i386 : Depends: libsensors4:i386 (>= 1:3.0.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

P.S. Was able to manually download and install libsensors4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants