X2Go Bug report logs - #866
Fix compilation errors in nxcomp (nx-libs) when macros TEST/DEBUG/... are defined (developer support)

version graph

Package: nx-libs; Maintainer for nx-libs is X2Go Developers <x2go-dev@lists.x2go.org>;

Reported by: Nito Martinez <Nito@Qindel.ES>

Date: Thu, 7 May 2015 22:45:03 UTC

Severity: normal

Tags: fixed-upstream, patch

Found in version 3.5.0.28

Fixed in version 3.5.99.0

Done: Stefan Baur <X2Go-ML-1@baur-itcs.de>

Bug is archived. No further changes may be made.

Forwarded to https://github.com/ArcticaProject/nx-libs/pull/26

Full log


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

Received: (at 866) by bugs.x2go.org; 29 Feb 2016 09:04:01 +0000
From mike.gabriel@das-netzwerkteam.de  Mon Feb 29 10:03:59 2016
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=3.0 tests=BAYES_00,URIBL_BLOCKED
	autolearn=ham version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id CB15A5DA95
	for <866@bugs.x2go.org>; Mon, 29 Feb 2016 10:03:59 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id TZufYRjfPm9A for <866@bugs.x2go.org>;
	Mon, 29 Feb 2016 10:03:52 +0100 (CET)
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 2D1715DA88
	for <866@bugs.x2go.org>; Mon, 29 Feb 2016 10:03:52 +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 E5461B24;
	Mon, 29 Feb 2016 10:03:51 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 73EAA3B993;
	Mon, 29 Feb 2016 10:03:50 +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 2B0iUjDMVf3M; Mon, 29 Feb 2016 10:03:44 +0100 (CET)
Received: from das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id 52B2A3B987;
	Mon, 29 Feb 2016 10:03:44 +0100 (CET)
Received: from bifrost.das-netzwerkteam.de (bifrost.das-netzwerkteam.de
 [178.62.101.154]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP;
 Mon, 29 Feb 2016 09:03:44 +0000
Date: Mon, 29 Feb 2016 09:03:44 +0000
Message-ID: <20160229090344.Horde.qMvOYFh1ZBB1q_bGz61vUOf@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: 866@bugs.x2go.org
Cc: Nito Martinez <Nito@qindel.es>
Subject: Re: [X2Go-Dev] Bug#866: Bug#866: Fix compilation errors in nxcomp
 (nx-libs) when macros TEST/DEBUG/... are defined (developer support)
References: <554BE89D.2030304@Qindel.ES>
 <20150508100312.Horde.Iab2cuAyMS--SO_aEOyiaw6@mail.das-netzwerkteam.de>
In-Reply-To: <20150508100312.Horde.Iab2cuAyMS--SO_aEOyiaw6@mail.das-netzwerkteam.de>
User-Agent: Horde Application Framework 5
Accept-Language: de,en
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 178.62.101.154
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
 Firefox/38.0 Iceweasel/38.5.0
Content-Type: multipart/signed; boundary="=_h0VEsjB8fVwkLwM9BWjEUQZ";
 protocol="application/pgp-signature"; micalg=pgp-sha256
MIME-Version: 1.0
[Message part 1 (text/plain, inline)]
Control: tags -1 fixed-upstream
Control: fixed -1 3.5.99.0
Control: forwarded -1 https://github.com/ArcticaProject/nx-libs/pull/26
On  Fr 08 Mai 2015 12:03:12 CEST, Mike Gabriel wrote:

> Hi Nito,
>
> On  Fr 08 Mai 2015 00:35:09 CEST, Nito Martinez wrote:
>
>> Package: nx-libs
>> Version: 3.5.0.28
>>
>> Description:
>>
>> The attached patch fixes some compilation errors when the following  
>> macros are enabled: (TEST/DEBUG/DUMP). See the lines:
>>
>> #undef TEST
>> #undef DEBUG
>> ...
>>
>> and the conditinal ifdefs
>>
>> #ifdef TEST
>> #ifdef DEBUG
>> ...
>>
>> which are normally not compiled.
>>
>> During debugging and testing when these macros gets activated,  
>> there are some compilation errors, which need to be manually fixed  
>> each time the Macros are enabled. This patch tries to leverage that  
>> error.
>>
>> The patch does not affect code outside of those ifdef, and only  
>> provides developer support.
>>
>> Regards,
>>
>> Nito

This issue has been resolved on the 3.6.x branch of nx-libs [1] and a  
backport to 3.5.x is recommended, but not critical.

Mike

[1] https://github.com/ArcticaProject/nx-libs/pull/26
-- 

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/mailxchange/kronolith/fb.php?u=m.gabriel%40das-netzwerkteam.de
[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Sat Nov 23 10:18:54 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.