From unknown Sat Mar 07 16:24:44 2026
X-Loop: owner@bugs.x2go.org
Subject: Bug#443: [X2Go-Dev] Bug#443: x2goclient 4.0.2.0 HEAD FTBFS (resources.rcc errors)
Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 443@bugs.x2go.org
Resent-From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Resent-To: x2go-dev@lists.berlios.de
Resent-CC: X2Go Developers <x2go-dev@lists.berlios.de>
X-Loop: owner@bugs.x2go.org
Resent-Date: Sun, 02 Mar 2014 21:50:01 +0000
Resent-Message-ID: <handler.443.B443.139379682426081@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 443
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: 
Received: via spool by 443-submit@bugs.x2go.org id=B443.139379682426081
          (code B ref 443); Sun, 02 Mar 2014 21:50:01 +0000
Received: (at 443) by bugs.x2go.org; 2 Mar 2014 21:47:04 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED
	autolearn=ham version=3.3.2
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir (Postfix) with ESMTPS id DC3B15DB20
	for <443@bugs.x2go.org>; Sun,  2 Mar 2014 22:47:03 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 6EE211E91F;
	Sun,  2 Mar 2014 22:47:03 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 44ADC3C603;
	Sun,  2 Mar 2014 22:47:03 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id yAjYGtO4CUlY; Sun,  2 Mar 2014 22:47:03 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPSA id E6B3B3C602;
	Sun,  2 Mar 2014 22:47:02 +0100 (CET)
