Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Dec 2012 16:58:22 -0500
From:      "Sam Fourman Jr." <sfourman@gmail.com>
To:        zeising@FreeBSD.org, FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   imake on HEAD with clang
Message-ID:  <CAOFF%2BZ2XuY8Tzh9uGi7s85Acdx0qX_B1oSi9YUSwrdJ1ifri1A@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Does this mean that imake is still broken with clang 3.2 release on HEAD?

if anyone has any ideas on how to patch this to work it would be
great, im trying to build lxde-meta with clang
we do get past the  imake build now, but now it blows up on docbook-to-man


# uname -a
FreeBSD MiniBSD 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r244683M: Tue Dec
25 13:30:47 EST 2012     root@MiniBSD:/usr/obj/usr/src/sys/GENERIC
amd64

# cd /usr/ports/textproc/docbook-to-man/
# make clean
===>  Cleaning for pkg-1.0.4_1
===>  Cleaning for docbook-to-man-1.0_2
# make
===>   docbook-to-man-1.0_2 depends on file: /usr/local/sbin/pkg - found
===>  Extracting for docbook-to-man-1.0_2
=> SHA256 Checksum OK for docbook-to-man.tar.gz.
===>  Patching for docbook-to-man-1.0_2
===>  Applying FreeBSD patches for docbook-to-man-1.0_2
===>   docbook-to-man-1.0_2 depends on executable: imake - found
===>  Configuring for docbook-to-man-1.0_2
mv -f Makefile Makefile.bak
imake -DUseInstalled -I/usr/local/lib/X11/config
In file included from Imakefile.c:16:
In file included from /usr/local/lib/X11/config/Imake.tmpl:109:
/usr/local/lib/X11/config/FreeBSD.cf:451:35: error: '#' is not
followed by a macro parameter
#define IncludeMakefile(file) @@# dependencies are in .depend
                                  ^
In file included from Imakefile.c:16:
In file included from /usr/local/lib/X11/config/Imake.tmpl:316:
/usr/local/lib/X11/config/Imake.rules:1674:27: warning: empty
character constant [-Winvalid-pp-token]
        for flag in ${MAKEFLAGS} ''; do \                               @@\
                                 ^
/usr/local/lib/X11/config/Imake.rules:1897:35: error: '#' is not
followed by a macro parameter
#define IncludeMakefile(file) @@# dependencies are in .depend
                                  ^
In file included from Imakefile.c:16:
/usr/local/lib/X11/config/Imake.tmpl:2144:10: fatal error: ' X11
.rules' file not found
#include ProjectRulesFile
         ^
/usr/local/lib/X11/config/Imake.tmpl:2142:35: note: expanded from
macro 'ProjectRulesFile'
# define ProjectRulesFile       Concat3(<,TopLevelProject,.rules>)
                                        ^
/usr/local/lib/X11/config/Imake.rules:256:23: note: expanded from
macro 'Concat3'
#define Concat3(a,b,c)a/**/b/**/c
                      ^
1 warning and 3 errors generated.
imake: Exit code 1.
  Stop.
===>  Building for docbook-to-man-1.0_2
"Makefile", line 11: Need an operator
"Makefile", line 12: Need an operator
"Makefile", line 15: Need an operator
"Makefile", line 16: Need an operator
"Makefile", line 17: Need an operator
"Makefile", line 18: Need an operator
"Makefile", line 20: Need an operator
"Makefile", line 38: Need an operator
"Makefile", line 39: Need an operator
"Makefile", line 40: Need an operator
"Makefile", line 56: Need an operator
"Makefile", line 57: Need an operator
"Makefile", line 62: Need an operator
"Makefile", line 63: Need an operator
"Makefile", line 64: Need an operator
"Makefile", line 147: Need an operator
"Makefile", line 148: Need an operator
"Makefile", line 149: Need an operator
"Makefile", line 162: Need an operator
"Makefile", line 163: Need an operator
"Makefile", line 166: Need an operator
"Makefile", line 167: Need an operator
"Makefile", line 168: Need an operator
"Makefile", line 169: Need an operator
"Makefile", line 256: Need an operator
"Makefile", line 475: Need an operator
"Makefile", line 516: Need an operator
"Makefile", line 517: Need an operator
"Makefile", line 531: Need an operator
"Makefile", line 532: Need an operator
"Makefile", line 535: Need an operator
"Makefile", line 540: Need an operator
"Makefile", line 545: Need an operator
"Makefile", line 548: Need an operator
"Makefile", line 582: Need an operator
"Makefile", line 583: Need an operator
"Makefile", line 608: Need an operator
"Makefile", line 611: Need an operator
"Makefile", line 612: Need an operator
"Makefile", line 613: Missing dependency operator
make: fatal errors encountered -- cannot continue
*** [do-build] Error code 1

Stop in /usr/ports/textproc/docbook-to-man.
#


-- 

Sam Fourman Jr.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOFF%2BZ2XuY8Tzh9uGi7s85Acdx0qX_B1oSi9YUSwrdJ1ifri1A>