Error upgrading App to 20.04 Focal Fossa
-
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,
TeraPS: i followed https://forums.ubports.com/topic/8318/update-ubuntu-touch-apps-to-20-04-focal-fossa/9 as a side note
-
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
-
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.
-
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 inttrss-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
-
@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