Hi,
I thought I’d give sfdk a go, to see if I can automate some things. I’m looking at https://sailfishos.org/wiki/Tutorial_-Building_packages-_advanced_techniques, and I’m stuck at sfdk tools list
. It doesn’t seem to be doing anything, just sits there giving no output. Also, when I use sfdk --debug tools list
, no output. When I hit ctrl-c, something seems to be happening:
gmc@coltrane:~/src/sailfish/tasks/tasks$ ~/bin/SailfishOS/bin/sfdk --debug tools list
^Csfdk: [D] Signal handler: 2 Interrupt
sfdk: [D] TaskManager: Terminate requested
sfdk: [D] Not mapping shared target path: No target selected
sfdk: [D] Mapping "/home/gmc" as "/home/mersdk/share"
sfdk: [D] Mapping "/home/gmc" as "/home/src1"
sfdk: [D] Command after mapping engine paths: "sdk-manage" arguments: ("tooling", "list", "--long") CWD: "/home/mersdk/share/src/sailfish/tasks/tasks"
sfdk: [D] Task Sfdk::RemoteProcess(0x7ffdc91ee020) transition: NotStarted --Started--> Running
sfdk: [D] Remote process ID: 3617 all data: "3617\n"
sfdk: [D] Task Sfdk::RemoteProcess(0x7ffdc91ee020) posting Exited
sfdk: [D] Task Sfdk::RemoteProcess(0x7ffdc91ee020) transition: Running --Exited--> NotStarted
sfdk: [D] Not mapping shared target path: No target selected
sfdk: [D] Mapping "/home/gmc" as "/home/mersdk/share"
sfdk: [D] Mapping "/home/gmc" as "/home/src1"
sfdk: [D] Command after mapping engine paths: "sdk-manage" arguments: ("target", "list", "--long") CWD: "/home/mersdk/share/src/sailfish/tasks/tasks"
sfdk: [D] Task Sfdk::RemoteProcess(0x7ffdc91ee000) transition: NotStarted --Started--> Running
sfdk: [D] Remote process ID: 3644 all data: "3644\n"
sfdk: [D] Task Sfdk::RemoteProcess(0x7ffdc91ee000) posting Exited
sfdk: [D] Task Sfdk::RemoteProcess(0x7ffdc91ee000) transition: Running --Exited--> NotStarted
gmc@coltrane:~/src/sailfish/tasks/tasks$
The build vm seems to be up and running though:
gmc@coltrane:~/src/sailfish/tasks/tasks$ ~/bin/SailfishOS/bin/sfdk --debug engine exec ls
sfdk: [D] Not mapping shared target path: No target selected
sfdk: [D] Mapping "/home/gmc" as "/home/mersdk/share"
sfdk: [D] Mapping "/home/gmc" as "/home/src1"
sfdk: [D] Command after mapping engine paths: "ls" arguments: () CWD: "/home/mersdk/share/src/sailfish/tasks/tasks"
sfdk: [D] Task Sfdk::RemoteProcess(0x7ffd527c1010) transition: NotStarted --Started--> Running
sfdk: [D] Remote process ID: 3712 all data: "3712\r\n"
LICENSE.md README.md harbour-tasks.desktop harbour-tasks.pro harbour-tasks.pro.user harbour-tasks.qrc icons images qml rpm src translations
sfdk: [D] Task Sfdk::RemoteProcess(0x7ffd527c1010) posting Exited
sfdk: [D] Task Sfdk::RemoteProcess(0x7ffd527c1010) transition: Running --Exited--> NotStarted
gmc@coltrane:~/src/sailfish/tasks/tasks$
I can succesfuly set a target with sfdk config target=....
though, and build also works.
What could be wrong?
Cheers,
Koen