GithubHelp home page GithubHelp logo

Comments (6)

Erick555 avatar Erick555 commented on September 3, 2024 1

This part of kdevelop manifest is suspicious to me. Please try removing it and test app again.

llvm12 is runtime extension but above line may trick flatpak it's app extension therefore bwrap try to mount it under /app.

from org.freedesktop.sdk.extension.llvm12.

Erick555 avatar Erick555 commented on September 3, 2024 1

I confirmed this fixes it locally:

  1. If extension is in manifest and is installed then running kdevlop fails
  2. If extension is in manifest and isn't installed then running kdevlop succeeds
  3. If extension is not in manifest and is installed then running kdevlop succeeds and extension is still mounted under /usr/lib/sdk/llvm12

So considering above the problem was hidden until you install extension and try running kdevelop. Removing mentioned part of manifest should fix the problem and all functionality will still be there.

from org.freedesktop.sdk.extension.llvm12.

Erick555 avatar Erick555 commented on September 3, 2024 1

BTW: if the goal is to autodownload llvm12 extension during app install in order to ensure users will have it installed you may change above manifest part like this instead of removing it:

    "add-extensions": {
        "org.freedesktop.Sdk.Extension.llvm12": {
            "no-autodownload": "false",
            "version": "21.08"
        }
    },

Users would still need an extra step to activate it though unless you set --env=PATH=/app/bin:/usr/bin:/usr/lib/sdk/llvm12/bin permission in manifest.

from org.freedesktop.sdk.extension.llvm12.

travier avatar travier commented on September 3, 2024

Thanks, I'll give it a try.

from org.freedesktop.sdk.extension.llvm12.

travier avatar travier commented on September 3, 2024

Great! Thanks a lot for the help!

from org.freedesktop.sdk.extension.llvm12.

travier avatar travier commented on September 3, 2024

Closing this one as I'll track progress on this in the KDevelop tracker. Thanks!

from org.freedesktop.sdk.extension.llvm12.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.