X2Go Bug report logs - #337
nxcomp doesn't compile against libc++ STL

version graph

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

Reported by: Clemens Lang <cal@macports.org>

Date: Tue, 5 Nov 2013 01:18:02 UTC

Severity: normal

Tags: pending

Found in version 3.5.0.21

Fixed in version 2:3.5.0.22

Done: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Bug is archived. No further changes may be made.

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#337: nxcomp doesn't compile against libc++ STL
Reply-To: Clemens Lang <cal@macports.org>, 337@bugs.x2go.org
Resent-From: Clemens Lang <cal@macports.org>
Original-Sender: Clemens Lang <neverpanic@gmail.com>
Resent-To: x2go-dev@lists.berlios.de
Resent-CC: X2Go Developers <x2go-dev@lists.berlios.de>
X-Loop: owner@bugs.x2go.org
Resent-Date: Tue, 05 Nov 2013 01:18:02 +0000
Resent-Message-ID: <handler.337.B.13836135196151@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 337
X-X2Go-PR-Package: nx-libs
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.13836135196151
          (code B); Tue, 05 Nov 2013 01:18:02 +0000
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
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)
[Message part 1 (text/plain, 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

[patch-nxcomp__Types.h-dont-use-STL-internals-on-libc++.diff (text/x-diff, attachment)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Sat Apr 20 01:00:48 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.