<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 13.12.2013 20:02, superpelican
      wrote:<br>
    </div>
    <blockquote
      cite="mid:142ed1f8b74.6089828912192051540.946002420813249176@zoho.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <div
        style="font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;"><br>
        Hello,<br>
        <br>
        I just completely removed my old SDK with the SDK Maintenance
        tool (and also removed $HOME/.scratchbox2 as the installer of
        the new SDK version suggested, I also removed the Mer SDK VM and
        Emulator VM of the old SDK version in the Virtualbox Manager)
        and installed the new 1312 SDK. When I tried to build my simple,
        little multiplication tables practising application <a
          moz-do-not-send="true"
          href="https://bitbucket.org/Superpelican/quick_clamshell">Quick
          Clamshell</a> it failed with the following messages in the
        Compile Output pane:<br>
      </div>
    </blockquote>
    <br>
    Hi, did this build in the previous "1310" release of the SDK?<br>
    <br>
    The application seems to use the "old way" of specifying a
    sailfishapplication, since it doesn't use libsailfishapp, which is
    the new (since 1310 installer) and recommended way of creating
    applications for Sailfish OS.<br>
    <br>
    Before trying to build your project with "1312" be sure to clean all
    previous build results from the project directory. Your bitbucket
    repository has lots of build generated files (like the application
    binary) that should not be there.<br>
    <br>
    ....<br>
    <blockquote
      cite="mid:142ed1f8b74.6089828912192051540.946002420813249176@zoho.com"
      type="cite">
      <div
        style="font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;">+
        QT_SELECT=5<br>
        + make install INSTALL_ROOT=/home/deploy/installroot<br>
        <br>
        <br>
        install -m 755 -p "Quick2Clamshell"
        "/home/deploy/installroot/usr/bin/Quick2Clamshell"<br>
        : "/home/deploy/installroot/usr/bin/Quick2Clamshell"<br>
        install -m 755 -p
        /home/mersdk/Coding/ClamshellSailfish/Quick2Clamshell/main.qml
        /home/deploy/installroot/usr/share/Quick2Clamshell/<br>
        : /home/deploy/installroot/usr/share/Quick2Clamshell/main.qml<br>
        cp -f -R
        /home/mersdk/Coding/ClamshellSailfish/Quick2Clamshell/pages
        /home/deploy/installroot/usr/share/Quick2Clamshell/<br>
        cp -f -R
        /home/mersdk/Coding/ClamshellSailfish/Quick2Clamshell/cover
        /home/deploy/installroot/usr/share/Quick2Clamshell/<br>
        install -m 755 -p
        /home/mersdk/Coding/ClamshellSailfish/Quick2Clamshell/main.qml
        /home/deploy/installroot/usr/share/Quick2Clamshell/<br>
        : /home/deploy/installroot/usr/share/Quick2Clamshell/main.qml<br>
        install -m 755 -p
        /home/mersdk/Coding/ClamshellSailfish/Quick2Clamshell/Quick2Clamshell.desktop
        /home/deploy/installroot/usr/share/applications/<br>
        :
        /home/deploy/installroot/usr/share/applications/Quick2Clamshell.desktop<br>
        + /usr/lib/rpm/find-debuginfo.sh --strict-build-id
