From owner-freebsd-x11@FreeBSD.ORG Sun Dec 9 21:31:36 2012 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F0D5FF30; Sun, 9 Dec 2012 21:31:35 +0000 (UTC) (envelope-from zeising@daemonic.se) Received: from mail.lysator.liu.se (mail.lysator.liu.se [IPv6:2001:6b0:17:f0a0::3]) by mx1.freebsd.org (Postfix) with ESMTP id 385528FC18; Sun, 9 Dec 2012 21:31:33 +0000 (UTC) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id D2FAB40006; Sun, 9 Dec 2012 22:31:31 +0100 (CET) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id BCF8D40003; Sun, 9 Dec 2012 22:31:31 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on bernadotte.lysator.liu.se X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.3.1 X-Spam-Score: 0.0 Received: from mx.daemonic.se (mx.daemonic.se [IPv6:2001:470:dca9:0:1::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id 2C7D740002; Sun, 9 Dec 2012 22:31:30 +0100 (CET) Received: from mailscanner.daemonic.se (mailscanner.daemonic.se [IPv6:2001:470:dca9:0:1::6]) by mx.daemonic.se (Postfix) with ESMTPS id 3YKLFs4ym2z8hVn; Sun, 9 Dec 2012 22:31:29 +0100 (CET) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mx.daemonic.se ([10.1.0.3]) (using TLS with cipher CAMELLIA256-SHA) by mailscanner.daemonic.se (mailscanner.daemonic.se [10.1.0.6]) (amavisd-new, port 10025) with ESMTPS id 9Dx6fGsvjNba; Sun, 9 Dec 2012 22:31:27 +0100 (CET) Received: from mail.daemonic.se (mail.daemonic.se [IPv6:2001:470:dca9:0:1::4]) by mx.daemonic.se (Postfix) with ESMTPS id 3YKLFq1nrrz8hVm; Sun, 9 Dec 2012 22:31:27 +0100 (CET) Received: from vivi.daemonic.se (vivi.daemonic.se [IPv6:2001:470:dca9:1::4]) by mail.daemonic.se (Postfix) with ESMTPSA id 3YKLFp6t8lz9Ctj; Sun, 9 Dec 2012 22:31:26 +0100 (CET) Message-ID: <50C5032E.2040601@daemonic.se> Date: Sun, 09 Dec 2012 22:31:26 +0100 From: Niclas Zeising User-Agent: Mutt/1.5.21 MIME-Version: 1.0 To: Chris Rees Subject: Re: configure: error: /usr/bin/cpp does not preserve whitespace References: <50C4BA5C.7090806@daemonic.se> In-Reply-To: X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: andy@neu.net, x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Dec 2012 21:31:36 -0000 On 12/09/12 17:49, Chris Rees wrote: > On 9 December 2012 16:20, Niclas Zeising wrote: >> On 12/09/12 05:36, AN wrote: >>> Correct, I noted that here: >>> >>> Description >>> Trying to install SSVNC, it is failing to build imake. >>> >> >> The issues with clang and imake are known, however, no fix currently >> exists. If you have time on your hands, you could try to get imake >> working with ucpp. I don't know if this will work, but currently I >> can't test myself. > > From my very brief look... r286772 by dinoex appears to work fine > anyway-- can't we just use ucpp unconditionally? It takes seconds to > build, and doesn't mess about worrying about whether clang is default > or not (it checks wrongly btw). > > http://www.bayofrum.net/~crees/patches/imake-ucpp.diff > > Unless I've missed something obvious, could we take this for an > exp-run perhaps? It builds just fine for me on my -HEAD system; > > [crees@hydra]~% cc --version > FreeBSD clang version 3.2 (trunk 162107) 20120817 > Target: x86_64-unknown-freebsd10.0 > Thread model: posix > [crees@hydra]~% > > Chris > Hi! This might make imake build using clang and ucpp, but have you tried any ports that utilize imake? My experience is that having ucpp as CPP (or RAWCPP) makes the configure script happy, but that it is still not compatible enough with gnu cpp to make things (libX11, xorg-server) happy. Regards! -- Niclas Zeising