Date: Tue, 25 Sep 2012 15:38:17 +0100 (BST) From: Anton Shterenlikht <mexas@bristol.ac.uk> To: mexas@bristol.ac.uk, zeising@daemonic.se Cc: freebsd-x11@freebsd.org, freebsd-ports@freebsd.org Subject: Re: astro/xearth on redports with clang: /usr/local/lib/X11/config/FreeBSD.cf:451:35: error: '#' is not followed by a macro parameter Message-ID: <201209251438.q8PEcHtv022851@mech-cluster241.men.bris.ac.uk> In-Reply-To: <5061A9D6.2090504@daemonic.se>
next in thread | previous in thread | raw e-mail | index | archive | help
From zeising@daemonic.se Tue Sep 25 14:52:17 2012 On 2012-09-25 14:47, Anton Shterenlikht wrote: > I tried to build astro/xearth on redports using amd64/clang > environment. I get several errors like this one: > > /usr/local/lib/X11/config/FreeBSD.cf:451:35: error: '#' is not followed by a macro parameter > > The full log: > > https://redports.org/~mexas/20120925084455-39349-73266/xearth-1.1_2.log > > It builds fine on amd64/gcc. > > It seems the problem is not in xearth, > but rather in xorg-cf-files. > > Please advise > > Thanks > Anton The problem is with imake not playing nice with the cpp from clang. The best solution is to not use imake, but that's probably far from trivial to fix. $ grep -c imake /usr/ports/INDEX-10 291 This issue must cause problems for quite a few other ports. So is it an agreed policy to migrate away from imake in time for 10-release? This seems an important strategic issue to discuss. My port is relatively small, and I probably can, with time and help, migrate to BSD make, for example. Just don't want to do this, unless this is the majority opinion, and the likely direction for the future. Thanks Anton
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209251438.q8PEcHtv022851>