astro/xearth on redports with clang:
/usr/local/lib/X11/config/FreeBSD.cf:451:35: error: '#' is
not followed by a macro parameter
Anton Shterenlikht
mexas at bristol.ac.uk
Tue Sep 25 14:38:19 UTC 2012
From zeising at 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
More information about the freebsd-ports
mailing list