[X2Go-Dev] Bug#443: Bug#443: x2goclient 4.0.2.0 HEAD FTBFS (resources.rcc errors)

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Sun Mar 2 22:47:02 CET 2014


Hi Michael, hi Alex

On  So 02 Mär 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=%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:x2goclient
>
> 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  
methods for retrieving more detailled information on the current X2Go  
Client build during runtime. Basically, that is a nice-to-have feature  
esp. during development cycles.

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

@Alex:

The problem is the git executable. Basically, we have to assume that  
(a) the .git folder is not present (e.g. in the tarball releases) and  
(b) the 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  
of ./txt/changelog | ./txt/git-info. The upstream version and the  
package release should bear all info that is needed.

Thanks+Greets,
Mike

-- 

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

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

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digitale PGP-Signatur
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20140302/bd7f20f0/attachment.pgp>


More information about the x2go-dev mailing list