From unknown Sun Apr 05 22:06:57 2026
MIME-Version: 1.0
X-Mailer: MIME-tools 5.502 (Entity 5.502)
X-Loop: owner@bugs.x2go.org
From: owner@bugs.x2go.org (X2Go Bug Tracking System)
Subject: Bug#337 closed by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
 (X2Go issue (in src:nx-libs) has been marked as closed)
Message-ID: <handler.337.c.138886817210895.notifdone@bugs.x2go.org>
References: <20140104204244.45F575DB24@ymir>
X-X2go-PR-Keywords: pending
X-X2go-PR-Message: they-closed 337
X-X2go-PR-Package: nx-libs
Date: Sat, 04 Jan 2014 20:45:04 +0000
Content-Type: multipart/mixed; boundary="----------=_1388868304-11367-0"

This is a multi-part message in MIME format...

------------=_1388868304-11367-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8

This is an automatic notification regarding your Bug report
which was filed against the nx-libs package:

#337: nxcomp doesn't compile against libc++ STL

It has been closed by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Mike Gabriel <mike.gab=
riel@das-netzwerkteam.de> by
replying to this email.


--=20
X2Go Bug Tracking System
Contact owner@bugs.x2go.org with problems

------------=_1388868304-11367-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at control) by bugs.x2go.org; 4 Jan 2014 20:42:52 +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,NO_RELAYS
	autolearn=unavailable version=3.3.2
Received: by ymir (Postfix, from userid 1005)
	id 45F575DB24; Sat,  4 Jan 2014 21:42:44 +0100 (CET)
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: 337-submitter@bugs.x2go.org
Cc: control@bugs.x2go.org, 337@bugs.x2go.org
Subject: X2Go issue (in src:nx-libs) has been marked as closed
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Message-Id: <20140104204244.45F575DB24@ymir>
Date: Sat,  4 Jan 2014 21:42:44 +0100 (CET)

close #337
thanks

Hello,

we are very hopeful that X2Go issue #337 reported by you
has been resolved in the new release (2:3.5.0.22) of the
X2Go source project »src:nx-libs«.

You can view the complete changelog entry of src:nx-libs (2:3.5.0.22)
below, and you can use the following link to view all the code changes
between this and the last release of src:nx-libs.

    http://code.x2go.org/gitweb?p=nx-libs.git;a=commitdiff;h=b07b3cca09f5aa4a5c32dc4f75df2978a8aacaac;hp=b2a3143f8a9c2d5aaf20c14408354ef9a712a3ee

If you feel that the issue has not been resolved satisfyingly, feel
free to reopen this bug report or submit a follow-up report with
further observations described based on the new released version
of src:nx-libs.

Thanks a lot for contributing to X2Go!!!

light+love
X2Go Git Admin (on behalf of the sender of this mail)

