eclipse-platform / .github

Common contribution content for eclipse-platform repositories
https://www.eclipse.org/eclipse/
5 stars 10 forks source link

Flatpak version Bug #175

Closed MatheusBrunheroto closed 9 months ago

MatheusBrunheroto commented 9 months ago

Let's make sure issue is not already fixed in latest builds first.

Steps to reproduce

From a fresh installation and clean workspace:

Try to install any extension

I tried

Downloading other Linux, I was doing on Ubuntu and thought it might be a system glitch, so I downloaded Debian and the exact same problem happened. but why did it happen at the first place? I don't know, all of a sudden my IDE stopped working, and then i proceeded to reinstall it, then I couldn't install any extension at all.

I expected: No problems at all, just confirmation of terms and my extension.

But got: Cannot perform operation. Computing alternate solutions, may take a while n/15

Here is some relevant log output

Cannot complete the install because one or more required items could not be found. Software being installed: Planet Themes 0.2.5.202202261537 (io.github.pyvesb.eclipse_planet_themes.feature.group 0.2.5.202202261537) Missing requirement: Planet Themes 0.2.5 (io.github.pyvesb.eclipse_planet_themes 0.2.5) requires 'osgi.bundle; javax.inject 0.0.0' but it could not be found Cannot satisfy dependency: From: Planet Themes 0.2.5.202202261537 (io.github.pyvesb.eclipse_planet_themes.feature.group 0.2.5.202202261537) To: org.eclipse.equinox.p2.iu; io.github.pyvesb.eclipse_planet_themes [0.2.5,0.2.5]

Tested under this environment:

Community

MatheusBrunheroto commented 9 months ago

I outdated it to 4.29, works completely fine, other problem in 4.30 is, can't access browser via Eclipse -> help -> Eclipse user storage -> Open my Account

akurtakov commented 9 months ago

This is actually an issue that has to be fixed in https://github.com/PyvesB/eclipse-planet-themes . The following line (https://github.com/PyvesB/eclipse-planet-themes/blob/bce2b620edca65ef68cd47c3dc81294d0300fc82/planet-themes-plugin/META-INF/MANIFEST.MF#L16) goes against OSGi recomendation to use Package-Import and uses Require-Bundle. This binds to the third-party bundle name needlessly which upstream decided to change (see https://mvnrepository.com/artifact/javax.inject/javax.inject "moved to" box). Report the issue against eclipse-planet-themes to fix it instead as there is no way Eclipse Platform can guarantee BSN stability of third party code used in the project . User storage is also a project that is not maintained as part of Eclipse Platform but it separate project with different set of maintainers - see details at https://projects.eclipse.org/projects/technology.usssdk/developer and report your user storage issue there. I don't understand why you have Flatpak in the name as I haven't read anything flatpak specific in the details. Anyway, all the actions are not actionable by this project thus I'm closing this issue.