Discussion:
[X2Go-Dev] Update for libssh-4
xalloc
2018-11-20 09:28:30 UTC
Permalink
Hi, I'm on Debian stretch with libss-4 v.0.8.0 installed from stretch-backports due to Remmina requirements.
Installed x2goclient is v. 4.1.2.1, from you release builds repo.
Now Remmina asks me to update but that would update libssh4 to v.0.8.1 (https://packages.debian.org/stretch-backports/libssh-4) that is unsupported by x2goclient.

Would you consider updating it?
Tristan Miller
2018-11-20 10:03:09 UTC
Permalink
Greetings.

On Tue, 20 Nov 2018 09:28:30 +0000, xalloc
Post by xalloc
Hi, I'm on Debian stretch with libss-4 v.0.8.0 installed from
stretch-backports due to Remmina requirements. Installed x2goclient
is v. 4.1.2.1, from you release builds repo. Now Remmina asks me to
update but that would update libssh4 to v.0.8.1
(https://packages.debian.org/stretch-backports/libssh-4) that is
unsupported by x2goclient.
Would you consider updating it?
There is a similar problem for RPM-based distributions -- see Bug #1338
at <https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1338> for my report
and for my solution. This can probably be adapted to .deb-based
distributions.

Regards,
Tristan
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Tristan Miller
Free Software developer, ferret herder, logologist
https://logological.org/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
xalloc
2018-11-20 14:06:07 UTC
Permalink
Thanks Miller for the answer.

"However, updating the dependency to a modern libssh requires changing
not only the RPM spec file but also the x2goclient source code."
That is something x2go devs will be forced to do sooner or later, if distros don't distribute anymore that libssh version.


‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
Post by Tristan Miller
Greetings.
On Tue, 20 Nov 2018 09:28:30 +0000, xalloc
Post by xalloc
Hi, I'm on Debian stretch with libss-4 v.0.8.0 installed from
stretch-backports due to Remmina requirements. Installed x2goclient
is v. 4.1.2.1, from you release builds repo. Now Remmina asks me to
update but that would update libssh4 to v.0.8.1
(https://packages.debian.org/stretch-backports/libssh-4) that is
unsupported by x2goclient.
Would you consider updating it?
There is a similar problem for RPM-based distributions -- see Bug #1338
at https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1338 for my report
and for my solution. This can probably be adapted to .deb-based
distributions.
Regards,
Tristan
-------------------------------------------------------------------------------------------------
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Tristan Miller
Free Software developer, ferret herder, logologist
https://logological.org/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Tristan Miller
2018-11-20 14:34:51 UTC
Permalink
Greetings.

On Tue, 20 Nov 2018 14:06:07 +0000, xalloc
Post by xalloc
"However, updating the dependency to a modern libssh requires changing
not only the RPM spec file but also the x2goclient source code."
That is something x2go devs will be forced to do sooner or later, if
distros don't distribute anymore that libssh version.
"Forced" might be too strong a word. Plenty of distributions apply
their own patches to fix bugs and dependency issues that various
software package developers leave unfixed for years, or even
decades.

I'd like to hope that the X2Go developers would not be so negligent as
to let their Debian and openSUSE packages languish in an essentially
unusable state. (In fact, the problem must also affect those building
from source on modern systems.) But being a volunteer developer of
other projects, I know that time is often in short supply.

I've included a patch with my bug report so hopefully this has taken
most of the work out of solving the problem.

Regards,
Tristan
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Tristan Miller
Free Software developer, ferret herder, logologist
https://logological.org/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Ulrich Sibiller
2018-11-20 19:01:03 UTC
Permalink
On Tue, Nov 20, 2018 at 3:36 PM Tristan Miller
Post by Tristan Miller
I'd like to hope that the X2Go developers would not be so negligent as
to let their Debian and openSUSE packages languish in an essentially
unusable state. (In fact, the problem must also affect those building
from source on modern systems.) But being a volunteer developer of
other projects, I know that time is often in short supply.
Mihai is doing a great job in doing all that packaging stuff! Mike
even is a Debian maintainer. So I am really astounded that there are
problems with Debian packages.

Uli
Mihai Moldovan
2018-11-22 08:50:51 UTC
Permalink
Post by Ulrich Sibiller
So I am really astounded that there are
problems with Debian packages.
There aren't any problems with released packages. So far, only nightly packages
for newer/unstable distro versions were affected.


The problem is that stretch-backports has a newer version of libssh which is
incompatible to the old one (well, more or less, definitely shipping one library
less), so X2Go Client needs to be rebuilt.


We're not building with backports enabled, so even a new version of X2Go Client
won't fix this issue for those users that pull in libssh through
stable-backports. Since this is a build-time check and feature, the only way to
make this work correctly is to rebuild X2Go Client from source (after the next
release, anyway).



Mihai

Mike Gabriel
2018-11-21 19:31:38 UTC
Permalink
Hi,
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
Il martedì 20 novembre 2018 11:03, Tristan Miller
Post by Tristan Miller
Greetings.
On Tue, 20 Nov 2018 09:28:30 +0000, xalloc
Post by xalloc
Hi, I'm on Debian stretch with libss-4 v.0.8.0 installed from
stretch-backports due to Remmina requirements. Installed x2goclient
is v. 4.1.2.1, from you release builds repo. Now Remmina asks me to
update but that would update libssh4 to v.0.8.1
(https://packages.debian.org/stretch-backports/libssh-4) that is
unsupported by x2goclient.
Would you consider updating it?
There is a similar problem for RPM-based distributions -- see Bug #1338
at https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1338 for my report
and for my solution. This can probably be adapted to .deb-based
distributions.
Thanks Miller for the answer.
"However, updating the dependency to a modern libssh requires changing
not only the RPM spec file but also the x2goclient source code."
That is something x2go devs will be forced to do sooner or later, if
distros don't distribute anymore that libssh version.
The reasons for this issue are two:

1.
When mixing X2Go upstream DEBs for Debian stable with packages from
stretch-backports, you are on your own. Not recommended.

2.
X2Go Client's master branch has the required patch for libssh4 0.8.x
(and 0.8.0 was buggy in the first place). But a release of X2Go Client
has not happened for the last 4 months. It's overdue.

Your interim solution: use X2Go Client upstream DEBs from the heuler
repo hero (nightly builds). Same probably applies for the RPM builds
of X2Go Client.


Hope this helps,
Mike
--
DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31
mail: ***@das-netzwerkteam.de, http://das-netzwerkteam.de
Tristan Miller
2018-11-21 20:37:50 UTC
Permalink
Dear Mike,

On Wed, 21 Nov 2018 19:31:38 +0000, Mike Gabriel
Post by Mike Gabriel
Same probably applies for the RPM builds
of X2Go Client.
I don't think the same applies to the RPM builds for openSUSE
Tumbleweed. Tumbleweed is a rolling release that tends to package the
latest stable release of all packages, including libssh, whereas the
package in the heuler X2Go repository (contrary to what you write about
the master branch having been patched) depends on a much older version
of libssh. Or at least, it did at the time that I filed my bug
report. Unless this has since changed, all Tumbleweed users will still
be unable to install the heuler packages even if they haven't added any
other repositories.

Regards,
Tristan
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Tristan Miller
Free Software developer, ferret herder, logologist
https://logological.org/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
xalloc
2018-11-22 08:25:56 UTC
Permalink
Thanks everyone for the answers, I ended installing the version from heuler nightly builds.
Then launching it gave the error "x2goclient: error while loading shared libraries: libssh_threads.so.4: cannot open shared object file: No such file or directory"
It was enough a "sudo ln -s /usr/lib/x86_64-linux-gnu/libssh.so.4.5.1 /usr/lib/x86_64-linux-gnu/libssh_threads.so.4", everything works.

Thanks again


‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
Hi,
Post by xalloc
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
Post by Tristan Miller
Greetings.
On Tue, 20 Nov 2018 09:28:30 +0000, xalloc
Post by xalloc
Hi, I'm on Debian stretch with libss-4 v.0.8.0 installed from
stretch-backports due to Remmina requirements. Installed x2goclient
is v. 4.1.2.1, from you release builds repo. Now Remmina asks me to
update but that would update libssh4 to v.0.8.1
(https://packages.debian.org/stretch-backports/libssh-4) that is
unsupported by x2goclient.
Would you consider updating it?
There is a similar problem for RPM-based distributions -- see Bug #1338
at https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1338 for my report
and for my solution. This can probably be adapted to .deb-based
distributions.
Thanks Miller for the answer.
"However, updating the dependency to a modern libssh requires changing
not only the RPM spec file but also the x2goclient source code."
That is something x2go devs will be forced to do sooner or later, if > distros don't distribute anymore that libssh version.
1.
When mixing X2Go upstream DEBs for Debian stable with packages from stretch-backports, you are on your own. Not recommended.
2.
X2Go Client's master branch has the required patch for libssh4 0.8.x (and 0.8.0 was buggy in the first place). But a release of X2Go Client has not happened for the last 4 months. It's overdue.
Your interim solution: use X2Go Client upstream DEBs from the heuler repo hero (nightly builds). Same probably applies for the RPM builds of X2Go Client.
Hope this helps,
Mike
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139
GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31
Loading...