X2Go Bug report logs - #628
x2goclient can not be compiled on Raspberry PI

version graph

Package: x2goclient; Maintainer for x2goclient is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goclient is src:x2goclient.

Reported by: Office NextITLevel GmbH <office@nextitlevel.de>

Date: Fri, 3 Oct 2014 18:25:01 UTC

Severity: normal

Found in version 4.0.2.1

Done: Mihai Moldovan <ionic@ionic.de>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#628; Package <x2goclient>. (Fri, 03 Oct 2014 18:25:01 GMT) (full text, mbox, link).


Acknowledgement sent to Office NextITLevel GmbH <office@nextitlevel.de>:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>.

Your message had a Version: pseudo-header with an invalid package version:

<4.0.2.1-0x2go1+git20140823.626+wheezy.main.1>

please either use found or fixed to the control server with a correct version, or reply to this report indicating the correct version so the maintainer (or someone else) can correct it for you.

(Fri, 03 Oct 2014 18:25:02 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

From: Office NextITLevel GmbH <office@nextitlevel.de>
To: "submit@bugs.x2go.org" <submit@bugs.x2go.org>
Subject: x2goclient can not be compiled on Raspberry PI
Date: Fri, 3 Oct 2014 18:20:40 +0000
[Message part 1 (text/plain, inline)]
Package: <x2goclient>
Version: <4.0.2.1-0x2go1+git20140823.626+wheezy.main.1>

$ uname -a
Linux niu5 3.12.28+ #709 PREEMPT Mon Sep 8 15:28:00 BST 2014 armv6l GNU/Linux
libc6:armhf          2.13-38+rpi2+de 
gcc                      4:4.6.3-8       armhf 
--


Dear X2go Team,

I cannot compile an x2goclient on a Raspberry PI.  I just wanted a version of x2goclient that is newer then
3.99.2.1-5.  I used the instructions on http://wiki.x2go.org/doku.php/wiki:development:build-howto-linux:x2goclient
And then Install x2goclient from git
At the end I got the error-msg:
g++ -c -O2 -Wall -W -D_REENTRANT -DCFGCLIENT -D__linux__ -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I../../x2goclient -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I../../x2goclient -I. -I. -I. -o sshmasterconnection.o ../sshmasterconnection.cpp
../sshmasterconnection.cpp: In member function ‘void SshMasterConnection::checkReverseTunnelConnections()’:
../sshmasterconnection.cpp:297:73: error: ‘ssh_channel_accept_forward’ was not declared in this scope
../sshmasterconnection.cpp:308:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
Makefile:710: recipe for target 'sshmasterconnection.o' failed
make[1]: *** [sshmasterconnection.o] Error 1
make[1]: Leaving directory '/home/fraroot/scripts/x2goclient/client_build'
Makefile:39: recipe for target 'build_client' failed
make: *** [build_client] Error 2

I would like to download x2goclient package ready for the Raspberry PI.
But when I say
# apt-get download x2goclient 
I get  x2goclient_3.99.2.1-5_armhf.deb
And this version makes a lot of problems with an X2goserver 4.0.1.16.
If you have a version of x2goclient with 4.x.x for the Raspberry PI that would make me happy.

Attached you find the detailed messages.

Thank you very much and have a nice day,
Franz Lückl

Mobil DE:                +49 152 3437 5620
Mobil AT:                +43 676 37 00 299
Mobiles Festnetz:    +49 69 3487 8985
Fax:                     +43 1 89 00 2999

mailto:franz@nextitlevel.de 
Internet Home Page:  http://www.nextitlevel.de


[compile.out.txt (text/plain, attachment)]

Bug reassigned from package '&lt;x2goclient&gt;' to 'x2goclient'. Request was from Mike Gabriel <mike.gabriel@das-netzwerkteam.de> to control@bugs.x2go.org. (Wed, 05 Nov 2014 11:27:56 GMT) (full text, mbox, link).


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#628; Package x2goclient. (Mon, 26 Jan 2015 18:40:03 GMT) (full text, mbox, link).


Acknowledgement sent to Heinrich Schuchardt <xypron.glpk@gmx.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Mon, 26 Jan 2015 18:40:03 GMT) (full text, mbox, link).


