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

    Errors: lint:control_architecture_valid_contents when doing clickable

    Scheduled Pinned Locked Moved App Development
    3 Posts 2 Posters 13 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.
      • RapidRotatorR Offline
        RapidRotator
        last edited by

        I'm new at clickable as well as CMakeList.txt, so if this is documented, please point me there, but my build fails after:

        Errors
        ------
         - lint:control_architecture_valid_contents
        	found binaries for architecture 'all': src/Providers/charset_normalizer/md.cpython-38-x86_64-linux-gnu.so, src/Providers/charset_normalizer/md__mypyc.cpython-38-x86_64-linux-gnu.so
        /home/diederick/projecten/Code/clickable-projects/potkast/build/all/app/potkast.thefoggiest.dev_1.0.0_all.click: FAIL
        

        even after if succesfully build the package. This doesn't happen when I do clickable dekstop

        In my CMakeList.txt I have (if this is related):

        add_custom_target(install_deps ALL
            COMMENT "Installing feedparser and requests dependencies"
            COMMAND pip3 install -U --target install/src/Providers/ feedparser requests
        )
        

        I got this example from an existing project, Afvaller, but that one builds without problem.

        Any help greatly appreciated!

        G 1 Reply Last reply Reply Quote 0
        • G Offline
          gpatel-fr @RapidRotator
          last edited by

          @RapidRotator said in Errors: lint:control_architecture_valid_contents when doing clickable:

          as a wild guess, maybe it's because your added packages are not pure python, that is, they need binary libraries, while you are specifying ALL for architecture. So the fix could be to target arm64 instead.

          RapidRotatorR 1 Reply Last reply Reply Quote 0
          • RapidRotatorR Offline
            RapidRotator @gpatel-fr
            last edited by

            @gpatel-fr Right, thanks!

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