Bug 22811 - syncthing-gtk we have no longer, and WORKAROUND= use Appimage not working on mga7...
Summary: syncthing-gtk we have no longer, and WORKAROUND= use Appimage not working on ...
Status: RESOLVED WONTFIX
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal minor
Target Milestone: ---
Assignee: Rémi Verschelde
QA Contact:
URL: https://github.com/syncthing/syncthin...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2018-03-21 10:54 CET by Morgan Leijström
Modified: 2021-05-22 09:46 CEST (History)
1 user (show)

See Also:
Source RPM: syncthing-gtk-0.9.2.4-1.mga7, syncthing-gtk-0.9.2.4-1.mga6
CVE:
Status comment:


Attachments

Description Morgan Leijström 2018-03-21 10:54:13 CET
Description of problem: resolve some bugs...
https://github.com/syncthing/syncthing-gtk/releases


WORKAROUND: Syncthing-gtk is now released as Appimage

I simply uninstalled the Mageia packaged syncthing-gtk 0.9.24, and also syncthing 0.14.30 which have security issue and other bugs; Bug 22405, Bug 22133 - knowing that syncthing-gtk will download and use the latest stable version.

Then downloaded and run https://github.com/syncthing/syncthing-gtk/releases/download/v0.9.3.1/SyncthingGTK-0.9.3.1-x86_64.AppImage

It said it did not find syncthing, and asked if i wanted to download version v0.14.45, i said yes.

It then started up OK, reusing all configuration from the old version, and continued syncing :)


As the Appimage works nicely, and there is no big problem with what we have -> i set low severity.
Comment 1 Marja Van Waes 2018-03-22 17:42:49 CET
Assigning to the registered maintainer.

CC: (none) => marja11
Assignee: bugsquad => rverschelde
Version: 6 => Cauldron
Source RPM: syncthing-gtk 0.9.24 => syncthing-gtk-0.9.2.4-1.mga7, syncthing-gtk-0.9.2.4-1.mga6
Whiteboard: (none) => MGA6TOO

Comment 2 Morgan Leijström 2019-09-28 00:28:41 CEST
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
Whiteboard: MGA6TOO => (none)
Summary: syncthing-gtk is old (WORKAROUND: use Appimage test OK) => syncthing-gtk we have no longer, and WORKAROUND= use Appimage not working on mga7...

Comment 3 Rémi Verschelde 2019-10-02 10:21:18 CEST
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
Resolution: (none) => WONTFIX

Comment 4 Morgan Leijström 2019-10-02 11:30:23 CEST
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 :)
Comment 5 David Walser 2019-10-21 23:11:50 CEST
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.
Comment 6 Morgan Leijström 2019-10-22 08:05:06 CEST
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.
Comment 7 David Walser 2019-10-23 18:07:08 CEST
Then the appimage of it is broken; it should include the libicu that it needs.  Please report this to whoever builds that appimage.
Comment 8 Morgan Leijström 2019-10-24 19:55:01 CEST
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

Comment 9 Morgan Leijström 2021-02-04 18:21:29 CET
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
Comment 10 Morgan Leijström 2021-05-22 09:46:06 CEST
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

Note You need to log in before you can comment on or make changes to this bug.