Message #12 received at 628@bugs.x2go.org (full text, mbox, reply):

From: Heinrich Schuchardt <xypron.glpk@gmx.de>
To: 628@bugs.x2go.org
Subject: Re:x2goclient can not be compiled on Raspberry PI
Date: Mon, 26 Jan 2015 19:32:15 +0100
In the Rasbian repository I find
http://archive.raspbian.org/raspbian/pool/main/x/x2goclient/x2goclient_4.0.3.1-3_armhf.deb

So obviously it was possible to compile this version of x2go-client for
the Raspberry and Debian package with version 4.x is available.

Hence I suggest to close #628 as fixed.

Best regards

Heinrich Schuchardt


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#628; Package x2goclient. (Mon, 26 Jan 2015 19:15:01 GMT) (full text, mbox, link).


Acknowledgement sent to Stefan Baur <X2Go-ML-1@baur-itcs.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Mon, 26 Jan 2015 19:15:01 GMT) (full text, mbox, link).


Message #17 received at 628@bugs.x2go.org (full text, mbox, reply):

From: Stefan Baur <X2Go-ML-1@baur-itcs.de>
To: x2go-dev@lists.x2go.org, 628@bugs.x2go.org
Subject: Re: [X2Go-Dev] Status of armhf-related builds/open bugs
Date: Mon, 26 Jan 2015 20:09:10 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 26.01.2015 um 20:01 schrieb Henning Heinold:

[soon-to-be-expected Raspberry Pi hardware donation by sponsor]

> for the client or the server or both?

The idea would be to either use it as a build host (Jenkins slave) or
as a remotely accessible test/debug machine for X2GoClient.


> Unfornatly the raspi is not compatible with the debian/ubuntu armhf
> binaries. Because of the vfp unit and the arm architecture. See
> https://wiki.debian.org/RaspberryPi

Could that be the reason why Franz failed to compile X2GoClient on
Raspberry Pi in Bug #628?
He filed the bug against
<4.0.2.1-0x2go1+git20140823.626+wheezy.main.1> which would be plain
Debian, not Raspbian, right?
So maybe he was using the wrong source repo or pulled in armhf
binaries from debian/ubuntu that are bount to fail on the Raspberry Pi?

- -Stefan

- -- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJUxpDWAAoJEG7d9BjNvlEZd3UIAImjYBLHegGarPydhJNvPMxn
eLIQ3qT9N2p7xPMb/hS1LdKiDQjVwRGCZUtoZdJWOlO4IZ9uuZNK1Q7oCXaixL1O
2x9z2OuS7gawmsgXIQ4WL+oNTFuSoqoCKHSIU5cIMyUkLefes0eYbRq3u/inbUN/
mrxjpO9Qh6icB2Qq4CYu8e6HcctnaedWLK0ueAwTThblkpAWRltpt6ngMfDsEPjQ
eD/Jv3peyYc9mQI456BC4jRc04F9/Q6xmQGcq5p+IZnGKMtcPa0c70trD01weNT+
dA32hB25KkKOMMxI7+xmFxGzKRExChmDZ3Ssjk2TvqgugqP7o/z6EUo0PSFcQtI=
=3XeX
-----END PGP SIGNATURE-----


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#628; Package x2goclient. (Sun, 01 Feb 2015 19:50:02 GMT) (full text, mbox, link).


Acknowledgement sent to Office NextITLevel GmbH <office@nextitlevel.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Sun, 01 Feb 2015 19:50:02 GMT) (full text, mbox, link).


