flathub / com.amazon.Workspaces

https://flathub.org/apps/details/com.amazon.Workspaces
4 stars 7 forks source link

Bump runtime to 43 #27

Closed bbhtt closed 1 year ago

bbhtt commented 2 years ago

GNOME 43 runtime removed webkit2gtk-4 linked against libsoup2 and only has webkit2gtk linked against libsoup3

This depends on libsoup2 and webkit2gtk4:

Package: workspacesclient
Version: 4.3.0.1766
Section: misc
Priority: optional
Architecture: amd64
Depends: libgtk-3-0, libwebkit2gtk-4.0-37, libsoup2.4-1, libgraphicsmagick++-q16-12, libhiredis0.13, libva2 
Maintainer: Amazon WorkSpaces
Description: Amazon WorkSpaces Client for Ubuntu 18.04

Hence the draft status.

flathubbot commented 2 years ago

Started test build 113894

flathubbot commented 2 years ago

Build 113894 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/111505/com.amazon.Workspaces.flatpakref
bbhtt commented 2 years ago

Build 113894 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/111505/com.amazon.Workspaces.flatpakref
Process terminated. Couldn't find a valid ICU package installed on the system. Set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support.
   at System.Environment.FailFast(System.String)
   at System.Globalization.GlobalizationMode.GetGlobalizationInvariantMode()
   at System.Globalization.GlobalizationMode..cctor()
   at System.TimeZoneInfo.GetDisplayName(TimeZoneDisplayNameType, System.String ByRef)
   at System.TimeZoneInfo..ctor(Byte[], System.String, Boolean)
   at System.TimeZoneInfo.GetTimeZoneFromTzData(Byte[], System.String)
   at System.TimeZoneInfo.GetLocalTimeZoneFromTzFile()
   at System.TimeZoneInfo+CachedData.CreateLocal()
   at System.CurrentSystemTimeZone..ctor()
   at System.TimeZone.get_CurrentTimeZone()
   at GLib.Marshaller..cctor()
   at GLib.Marshaller.StringToPtrGStrdup(System.String)
   at GLib.Global.set_ProgramName(System.String)
   at Gtk.Application.SetPrgname()
   at Gtk.Application.Init()
   at WorkSpacesClient.Gtk.Program.Initialize()
   at WorkSpacesClient.Gtk.Program.Main(System.String[])

Either I can add icu as a dep or add --env=DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1 but then

No usable version of libssl was found I guess it depends on libssl.so/libssl.so.1.1

mberlinger3 commented 2 years ago

Build 113894 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/111505/com.amazon.Workspaces.flatpakref

Forbidden 403 Error

bbhtt commented 2 years ago

Forbidden 403 Error

Seems to be working now. Note that this build won't work. I need to bundle openssl-1 still.

flathubbot commented 2 years ago

Started test build 114741

flathubbot commented 2 years ago

Build 114741 failed

flathubbot commented 2 years ago

Started test build 114787

flathubbot commented 2 years ago

Build 114787 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/112394/com.amazon.Workspaces.flatpakref
flathubbot commented 2 years ago

Started test build 110

flathubbot commented 2 years ago

Build 110 failed

flathubbot commented 2 years ago

Started test build 1508

flathubbot commented 2 years ago

Build 1508 failed

flathubbot commented 2 years ago

Started test build 1514

flathubbot commented 2 years ago

Build 1514 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/113963/com.amazon.Workspaces.flatpakref
flathubbot commented 1 year ago

Started test build 30053

flathubbot commented 1 year ago

Build 30053 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/12719/com.amazon.Workspaces.flatpakref
GoodMirek commented 1 year ago

I tried this build:

flatpak install --user https://dl.flathub.org/build-repo/12719/com.amazon.Workspaces.flatpakref

It gets stuck in the screen "Preparing login page". I tried three times.

The stable version works fine for me, so I guess it is not a problem with my environment.

bbhtt commented 1 year ago

I tried this build:

flatpak install --user https://dl.flathub.org/build-repo/12719/com.amazon.Workspaces.flatpakref

It gets stuck in the screen "Preparing login page". I tried three times.

The stable version works fine for me, so I guess it is not a problem with my environment.

Thanks. Anything reported in the terminal?

compuguy commented 1 year ago

Any updates on this @GoodMirek @bbhtt? That test version mentioned back on March 22nd is no longer accessible.

bbhtt commented 1 year ago

Any updates on this @GoodMirek @bbhtt? That test version mentioned back on March 22nd is no longer accessible.

If you can test it and let me know if everything works. I'll merge it. I don't have an amazon account to test

flathubbot commented 1 year ago

Started test build 53115

flathubbot commented 1 year ago

Build 53115 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/35750/com.amazon.Workspaces.flatpakref
bbhtt commented 1 year ago

My initial point still stands, in the control file I can see it depends on webkit2gtk-4.0 and libsoup2. So I'm not sure how safe it will be or if it will work since runtime 43 doesn't have either of those:

Package: workspacesclient
Version: 4.5.0.4198
Section: misc
Priority: optional
Architecture: amd64
Depends: libgtk-3-0, libwebkit2gtk-4.0-37, libsoup2.4-1, libgraphicsmagick++-q16-12, libhiredis0.13, libva2 
Maintainer: Amazon WorkSpaces
Description: Amazon WorkSpaces Client for Ubuntu 18.04
compuguy commented 1 year ago

I understand @bbhtt . Just pulled down the test build and it looks like I'm getting the same issue that @GoodMirek had previously. Only thing I see in console/stdout is this:

Gtk-Message: 12:30:12.832: Failed to load module "pk-gtk-module"
Gtk-Message: 12:30:12.832: Failed to load module "canberra-gtk-module"
Gtk-Message: 12:30:12.833: Failed to load module "pk-gtk-module"
Gtk-Message: 12:30:12.833: Failed to load module "canberra-gtk-module"

Screenshot from 2023-07-14 12-31-52

bbhtt commented 1 year ago

Yea that looks like network isn't working. It will have to stay on runtime 42 until amazon decides to update it (if ever). Sorry!

If you open the log file in ~/.var/app/com.amazon.Workspaces/data/Amazon Web Services/Amazon WorkSpaces/logs it should say something about it or something in terminal.

compuguy commented 1 year ago

Just did that @bbhtt. Maybe this will help diagnose the issue. Other than redacting the org name, and registration key, its the full log: WorkSpacesClient_2023_07_14_16_49_39.log

bbhtt commented 1 year ago

Just did that @bbhtt. Maybe this will help diagnose the issue. Other than redacting the org name, and registration key, its the full log: WorkSpacesClient_2023_07_14_16_49_39.log

Yep that is the issue. You can see this in the log:

/app/extra/bin/libwebkit2gtk-4.0.so.37.so: cannot open shared object file: No such file or directory
/app/extra/bin/liblibwebkit2gtk-4.0.so.37.so: cannot open shared object file: No such file or directory
/app/extra/bin/libwebkit2gtk-4.0.so.37: cannot open shared object file: No such file or directory
/app/extra/bin/liblibwebkit2gtk-4.0.so.37: cannot open shared object file: No such file or directory

which indicates missing webkit2gtk-4.0. We unfortunately can't bundle it here.

compuguy commented 1 year ago

I understand @bbhtt. I guess its stuck on runtime 42 until Amazon updates the WorkSpaces Client dependencies. Glad I was able to at least close the loop on this.