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

error while installing lomiri-systems-settings

Scheduled Pinned Locked Moved Support
23 Posts 4 Posters 2.9k Views 2 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 @danfro
      last edited by 18 Nov 2024, 20:37

      @danfro said in error while installing lomiri-systems-settings:

      @uxes said in error while installing lomiri-systems-settings:

      crossbuilder --lxd-image=ubuntu:20.04 --architecture=arm64 build

      Sadly this did not fix my issues. I run into the same error message.

      Humm, and you are sure no old files are here ( like previous build for 20.04 ) ?

      D 1 Reply Last reply 18 Nov 2024, 20:56 Reply Quote 0
      • L Offline
        lduboeuf @danfro
        last edited by 18 Nov 2024, 20:38

        @danfro said in error while installing lomiri-systems-settings:

        Hmm. I found this (kind of full error message):

        # Debian defines CMAKE_INSTALL_LOCALSTATEDIR as /usr/var, which is wrong.
        # So until Debian bug 719148 is fixed, do it ourselves.
        dh_auto_configure -- -DCMAKE_INSTALL_LOCALSTATEDIR="/var" -DENABLE_LIBDEVICEINFO=ON -DENABLE_UBUNTU_ACCOUNTSSERVICE=ON -DENABLE_TESTS=OFF
        	cd obj-aarch64-linux-gnu && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_AUTOGEN_VERBOSE=ON -DCMAKE_C_COMPILER=aarch64-linux-gnu-gcc -DCMAKE_CXX_COMPILER=aarch64-linux-gnu-g\+\+ -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_PROCESSOR=aarch64 -DPKG_CONFIG_EXECUTABLE=/usr/bin/aarch64-linux-gnu-pkg-config -DPKGCONFIG_EXECUTABLE=/usr/bin/aarch64-linux-gnu-pkg-config -DQMAKE_EXECUTABLE=/usr/bin/aarch64-linux-gnu-qmake -DCMAKE_INSTALL_LIBDIR=lib/aarch64-linux-gnu -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DENABLE_LIBDEVICEINFO=ON -DENABLE_UBUNTU_ACCOUNTSSERVICE=ON -DENABLE_TESTS=OFF ..
        -- Could NOT find Lcov (missing: LCOV_EXECUTABLE GENHTML_EXECUTABLE) 
        -- Could NOT find gcovr (missing: GCOVR_EXECUTABLE) 
        -- Checking for module 'polkit-agent-1'
        --   No package 'polkit-agent-1' found
        CMake Error at /usr/share/cmake-3.16/Modules/FindPkgConfig.cmake:463 (message):
          A required package was not found
        

        But I guess those are not missing on my system, but in lxd image, right?

        Yes maybe they need to be installed within the lxd container. Or something wrong with control dependency declaration

        D 1 Reply Last reply 18 Nov 2024, 20:57 Reply Quote 0
        • D Offline
          danfro @lduboeuf
          last edited by 18 Nov 2024, 20:56

          @lduboeuf I even grabbed a brand new clone of lomiri-system-settings and tried with that to make sure there is no bug in my local copy.

          1 Reply Last reply Reply Quote 0
          • D Offline
            danfro @lduboeuf
            last edited by 18 Nov 2024, 20:57

            @lduboeuf Can I do that via shell and then exit shell and run crossbuilder again?

            L 1 Reply Last reply 18 Nov 2024, 21:08 Reply Quote 0
            • L Offline
              lduboeuf @danfro
              last edited by lduboeuf 18 Nov 2024, 21:08

              @danfro said in error while installing lomiri-systems-settings:

              @lduboeuf Can I do that via shell and then exit shell and run crossbuilder again?

              yes, it will persist, so sudo apt install libpolkit-agent-1-devshould do it. But if you build for arm64, iirc you have to append the arch, e.g `sudo apt install libpolkit-agent-1-dev:arm64

              D 1 Reply Last reply 18 Nov 2024, 21:15 Reply Quote 0
              • D Offline
                danfro @lduboeuf
                last edited by 18 Nov 2024, 21:15

                @lduboeuf said in error while installing lomiri-systems-settings:

                sudo apt install libpolkit-agent-1-dev

                Hmm. That might be the problem:

                Err:16 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libglib2.0-dev amd64 2.64.6-1~ubuntu20.04.4
                  404  Not Found [IP: 2620:2d:4000:1::102 80]
                Get:17 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libpolkit-gobject-1-dev amd64 0.105-26ubuntu1.3 [59.9 kB]
                Get:18 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libpolkit-agent-1-dev amd64 0.105-26ubuntu1.3 [22.2 kB]
                Err:3 http://security.ubuntu.com/ubuntu focal-updates/main amd64 uuid-dev amd64 2.34-0.1ubuntu9.3
                  404  Not Found [IP: 2620:2d:4000:1::102 80]
                Err:4 http://security.ubuntu.com/ubuntu focal-updates/main amd64 libblkid-dev amd64 2.34-0.1ubuntu9.3
                  404  Not Found [IP: 2620:2d:4000:1::102 80]
                Err:5 http://security.ubuntu.com/ubuntu focal-updates/main amd64 libmount-dev amd64 2.34-0.1ubuntu9.3
                  404  Not Found [IP: 2620:2d:4000:1::102 80]
                
                
                D 1 Reply Last reply 18 Nov 2024, 21:17 Reply Quote 0
                • D Offline
                  danfro @danfro
                  last edited by 18 Nov 2024, 21:17

                  @danfro Ah, forgot the arch. 😉

                  D 1 Reply Last reply 18 Nov 2024, 22:14 Reply Quote 0
                  • D Offline
                    danfro @danfro
                    last edited by 18 Nov 2024, 22:14

                    @danfro Ok, so far I had to manually install those packages:

                    libpolkit-agent-1-dev:arm64
                    gcovr (including lcov)
                    libtrust-store-dev:arm64
                    libdeviceinfo-dev:arm64
                    

                    Although the last one I haven't got installed yet, apt in the shell seems stuck when "setting up snapd". I guess that isn't really needed? can we drop all snaps stuff?

                    L 1 Reply Last reply 18 Nov 2024, 22:31 Reply Quote 0
                    • L Offline
                      lduboeuf @danfro
                      last edited by 18 Nov 2024, 22:31

                      @danfro said in error while installing lomiri-systems-settings:

                      @danfro Ok, so far I had to manually install those packages:

                      libpolkit-agent-1-dev:arm64
                      gcovr (including lcov)
                      libtrust-store-dev:arm64
                      libdeviceinfo-dev:arm64
                      

                      Although the last one I haven't got installed yet, apt in the shell seems stuck when "setting up snapd". I guess that isn't really needed? can we drop all snaps stuff?

                      ouch sounds weird, wonder what for all that is needed. But if it fails to build easily, maybe the debian control file is not correctly setup.
                      i guess yes no need for snap dependencies.

                      D 1 Reply Last reply 19 Nov 2024, 08:25 Reply Quote 0
                      • D Offline
                        danfro @lduboeuf
                        last edited by 19 Nov 2024, 08:25

                        @lduboeuf Not sure if I may need to "reset" my lxd images. There might be something wrong there? The debian control is pulled from the repo, right?

                        1 Reply Last reply Reply Quote 0
                        23 out of 23
                        • First post
                          23/23
                          Last post