Message #22 received at 628@bugs.x2go.org (full text, mbox, reply):

From: Office NextITLevel GmbH <office@nextitlevel.de>
To: "628@bugs.x2go.org" <628@bugs.x2go.org>
Subject: RE: Bug#628: (x2goclient can not be compiled on Raspberry PI)
Date: Sun, 1 Feb 2015 19:44:52 +0000
Dear X2Go Developer,

please reopen this case:

I am using Raspian, which is the Debian Wheezy version.
I downloaded the x2goclient package from 
http://archive.raspbian.org/raspbian/pool/main/x/x2goclient/x2goclient_4.0.3.1-3_armhf.deb
and then I tried to install, but it failed.  This download version is for Debian Jessie.

 sudo dpkg -i x2goclient_4.0.3.1-3_armhf.deb
(Reading database ... 71974 files and directories currently installed.)
Preparing to replace x2goclient 4.0.3.1-3 (using x2goclient_4.0.3.1-3_armhf.deb) ...
Unpacking replacement x2goclient ...
dpkg: dependency problems prevent configuration of x2goclient:
 x2goclient depends on libc6 (>= 2.15); however:
  Version of libc6:armhf on system is 2.13-38+rpi2+deb7u7.
 x2goclient depends on libssh-4 (>= 0.5.4-2~); however:
  Version of libssh-4:armhf on system is 0.5.4-1+deb7u1.

dpkg: error processing x2goclient (--install):
 dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme ...
Processing triggers for desktop-file-utils ...
Processing triggers for man-db ...
Errors were encountered while processing:
 x2goclient
----------------

And this is the compile script - and it should be fine

################################################################################
# build x2goclient
################################################################################

mkdir -p $HOME/x2go
cd $HOME/x2go

sudo apt-get update
# build deps of both nx-libs and x2goclient
sudo apt-get install -y libldap2-dev libssh-dev libx11-dev libxpm-dev
sudo apt-get install -y debhelper libpng-dev libjpeg-dev zlib1g-dev quilt libfontconfig1-dev libfontenc-dev libfreetype6-dev libxmltok1-dev libxml2-dev autoconf pkg-config x11proto-core-dev man2html-base
sudo apt-get install -y expat x11proto-kb-dev libssh-dev libcups2-dev
sudo apt-get install -y autotools-dev libqt4-gui libglib2.0-dev m4 qt4-qmake libqt4-dev dh-autoreconf

echo "Getting nx-libs and compiling ..."
git clone http://code.x2go.org/git/nx-libs.git
cd nx-libs
# git checkout redist-server/3.5.0.27
# This will take about 1 hour or so.
dpkg-buildpackage -us -uc
cd ..

# No new depenendcies for cups-x2go
echo "Getting cups-x2go and compiling ..."
git clone git://code.x2go.org/cups-x2go.git
cd cups-x2go
# git checkout 3.0.1.0
dpkg-buildpackage -us -uc
cd ..

echo "Getting x2goclient and compiling ..."
git clone http://code.x2go.org/git/x2goclient.git
cd x2goclient
# This will take a few minutes
dpkg-buildpackage -us -uc
cd ..

-------------------------------------------

So I used the newest code and compiled today and still I get:

Getting x2goclient and compiling ...
fatal: destination path 'x2goclient' already exists and is not an empty directory.
dpkg-buildpackage: source package x2goclient
dpkg-buildpackage: source version 4.0.3.2-0x2go1
dpkg-buildpackage: source changed by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
 dpkg-source --before-build x2goclient
dpkg-buildpackage: host architecture armhf
dpkg-checkbuilddeps: Unmet build dependencies: libssh-dev (>= 0.5.4-2~)
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)

---

Debian Jessie is still not finished, so I have to use Debian Wheezy.

Have a nice day,
Franz Lückl

Next IT Level GmbH
Paul Tillich Str. 14
60528 Frankfurt
Handelsregister HRB 94885, Frankfurt am Main 
Finanzamt: Frankfurt/M. – USt-ID: DE285327933

