UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Error upgrading App to 20.04 Focal Fossa

    Scheduled Pinned Locked Moved App Development
    5 Posts 2 Posters 466 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • T Offline
        tera
        last edited by tera

        Dear UBports Community,

        In the process of trying to upgrade the Tiny Tiny RSS application to Focal (https://open-store.io/app/it.mardy.ttrss - https://github.com/cnlpete/ttrss), as it has been my daily companion for a while, and getting the following error while building:

        Error:

        Can't find the app manifest in the install dir. Please build the app first with "clickable build --arch arm64".
        

        Full:

        ~/.clickable/home/ttrss$ clickable build --arch arm64
        Building app
        Project MESSAGE: Cross compiling: disabling building of translations
        make: Nothing to be done for 'first'.
        /usr/lib/qt5/bin/qmake -install qinstall -exe ttrss-ubuntu-touch /home/user/.clickable/home/ttrss/build/aarch64-linux-gnu/app/install//home/user/.clickable/home/ttrss/build/aarch64-linux-gnu/app/click/ttrss-ubuntu-touch
        aarch64-linux-gnu-strip /home/user/.clickable/home/ttrss/build/aarch64-linux-gnu/app/install//home/user/.clickable/home/ttrss/build/aarch64-linux-gnu/app/click/ttrss-ubuntu-touch
        /usr/lib/qt5/bin/qmake -install qinstall /home/user/.clickable/home/ttrss/qml/ttrss/ubuntu-touch /home/user/.clickable/home/ttrss/build/aarch64-linux-gnu/app/install//home/user/.clickable/home/ttrss/build/aarch64-linux-gnu/app/click/qml/ubuntu-touch
        /usr/lib/qt5/bin/qmake -install qinstall /home/user/.clickable/home/ttrss/qml/ttrss/models /home/user/.clickable/home/ttrss/build/aarch64-linux-gnu/app/install//home/user/.clickable/home/ttrss/build/aarch64-linux-gnu/app/click/qml/models
        /usr/lib/qt5/bin/qmake -install qinstall /home/user/.clickable/home/ttrss/qml/ttrss/resources /home/user/.clickable/home/ttrss/build/aarch64-linux-gnu/app/install//home/user/.clickable/home/ttrss/build/aarch64-linux-gnu/app/click/qml/resources
        /usr/lib/qt5/bin/qmake -install qinstall /home/user/.clickable/home/ttrss/images/resources /home/user/.clickable/home/ttrss/build/aarch64-linux-gnu/app/install//home/user/.clickable/home/ttrss/build/aarch64-linux-gnu/app/click/qml/resources
        /usr/lib/qt5/bin/qmake -install qinstall /home/user/.clickable/home/ttrss/ubuntu/ttrss_icon_256.png /home/user/.clickable/home/ttrss/build/aarch64-linux-gnu/app/install//home/user/.clickable/home/ttrss/build/aarch64-linux-gnu/app/click/ttrss_icon_256.png
        /usr/lib/qt5/bin/qmake -install qinstall /home/user/.clickable/home/ttrss/build/aarch64-linux-gnu/app/ubuntu/ttrss.desktop /home/user/.clickable/home/ttrss/build/aarch64-linux-gnu/app/install//home/user/.clickable/home/ttrss/build/aarch64-linux-gnu/app/click/ttrss.desktop
        /usr/lib/qt5/bin/qmake -install qinstall /home/user/.clickable/home/ttrss/ubuntu/ttrss.json /home/user/.clickable/home/ttrss/build/aarch64-linux-gnu/app/install//home/user/.clickable/home/ttrss/build/aarch64-linux-gnu/app/click/ttrss.json
        /usr/lib/qt5/bin/qmake -install qinstall /home/user/.clickable/home/ttrss/build/aarch64-linux-gnu/app/ubuntu/manifest.json /home/user/.clickable/home/ttrss/build/aarch64-linux-gnu/app/install//home/user/.clickable/home/ttrss/build/aarch64-linux-gnu/app/click/manifest.json
        Can't find the app manifest in the install dir. Please build the app first with "clickable build --arch arm64".
        

        I can see the manifest.json file being generated and present in the folders from the last lines of logs, but struggle to understand what are the next steps here?

        Many thanks in advance,
        Tera

        PS: i followed https://forums.ubports.com/topic/8318/update-ubuntu-touch-apps-to-20-04-focal-fossa/9 as a side note

        T AppLeeA 2 Replies Last reply Reply Quote 0
        • T Offline
          tera @tera
          last edited by

          Found a "dirty" solution for now which seems to work, will need more investigation to clean up but got my preferred app running on Focal 🙂

          1 Reply Last reply Reply Quote 1
          • AppLeeA Online
            AppLee @tera
            last edited by

            Hi @tera
            It's hard to understand what went wrong.

            The repo you linked is not made for clickable as far as I know (didn't try or look that hard).
            So I guess, you forked it and added the clickable parts like the clickable.yaml...

            Can you describe your "dirty solution" to see if it's that dirty 😉

            Thanks for your time and efforts on this matter, always nice to see people get their hands dirty.

            T 1 Reply Last reply Reply Quote 0
            • T Offline
              tera @AppLee
              last edited by tera

              Hi @AppLee
              Sorry for replying with delays, been busy at work recently, so the "dirty" fix i mention is this line that i had to change in ttrss-ubuntu.pro:

              CLICK_DIR = $${OUT_PWD}/click
              

              which i had to update to:

              CLICK_DIR = ../../../../..
              

              I'm not close to QML and related tools fyi, glad i found my way quickly though 🙂

              AppLeeA 1 Reply Last reply Reply Quote 0
              • AppLeeA Online
                AppLee @tera
                last edited by

                @tera I understand now.
                It's something quite common to struggle with the makefiles 😉 (at least for me)

                If you follow a simple example with one of the templates provided with clickable it can help you better understand how things are intended.

                Best of luck with your attempt. When I see people make a single repository to compile for several targets, I feel overwelmed 😄

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post