UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Semp
    S
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 0

    Semp

    @Semp

    0
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Semp Unfollow Follow

    Latest posts made by Semp

    • Clickable can't install dependencies for native app

      Device: Nexus 5
      Host: Ubuntu 20.04

      I'm currently trying to port an existing C++ application (namingly, SuperTux) to Ubuntu Touch.

      I managed to get clickable to compile on desktop properly; however, when testing on my phone, clickable fails to install the dependencies:

      ...
      (Reading database ... 52898 files and directories currently installed.)
      Removing python-minimal (2.7.12-1~16.04) ...
      Processing triggers for man-db (2.7.5-1) ...
      Selecting previously unselected package python-minimal:armhf.
      (Reading database ... 52872 files and directories currently installed.)
      Preparing to unpack .../python-minimal_2.7.12-1~16.04_armhf.deb ...
      Unpacking python-minimal:armhf (2.7.12-1~16.04) ...
      Processing triggers for man-db (2.7.5-1) ...
      dpkg: python: dependency problems, but removing anyway as you requested:
       libglib2.0-dev:armhf depends on python:any (>= 2.6.6-7~).
       google-mock:armhf depends on python:any.
      
      (Reading database ... 52898 files and directories currently installed.)
      Removing python (2.7.12-1~16.04) ...
      Processing triggers for man-db (2.7.5-1) ...
      Setting up python2.7-minimal:armhf (2.7.12-1ubuntu0~16.04.13) ...
      /usr/bin/python2.7: 1: /usr/bin/python2.7: Syntax error: word unexpected (expecting ")")
      dpkg: error processing package python2.7-minimal:armhf (--configure):
       subprocess installed post-installation script returned error exit status 2
      dpkg: dependency problems prevent configuration of python-minimal:armhf:
       python-minimal:armhf depends on python2.7-minimal (>= 2.7.12-1~); however:
        Package python2.7-minimal:armhf is not configured yet.
      
      dpkg: error processing package python-minimal:armhf (--configure):
       dependency problems - leaving unconfigured
      Errors were encountered while processing:
       python2.7-minimal:armhf
       python-minimal:armhf
      W: --force-yes is deprecated, use one of the options starting with --allow instead.
      E: Sub-process /usr/bin/dpkg returned an error code (1)
      The command '/bin/sh -c apt-get update && apt-get install -y --force-yes --no-install-recommends libogg-dev:armhf libvorbis-dev:armhf libopenal-dev:armhf libboost-all-dev:armhf libsdl2-dev:armhf libsdl2-image-dev:armhf libfreetype6-dev:armhf libcurl4-openssl-dev:armhf libglew-dev:armhf libharfbuzz-dev:armhf libfribidi-dev:armhf && apt-get clean' returned a non-zero code: 100
      Command exited with non-zero exit status 100, see above for details. This is most likely not a problem with Clickable.
      

      My clickable.json file is this:

      {
        "builder": "cmake",
        "dependencies_target": [
          "libogg-dev",
          "libvorbis-dev",
          "libopenal-dev",
          "libboost-all-dev",
          "libsdl2-dev",
          "libsdl2-image-dev",
          "libfreetype6-dev",
          "libcurl4-openssl-dev",
          "libglew-dev",
          "libharfbuzz-dev",
          "libfribidi-dev"
        ]
      }
      

      (If needed, I can provide the exact steps to reproduce my build, including a git patch)

      How should I proceed to fix this problem?

      posted in App Development
      S
      Semp