SDK Problem: Kit configuration
I am trying (for the first time) to build a project using sailfish SDK (I am using SDK 2.0)
When trying to build a project, I get the following error
23:31:16: Running steps for project test...
23:31:16: Start Build Engine: The "Sailfish OS Build Engine" virtual machine is already running. Nothing to do.
23:31:16: Starting: "/home/xx/.config/SailfishOS-SDK/mer-sdk-tools/Sailfish OS Build Engine/SailfishOS-3.0.2.8-armv7hl/qmake" /home/xx/build/harbour-test/test.pro -spec linux-g++ CONFIG+=debug CONFIG+=qml_debug
bash: /home/src1/: is a directory
23:31:16: The process "/home/xx/.config/SailfishOS-SDK/mer-sdk-tools/Sailfish OS Build Engine/SailfishOS-3.0.2.8-armv7hl/qmake" exited with code 126.
Error while building/deploying project test (kit: SailfishOS-3.0.2.8-armv7hl (in Sailfish OS Build Engine))
The kit SailfishOS-3.0.2.8-armv7hl (in Sailfish OS Build Engine) has configuration issues which might be the root cause for this problem.
When executing step "qmake"
23:31:16: Elapsed time: 00:00.
To check the possible root for the problem, I checked the kit configuration which shows:
I am confused because it says that I cannot use the ARM toolchain on the build engine. I thought the build engine has/uses a SFOS emulator.
How to fix the kit configuration to build/debug using ARM architecture using the build engine/VM?
The error in Kit configuration is unrelated to your build error - please edit your question and submit that part as a separate question.
Regarding the build error, 1) what is your SDK installation path? (default is
martyone ( 2019-04-05 08:09:50 +0200 )edit~/SailfishOS
), 2) what is your value ofAlt source folder
in Options > Sailfish OS > Build Engine?@martyone thanks so much for your reply. I did not know how to verify the SDK install path, but I did not modify it. Within
~/SailfishOS
is for example theSDKMaintenanceTool
and thebin
folder etc. TheAlt source folder
was~/sfos_projects
I changed it to~/
and now get a slightly different compile error:09:14:59: Running steps for project LiveTrack... 09:14:59: Start Build Engine: The "Sailfish OS Build Engine" virtual machine is already running. Nothing to do. 09:14:59: Starting: "/home/xx/.config/SailfishOS-SDK/mer-sdk-tools/Sailfish OS Build Engine/SailfishOS-3.0.2.8-armv7hl/qmake" /home/xx/build/harbour-LiveTrack/LiveTrack.pro -spec linux-g++ CONFIG+=debug CONFIG+=qml_debug bash: /home/src1/: is a directory 09:14:59: The process "/home/xx/.config/SailfishOS-SDK/mer-sdk-tools/Sailfish OS Build Engine/SailfishOS-3.0.2.8-armv7hl/qmake" exited with code 126. Error while building/deploying project LiveTrack (kit: SailfishOS-3.0.2.8-armv7hl (in Sailfish OS Build Engine)) The kit SailfishOS-3.0.2.8-armv7hl (in Sailfish OS Build Engine) has configuration issues which might be the root cause for this problem. When executing step "qmake" 09:14:59: Elapsed time: 00:00.
The project I am trying to build is located in
bomo ( 2019-04-05 10:15:38 +0200 )edit~/build/harbour-LiveTrack
and its source code is provided here https://github.com/jaykijay/harbour-LiveTrack/@bomo Please edit your
martyone ( 2019-04-10 08:26:42 +0200 )edit~/SailfishOS/mersdk/ssh/mersdk/authorized_keys
, prependcommand="/bin/bash -c 'set -x; eval \"$SSH_ORIGINAL_COMMAND\"'"
to the only line (ensure the editor does not wrap the line, notice the space at the end). Then try to build and paste the build output up to thebash: /home/src1/: is a directory
error.@martyone after switching to i486-kit it suddenly works. Not sure if it solely due to switchitng the kit or some other settings I touched. Thanks for your help!
bomo ( 2019-04-11 10:19:04 +0200 )edit@bomo This didn't fix your issue - you are still not able to target ARM devices. I can't really help you without the debug output I asked for in my previous comment.
martyone ( 2019-04-12 07:48:07 +0200 )edit