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

SDK 2.4 - Problems deploying Debug Application

asked 2019-12-17 00:11:38 +0200

AndyWuest gravatar image

updated 2019-12-28 13:58:56 +0200

Alex gravatar image

Hi,

i downloaded the SDK 2.4 on a newly installed Ubuntu 18.04. So far so fine. However, it is not possible for me to deploy my application to the emulator via Kit 3.2.0.12-i486 / Debug / Deploy by Copying Binaries . Whenever i do that i get the following error in the compile output:

`install -m 644 -p /home/mersdk/share/Sailfishdummy/icons/172x172/Sailfishdummy.png /home/deploy/installroot/usr/share/icons/hicolor/172x172/apps/ + desktop-file-install --delete-original --dir /home/deploy/installroot/usr/share/applications /home/deploy/installroot/usr/share/applications/Sailfishdummy.desktop + /usr/lib/rpm/find-debuginfo.sh --strict-build-id --build-id-seed 0.1-1 --unique-debug-suffix -0.1-1.i386 --unique-debug-src-base Sailfishdummy-0.1-1.i386 -S debugsourcefiles.list /home/mersdk/share/build-Sailfishdummy-SailfishOS_3_2_0_12_i486_in_Sailfish_OS_Build_Engine-Debug/ extracting debug info from /home/deploy/installroot/usr/bin/Sailfishdummy cpio: invalid option -- 'p' BusyBox v1.31.0 (2019-09-04 14:56:23 UTC) multi-call binary. Usage: cpio [-dmvu] [-F FILE] [-R USER[:GRP]] [-ti] [EXTR_FILE]... Extract (-i) or list (-t) files from a cpio archive

Main operation mode: -t List -i Extract EXTR_FILEs (or all) Options: -d Make leading directories -m Preserve mtime -v Verbose -u Overwrite -F FILE Input (-t,-i,-p) or output (-o) file -R USER[:GRP] Set owner of created files -L Dereference symlinks -0 Input is separated by NULs + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/meego/brp-compress + /usr/lib/rpm/meego/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/meego/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python + /usr/lib/rpm/meego/brp-python-hardlink + /usr/lib/rpm/meego/find-docs.sh /home/deploy/installroot + /usr/lib/rpm/meego/brp-java-repack-jars Processing files: Sailfishdummy-0.1-1.i486 `

Virtualbox gives me the following Versions for the VMs: Sailfish OS Build Engine (2.4.0) Sailfish OS Emulator 3.2.0.12 (3.2.0.12)

Any idea why the cpip command is no longer working ? Incompatible versions? At the moment i can only deploy via Debug/Deploy as RPM Package -> however i still get the cpio error - but that seems to be no problem for this deployment type.....

Any ideas? Thanks in advance. Andy

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
2

answered 2019-12-17 07:40:57 +0200

Ville Nummela gravatar image

updated 2019-12-27 08:09:34 +0200

That is really a bug in the "Deploy by copying binaries" feature. It's not related to the cpio error message.

It should be fixed in SDK 3.0 (currently available as Early Access release)

edit flag offensive delete publish link more

Comments

Any idea when the problem will be fixed? Or is there a way do download an older SDK?

AndyWuest ( 2019-12-18 22:02:33 +0200 )edit

It will be fixed sooner than you think ;) I recommend you use the the other deployment methods in the meanwhile. There are installers for older releases, but I don't think it's worth the trouble to install an older release now.

Ville Nummela ( 2019-12-19 07:23:34 +0200 )edit
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2019-12-17 00:11:38 +0200

Seen: 221 times

Last updated: Dec 27 '19