Issues building lomiri-telephony-service
-
@lduboeuf Here are my results.
I deleted image with:
crossbuilder --lxd-image="ubuntu:20.04" --architecture=arm64 deleteI edited the control file:
cmake, dbus-test-runner, dconf-cli<!nocheck>, debhelper-compat (= 12), dh-migrations | hello, gnome-keyring, liblomirihistoryservice-dev, libicu-dev, libmessaging-menu-dev, libnotify-dev, libphonenumber-dev, libtelepathy-qt5-dev, libprotobuf-dev, libpulse-dev, liblomiri-url-dispatcher-dev, pkg-config, python3:any<!nocheck>, qml-module-qttest, qtbase5-dev (>= 5.0), qtdeclarative5-dev (>= 5.0), qtdeclarative5-dev-tools (>= 5.0), qtfeedback5-dev, qml-module-lomiri-components, qml-module-lomiri-layouts, qml-module-lomiri-performancemetrics, qml-module-lomiri-test, qtmultimedia5-dev (>= 5.0), qtpim5-dev (>= 5), libusermetricsinput-dev, telepathy-mission-control-5, xvfb <!nocheck>,i then ran the build command:
crossbuilder --lxd-image="ubuntu:20.04" --architecture=arm64 buildI got these errors:
mk-build-deps: Unable to install lomiri-telephony-service-cross-build-deps at /usr/bin/mk-build-deps line 457. mk-build-deps: Unable to install all build-dep packagesI then attempted to install dh-translations:
crossbuilder --lxd-image="ubuntu:20.04" --architecture=arm64 inst-foreign dh-translationsget this error:
dpkg: dependency problems prevent configuration of dh-translations: dh-translations depends on intltool; however: Package intltool is not installed. dh-translations depends on jq; however: Package jq is not installed.I then delete the tmp/DEBIAN folder :
sudo rm -r foreign/tmp/DEBIANand run the build command and get this error:
mk-build-deps: Unable to install lomiri-telephony-service-cross-build-deps at /usr/bin/mk-build-deps line 457. mk-build-deps: Unable to install all build-dep packagesEDIT: dh-translations actually did install at this point in my process.
I am then was able to successfully install dh-translations.
Installing dh-translations Get:1 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 dh-translations all 144.20.04.0 [25.0 kB] Fetched 25.0 kB in 0s (54.4 kB/s) dpkg-deb: building package 'dh-translations' in 'dh-translations_144.20.04.0_all.deb'. (Reading database ... 59309 files and directories currently installed.) Preparing to unpack .../dh-translations_144.20.04.0_all.deb ... Unpacking dh-translations (144.20.04.0) over (144.20.04.0) ... Setting up dh-translations (144.20.04.0) ... Processing triggers for man-db (2.9.1-1) ...I then run the build command and get these errors:
Investigating (0) lomiri-telephony-service-cross-build-deps:arm64 < 1.0 @iU mK Nb Ib > Broken lomiri-telephony-service-cross-build-deps:arm64 Depends on liblomirihistoryservice-dev:arm64 < none @un H > Removing lomiri-telephony-service-cross-build-deps:arm64 because I can't find liblomirihistoryservice-dev:arm64 Doneand this one again:
mk-build-deps: Unable to install lomiri-telephony-service-cross-build-deps at /usr/bin/mk-build-deps line 457. mk-build-deps: Unable to install all build-dep packagesThis whole process was tried with "dh-translations:all," in the control file with the same result.
-
It seems as though the syntax you provided, with inst-foreign dh-translations before the distro and arch variables gives the xenial error I mentioned.
-
@Timespansoul it seems you are on main branch, please double check.
There should be dh-translations:all in control file
-
This post is deleted! -
Hold on here...
-
@lduboeuf Ok. My apologies, I was somehow working with main again. Not sure why I kept that.
Ok so I made sure to be in the right directory this time(ehem, cough).
I followed the directions you provided in the above post and the package built successfully! Thank you Iduboeuf!
I had to give writing rights to a few files which was pretty straight forward. I also noticed that my syntax was incorrect in my control file as you can see in my above post. I forgot to add a space before the <!nocheck>. It would've failed anyway I imagine.
My brain feels so much better now. I've never been happier to see a tar file! I'll mark this as solved right away.
Thank you very much for helping me with this. Considering the edits needed in the control file I think it would've taken me a lot longer to solve this on my own. I can say that I've learned a lot along way. Gitlab is new to me and there is much to learn.
-
T Timespansoul has marked this topic as solved on
-
@Timespansoul
Glad it worked.If you run
crossbuilder....without thebuildit will auto deploy to the device ( but sometimes it fails so you have to install it manually ....) -
I have no idea about this program or could help here. But I was seeing that there was a discussion about how to build it for multiple days.
If it is not obvious how to build it, it should maybe be mentioned in the README. Just as a suggestion... -
@johndoe said in Issues building lomiri-telephony-service:
I have no idea about this program or could help here. But I was seeing that there was a discussion about how to build it for multiple days.
If it is not obvious how to build it, it should maybe be mentioned in the README. Just as a suggestion...True, but this is the same for all core projects, Some of them can be built in one shot, others need adjustments and be modified ( the case for that one ). Not easy indeed
-
@lduboeuf Will the merge request lead to an updated control file?
-
@Timespansoul said in Issues building lomiri-telephony-service:
@lduboeuf Will the merge request lead to an updated control file?
It has been merged to ubports/focal, so yes.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login