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

Issues building lomiri-telephony-service

Scheduled Pinned Locked Moved Solved Support
29 Posts 3 Posters 3.4k 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.
    • L Offline
      lduboeuf @Timespansoul
      last edited by 19 Aug 2024, 14:19

      @Timespansoul said in Issues building lomiri-telephony-service:

      @lduboeuf I'll be the first to admit that I have no idea what I'm doing lol. Should I delete the yml file? This gitlab stuff is a bit convoluted. Much of this is new to me.

      yes you can remove it

      1 Reply Last reply Reply Quote 0
      • T Offline
        Timespansoul @lduboeuf
        last edited by Timespansoul 19 Aug 2024, 19:52

        @lduboeuf Here are my results.

        I deleted image with:

        crossbuilder --lxd-image="ubuntu:20.04" --architecture=arm64 delete
        
        

        I 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 build
        
        

        I 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 packages
        
        

        I then attempted to install dh-translations:

         crossbuilder --lxd-image="ubuntu:20.04" --architecture=arm64 inst-foreign dh-translations
        
        

        get 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/DEBIAN
        

        and 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 packages
        
        

        EDIT: 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
        Done
        
        

        and 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 packages
        
        

        This whole process was tried with "dh-translations:all," in the control file with the same result.

        L 1 Reply Last reply 19 Aug 2024, 20:58 Reply Quote 0
        • T Offline
          Timespansoul
          last edited by 19 Aug 2024, 19:54

          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.

          1 Reply Last reply Reply Quote 0
          • L Offline
            lduboeuf @Timespansoul
            last edited by 19 Aug 2024, 20:58

            @Timespansoul it seems you are on main branch, please double check.

            There should be dh-translations:all in control file

            T 1 Reply Last reply 19 Aug 2024, 23:52 Reply Quote 0
            • T Offline
              Timespansoul @lduboeuf
              last edited by Timespansoul 19 Aug 2024, 23:52

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • T Offline
                Timespansoul
                last edited by 20 Aug 2024, 00:03

                Hold on here...

                1 Reply Last reply Reply Quote 0
                • T Offline
                  Timespansoul @lduboeuf
                  last edited by Timespansoul 20 Aug 2024, 03:08

                  @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.

                  L 1 Reply Last reply 20 Aug 2024, 06:17 Reply Quote 1
                  • T Timespansoul has marked this topic as solved on 20 Aug 2024, 03:09
                  • L Offline
                    lduboeuf @Timespansoul
                    last edited by 20 Aug 2024, 06:17

                    @Timespansoul
                    Glad it worked.

                    If you run crossbuilder.... without the build it will auto deploy to the device ( but sometimes it fails so you have to install it manually ....)

                    1 Reply Last reply Reply Quote 1
                    • J Offline
                      johndoe
                      last edited by 21 Aug 2024, 23:03

                      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...

                      L 1 Reply Last reply 22 Aug 2024, 08:23 Reply Quote 0
                      • L Offline
                        lduboeuf @johndoe
                        last edited by 22 Aug 2024, 08:23

                        @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

                        T 1 Reply Last reply 22 Aug 2024, 14:26 Reply Quote 1
                        • T Offline
                          Timespansoul @lduboeuf
                          last edited by Timespansoul 22 Aug 2024, 14:26

                          @lduboeuf Will the merge request lead to an updated control file?

                          L 1 Reply Last reply 22 Aug 2024, 19:17 Reply Quote 0
                          • L Offline
                            lduboeuf @Timespansoul
                            last edited by 22 Aug 2024, 19:17

                            @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.

                            1 Reply Last reply Reply Quote 1
                            27 out of 29
                            • First post
                              27/29
                              Last post