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

    Issues with clickable gdb / gdbserver

    Scheduled Pinned Locked Moved App Development
    32 Posts 2 Posters 5.1k 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.
      • joniusJ Offline
        jonius @Talkless
        last edited by

        @talkless looks like it is correct. How does tree build/aarch64-linux-gnu/picotts/install look like?

        T 1 Reply Last reply Reply Quote 0
        • T Offline
          Talkless @jonius
          last edited by

          @jonius It's empty:

          $ tree build/aarch64-linux-gnu/picotts/install
          build/aarch64-linux-gnu/picotts/install
          
          0 directories, 0 files
          

          Other sibling directories (like mimic) are NOT empty.

          Permissions of picotts are right.

          picotts directory of x86_64-linux-gnu and arm-linux-gnueabihf are NOT empty too.

          Volla Phone X

          joniusJ 1 Reply Last reply Reply Quote 0
          • joniusJ Offline
            jonius @Talkless
            last edited by

            @talkless Can you try building it again with verbose output (clickable build --libs picotts --arch arm64 --verbose)?

            T 1 Reply Last reply Reply Quote 0
            • T Offline
              Talkless @jonius
              last edited by

              @jonius said in Issues with clickable gdb / gdbserver:

              @talkless Can you try building it again with verbose output (clickable build --libs picotts --arch arm64 --verbose)?

              Here's verbose build output:

              https://paste.debian.net/1267273/

              Volla Phone X

              joniusJ 1 Reply Last reply Reply Quote 0
              • joniusJ Offline
                jonius @Talkless
                last edited by

                The problem is make: 'install' is up to date. when this isn't true. You can avoid it by always building picotts clean. Or by touching the binary as in https://github.com/rinigus/pure-maps/pull/646. Just be aware that the master branch of Pure Maps is already configured to build for UT 20.04.

                T 1 Reply Last reply Reply Quote 0
                • T Offline
                  Talkless @jonius
                  last edited by Talkless

                  @jonius I'm now trying to build latest 3.2.1, but it stops due to.. lack of Clang 12 in clickable image?

                  Digest: sha256:6c2c0d80d9b3a3dff72e647c3c4c8a9a6798da277b38239418f49739d4d5866c                                                                                                                            
                  Status: Downloaded newer image for clickable/amd64-20.04-arm64:latest                                                                                                                                      
                  CMake Error at CMakeLists.txt:16 (project):                                                                                                                                                                
                    The CMAKE_CXX_COMPILER:                                                                                                                                                                                  
                                                                                                                                                                                                                             
                      /usr/bin/clang++-12                                                                                                                                                                                    
                                                                                                                                                                                                                             
                    is not a full path to an existing compiler tool. 
                  
                    Tell CMake where to find the compiler by setting either the environment
                    variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
                    to the compiler, or to the compiler name if it is in the PATH.
                  
                  
                  CMake Error at CMakeLists.txt:16 (project):
                    The CMAKE_C_COMPILER:
                  
                      /usr/bin/clang-12
                  
                    is not a full path to an existing compiler tool. 
                  
                    Tell CMake where to find the compiler by setting either the environment
                    variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
                    the compiler, or to the compiler name if it is in the PATH.
                  
                  
                  -- Configuring incomplete, errors occurred!
                  See also "/home/vincas/code/puremaps/pure-maps.git/build/aarch64-linux-gnu/maplibre-gl-native/CMakeFiles/CMakeOutput.log".
                  Command exited with non-zero exit status 1, see above for details. This is most likely not a problem with Clickable.
                  

                  I've updated clickable, and it's images.

                  Volla Phone X

                  joniusJ 1 Reply Last reply Reply Quote 0
                  • joniusJ Offline
                    jonius @Talkless
                    last edited by

                    @talkless you might need to build clean once, looks like an outdated build cache.

                    T 1 Reply Last reply Reply Quote 0
                    • T Offline
                      Talkless @jonius
                      last edited by

                      @jonius Uhg, right... Thanks!

                      And this probably means that latest clickable expects 20.04?

                      Launching app.
                      Pseudo-terminal will not be allocated because stdin is not a terminal.
                      -bash: line 1: lomiri-app-launch: command not found
                      Command exited with non-zero exit status 127, see above for details. This is most likely not a problem with Clickable.
                      
                      vincas@ubuntu-ubports:~/code/puremaps/pure-maps.git$ clickable --version
                      clickable 7.11.0
                      You are running the latest version of clickable!
                      

                      Intalling also fails:

                      pure-maps.jonnius_3.2.0_arm64.click                                                                                                                                      100%  101MB 189.5KB/s   09:07    
                      Pseudo-terminal will not be allocated because stdin is not a terminal.
                      Trying to uninstall the app first.
                      Pseudo-terminal will not be allocated because stdin is not a terminal.
                      Klaida: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name com.lomiri.click was not provided by any .service files
                      Command exited with non-zero exit status 1, see above for details. This is most likely not a problem with Clickable.
                      

                      ...

                      Volla Phone X

                      joniusJ 1 Reply Last reply Reply Quote 0
                      • joniusJ Offline
                        jonius @Talkless
                        last edited by

                        @talkless the latest version of Pure Maps is UT 20.04 only. If you run 16.04, you can go back to Pure Maps 3.1.1 which is still made for 16.04.

                        T 1 Reply Last reply Reply Quote 0
                        • T Offline
                          Talkless @jonius
                          last edited by

                          @jonius said in Issues with clickable gdb / gdbserver:

                          @talkless the latest version of Pure Maps is UT 20.04 only. If you run 16.04, you can go back to Pure Maps 3.1.1 which is still made for 16.04.

                          I see.

                          But now I can't even build 3.1.1 or 3.1.0:

                          Cloning into '/home/vincas/code/puremaps/pure-maps.git/libs/picotts'...
                          remote: Enumerating objects: 93, done.
                          remote: Counting objects: 100% (93/93), done.
                          remote: Compressing objects: 100% (80/80), done.
                          remote: Total 93 (delta 9), reused 91 (delta 9), pack-reused 0
                          Receiving objects: 100% (93/93), 5.15 MiB | 9.25 MiB/s, done.
                          Resolving deltas: 100% (9/9), done.
                          error: patch failed: platform/qt/qt.cmake:226
                          error: platform/qt/qt.cmake: patch does not apply
                          Command exited with non-zero exit status 1, see above for details. This is most likely not a problem with Clickable.
                          

                          Clickable images updated.

                          Volla Phone X

                          joniusJ 1 Reply Last reply Reply Quote 0
                          • joniusJ Offline
                            jonius @Talkless
                            last edited by

                            @talkless please clean the build dir when switching between versions.

                            T 1 Reply Last reply Reply Quote 0
                            • T Offline
                              Talkless @jonius
                              last edited by

                              @jonius said in Issues with clickable gdb / gdbserver:

                              @talkless please clean the build dir when switching between versions.

                              I do clean. What am I missing?

                              clickable clean --arch arm64
                              clickable clean --arch arm64 --libs
                              clickable script prepare-deps --arch arm64 && clickable build --libs --arch arm64 && clickable build --arch arm64 --skip-review --release
                              

                              Volla Phone X

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