Received: from p4FCFCECA.dip0.t-ipconnect.de (p4FCFCECA.dip0.t-ipconnect.de
 [79.207.206.202]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP;
 Sun, 02 Mar 2014 21:47:02 +0000
Date: Sun, 02 Mar 2014 21:47:02 +0000
Message-ID: <20140302214702.Horde.znVugXrEBmVVfc4F8lo4TQ4@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Michael DePaulo <mikedep333@gmail.com>, 443@bugs.x2go.org
Cc: o.schneyder@phoca-gmbh.de
References: <CAMKht8jsWy4akeCY7L0tCgAB2CDvA2Y3nG3TXN+7NUWvoYnMxQ@mail.gmail.com>
In-Reply-To: <CAMKht8jsWy4akeCY7L0tCgAB2CDvA2Y3nG3TXN+7NUWvoYnMxQ@mail.gmail.com>
User-Agent: Internet Messaging Program (IMP) H5 (6.1.4)
Accept-Language: en,de
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 79.207.206.202
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101
 Firefox/26.0 Iceweasel/26.0
Content-Type: multipart/signed; boundary="=_GcofXgsJNkkRmYwgAjGGEQ6";
 protocol="application/pgp-signature"; micalg=pgp-sha1
MIME-Version: 1.0

This message is in MIME format and has been PGP signed.

--=_GcofXgsJNkkRmYwgAjGGEQ6
Content-Type: text/plain; charset=ISO-8859-1; format=flowed; DelSp=Yes
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Michael, hi Alex

On  So 02 M=E4r 2014 20:39:10 CET, Michael DePaulo wrote:

> Observed on Commit 5d7d9966198d64ce7846c4f65706f9e9e178e8d7
> (Fri, 28 Feb 2014 13:02:50 +0000 (14:02 +0100))
>
> X2Go Client 4.0.2.0 HEAD failed to build from source.
>
> I am using the standard setup which has worked for 4.0.1.3:
> mingw32 4.4
> QT 4.8.5
> X2Go-WinBuilder VM (WIn7 64-bit SP1)
>
> See attached logs. They are what happens when I run the last 2
> commands mentioned in this list:
> $ cd x2goclient
> $ PATH=3D%PATH%;D:\MinGW\libexec\gcc\mingw32\4.4.0\
> $ config_win.bat
> $ mingw32-make
> From this page:
> http://wiki.x2go.org/doku.php/wiki:development:build-howto-mswin:x2goclie=
nt
>
> Note that there are errors in both config_win.bat's output, and in
> mingw32-make's output. And they seem to be related to resources.rcc
> not finding files.

The reason for the FTBFS is a series of commits from Alex adding some=20=20
methods=20for retrieving more detailled information on the current X2Go=20=
=20
Client=20build during runtime. Basically, that is a nice-to-have feature=20=
=20
esp.=20during development cycles.

The not so good aspect is, that currently all automatic (and the=20=20
win32)=20builds fail (for Linux builds see http://jenkins.x2go.org).

@Alex:

The problem is the git executable. Basically, we have to assume that=20=20
(a)=20the .git folder is not present (e.g. in the tarball releases) and=20=
=20
(b)=20the git command is not available in the build environment.

So my suggestion would be:

   o create the txt/git script before the build (I can add that to
     our buildscripts on code.x2go.org)
   o copy the changelog file via debian/rules (for the .deb package)
     and via x2goclient.spec (for the .rpm packages)
   o only make the --git cmdline switch available if ./txt/git exists
   o (and maybe rather rename --git to --git-info)
   o only make the --changelog cmdline switch available if
     ./txt/changelog exists

So basically, please split the work up into

   X2Go Client code: (todo Alex)

     o offer --git(-info) and/or --changelog if the corresponding
       ./txt/* files exists during runtime

   debian/rules | x2goclient.spec (todo Mike#1):

     o create ./txt/changelog

   x2go-build-deb-package | x2go-build-rpm-package (todo Mike#1):

     o create the git information in ./txt/git-info

   winbuider.bat (todo Mike#2)

     o create the git information in ./txt/git-info

Package maintainers of distros should (be able to) omit the creation=20=20
of=20./txt/changelog | ./txt/git-info. The upstream version and the=20=20
package=20release should bear all info that is needed.

Thanks+Greets,
Mike

--=20

DAS-NETZWERKTEAM
mike=20gabriel, 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.x=
fb

--=_GcofXgsJNkkRmYwgAjGGEQ6
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Signatur
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)

iQIcBAABAgAGBQJTE6bWAAoJEJr0azAldxsx8BwP/0QtpRyuheeUyInLx5AVWHQi
F4Snl07bmpy+5Kr5eErJa80qTDJ6AmF5QmKizeKzCwUEaPt8nB1xCDgjgY1o6gPv
GSnuOdfVFzo6BoVh3EJRFRLCR/fbPnqqvrJ6ONj6ecvpsHGAYx8K4wexDEChRw+X
LvHrWDfuUgI8TJiF18Yu7WqBR2ed9AsPoWFySjxRyoAs2RScun0u9xP0tbrq97Z/
sUO6v4BGchLfnJqDacftck6qg5VOuIgk525KNoQjeSp+xxKrHxLXUi+U4xrcToOJ
oFR8kFed9WWg3uKHtCP5z7w5lPpILwIPjfZmSlo1+6aH2Zd+m62v9+DJ73yziVvu
Py81j/SlrhNmLlQpc3cZ9xuuGBVKNyNfbwpZ4VMKOcG4jFNZcmdAwYEjLLSpUHPv
CEbRO/jNU5T/+UVg/U5yj0sG/ZuT6fJMM77HlCLhGOc9IpfNLVl2CQLWinib4S/i
fpK8fKcJctFiMuU7Efr9GXbV7cGuc2so6nfhjF7wi0Df9DP+gb9t/ff6HOGtARTR
75cLPL8eHMMV7cznlyO6Hsk2SqzkL8ZEngub7e3WGwAn8xNg9PHCPpxNxYuZKOdv
sV3gnXWM7j4MH4+IWUDuOTVFs32BgApDGDnRwHl2VL+tJYPwzYeBRNcQIv9svtwz
IqzDUk5EBoxnv059sBR3
=JvJc
-----END PGP SIGNATURE-----

--=_GcofXgsJNkkRmYwgAjGGEQ6--
