| Summary: | syncthing-gtk we have no longer, and WORKAROUND= use Appimage not working on mga7... | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Morgan Leijström <fri> |
| Component: | RPM Packages | Assignee: | Rémi Verschelde <rverschelde> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | minor | ||
| Priority: | Normal | CC: | marja11 |
| Version: | 7 | Keywords: | UPSTREAM |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | https://github.com/syncthing/syncthing-gtk/issues/531#issuecomment-546030173 | ||
| Whiteboard: | |||
| Source RPM: | syncthing-gtk-0.9.2.4-1.mga7, syncthing-gtk-0.9.2.4-1.mga6 | CVE: | |
| Status comment: | |||
|
Description
Morgan Leijström
2018-03-21 10:54:13 CET
Assigning to the registered maintainer. CC:
(none) =>
marja11 Info:
Problems with Syncthing-gtk Appimage on Mageia 7:
Version SyncthingGTK-0.9.4.3-x86_64.AppImage works on mga6, but on mga 7 it fails when downloading syncthing binary:
I Wizard ... /usr/lib64/qt4/bin/syncthing.x64
E StDownloader g-io-error-quark: Åtgärden stöds inte (15)
Traceback (most recent call last):
File "/tmp/.mount_SyncthbDClEL/usr/lib/python2.7/site-packages/syncthing_gtk/stdownloader.py", line 135, in _cb_read_compatibility
success, data, etag = f.load_contents_finish(result)
Error: g-io-error-quark: Åtgärden stöds inte (15)
Traceback (most recent call last):
File "/tmp/.mount_SyncthbDClEL/usr/lib/python2.7/site-packages/syncthing_gtk/wizard.py", line 476, in on_download_error
message if not message is None else ""
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 18: ordinal not in range(128)
And current version, SyncthingGTK-0.9.4.4-x86_64.AppImage seem to need lib64icu64 while we have lib64icu63 (Bug 25479)
$ SyncthingGTK-0.9.4.4-x86_64.AppImage &
[1] 21669
[morgan@svarten ~]$
** (process:21677): WARNING **: 23:50:28.302: Failed to load shared library 'libgdk-3.so.0' referenced by the typelib: libicuuc.so.64: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/.mount_SyncthFyBWOe/usr/lib/python2.7/site-packages/gi/importer.py", line 145, in load_module
importlib.import_module('gi.repository.' + dep.split("-")[0])
File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/tmp/.mount_SyncthFyBWOe/usr/lib/python2.7/site-packages/gi/importer.py", line 146, in load_module
dynamic_module = load_overrides(introspection_module)
File "/tmp/.mount_SyncthFyBWOe/usr/lib/python2.7/site-packages/gi/overrides/__init__.py", line 118, in load_overrides
override_mod = importlib.import_module(override_package_name)
File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/tmp/.mount_SyncthFyBWOe/usr/lib/python2.7/site-packages/gi/overrides/Gdk.py", line 83, in <module>
Color = override(Color)
File "/tmp/.mount_SyncthFyBWOe/usr/lib/python2.7/site-packages/gi/overrides/__init__.py", line 195, in override
assert g_type != TYPE_NONE
AssertionError
Syncthing-GTK requires GTK and gobject-introspection packages.\n Please, install GTK3 and gobject-introspection packages using your package manager
/usr/bin/zenity: error while loading shared libraries: libicuuc.so.64: cannot open shared object file: No such file or directory
Morgan Leijström
2019-09-28 00:31:13 CEST
Version:
Cauldron =>
7 syncthing and syncthing-gtk were dropped from Mageia 7, so we can't really provide any fixes for them anymore. We have no control over upstream AppImages, but if they don't work on Mageia, they should be told about it and see if they can provide a fix. I looked into whether syncthing-gtk could be packaged again (not sure why it was dropped from Mageia 7, but I guess it didn't build anymore?), but it's a Python 2 only app and we won't ship that in Mageia 8 (it can't build in Cauldron anymore). Upstream doesn't seem to care about Python 3, so this app will likely be removed from most distros: https://github.com/syncthing/syncthing-gtk/issues/487 Status:
NEW =>
RESOLVED Thank you Rémi, i see you commented there yourself and we promptly got an answer there pointing to https://github.com/syncthing/syncthing-gtk/pull/524 - so is some effort going on. So we may retry building once they have Python3 support :) IIRC syncthing-gtk was dropped because it required syncthing. syncthing itself was badly packaged, a mess of nodejs stuff, unmaintained, and probably not maintainable, but you probably already knew that. If syncthing-gtk doesn't really require syncthing (or at least an RPM-packaged one), I suppose it could be packaged, but if it's also provided as an appimage, I don't really see the point. The appimage of syncthing requires a later lib64icu than the one we have in mga7, see comment 2. Current workaround is to use upstream syncthing, and web ui in browser. Then the appimage of it is broken; it should include the libicu that it needs. Please report this to whoever builds that appimage. Same (and more) problems with the syncthing-gtk appimage on Linux mint so i added to that report now: https://github.com/syncthing/syncthing-gtk/issues/531#issuecomment-546030173 Keywords:
(none) =>
UPSTREAM
Morgan Leijström
2019-10-24 19:55:56 CEST
URL:
https://github.com/syncthing/syncthing-gtk/releases =>
https://github.com/syncthing/syncthing-gtk/issues/531#issuecomment-546030173 In case anyone finds this bug and is interested, There is/was three python 3 fork attempts https://github.com/kozec/syncthing-gtk/issues/487#issuecomment-660922451 Maybe OK https://salsa.debian.org/debian/syncthing-gtk/-/tree/python3-port although non very active... Referenced in comments at https://github.com/kozec/syncthing-gtk/issues/487 Status update: § No response still on the issue i linked in comment 8, nor activity on the links in comment 9. Maybe appimage syncthing works on mga8, have not tried, but do not feel reliable if it is still depending on Mageia to provide specific version of some part. I have been using syncthing-linux-amd64-v1.3.2.tar.gz installed as file, not sure what version I am runnign currently, but it works... § There is also flatpak Syncthing-gtk i tried successfully. § Kristoffer posted a spec for syncthing in Bug 28957 |