/home/mersdk/Coding/ClamshellSailfish/build-Quick2Clamshell-MerSDK_SailfishOS_i486_x86-Release/<br>
      </div>
    </blockquote>
    ...<br>
    <blockquote
      cite="mid:142ed1f8b74.6089828912192051540.946002420813249176@zoho.com"
      type="cite">
      <div
        style="font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;"><br>
        Processing files: Quick2Clamshell-0.1-1.i586<br>
        error: <br>
        File not found: /home/deploy/installroot/icons<br>
      </div>
    </blockquote>
    <br>
    That "File not found" is the initial problem.<br>
    <br>
    <blockquote
      cite="mid:142ed1f8b74.6089828912192051540.946002420813249176@zoho.com"
      type="cite">
      <div
        style="font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;"><br>
        <br>
        <br>
        RPM build errors:<br>
        error: <br>
        File not found: /home/deploy/installroot/images<br>
        <br>
        error: <br>
        File not found:
        /home/deploy/installroot/usr/share/Quick2Clamshell/images<br>
        <br>
            File not found: /home/deploy/installroot/icons<br>
        <br>
            File not found: /home/deploy/installroot/images<br>
            File not found:
        /home/deploy/installroot/usr/share/Quick2Clamshell/images<br>
        <br>
        <br>
      </div>
    </blockquote>
    <br>
    Looking at the make install output from earlier in the log, we can
    see that the /icons  and /images directories are not installed,
    leading to the initial problem.<br>
    <br>
    The output below comes just because the build engine tries to copy
    files to the emulator, but there are no files it can find because
    the build failed already. The build/deploy process should have ended
    to the RPM build errors and seems like something to fix in future
    SDK releases.<br>
    <br>
    <br>
    <blockquote
      cite="mid:142ed1f8b74.6089828912192051540.946002420813249176@zoho.com"
      type="cite">
      <div
        style="font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;">receiving
        incremental file list<br>
        <br>
        sent 8 bytes  received 87 bytes  190.00 bytes/sec<br>
        total size is 0  speedup is 0.00<br>
        rsync: change_dir "/home/nemo/RPMS" failed: No such file or
        directory (2)<br>
        <br>
        <br>
        rsync error: some files/attrs were not transferred (see previous
        errors) (code 23) at main.c(1637) [Receiver=3.1.0]<br>
        <br>
        <br>
        rsync: [Receiver] write error: Broken pipe (32)<br>
        <br>
        <br>
        Command failed: A filename to install is required<br>
        18:41:38: The process
        "$HOME/.config/SailfishAlpha3/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/deploy"
        exited with code 3.<br>
        Error while building/deploying project Quick2Clamshell (kit:
        MerSDK-SailfishOS-i486-x86)<br>
        When executing step 'Rpm'<br>
        18:41:38: Elapsed time: 00:06.<br>
        "<br>
      </div>
    </blockquote>
    <br>
    ....<br>
    <br>
    <blockquote
      cite="mid:142ed1f8b74.6089828912192051540.946002420813249176@zoho.com"
      type="cite">
      <div
        style="font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;">I
        believe this isn't related to my app, but rather a problem with
        the new SDK, so I thought I'd post it on the ML ;)<br>
        <br>
      </div>
    </blockquote>
    <br>
    There is something incorrect in the way you have specified the RPM
    packaging for your application. Looking at your .yaml file, its
    files section specifies that /images and /icons should be added to
    the RPM package. That means images and icons directories in the root
    of the filesystem. I'm sure you don't really want them to be there,
    but somewhere under /usr/share/applicationname instead.<br>
    <br>
    Please take a look at the following links, which [1] describe what
    kind of requirements there are for an application you might want to
    ship to the Harbour one day and [2] in detail describe creating an
    installation package (RPM) for your application.<br>
    <br>
    [1] <a class="moz-txt-link-freetext" href="https://harbour.jolla.com/faq">https://harbour.jolla.com/faq</a> <br>
    <br>
    [2] <a class="moz-txt-link-freetext" href="https://sailfishos.org/develop-packaging-apps.html">https://sailfishos.org/develop-packaging-apps.html</a><br>
    <br>
    Also, take a while to study the latest application template
    "File->New Project" and the example and tutorial applications
    that come with the "1312" SDK to see how to use libsailfishapp in
    your application.<br>
    <br>
    <blockquote
      cite="mid:142ed1f8b74.6089828912192051540.946002420813249176@zoho.com"
      type="cite">
      <div
        style="font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;">Kind
        Regards,<br>
        <br>
        Superpelican<br>
        <br>
        P.S.:Someone I know already received her Jolla today, so I had
        the opportunity to try it out already before my phone arrives
        soon :)<br>
        It is absolutely awesome! Congratulations on this great product!
        Within 20 minutes the swipe-based UI felt like a second nature,
        while I have never used a N9 or BB10 device!<br>
        I have only watched a lot of videos ;)<br>
      </div>
      <br>
    </blockquote>
    <br>
    Glad to hear that! :-) I hope you can figure out the packaging
    issues with your app.<br>
    <br>
    For a more real-time discussion with other developers, feel free to
    join #sailfishos irc channel in Freenode.<br>
    <br>
    Best regards,<br>
     Juha<br>
    <br>
  </body>
</html>