Mobil DE:               	+49 152 3437 5620
Mobil AT:              	          +43 676 37 00 299
Mobiles Landline:    	+49 69 3487 8985

mailto:franz@nextitlevel.de 
Internet Home Page:  http://www.nextitlevel.de



Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#628; Package x2goclient. (Mon, 02 Feb 2015 09:50:02 GMT) (full text, mbox, link).


Acknowledgement sent to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Mon, 02 Feb 2015 09:50:02 GMT) (full text, mbox, link).


Message #27 received at 628@bugs.x2go.org (full text, mbox, reply):

From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Office NextITLevel GmbH <office@nextitlevel.de>, 628@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#628: (x2goclient can not be compiled on Raspberry PI)
Date: Mon, 02 Feb 2015 09:47:33 +0000
[Message part 1 (text/plain, inline)]
Hi Franz,

On  So 01 Feb 2015 20:44:52 CET, Office NextITLevel GmbH wrote:

> Getting x2goclient and compiling ...
> fatal: destination path 'x2goclient' already exists and is not an  
> empty directory.
> dpkg-buildpackage: source package x2goclient
> dpkg-buildpackage: source version 4.0.3.2-0x2go1
> dpkg-buildpackage: source changed by Mike Gabriel  
> <mike.gabriel@das-netzwerkteam.de>
>  dpkg-source --before-build x2goclient
> dpkg-buildpackage: host architecture armhf
> dpkg-checkbuilddeps: Unmet build dependencies: libssh-dev (>= 0.5.4-2~)

Please get libssh >= 0.6.2 from Debian testing and build it from  
source on your rasbian system. Install the freshly built libssh-4 and  
libssh-dev on your build system.

  dget http://ftp.debian.org/debian/pool/main/libs/libssh/libssh_0.6.3-4.dsc
  cd libssh-0.6.3
  dpkg-buildpackage -uc -us
  cd ..
  sudo dpkg -i libssh*.deb

Then build X2Go Client as you already tried to.

Mike



-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#628; Package x2goclient. (Fri, 25 Nov 2016 11:45:01 GMT) (full text, mbox, link).


Acknowledgement sent to Mihai Moldovan <ionic@ionic.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Fri, 25 Nov 2016 11:45:02 GMT) (full text, mbox, link).


Message #32 received at 628@bugs.x2go.org (full text, mbox, reply):

From: Mihai Moldovan <ionic@ionic.de>
To: Office NextITLevel GmbH <office@nextitlevel.de>, 628@bugs.x2go.org
Subject: Re: [X2Go-Dev] x2goclient can not be compiled on Raspberry PI
Date: Fri, 25 Nov 2016 12:43:55 +0100
[Message part 1 (text/plain, inline)]
Control: reassign -1 x2goclient 4.0.2.1
Control: close -1

I'm closing this up for now, since we provide native Raspbian packages. The
libssh version in Raspbian Jessie is recent enough to satisfy X2Go Client's needs.



Mihai

[signature.asc (application/pgp-signature, attachment)]

Marked as found in versions 4.0.2.1. Request was from Mihai Moldovan <ionic@ionic.de> to 628-submit@bugs.x2go.org. (Fri, 25 Nov 2016 11:45:02 GMT) (full text, mbox, link).


Marked Bug as done Request was from Mihai Moldovan <ionic@ionic.de> to 628-submit@bugs.x2go.org. (Fri, 25 Nov 2016 11:45:02 GMT) (full text, mbox, link).


Notification sent to Office NextITLevel GmbH <office@nextitlevel.de>:
Bug acknowledged by developer. (Fri, 25 Nov 2016 11:45:03 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.x2go.org> to internal_control@bugs.x2go.org. (Sat, 24 Dec 2016 06:24:01 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 14:33:30 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.