[SailfishDevel] OS X Yosemite: Deployment of app to Jolla phone fails using rsync

Raju Bitter rajubitter at gmail.com
Mon Dec 15 15:06:46 UTC 2014


I removed the SDK, removed the $HOME/.config/SailfishAlpha4 folder,
installed again - and now everything is working fine.

If I want to deploy the device, only "Deploy as RPM package" works, "Deploy
by Copying Binaries" fails with the same error message.

- Raju

On Mon, Dec 15, 2014 at 3:48 PM, Raju Bitter <rajubitter at gmail.com> wrote:
>
> I've installed the latest version of the SDK on Yosemite using
> SailfishOSSDK-Alpha-1407-Qt5-mac-offline.dmg
>
> After creating a Sailfish OS app project and try to run on the device, the
> rsync command fails with the error message:
> rsync: mkdir "/opt/sdk/Ambient" failed: No such file or directory (2)
>
> The app name is Ambient, I've the SDK installed in /Users/raju/SailfishOS
> folder. Where does the build script take the /opt/sdk/ folder from?
>
> Compile output:
> ...
>
> install -m 644 -p
> /home/mersdk/share/coding/sailfish/tmp/build-Ambient-MerSDK_SailfishOS_armv7hl-Debug/translations/Ambient-de.qm
> /home/deploy/installroot/usr/share/Ambient/translations/
>
> cp -f -R /home/mersdk/share/coding/sailfish/Ambient/qml
> /home/deploy/installroot/usr/share/Ambient/
>
> install -m 755 -p "Ambient" "/home/deploy/installroot/usr/bin/Ambient"
>
> install -m 644 -p
> /home/mersdk/share/coding/sailfish/Ambient/Ambient.desktop
> /home/deploy/installroot/usr/share/applications/
>
> install -m 644 -p /home/mersdk/share/coding/sailfish/Ambient/Ambient.png
> /home/deploy/installroot/usr/share/icons/hicolor/86x86/apps/
>
> extracting debug info from /home/deploy/installroot/usr/bin/Ambient
>
> 0 blocks
>
> Skip processing files
>
> sending incremental file list
>
> rsync: mkdir "/opt/sdk/Ambient" failed: No such file or directory (2)
>
> rsync error: error in file IO (code 11) at main.c(656) [Receiver=3.1.0]
>
> Deploy failed
>
> 15:17:47: The process
> "/Users/raju/.config/SailfishAlpha4/mer-sdk-tools/MerSDK/SailfishOS-armv7hl/deploy"
> exited with code 1.
>
> Error while building/deploying project Ambient (kit:
> MerSDK-SailfishOS-armv7hl)
>
> When executing step 'Rsync'
>
> 15:17:47: Elapsed time: 00:07.
>
>
> Has anyone else experienced the same problem?
>
>
> - Raju
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20141215/302a2793/attachment.html>


More information about the Devel mailing list