---
X2Go Component: src:nx-libs
Version: 2:3.5.0.22-0x2go1
Status: RELEASE
Date: Sat, 04 Jan 2014 21:39:17 +0100
Fixes: 314 337 370
Changes: 
 nx-libs (2:3.5.0.22-0x2go1) RELEASED; urgency=low
 .
   [ Mirraz Mirraz ]
   * Add patch: 603_nx-X11_compilation_warnings.full.patch. Fix 3 evident bugs:
     one implicit function declaration issue and two array index out of bounds
     issues. (Fixes: #314).
 .
   [ Mike Gabriel ]
   * Add patch 604_nx-X11_recent-freetype-API.full.patch. Fix FTBFS against
     recent (>= 2.5.0) libfreetype6 API.
   * Refresh patch: 600_nx-X11+nxcompext+nxcompshad_unique-libnames.full.patch.
   * Improve patch:
     601_nx-X11_build-option-changes-to-not-use-bundled-libraries.full.patch.
     Improvements taken from the current Fedora package. Thanks to Orion
     Paplowski!!! Also adapt roll-tarball.sh do dropping more bundled
     libraries.
   * Rename patch: 302_nxagent_configurable-keystrokes.full.patch to
     320_nxagent_configurable-keystrokes.full.patch.
   * debian/source/format:
     + Switch to format 1.0.
   * debian/control:
     + Add libfreetype6-dev to Build-Depends: field.
     + Drop symlinking libNX_xrandr for setting a custom LD_LIBRARY_PATH. Not in
       use anymore and not recommended at all to have that.
     + Make sure all nx-libs components depend on the very same version.
   * debian/rules:
     + Remove bundled libraries from source tree before building the package.
   * nx-libs.spec:
     + Ship nx-libs.spec (RPM package definitions) in upstream project. (Thanks
       to the Fedora package maintainers). File differs from the Fedora file
       already.
     + Clear (Fedora package) changelog.
     + Use local tarball, don't expect  ,,-full'' in tarball name.
     + The RPM macro for the linker flags does not exist on EPEL. Thus, hardcode
       __global_ldflags macro for EPEL builds.
     + Enable Xinerama support for RPM packages. (Fixes: #370).
 .
   [ Clemens Lang ]
   * Add patch 605_nxcomp_Types.h-dont-use-STL-internals-on-libc++.full.patch. Fix
     FTBFS of nx-libs-lite on Mac OS X Mavericks. (Fixes: #337).


------------=_1388868304-11367-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.x2go.org; 5 Nov 2013 01:05:19 +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=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,
	T_DKIM_INVALID autolearn=ham version=3.3.2
Received: from mail-ea0-f181.google.com (mail-ea0-f181.google.com [209.85.215.181])
	by ymir (Postfix) with ESMTPS id 1A21E3BC43
	for <submit@bugs.x2go.org>; Tue,  5 Nov 2013 02:05:18 +0100 (CET)
Received: by mail-ea0-f181.google.com with SMTP id d10so3773839eaj.26
        for <submit@bugs.x2go.org>; Mon, 04 Nov 2013 17:05:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=sender:date:from:to:subject:message-id:mime-version:content-type
         :content-disposition:user-agent;
        bh=rjZAIdb6al4dMlwr9HYI+60tCXK4pzp8pay67Bkxm6U=;
        b=ogNCi0fYSf3vKAUc7PU/IeccekmW+kz4AZRhJGi8rBXMNlrg15IjXncpUBxXOMf4x1
         4za+B2hbxPRo+RCGU8P+C9X1v7f2O9ji86YH9LyVj5/YzqqyEU4/hmINL24Y3RtQUIgn
         wPcwS/ZNnDjmk3SkI7aD2xhNif5yljeTZFHhTqsQNIDefeczVTooJ3U4e5OYEywOuxah
         6OD+dlStCT4qrn1+PceJb7/y2gZeMxa4/NnTnSppHECjGQFYIqMZUmXBC74d0d0SQPDX
         N/i89pGemWtJ6JYn0MAvgEnBxI3tzrBcCoItWSlewuEFwZlBAasn/3zuBVSv9MMeVlfh
         kjMw==
X-Received: by 10.14.45.70 with SMTP id o46mr21270617eeb.19.1383613518671;
        Mon, 04 Nov 2013 17:05:18 -0800 (PST)
Received: from towel.neverpanic.de ([2001:4d88:1017:67a6:4944:27cc:d30d:967c])
        by mx.google.com with ESMTPSA id s3sm53352013eeo.3.2013.11.04.17.05.17
        for <submit@bugs.x2go.org>
        (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
        Mon, 04 Nov 2013 17:05:17 -0800 (PST)
Sender: Clemens Lang <neverpanic@gmail.com>
Date: Tue, 5 Nov 2013 02:05:15 +0100
From: Clemens Lang <cal@macports.org>
To: submit@bugs.x2go.org
Subject: nxcomp doesn't compile against libc++ STL
Message-ID: <20131105010515.GA1695@towel.neverpanic.de>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="opJtzjQTFsWo+cga"
Content-Disposition: inline
User-Agent: Mutt/1.5.21 (2010-09-15)


--opJtzjQTFsWo+cga
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Package: nx-libs
Version: 3.5.0.21

The nx-libs-lite package does not compile on OS X Mavericks because
Apple's clang compilers now default to compiling against the libc++ STL
rather than (their outdated copy of) libstdc++.

While the compiler still allows changing that, we should not rely on
this being possible forever.

The compiler chokes in Types.h, specifically the clear() methods in
subclasses of vectors that use implementation details of the GNU STL.
The attached patch fixes these compilation issues by not overriding the
clear() method when compiling against libc++, since the libc++ headers
seem to do essentially the same as the overriden method.

HTH,
-- 
Clemens Lang
MacPorts Developer


--opJtzjQTFsWo+cga
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="patch-nxcomp__Types.h-dont-use-STL-internals-on-libc++.diff"

--- Types.h.orig	2013-11-05 01:35:22.000000000 +0100
+++ Types.h	2013-11-05 01:37:30.000000000 +0100
@@ -55,6 +55,9 @@
     return &*(vector < unsigned char >::begin());
   }
 
+  // Avoid overriding clear() when using libc++. Fiddling with STL internals
+  // doesn't really seem like a good idea to me anyway.
+  #ifndef _LIBCPP_VECTOR
   void clear()
   {
     #if defined(__STL_USE_STD_ALLOCATORS) || defined(__GLIBCPP_INTERNAL_VECTOR_H)
@@ -95,12 +98,16 @@
 
     #endif  /* #if defined(__STL_USE_STD_ALLOCATORS) || defined(__GLIBCPP_INTERNAL_VECTOR_H) */
   }
+  #endif /* #ifdef _LIBCPP_VECTOR */
 };
 
 class T_messages : public vector < Message * >
 {
   public:
 
+  // Avoid overriding clear() when using libc++. Fiddling with STL internals
+  // doesn't really seem like a good idea to me anyway.
+  #ifndef _LIBCPP_VECTOR
   void clear()
   {
     #if defined(__STL_USE_STD_ALLOCATORS) || defined(__GLIBCPP_INTERNAL_VECTOR_H)
@@ -141,6 +148,7 @@
 
     #endif /* #if defined(__STL_USE_STD_ALLOCATORS) || defined(__GLIBCPP_INTERNAL_VECTOR_H) */
   }
+  #endif /* #ifndef _LIBCPP_VECTOR */
 };
 
 typedef md5_byte_t * T_checksum;

--opJtzjQTFsWo+cga--

------------=_1388868304-11367-0--
