Discussion:
[X2Go-Dev] Bug#1338: openSUSE Tumbleweed RPM builds against obsolete (and nowadays missing) libssh
Tristan Miller
2018-10-28 20:15:15 UTC
Permalink
Package: x2goclient
Version: 4.1.2.2
Tag: patch

The openSUSE Tumbleweed RPM for x2goclient at
<https://wiki.x2go.org/doku.php/wiki:repositories:suse> cannot be built
or installed on recent versions of Tumbleweed because it depends on an
obsolete version of libssh that is no longer distributed with
Tumbleweed.

However, updating the dependency to a modern libssh requires changing
not only the RPM spec file but also the x2goclient source code. This is
because recent versions of libssh install both the standard and
threaded libraries in the same library, whereas the existing source
code attempts to link them as two unique libraries.

Attached is a patch to the spec file that fixes the libssh dependency
for Tumbleweed, and applies a patch (also attached) to the x2goclient
source code that stops it from trying to link to the nowadays missing
ssh_threads library. (Maybe the latter patch should be merged into the
official x2goclient source, though of course this depends on what
version(s) of libssh the x2goclient developers intend to support.)

Attachment: x2goclient.spec.patch
Attachment: x2goclient-libssh.patch

Loading...