We have moved to a new Sailfish OS Forum. Please start new discussions there.
2

Deploying qml-only apps to phone(SailfishOS-3.0.3.10) fails

Tracked by Jolla (In release)

asked 2019-06-04 07:01:39 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2019-08-28 14:06:03 +0200

jovirkku gravatar image

With Latest sdk(Qt Creator 4.8.1 (Sailfish SDK)) , QML only app fails to deploy on mobile. On Emulator it works fine.

The error is

Error: nothing provides libsailfishapp-launcher needed by pysample-0.1-1.noarch Finished transaction (status=2, runtime=480ms) Deploy failed 11:30:09: The process "C:\SailfishOS\settings\SailfishOS-SDK\mer-sdk-tools\Sailfish OS Build Engine\SailfishOS-3.0.3.9-armv7hl\deploy.cmd" exited with code 1. Error while building/deploying project pysample (kit: SailfishOS-3.0.3.9-armv7hl (in Sailfish OS Build Engine)) When executing step "RPM"
edit retag flag offensive close delete

Comments

Could you please provide the tail of the build log?

martyone ( 2019-06-04 08:19:27 +0200 )edit

Error: nothing provides libsailfishapp-launcher needed by pysample-0.1-1.noarch Finished transaction (status=2, runtime=480ms) Deploy failed 11:30:09: The process "C:\SailfishOS\settings\SailfishOS-SDK\mer-sdk-tools\Sailfish OS Build Engine\SailfishOS-3.0.3.9-armv7hl\deploy.cmd" exited with code 1. Error while building/deploying project pysample (kit: SailfishOS-3.0.3.9-armv7hl (in Sailfish OS Build Engine)) When executing step "RPM"


I have checked the "Requires: libsailfishapp-launcher", its there in the yaml file

venki ( 2019-06-04 09:01:37 +0200 )edit

@venki thank you, under investigation. Could you please also split off the part on build target version as a new question?

martyone ( 2019-06-04 09:14:39 +0200 )edit

@martyone done.

venki ( 2019-06-04 09:44:57 +0200 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2019-06-12 09:51:12 +0200

martyone gravatar image

As a workaround, refreshing repositories manually on the device should help

su-devel pkcon refresh
edit flag offensive delete publish link more

Comments

it's working.

venki ( 2019-06-12 13:15:28 +0200 )edit

@martyone - so, was that the sum of the problem?, he just needed to refresh?

Spam Hunter ( 2019-08-28 14:14:36 +0200 )edit
1

@Edz yes, it is a bug that the repos are not refreshed automatically.

martyone ( 2019-08-28 15:42:07 +0200 )edit
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2019-06-04 07:01:39 +0200

Seen: 541 times

Last updated: Aug 28 '19